summaryrefslogtreecommitdiff
path: root/spec/fixtures/security_reports/master/gl-sast-report.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/security_reports/master/gl-sast-report.json')
-rw-r--r--spec/fixtures/security_reports/master/gl-sast-report.json16
1 files changed, 15 insertions, 1 deletions
diff --git a/spec/fixtures/security_reports/master/gl-sast-report.json b/spec/fixtures/security_reports/master/gl-sast-report.json
index 98bb15e349f..ab610945508 100644
--- a/spec/fixtures/security_reports/master/gl-sast-report.json
+++ b/spec/fixtures/security_reports/master/gl-sast-report.json
@@ -28,7 +28,21 @@
"file": "python/hardcoded/hardcoded-tmp.py",
"line": 1,
"url": "https://docs.openstack.org/bandit/latest/plugins/b108_hardcoded_tmp_directory.html",
- "tool": "bandit"
+ "tool": "bandit",
+ "tracking": {
+ "type": "source",
+ "items": [
+ {
+ "file": "python/hardcoded/hardcoded-tmp.py",
+ "start_line": 1,
+ "end_line": 1,
+ "fingerprints": [
+ { "algorithm": "hash", "value": "HASHVALUE" },
+ { "algorithm": "scope_offset", "value": "python/hardcoded/hardcoded-tmp.py:ClassA:method_b:2" }
+ ]
+ }
+ ]
+ }
},
{
"category": "sast",