Improve SAST baseline suppression lifecycle gates#2114
Open
shensz2017 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #2112.
Adds baseline and suppression lifecycle gates to
sast-configso reviewers can distinguish controlled temporary SAST baselines from permanent blind spots, and can verify suppression owner, reason, expiry, SARIF identity, required PR gates, and scheduled full-scan reconciliation.What changed
sast-configto1.0.1.Baseline and Suppression Lifecycleafter false-positive management.partialFingerprintsSAST-LIFE-01throughSAST-LIFE-08finding triggers covering indefinite baselines, non-blocking new findings, missing reconciliation, weak SARIF identity, unmanaged suppressions, whole-rule/path/language suppression, missing external audit, and diff-only scanning without full scans.skills/devsecops/sast-config/tests/.Validation
git diff --cached --check.github/workflows/lint-skills.ymlindex.yamlfile-existence check matching.github/workflows/validate-index.yml.github/workflows/injection-scan.ymlSAST-LIFE-*,partialFingerprints, new-finding enforcement, full-scan reconciliation, SARIF identity, suppression register, and official Semgrep/GitHub SARIF referencesNote: YAML parser validation was attempted, but a local YAML parser was not available (
yamlNode module unavailable; Ruby and PyYAML also unavailable in this environment).References
Bounty
Requesting Improver - Moderate ($100). Preferred payment method: GitHub Sponsors if accepted, otherwise private payment details can be provided after acceptance.