File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def test_multiple_findings(self):
43
43
parser = WizcliDirParser ()
44
44
findings = parser .get_findings (testfile , Test ())
45
45
self .assertEqual (7 , len (findings ))
46
-
46
+
47
47
# Test first finding
48
48
finding = findings [0 ]
49
49
self .assertEqual ("github.com/golang-jwt/jwt/v4 4.5.1 - CVE-2025-30204" , finding .title )
@@ -61,7 +61,7 @@ def test_multiple_findings(self):
61
61
)
62
62
self .assertEqual ("CVE-2025-30204" , finding .cve )
63
63
self .assertEqual ("https://github.com/advisories/GHSA-mh63-6h87-95cp" , finding .references )
64
-
64
+
65
65
# Test second finding
66
66
finding = findings [1 ]
67
67
self .assertEqual ("github.com/golang-jwt/jwt/v5 5.2.1 - CVE-2025-30204" , finding .title )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def test_one_findings(self):
29
29
"**Resource**: `google_storage_bucket[elastic-snapshots]`\n "
30
30
"**File**: `states/dev/storage.tf`\n "
31
31
"**Line**: 1\n "
32
- " **Code Snippet**: ```\n resource \ " google_storage_bucket\" \ " elastic-snapshots\ " {\n ```\n "
32
+ ' **Code Snippet**: ```\n resource "google_storage_bucket" "elastic-snapshots" {\n ```\n '
33
33
"\n **Finding Details**:\n "
34
34
"- **Expected**: 'logging' should be set\n "
35
35
"- **Found**: 'logging' is undefined\n "
@@ -46,7 +46,7 @@ def test_multiple_findings(self):
46
46
parser = WizcliIaCParser ()
47
47
findings = parser .get_findings (testfile , Test ())
48
48
self .assertEqual (25 , len (findings ))
49
-
49
+
50
50
# Test first finding
51
51
finding = findings [0 ]
52
52
self .assertEqual (
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def test_multiple_findings(self):
39
39
parser = WizcliImgParser ()
40
40
findings = parser .get_findings (testfile , Test ())
41
41
self .assertEqual (9 , len (findings ))
42
-
42
+
43
43
# Test first finding
44
44
finding = findings [0 ]
45
45
self .assertEqual ("OS Pkg: libcrypto3 3.3.1-r0 - CVE-2024-5535" , finding .title )
@@ -59,7 +59,7 @@ def test_multiple_findings(self):
59
59
self .assertTrue (finding .static_finding )
60
60
self .assertFalse (finding .dynamic_finding )
61
61
self .assertTrue (finding .active )
62
-
62
+
63
63
# Test second finding
64
64
finding = findings [1 ]
65
65
self .assertEqual ("OS Pkg: libssl3 3.3.1-r0 - CVE-2024-5535" , finding .title )
You can’t perform that action at this time.
0 commit comments