-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-scorecard-report.sarif
More file actions
100 lines (100 loc) · 3.07 KB
/
Copy pathsample-scorecard-report.sarif
File metadata and controls
100 lines (100 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "sbom-diff-risk",
"fullName": "sbom-diff-risk",
"version": "1.0.0",
"semanticVersion": "1.0.0",
"rules": [
{
"id": "sdr.policy_violation.scorecard_below_threshold",
"name": "policy_violation.scorecard_below_threshold",
"shortDescription": {
"text": "Policy violation: scorecard_below_threshold"
},
"fullDescription": {
"text": "A mapped repository's OpenSSF Scorecard score was below the configured minimum threshold."
},
"defaultConfiguration": {
"level": "warning"
},
"properties": {
"tags": [
"supply-chain",
"policy",
"scorecard"
]
}
}
]
}
},
"artifacts": [
{
"location": {
"uri": "examples/requirements_before.txt",
"uriBaseId": "%SRCROOT%"
}
},
{
"location": {
"uri": "examples/requirements_after.txt",
"uriBaseId": "%SRCROOT%"
}
}
],
"properties": {
"sbom_diff_risk": {
"result_limit": 5000,
"total_candidate_results": 1,
"emitted_results": 1,
"omitted_results": 0,
"truncated": false,
"prioritization": "error results first, then warning, then note; direct mapped findings before policy-only checks; stable rule priority and component key tie-breakers.",
"warning": null
}
},
"results": [
{
"ruleId": "sdr.policy_violation.scorecard_below_threshold",
"level": "warning",
"message": {
"text": "requests: Scorecard score 6.0 is below minimum_scorecard_score=7.0 for repository github.com/psf/requests."
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "examples/requirements_after.txt",
"uriBaseId": "%SRCROOT%"
},
"region": {
"startLine": 1
}
}
}
],
"partialFingerprints": {
"ruleId": "sdr.policy_violation.scorecard_below_threshold",
"componentKey": "purl:pkg:pypi/requests"
},
"properties": {
"policy_rule_id": "scorecard_below_threshold",
"component_key": "purl:pkg:pypi/requests",
"component_name": "requests",
"result_kind": "policy_violation"
}
}
],
"originalUriBaseIds": {
"%SRCROOT%": {
"uri": "file:///__PROJECT_ROOT__/"
}
}
}
]
}