-
Notifications
You must be signed in to change notification settings - Fork 355
/
Copy pathfingerprinting.expected.sarif
92 lines (92 loc) · 2.17 KB
/
fingerprinting.expected.sarif
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
{
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "CodeQL command-line toolchain",
"organization": "GitHub",
"semanticVersion": "2.0.0",
"rules": []
}
},
"artifacts": [
{
"location": {
"uri": "testFile1.js",
"uriBaseId": "%SRCROOT%",
"index": 0
}
},
{
"location": {
"uri": "testFile2.js",
"uriBaseId": "%SRCROOT%",
"index": 1
}
}
],
"results": [
{
"ruleId": "js/unused-local-variable",
"ruleIndex": 0,
"message": {
"text": "Unused variable a."
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "testFile1.js",
"uriBaseId": "%SRCROOT%",
"index": 0
},
"region": {
"startLine": 1,
"startColumn": 1,
"endColumn": 10
}
}
}
],
"partialFingerprints": {
"primaryLocationLineHash": "5e4d5a9cf1294ad9:1"
}
},
{
"ruleId": "js/unused-local-variable",
"ruleIndex": 0,
"message": {
"text": "Unused variable bar."
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"index": 1
},
"region": {
"startLine": 2
}
}
}
],
"partialFingerprints": {
"primaryLocationLineHash": "f7592a95a9381ac0:1"
}
}
],
"newlineSequences": [
"\r\n",
"\n",
"
",
"
"
],
"columnKind": "utf16CodeUnits",
"properties": {
"semmle.formatSpecifier": "sarif-latest"
}
}
]
}