
Security Fundamentals
Obfuscation 101: Unmasking the Tricks Behind Malicious Code
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
aws-iam-data
Advanced tools
Provides AWS IAM data gathered from the official AWS IAM docs as a convenient npm package that can be used in other OSS projects.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
This repository provides AWS IAM data gathered from the official AWS IAM docs as a convenient npm package (aws-iam-data), that can be used in other OSS projects.
The package also includes the TypeScript interface definitions.
You can query the dataset with sql-workbench.com by clicking on the link below:
You can install aws-iam-data as a dependecy to your Node/TypeScript project via
npm i --save aws-iam-data
To use it in your own projects, see examples/index.js or the code below:
const { iamData, metadata, changelog } = require('aws-iam-data');
// Get overall service count
console.log(`Contains ${metadata.serviceCount} services!`);
// Get changelog
console.log(JSON.stringify(changelog, null, 2));
// Get EC2 data
const ec2IamData = iamData.filter(service => service.name === 'Amazon EC2')[0];
// Get actions and their access level
const ec2Actions = ec2IamData.actions.map(action => ({ name: action.name, accessLevel: action.accessLevel }));
console.log(JSON.stringify(ec2Actions, null, 2));
// Get EC2 resource types
const ec2ResourceTypes = ec2IamData.resourceTypes.map(action => ({ name: action.name, arnPattern: action.arnPattern }));
console.log(JSON.stringify(ec2ResourceTypes, null, 2));
The CI pipeline will check for AWS IAM docs updates everyday at 4AM UTC, and automatically publish a new patch version if updates are detected.
The JSON-based data gets automatically exported as CSV and Parquet files, as well as a DuckDB database. Please look in the respective directories:
The ERD of the exported data tables looks like this:
FAQs
Provides AWS IAM data gathered from the official AWS IAM docs as a convenient npm package that can be used in other OSS projects.
The npm package aws-iam-data receives a total of 683 weekly downloads. As such, aws-iam-data popularity was classified as not popular.
We found that aws-iam-data 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 Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.