Skip to content

feat: add security policy suppressions - #41

Merged
solomonneas merged 1 commit into
mainfrom
feat/security-policy-suppressions
May 27, 2026
Merged

feat: add security policy suppressions#41
solomonneas merged 1 commit into
mainfrom
feat/security-policy-suppressions

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Summary

  • add local .brigade/security.toml defaults via brigade security init
  • add security policy presets, fail thresholds, template scanning controls, and fingerprint suppressions
  • add stable finding fingerprints and use them for security import dedupe
  • redact secret-like evidence before reports and imports are written

Verification

  • .venv/bin/python -m pytest tests/test_security_cmd.py tests/test_gitignore.py -q
  • .venv/bin/python -m pytest -q
  • PYTHONPATH=$HOME/repos/content-guard/src python3 -m content_guard scan . --policy $HOME/repos/content-guard/policies/public-repo.json
  • git diff --check
  • .venv/bin/brigade security init --target "$tmpdir"
  • .venv/bin/brigade security scan --target "$tmpdir" --policy public-repo --json
  • .venv/bin/brigade security scan --target "$tmpdir" --json
  • .venv/bin/brigade security scan --target "$tmpdir" --fail-on none --import-findings
  • .venv/bin/brigade work import triage --target "$tmpdir" --limit 5

@solomonneas
solomonneas merged commit 7b92bc3 into main May 27, 2026
11 checks passed
@solomonneas
solomonneas deleted the feat/security-policy-suppressions branch May 27, 2026 00:50
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.

1 participant