773 B
773 B
Implementation Plan: Semgrep Scanner
Objective
Implement the Semgrep SAST (Static Application Security Testing) scanning step as a parallel task in the DAG.
Requirements
- Define a task template named
scan-semgrep. - Depend on the
clone-repotask. - Mount the shared PVC at
/workspace. - Run Semgrep with standard or configurable rulesets against the
/workspacedirectory. - Output findings in SARIF format.
- Save the output to
/workspace/reports/semgrep.sarif. - Ensure the task exits successfully even if vulnerabilities are found, so Phase 3 aggregation can run (e.g., wrap in a script that returns 0).
Agent Instructions
- Add the
scan-semgreptemplate to theClusterWorkflowTemplate. - Wire it into the DAG alongside the other scanners.