mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
@@ -1,11 +1,11 @@
|
||||
## K8S - Cronjob
|
||||
Simple instructions to add a cronjob on K8S to execute a prowler and save the results on AWS S3.
|
||||
|
||||
Files:
|
||||
cronjob.yml -> is a cronjob for K8S, you must set the frequency and probes from yours scans.
|
||||
secret.yml -> is a secret file with AWS ID/Secret and the name of bucket
|
||||
### Files:
|
||||
cronjob.yml ---> is a **cronjob** for K8S, you must set the frequency and probes from yours scans \
|
||||
secret.yml -----> is a **secret** file with AWS ID/Secret and the name of bucket
|
||||
|
||||
To apply:
|
||||
### To apply:
|
||||
|
||||
kubectl -f cronjob.yml
|
||||
kubectl -f secret.yml
|
||||
|
||||
`$ kubectl -f cronjob.yml` \
|
||||
`$ kubectl -f secret.yml`
|
||||
|
||||
Reference in New Issue
Block a user