
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
A tool to automatically generate minimal IAM policy to deploy a CloudFormation stack from its template.
A tool to automatically generate minimal IAM policy to deploy a CloudFormation stack from its template.
This tool analyzes CloudFormation templates to identify all resource types used, then queries the CloudFormation registry to determine the required IAM permissions for each resource type. It can generate IAM policy documents or create IAM roles with the appropriate permissions.
pip install cfn2iam
cfn2iam <template_path> [options]
-d, --allow-delete
: Allow delete permissions instead of denying them (default: False)-c, --create-role
: Create an IAM role with the generated permissions (default: False)-r, --role-name
: Name for the IAM role (if not specified, uses 'cfn2iam-<random_hash>')-p, --permissions-boundary
: ARN of the permissions boundary to attach to the roleGenerate a policy document from a template:
cfn2iam path/to/template.yaml
Create an IAM role with delete permissions allowed:
cfn2iam path/to/template.yaml -d
Create an IAM role with a custom name:
cfn2iam path/to/template.yaml -r MyCustomRole
Create an IAM role with a permissions boundary:
cfn2iam path/to/template.yaml -p arn:aws:iam::123456789012:policy/boundary
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A tool to automatically generate minimal IAM policy to deploy a CloudFormation stack from its template.
We found that cfn2iam demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.