Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9aa7d71

Browse filesBrowse files
committed
#2689 Update all Trivy parser test files to match with the new version
Signed-off-by: Boris Shek <boris.shek@iteratec.com>
1 parent 1a899e5 commit 9aa7d71
Copy full SHA for 9aa7d71
Expand file treeCollapse file tree

9 files changed

+70829
-8283
lines changed

‎scanners/trivy/parser/__snapshots__/parser.test.js.snap

Copy file name to clipboardExpand all lines: scanners/trivy/parser/__snapshots__/parser.test.js.snap
+41,599-4,743Lines changed: 41599 additions & 4743 deletions
Large diffs are not rendered by default.

‎scanners/trivy/parser/__testFiles__/juice-shop-v10.2.0.json

Copy file name to clipboardExpand all lines: scanners/trivy/parser/__testFiles__/juice-shop-v10.2.0.json
+14,256-1,930Lines changed: 14256 additions & 1930 deletions
Large diffs are not rendered by default.

‎scanners/trivy/parser/__testFiles__/juice-shop-v12.10.2-empty-results.json

Copy file name to clipboardExpand all lines: scanners/trivy/parser/__testFiles__/juice-shop-v12.10.2-empty-results.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"SchemaVersion": 2,
3+
"CreatedAt": "2024-10-28T15:33:51.265546208Z",
34
"ArtifactName": "bkimminich/juice-shop:v12.10.2",
45
"ArtifactType": "container_image",
56
"Metadata": {
@@ -28,7 +29,8 @@
2829
"ImageConfig": {
2930
"architecture": "amd64",
3031
"created": "2021-10-12T21:23:22.113753293Z",
31-
"history": [{
32+
"history": [
33+
{
3234
"created": "2021-08-31T23:18:31.206789071Z",
3335
"created_by": "/bin/sh -c #(nop) ADD file:9d14b11183983923090d9e6d15cc51ee210466296e913bfefbfd580b3de59c95 in / "
3436
},

‎scanners/trivy/parser/__testFiles__/juice-shop-v12.10.2-no-results.json

Copy file name to clipboardExpand all lines: scanners/trivy/parser/__testFiles__/juice-shop-v12.10.2-no-results.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"SchemaVersion": 2,
3+
"CreatedAt": "2024-10-28T15:33:51.265546208Z",
34
"ArtifactName": "bkimminich/juice-shop:v12.10.2",
45
"ArtifactType": "container_image",
56
"Metadata": {
@@ -28,7 +29,8 @@
2829
"ImageConfig": {
2930
"architecture": "amd64",
3031
"created": "2021-10-12T21:23:22.113753293Z",
31-
"history": [{
32+
"history": [
33+
{
3234
"created": "2021-08-31T23:18:31.206789071Z",
3335
"created_by": "/bin/sh -c #(nop) ADD file:9d14b11183983923090d9e6d15cc51ee210466296e913bfefbfd580b3de59c95 in / "
3436
},

‎scanners/trivy/parser/__testFiles__/juice-shop-v12.10.2.json

Copy file name to clipboardExpand all lines: scanners/trivy/parser/__testFiles__/juice-shop-v12.10.2.json
+12,003-1,184Lines changed: 12003 additions & 1184 deletions
Large diffs are not rendered by default.

‎scanners/trivy/parser/__testFiles__/k8s-results_unexpected-attribute.json

Copy file name to clipboardExpand all lines: scanners/trivy/parser/__testFiles__/k8s-results_unexpected-attribute.json
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"Target": "docker.io/rancher/local-path-provisioner:v0.0.14 (alpine 3.12.0)",
1111
"Class": "os-pkgs",
1212
"Type": "alpine",
13+
"Packages": [],
1314
"Vulnerabilities": [
1415
{
1516
"VulnerabilityID": "CVE-2021-36159",
@@ -65,6 +66,7 @@
6566
"Target": "docker.io/rancher/local-path-provisioner:v0.0.14 (alpine 3.12.0)",
6667
"Class": "os-pkgs",
6768
"Type": "alpine",
69+
"Packages": [],
6870
"Secrets": [
6971
{
7072
"VulnerabilityID": "CVE-a-dummy-secret-finding"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.