-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-policy-warn-report.sarif
More file actions
103 lines (103 loc) · 2.84 KB
/
Copy pathsample-policy-warn-report.sarif
File metadata and controls
103 lines (103 loc) · 2.84 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
101
102
103
{
"$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.new_package",
"name": "new_package",
"shortDescription": {
"text": "Component is present only in the after input."
},
"fullDescription": {
"text": "Component is present only in the after input."
},
"defaultConfiguration": {
"level": "warning"
},
"properties": {
"tags": [
"supply-chain",
"sbom"
]
}
}
]
}
},
"artifacts": [
{
"location": {
"uri": "examples/cdx_before.json",
"uriBaseId": "%SRCROOT%"
}
},
{
"location": {
"uri": "examples/cdx_after.json",
"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.new_package",
"level": "warning",
"message": {
"text": "Policy warning: Component was not present in the before input."
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "examples/cdx_after.json",
"uriBaseId": "%SRCROOT%"
},
"region": {
"startLine": 1
}
}
}
],
"partialFingerprints": {
"ruleId": "sdr.new_package",
"componentKey": "purl:pkg:pypi/urllib3"
},
"properties": {
"component_key": "purl:pkg:pypi/urllib3",
"component_name": "urllib3",
"finding_bucket": "new_package",
"policy_matched": true,
"policy_blocking": false,
"result_kind": "risk_finding",
"policy_rule_id": "new_package",
"policy_level": "warn"
}
}
],
"originalUriBaseIds": {
"%SRCROOT%": {
"uri": "file:///__PROJECT_ROOT__/"
}
}
}
]
}