Explain This Vulnerability: support `include_source_code` parameter in AI request
The new direction for Explain This Vulnerability is to provide full transparency to the user over what will be sent to the AI before it is sent. !123091 (merged) will enable presenting the prompt to the user, but the execution mutation needs to be updated to give the user to control the execution of the feature in the same way.
Implementation Plan
-
Update the ExplainVulnerabilityInputType to present a include_source_code
boolean condition to be passed to the explain vulnerability template before execution.