-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Labels
enhancementNew feature or requestNew feature or requestscannerImplement or update a security scannerImplement or update a security scanner
Milestone
Description
➹ New Feature implementation request
Hi,
could we add support for trivy k8s scans, so that users could easily scan their kubernetes config via secureCodeBox?
I think, that it should be easy to trigger such a scan with something like that:
apiVersion: execution.securecodebox.io/v1
kind: ScanType
metadata:
name: trivy-k8s
spec:
extractResults:
location: /home/securecodebox/trivy-results.json
type: trivy-json
jobTemplate:
spec:
backoffLimit: 3
template:
spec:
containers:
- command:
- trivy
- k8s
serviceAccountName : <some-account-used-to-query-the-k8s-api>
apiVersion: "execution.securecodebox.io/v1"
kind: Scan
metadata:
name: "rbac-trivy-k8s"
spec:
scanType: "trivy-k8s"
parameters:
- "--security-checks=rbac"
- "all"
- "--report=all"
- "--format=json"
- "--output=/home/securecodebox/trivy-results.json"
However, i am not sure if the parser can handle the ouput.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestscannerImplement or update a security scannerImplement or update a security scanner
Type
Projects
Status
Done