explain_violation
Analyze SARIF violations to identify root causes and provide step-by-step remediation guidance for Agentforce security scans.
Instructions
Given a SARIF violation from a scan, provide root-cause analysis and step-by-step remediation guidance. Pass the full violation object or just the ruleId and file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | The violated rule ID (e.g., "AGENTFORCE-1.1") | |
| message | No | The violation message from the SARIF report | |
| filePath | No | Path to the file where the violation was found | |
| lineNumber | No | Line number of the violation |