
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
aws-access-analyzer-validator
Advanced tools
A tool to validate existing identity and resource policies across regions and supported AWS services with AWS IAM Access Analyzer.
A tool to validate existing identity and resource policies across regions and supported AWS services with AWS IAM Access Analyzer.
This tool
See examples/sample_report.md for an example.
pip install aws-access-analyzer-validator
aws-access-analyzer-validator -o report.md
report.md
to see analysis results.aws-access-analyzer-validator
supports the following arguments:
--regions
- A comma separated list of regions to limit policy
validation to. For example, --regions eu-west-1,eu-north-1
limits
validation to policies in eu-west-1
and eu-north-1
regions. Global
resources (IAM, S3) are scanned regardless of region limitations.aws-access-analyzer-validator
validates policies from the following
services:
This tool requires the following permissions to operate:
accessanalyzer:ValidatePolicy
ecr:DescribeRepositories
ecr:GetRepositoryPolicy
iam:GetAccountAuthorizationDetails
s3:GetBucketPolicy
s3:ListAllMyBuckets
sns:GetTopicAttributes
sns:ListTopics
sqs:GetQueueAttributes
sqs:ListQueues
Here's an IAM policy that grants the required privileges:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PermissionsForAAValidator",
"Effect": "Allow",
"Action": [
"access-analyzer:ValidatePolicy",
"ecr:DescribeRepositories",
"ecr:GetRepositoryPolicy",
"iam:GetAccountAuthorizationDetails",
"s3:GetBucketPolicy",
"s3:ListAllMyBuckets",
"sns:GetTopicAttributes",
"sns:ListTopics",
"sqs:GetQueueAttributes",
"sqs:ListQueues"
],
"Resource": "*"
}
]
}
Requires Python 3.8+ and Poetry. Useful commands:
# Setup environment
poetry install
# Run integration tests (requires admin-level AWS credentials)
make test
# Run linters
make -k lint
# Format code
make format
# Deploy test resources (requires AWS CLI and admin level AWS credentials)
make deploy-test-resources
# Delete test resources
make delete-test-resources
MIT.
FAQs
A tool to validate existing identity and resource policies across regions and supported AWS services with AWS IAM Access Analyzer.
We found that aws-access-analyzer-validator 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.