Vulnerability Management
A pull request adds a Terraform file that makes an S3 bucket publicly readable. Which tool, run in the CI pipeline before deployment, flags this without accessing the cloud account?
Show the answer
Correct answerC. Checkov
AWhy not this: ScoutSuite audits deployed configuration via provider APIs, so it cannot read a Terraform file in a pull request.
BWhy not this: Prowler assesses a deployed cloud account, so it needs live resources to check.
CWhy this is right: Checkov statically scans Terraform and similar IaC files against policy checks before deployment.
DWhy not this: Nessus scans running hosts for vulnerabilities and does not analyze IaC code.
Checkov statically analyzes infrastructure-as-code files such as Terraform and flags insecure settings before anything is deployed. Prowler and ScoutSuite assess an existing cloud account's deployed configuration, so they cannot evaluate code in a pull request.