Skip to content
New issue

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

Add inline "AND" form #2

Open
nathanataws opened this issue Jun 15, 2020 · 1 comment
Open

Add inline "AND" form #2

nathanataws opened this issue Jun 15, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers needs-research
Projects

Comments

@nathanataws
Copy link
Contributor

nathanataws commented Jun 15, 2020

Customers may need to have explicit in-line "AND's" (as opposed to the implicit AND's that are already part of a ruleset) for clarity:

AWS::EC2::SecurityGroup SecurityGroupIngress.*.ToPort != 3306 |AND| SecurityGroupIngress.*.CidrIp != 0.0.0.0/0

@nathanataws nathanataws added this to Backlog in Roadmap Jun 16, 2020
@nathanataws nathanataws added the enhancement New feature or request label Jun 16, 2020
@nathanataws nathanataws moved this from Backlog to In Progress in Roadmap Jun 30, 2020
@nathanataws nathanataws moved this from In Progress to Backlog in Roadmap Aug 3, 2020
@jeffmarcinko
Copy link

This enhancement would be helpful for checking templates that often have multiple of the same resource type where the desire is to enforce a compliance rule only on a subset of those resources. Example; a rule that requires insecure ALB listeners (those with protocol == HTTP) to redirect to HTTPS, but ignores HTTP Listeners that with DefaultAction Type == fixed-response.

AWS::ElasticLoadBalancingV2::Listener WHEN Protocol == HTTP |AND| DefaultActions.*.Type == redirect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers needs-research
Projects
Roadmap
  
Backlog
Development

No branches or pull requests

4 participants