-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 keep SARIF runs and rules for exempted checks, only skip the result…
…s. (#4153) * keep runs and rules for exempted checks, only skip the results. Signed-off-by: Spencer Schrock <[email protected]> * update test Signed-off-by: Spencer Schrock <[email protected]> --------- Signed-off-by: Spencer Schrock <[email protected]>
- Loading branch information
1 parent
5ef9831
commit da0f2b4
Showing
3 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,48 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/main/sarif-2.1/schema/sarif-schema-2.1.0.json", | ||
"version": "2.1.0", | ||
"runs": [] | ||
This comment was marked as spam.
Sorry, something went wrong. |
||
"runs": [ | ||
{ | ||
"automationDetails": { | ||
"id": "supply-chain/local/ccbc59901773ab4c051dfcea0cc4201a1567abdd-17 Aug 21 18:57 +0000" | ||
}, | ||
"tool": { | ||
"driver": { | ||
"name": "Scorecard", | ||
"informationUri": "https://github.com/ossf/scorecard", | ||
"semanticVersion": "1.2.3", | ||
"rules": [ | ||
{ | ||
"id": "CheckNameID", | ||
"name": "Check-Name", | ||
"helpUri": "https://github.com/ossf/scorecard/blob/main/docs/checks.md#check-name", | ||
"shortDescription": { | ||
"text": "Check-Name" | ||
}, | ||
"fullDescription": { | ||
"text": "short description" | ||
}, | ||
"help": { | ||
"text": "short description", | ||
"markdown": "**Remediation (click \"Show more\" below)**:\n\n- not-used1\n\n- not-used2\n\n\n\n**Severity**: High\n\n\n\n**Details**:\n\nlong description\n\n other line" | ||
}, | ||
"defaultConfiguration": { | ||
"level": "error" | ||
}, | ||
"properties": { | ||
"precision": "high", | ||
"problem.severity": "error", | ||
"security-severity": "7.0", | ||
"tags": [ | ||
"tag1", | ||
"tag2" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"results": [] | ||
} | ||
] | ||
} |
"runs": [