Skip to content

Add support for resources using waf-regional web acls #2647

@ukbe

Description

@ukbe

Is your feature request related to a problem? Please describe.

The resources using the Web ACLs defined in WAF Regional service are not populated by CloudQuery. This makes it impossible to identify the link between the resources like Application Load Balancers and Web ACLs defined in WAF Regional service.

Describe the solution you'd like

Add column "resources_for_web_acl" in "aws_wafregional_web_acls" table.
The suggested column in the solution should be same as the existing column "resources_for_web_acl" defined in "aws_wafv2_web_acls" table.

WAF Regional API supports "list-resources-for-web-acl" just like WAF v2 supports "list-resources-for-web-acl"

Describe alternatives you've considered

Another alternative could be querying WAF Regional API in addition to WAF v2 while looking up WebACL linked to load balancer in ELB v2 service.

response, err := cl.GetWebACLForResource(ctx, &input, func(options *wafv2.Options) {})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions