We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I define a aws_vpc and aws_flow_log, vpcFlowLogsNotEnabled gives a level medium violation.
aws_vpc
aws_flow_log
$ cat vpc.tf resource "aws_vpc" "example" { cidr_block = "xxx.xx.xxx.xxx/xx" } resource "aws_flow_log" "example" { log_destination = data.aws_s3_bucket.example.arn log_destination_type = "s3" traffic_type = "ALL" vpc_id = aws_vpc.example.id } $ terrascan scan -t aws -f vpc.tf results: results: violations: --rule_name: vpcFlowLogsNotEnabled description: Ensure VPC flow logging is enabled in all VPCs rule_id: AWS.VPC.Logging.Medium.0470 severity: MEDIUM category: Logging resource_name: example resource_type: aws_vpc file: vpc.tf line: 1 count: low: 0 medium: 1 high: 0 total: 1
The text was updated successfully, but these errors were encountered:
harkirat22
Successfully merging a pull request may close this issue.
Description
When I define a
aws_vpc
andaws_flow_log
, vpcFlowLogsNotEnabled gives a level medium violation.What I Did
The text was updated successfully, but these errors were encountered: