-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
10 changed files
with
42,808 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: "scan2html" | ||
repository: github.com/fatihtokus/scan2html | ||
version: "0.2.3" | ||
version: "0.2.4" | ||
usage: scan targets into a smart html file | ||
description: |- | ||
A Trivy plugin that scans and outputs the results to a html file. | ||
trivy scan2html [-h,--help] command target filename | ||
platforms: | ||
- selector: | ||
os: windows | ||
uri: https://github.com/fatihtokus/scan2html/releases/download/v0.2.3/scan2html.tar.gz | ||
uri: https://github.com/fatihtokus/scan2html/releases/download/v0.2.4/scan2html.tar.gz | ||
bin: ./scan2html.sh | ||
- | ||
uri: https://github.com/fatihtokus/scan2html/releases/download/v0.2.3/scan2html.tar.gz | ||
uri: https://github.com/fatihtokus/scan2html/releases/download/v0.2.4/scan2html.tar.gz | ||
bin: ./scan2html |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Supported result formats | ||
trivy k8s --format json -o results_k8s_cluster.json cluster | ||
|
||
|
||
Upsupported result formats | ||
trivy k8s --format json -o results_k8s_all.json --report=all all -n default --this returns a summary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"ClusterName": "minikube", | ||
"Resources": [ | ||
{ | ||
"Namespace": "default", | ||
"Kind": "ServiceAccount", | ||
"Name": "default", | ||
"Metadata": { | ||
"ImageConfig": { | ||
"architecture": "", | ||
"created": "0001-01-01T00:00:00Z", | ||
"os": "", | ||
"rootfs": { | ||
"type": "", | ||
"diff_ids": null | ||
}, | ||
"config": {} | ||
} | ||
}, | ||
"Results": [ | ||
{ | ||
"Target": "ServiceAccount/default", | ||
"Class": "config", | ||
"Type": "kubernetes", | ||
"MisconfSummary": { | ||
"Successes": 102, | ||
"Failures": 0, | ||
"Exceptions": 0 | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"Namespace": "default", | ||
"Kind": "Service", | ||
"Name": "kubernetes", | ||
"Metadata": { | ||
"ImageConfig": { | ||
"architecture": "", | ||
"created": "0001-01-01T00:00:00Z", | ||
"os": "", | ||
"rootfs": { | ||
"type": "", | ||
"diff_ids": null | ||
}, | ||
"config": {} | ||
} | ||
}, | ||
"Results": [ | ||
{ | ||
"Target": "Service/kubernetes", | ||
"Class": "config", | ||
"Type": "kubernetes", | ||
"MisconfSummary": { | ||
"Successes": 103, | ||
"Failures": 0, | ||
"Exceptions": 0 | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"Namespace": "default", | ||
"Kind": "ConfigMap", | ||
"Name": "kube-root-ca.crt", | ||
"Metadata": { | ||
"ImageConfig": { | ||
"architecture": "", | ||
"created": "0001-01-01T00:00:00Z", | ||
"os": "", | ||
"rootfs": { | ||
"type": "", | ||
"diff_ids": null | ||
}, | ||
"config": {} | ||
} | ||
}, | ||
"Results": [ | ||
{ | ||
"Target": "ConfigMap/kube-root-ca.crt", | ||
"Class": "config", | ||
"Type": "kubernetes", | ||
"MisconfSummary": { | ||
"Successes": 104, | ||
"Failures": 0, | ||
"Exceptions": 0 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.