Skip to content

ci: add Semgrep SAST beyond CodeQL (#117) - #217

Merged
Chris-Wolfgang merged 2 commits into
vNextfrom
ci/semgrep
Jul 21, 2026
Merged

ci: add Semgrep SAST beyond CodeQL (#117)#217
Chris-Wolfgang merged 2 commits into
vNextfrom
ci/semgrep

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Stacked on #216. Adds semgrep.yaml — runs the free public Semgrep registry packs (p/csharp, p/security-audit, p/secrets) on PR + push. A different engine/ruleset from CodeQL, so it surfaces overlapping-but-distinct signals; uploads SARIF to Code Scanning (report-only for now, promote to gate once baseline clean). Ported from D20-Dice.

Note: #117 lists paid SAST tools (Snyk/Veracode/Fortier/...) but flags cost as the gating factor and "try the free tool first." Semgrep OSS is exactly that free tier and is the fleet-canonical choice — additive to CodeQL, zero account/budget needed. Adopting a paid tool later remains a project-level decision.

Closes #117 when the vNext cycle merges to main.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings July 21, 2026 19:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Comment thread .github/workflows/semgrep.yaml Fixed
Comment thread .github/workflows/semgrep.yaml Fixed
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Chris-Wolfgang and others added 2 commits July 21, 2026 16:30
Adds semgrep.yaml running the free public registry packs (p/csharp,
p/security-audit, p/secrets) on PR + push. A different engine/ruleset from
CodeQL; uploads SARIF to Code Scanning, report-only for now. Ported from
D20-Dice.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Aligns with the fleet SHA-pin migration (#219): checkout v7.0.0 -> v7,
setup-dotnet v5 -> v6, upload-artifact v4 -> v7, upload-sarif v3/v4 -> v4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants