Policy_sentry
Dev tools
iam policy generator
SHOW HN2019
How HN took it
3 positive, 5 neutral or asking, 1 mixed, 0 critical, out of 9 comments about the project. Thread score +0.17.
Idea: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful gap-filling tool for least-privilege AWS policies
From 2 comments
Thank you! I'm glad to see there's progress on this. I've been holding off putting the infrastructure automation into CI/CD, due to the incredible amount of work it would take to…
bashinator on HNIt does, but some disclaimers: 1. The generated policies have Resources set to all, not to a specific resource ARN 2. It downloads all of the CloudTrail logs. This takes a while.…
kmcquade on HN
Objections
Policy analysis from CloudTrail is less accurate than the authoring feature
From 2 comments
It does, but some disclaimers: 1. The generated policies have Resources set to all, not to a specific resource ARN 2. It downloads all of the CloudTrail logs. This takes a while.…
kmcquade on HNIn the Terraform use case, that is probably possible if you hack together an analysis of the JSON policy files generated by the Terraform module and then allow/warn/deny based on…
kmcquade on HN
Requests
Generate IAM policies from CloudTrail logs
From 2 comments
Related, I've been wondering if there's a tool that will generate a least-privilege policy out of an existing set of AWS CloudTrail records. It would be wonderful if I could run…
bashinator on HNRegarding your point on the API logs - there are some blunders on AWS's part that make "policy suggestion" difficult. Behind the scenes right now, is still AWS figuring out what…
kmcquade on HN
Block creation of policies with specific permissions in CI/CD
From 1 comment
Is there any way to block the creation of policies containing specific permissions or resources? I know this can be trivially circumvented but if this tool is used in ci/cd it…
vageli on HN
Clearer README with YAML examples
From 1 comment
I completely understand (and have had) the problem, but I don't understand the solution that this offers? Or rather, I didn't without going Readme > Wiki > User Guide > something…
OJFord on HN
Questions
How does it differ from AWS's aws-iam-generator
From 1 comment
Neat project. How does it differ from `aws-iam-generator` released by AWS themselves? https://github.com/awslabs/aws-iam-generator
bloblaw on HN
Does AWS CDK already solve this
From 1 comment
I have a question, I recently had the opportunity to use AWS CDK (https://docs.aws.amazon.com/cdk/latest/guide/home.html) for a project. It seemed to me that CDK automatically…
kevinsundar on HN
Alternatives named
trailscraper
From 1 comment
I believe trailscraper (https://github.com/flosell/trailscraper) does this. See `trailscraper generate`.
thefrozenone on HN
cloudtracker
From 1 comment
It does, but some disclaimers: 1. The generated policies have Resources set to all, not to a specific resource ARN 2. It downloads all of the CloudTrail logs. This takes a while.…
kmcquade on HN
aws-iam-generator
From 1 comment
Neat project. How does it differ from `aws-iam-generator` released by AWS themselves? https://github.com/awslabs/aws-iam-generator
bloblaw on HN
Netflix Aardvark and Repokid
From 1 comment
> and there's no automated tool that will automagically sense the AWS API calls that you perform and then write them for you in a least-privilege manner. Netflix released one two…
jedberg on HN
AWS IAM Access Advisor
From 1 comment
IAM also offers some built-in help for the removal part, by listing which services were accessed recently:…
rzzzt on HN
Open Policy Agent
From 1 comment
In the Terraform use case, that is probably possible if you hack together an analysis of the JSON policy files generated by the Terraform module and then allow/warn/deny based on…
kmcquade on HN
HashiCorp Sentinel
From 1 comment
Hashicorp has a tool/framework for this, Sentinel https://www.hashicorp.com/sentinel/ I haven't used it in production. It uses an even-more-baroque syntax than terraform's HCL…
philsnow on HN