-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathadvanced.sarif
More file actions
75 lines (75 loc) · 1.5 KB
/
advanced.sarif
File metadata and controls
75 lines (75 loc) · 1.5 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
{
"version": "2.1.0",
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"runs": [
{
"tool": {
"driver": {
"name": "SimpleSecurity",
"informationUri": "https://github.com/FHPythonUtils/SimpleSecurity",
"version": "2020.*"
}
},
"results": [
{
"ruleId": "TEST_ID",
"level": "warning",
"message": {
"text": "TEST: This is a test"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "this_file_does_not_exist"
},
"region": {
"startLine": 1,
"snippet": {
"text": "lineContent"
}
},
"contextRegion": {
"startLine": 1,
"endLine": 1,
"snippet": {
"text": "lineContent"
}
}
}
}
]
},
{
"ruleId": "TEST_ID2",
"level": "note",
"message": {
"text": "TEST2: This is a test2"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "this_file_does_not_exist2"
},
"region": {
"startLine": 700,
"snippet": {
"text": "59999999999999999999999999999999999"
}
},
"contextRegion": {
"startLine": 3,
"endLine": 99,
"snippet": {
"text": "3\n5\n9\n999999999999999999999999999999999"
}
}
}
}
]
}
]
}
]
}