Skip to content

CKV_AWS_86 only validates v1 logging, not v2 #7385

@Atachi

Description

@Atachi

Describe the issue
In CKV_AWS_86 only the old v1 logging of a CloudFront distribution will be validated.
If one uses v2 logging, it complains.

Version (please complete the following information):

  • Checkov Docker Image Tag 3.2.495

Additional context
See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#with-v2-logging-to-s3 for a valid configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    checksCheck additions or changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions