Skip to content

req: IP Address Restriction policy enforced #11

Open
badra001 opened this issue Jun 19, 2020 · 1 comment
Open

req: IP Address Restriction policy enforced #11

badra001 opened this issue Jun 19, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@badra001
Copy link
Contributor

IP address restrictions to what set of addresses? Is this to prevent use by public IPs? Need to make sure it doesn't break AWS-based access (via S3 endpoints, EC2, Lambda, etc.).

@badra001 badra001 added the documentation Improvements or additions to documentation label Jun 19, 2020
@ashle001
Copy link
Contributor

IP address restriction is tricky. Assigning IAM permissions with a policy condition that grants "allows" based on source CIDR block breaks things that are executed on the users behalf by AWS on the backend. This would apply at a user policy level and relate to S3 permissions for specific bucket(s). This approach is unmanageable because the whitelist would be huge and subject to change because AWS CIDR blocks would have to be included.

The other approach would put a conditional on sts:AssumeRole that the source IP address is coming from Census.

The optimal approach may be to limit bucket api calls to source Census addresses from within the bucket policy that would apply to anyone accessing the bucket.

Sign in to join this conversation on GitHub.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants