Skip to content

Commit 636fd3c

Browse files
committed
fix: update tests
1 parent 7c0244b commit 636fd3c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

test/data/image-scan/report

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ Total: 19 (CRITICAL: 19)
5151
│ │ │ │ │ │ │ Windows Subsystem for... │
5252
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2019-1353 │
5353
├─────────────┼────────────────┤ │ ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
54-
│ libbz2 │ CVE-2019-12900 │ │ │ 1.0.6-r6 │ 1.0.6-r7 │ bzip2: out-of-bounds write in function BZ2_decompress │
54+
│ libbz2 │ CVE-2019-12900 │ │ │ 1.0.6-r6 │ 1.0.6-r7 │ bzip2: bzip2: Data integrity error when decompressing (with │
55+
│ │ │ │ │ │ │ data integrity tests fail).... │
5556
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2019-12900 │
5657
├─────────────┼────────────────┤ │ ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
5758
│ libcurl │ CVE-2018-16839 │ │ │ 7.61.1-r0 │ 7.61.1-r1 │ curl: Integer overflow leading to heap-based buffer overflow │

test/data/with-ignore-files/report

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ Total: 19 (CRITICAL: 19)
5151
│ │ │ │ │ │ │ Windows Subsystem for... │
5252
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2019-1353 │
5353
├─────────────┼────────────────┤ │ ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
54-
│ libbz2 │ CVE-2019-12900 │ │ │ 1.0.6-r6 │ 1.0.6-r7 │ bzip2: out-of-bounds write in function BZ2_decompress │
54+
│ libbz2 │ CVE-2019-12900 │ │ │ 1.0.6-r6 │ 1.0.6-r7 │ bzip2: bzip2: Data integrity error when decompressing (with │
55+
│ │ │ │ │ │ │ data integrity tests fail).... │
5556
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2019-12900 │
5657
├─────────────┼────────────────┤ │ ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
5758
│ libcurl │ CVE-2018-16839 │ │ │ 7.61.1-r0 │ 7.61.1-r1 │ curl: Integer overflow leading to heap-based buffer overflow │

test/data/with-trivy-yaml-cfg/report.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"SchemaVersion": 2,
3-
"CreatedAt": "2025-06-03T01:26:45.367171-06:00",
43
"ArtifactName": "alpine:3.10",
54
"ArtifactType": "container_image",
65
"Metadata": {
@@ -72,7 +71,7 @@
7271
"PkgID": "apk-tools@2.10.6-r0",
7372
"PkgName": "apk-tools",
7473
"PkgIdentifier": {
75-
"PURL": "pkg:apk/alpine/apk-tools@2.10.6-r0?arch=x86_64\u0026distro=3.10.9",
74+
"PURL": "pkg:apk/alpine/apk-tools@2.10.6-r0?arch=x86_64&distro=3.10.9",
7675
"UID": "b7a64ae671a99195"
7776
},
7877
"InstalledVersion": "2.10.6-r0",
@@ -123,7 +122,7 @@
123122
"https://www.cve.org/CVERecord?id=CVE-2021-36159"
124123
],
125124
"PublishedDate": "2021-08-03T14:15:08.233Z",
126-
"LastModifiedDate": "2023-11-07T03:36:43.337Z"
125+
"LastModifiedDate": "2024-11-21T06:13:13.57Z"
127126
}
128127
]
129128
}

0 commit comments

Comments
 (0)