aws-iam-policy-analyst

Analyze and generate AWS IAM policies by querying a DuckDB database.

2|3|Updated Nov 24, 2020
One-click install
npx skills add https://github.com/loganlinn/dotfiles --skill aws-iam-policy-analyst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-iam-policy-analyst
Source: https://github.com/loganlinn/dotfiles/tree/main/config/claude/skills/aws-iam-analyzer
Command: npx skills add https://github.com/loganlinn/dotfiles --skill aws-iam-policy-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert analysis and generation of AWS IAM policies by directly querying an authoritative DuckDB database of AWS IAM information, ensuring accuracy and up-to-date policy recommendations.

Core Features & Use Cases

  • Evidence-Based Analysis: Never guess IAM permissions; always query the database for definitive answers on actions, resources, and conditions.
  • Accurate Policy Generation: Create precise IAM policies based on real-time data, avoiding over-privileging or under-privileging.
  • Use Case: When asked "What permissions are needed to allow an EC2 instance to read from an S3 bucket?", this Skill will query the database to find the exact actions, resource types, and any necessary conditions, then construct the policy.

Quick Start

Use the aws-iam-policy-analyst skill to find all read actions for the S3 service.

Frequently Asked Questions about aws-iam-policy-analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate accurate AWS IAM policies for specific S3 actions?

To generate accurate AWS IAM policies, this Skill queries an authoritative DuckDB database to find exact actions, resource types, and conditions, ensuring precise policy creation without over-privileging or under-privileging. It constructs the policy based on real-time data lookups.

What permissions are needed to allow an EC2 instance to read from an S3 bucket?

Finding the permissions needed for an EC2 instance to read from S3 involves querying the DuckDB database for exact read actions and necessary conditions. This Skill ensures definitive, evidence-based answers for resource authorization queries by strictly adhering to database lookups.

How do I check all read actions available for the S3 service in AWS IAM?

To check all read actions for the S3 service, this Skill queries its comprehensive DuckDB database containing AWS IAM data. It retrieves the specific actions and associated resource types, ensuring you get definitive, up-to-date permission information without guessing.

Can I use DuckDB to analyze AWS IAM resource types and conditions?

Yes, you can analyze AWS IAM resource types and conditions using DuckDB. This Skill queries an authoritative DuckDB database to provide detailed permission analysis and resource authorization queries, ensuring all IAM-related information is evidence-based and definitively accurate.

What is the best way to avoid over-privileging when creating AWS IAM policies?

The best way to avoid over-privileging when creating AWS IAM policies is to rely on evidence-based analysis. This Skill queries an authoritative DuckDB database to construct policies using precise actions, resources, and conditions, ensuring accurate permission assignments based on real-time data.

Does this AWS IAM policy analysis tool support queries for all service actions?

Yes, this AWS IAM policy analysis tool supports queries for service actions by strictly querying its comprehensive DuckDB database. It provides definitive answers on actions, resources, and conditions across the AWS IAM data it contains, ensuring accurate policy generation.