Complete the code to run a basic security scan using tfsec.
tfsec [1]tfsec scans the current directory by default when you specify ..
Complete the code to run checkov on a Terraform directory.
checkov -d [1]The -d flag tells checkov which directory to scan. . means current directory.
Fix the error in the command to run tfsec with JSON output.
tfsec --format [1]tfsec supports JSON output format using --format json.
Fill both blanks to run checkov on a Terraform directory with output to a file.
checkov -d [1] --output-file-path [2]
The -d flag specifies the directory, and --output-file-path specifies the output file.
Fill all three blanks to run tfsec on a specific directory, output JSON, and exclude a rule.
tfsec [1] --format [2] --exclude [3]
Specify the directory, output format, and rule to exclude correctly.
