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 max-host-count Operation #21

Closed
rmorris1218 opened this issue Jun 21, 2019 · 0 comments
Closed

Add max-host-count Operation #21

rmorris1218 opened this issue Jun 21, 2019 · 0 comments

Comments

@rmorris1218
Copy link
Contributor

Add a max-host-count operations. This would be especially helpful in assessing CIDR blocks in configuration.

For example:

...
  - id: MAX_HOSTS_EXPOSED_PER_RULE
    message: All security group rules must expose less than 1016 hosts
    severity: FAILURE
    resource: aws_security_group_rule
    assertions:
      - every:
        key: "cidr_blocks"
        expressions:
          - key: "@"
            op: max-host-count
            value: 1016
...
kmonihen pushed a commit that referenced this issue Jul 2, 2019
add max-host-count operation, tests, docs, closes #21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant