feat: clean CLI output with SARIF and gate thresholds#137
Merged
Conversation
4 tasks
Every finding now shows inline remediation (Fix:) and standards mapping (Standards: OWASP, NIST, ISO). Terminal output includes domain score breakdown and security/hardening split scores. - Add remediation and standards to terminal findings - Restore domain score breakdown in terminal output - Keep SARIF 2.1.0 output on scan, test, and gate - Restore gate thresholds (--min-score, --min-grade, --no-critical) - Remove HTML and compliance reporters (available via Guard0 Platform) - Remove CycloneDX reporter - Add --forensics and --browser to endpoint scanning - Export reportSarif from SDK
3f87093 to
6149025
Compare
handlebars was only used by the deleted HTML reporter. Removes 1 critical, 3 high, 3 medium, 1 low vulnerability.
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
Fix:) and standards mapping (Standards:) to every terminal finding--sarif)--min-score,--min-grade,--no-critical,--no-high--forensicsand--browserto endpoint scanningreportSariffrom SDKDepends on
Test plan
g0 scanoutput showsFix:andStandards:on findingsg0 scanoutput shows Domain Scores sectiong0 scan --sarifproduces valid SARIF 2.1.0g0 gate --min-score 90fails on fixture (score 84)g0 gate --min-score 50passesg0 gate --min-grade Afailsg0 endpoint --helpshows--forensics,--browsernpm run buildsucceeds