Skip to content

Commit 8160d53

Browse files
committed
[PLUTO-1411] Add script
1 parent 04fa58b commit 8160d53

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

plugins/tools/dartanalyzer/test/src/expected.sarif

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"version": "2.1.0",
32
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
43
"runs": [
54
{
@@ -9,7 +8,7 @@
98
{
109
"physicalLocation": {
1110
"artifactLocation": {
12-
"uri": "/home/runner/work/codacy-cli-v2/plugins/tools/dartanalyzer/test/src/Test.dart"
11+
"uri": "/home/runner/work/codacy-cli-v2/codacy-cli-v2/plugins/tools/dartanalyzer/test/src/Test.dart"
1312
},
1413
"region": {
1514
"startLine": 2
@@ -27,7 +26,7 @@
2726
{
2827
"physicalLocation": {
2928
"artifactLocation": {
30-
"uri": "/home/runner/work/codacy-cli-v2/plugins/tools/dartanalyzer/test/src/Test.dart"
29+
"uri": "/home/runner/work/codacy-cli-v2/codacy-cli-v2/plugins/tools/dartanalyzer/test/src/Test.dart"
3130
},
3231
"region": {
3332
"startLine": 28
@@ -47,5 +46,6 @@
4746
}
4847
}
4948
}
50-
]
51-
}
49+
],
50+
"version": "2.1.0"
51+
}

plugins/tools/semgrep/test/src/expected.sarif

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"version": "2.1.0",
32
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
43
"runs": [
54
{
@@ -19,20 +18,20 @@
1918
"level": "warning"
2019
},
2120
"fullDescription": {
22-
"text": "Insecure HTTP URL in requests.get()"
21+
"text": "Using Fernet for encryption without proper key management"
2322
},
2423
"help": {
25-
"markdown": "Insecure HTTP URL in requests.get()",
26-
"text": "Insecure HTTP URL in requests.get()"
24+
"markdown": "Using Fernet for encryption without proper key management",
25+
"text": "Using Fernet for encryption without proper key management"
2726
},
28-
"id": "codacy.tools-configs.python.requests.security.no-http-url",
29-
"name": "codacy.tools-configs.python.requests.security.no-http-url",
27+
"id": "codacy.tools-configs.python.cryptography.bad-cryptography",
28+
"name": "codacy.tools-configs.python.cryptography.bad-cryptography",
3029
"properties": {
3130
"precision": "very-high",
3231
"tags": []
3332
},
3433
"shortDescription": {
35-
"text": "Semgrep Finding: codacy.tools-configs.python.requests.security.no-http-url"
34+
"text": "Semgrep Finding: codacy.tools-configs.python.cryptography.bad-cryptography"
3635
}
3736
},
3837
{
@@ -61,26 +60,27 @@
6160
"level": "warning"
6261
},
6362
"fullDescription": {
64-
"text": "Using Fernet for encryption without proper key management"
63+
"text": "Insecure HTTP URL in requests.get()"
6564
},
6665
"help": {
67-
"markdown": "Using Fernet for encryption without proper key management",
68-
"text": "Using Fernet for encryption without proper key management"
66+
"markdown": "Insecure HTTP URL in requests.get()",
67+
"text": "Insecure HTTP URL in requests.get()"
6968
},
70-
"id": "codacy.tools-configs.python.cryptography.bad-cryptography",
71-
"name": "codacy.tools-configs.python.cryptography.bad-cryptography",
69+
"id": "codacy.tools-configs.python.requests.security.no-http-url",
70+
"name": "codacy.tools-configs.python.requests.security.no-http-url",
7271
"properties": {
7372
"precision": "very-high",
7473
"tags": []
7574
},
7675
"shortDescription": {
77-
"text": "Semgrep Finding: codacy.tools-configs.python.cryptography.bad-cryptography"
76+
"text": "Semgrep Finding: codacy.tools-configs.python.requests.security.no-http-url"
7877
}
7978
}
8079
],
8180
"semanticVersion": "1.78.0"
8281
}
8382
}
8483
}
85-
]
86-
}
84+
],
85+
"version": "2.1.0"
86+
}

0 commit comments

Comments
 (0)