Skip to content

AwsSolutions-CFR7 nag for @cloudcomponents/cdk-static-website:2.2.0 #219

@SerVB

Description

@SerVB

Probably something is updated in aws-cdk-lib/cdk-nag, but I now have the following error for the static website:

[Error at /Stack/StaticWebsite/Distribution/Resource] AwsSolutions-CFR7: The CloudFront distribution does not use an origin access control with an S3 origin. Origin access controls help with security by restricting any direct access to objects through S3 URLs

Ended up suppressing it.

@cloudcomponents/cdk-static-website should probably start to support OAC, not only OAI. References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions