mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
trivy: change deprecated fs flags (#22661)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
- Scan the filesystem for vulnerabilities and misconfigurations:
|
||||
|
||||
`trivy fs --security-checks {{vuln,config}} {{path/to/project_directory}}`
|
||||
`trivy fs --scanners {{vuln,misconfig}} {{path/to/project_directory}}`
|
||||
|
||||
- Scan a IaC (Terraform, CloudFormation, ARM, Helm, and Dockerfile) directory for misconfigurations:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user