Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,21 @@ jobs:

- name: Run Semgrep
run: |
# Excluded rules are CI-config best-practices, not application security,
# and they fail the whole-repo main scan on accepted tradeoffs (PR diff
# scans don't hit them). Same posture as the npm-audit allowlist.
# - mutable-action-tag: we use `@vN` action tags, not SHA pins
# (Dependabot keeps them current); revisit if we adopt SHA pinning.
# - dependabot-missing-cooldown: no cooldown configured by choice.
semgrep ci \
--config p/javascript \
--config p/typescript \
--config p/nextjs \
--config p/react \
--config p/owasp-top-ten \
--config p/secrets \
--exclude-rule yaml.github-actions.security.github-actions-mutable-action-tag.github-actions-mutable-action-tag \
--exclude-rule package_managers.dependabot.dependabot-missing-cooldown.dependabot-missing-cooldown \
--sarif \
--output=semgrep.sarif
env:
Expand Down