/aws-inspector:collectfrom aws-inspector
Scans AWS for compliance-relevant configuration across IAM, S3, CloudTrail, and EBS, emitting structured findings per resource.
Ships in aws-inspector. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scans AWS for compliance-relevant resources and configurations. Emits one Finding document per evaluated resource (account-level, per-bucket, per-trail, etc.).
node "${CLAUDE_PLUGIN_ROOT}/scripts/collect.js" [options]
--regions=<csv> — regions to scan (default: the config's default_region; IAM + S3 + CloudTrail have global/multi-region considerations)--services=<csv> — subset of iam,s3,cloudtrail,ebs (default: all)--profile=<name> — override the configured AWS profile--output=<fmt> — silent | summary (default) | json--refresh — ignore cache; re-query AWS--quiet — no stderr progressAccount-level (IAM):
| SCF | Check | Typical severity |
|---|---|---|
| IAC-01.1 | Root account has MFA | critical if missing |
| IAC-02 | Password policy meets baseline | high if missing |
| IAC-15.1 | No IAM users with access keys older than 90d | medium |
| IAC-15.1 | No IAM users with unused keys/passwords (>90d) | low |
| IAC-07.2 | No inline IAM policies on users (least privilege signal) | low |
Storage (S3):
| SCF | Check | Severity |
|---|---|---|
| CRY-05 | Bucket default encryption | high if missing |
| DCH-01.2 | Public access block enforced | critical if missing |
| AST-05 | Versioning enabled on production buckets | medium |
| MON-01.2 | Server access logging enabled | medium |
Audit (CloudTrail):
| SCF | Check | Severity |
|---|---|---|
| MON-02 | At least one multi-region, multi-account trail | high if missing |
| MON-02.1 | Log file validation enabled | medium |
| MON-02.2 | Trail events delivered to a monitored S3 bucket | medium |
Compute (EBS):
| SCF | Check | Severity |
|---|---|---|
| CRY-05 | Default EBS encryption enabled per region | high if missing |
Future: RDS (encryption, backup), VPC flow logs, Security Hub findings, Config conformance packs, GuardDuty enablement, SSM patch compliance, KMS key rotation.
Writes ~/.cache/claude-grc/findings/aws-inspector/<run_id>.json — array of Findings
Appends a run manifest to ~/.cache/claude-grc/runs.log
One-line summary unless --quiet:
aws-inspector: 24 resources, 87 evaluations, 9 failing (2 critical, 4 high, 3 medium).
0 success2 credentials invalid or expired3 rate-limited (AWS throttling; retry later)4 partial (some services inaccessible; report still written)5 config missing — run setupMinimum IAM policy for a read-only scan:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:GetAccountPasswordPolicy", "iam:GetAccountSummary",
"iam:ListUsers", "iam:ListAccessKeys", "iam:GetLoginProfile", "iam:GetUser", "iam:ListMFADevices", "iam:ListUserPolicies", "iam:ListAttachedUserPolicies",
"s3:ListAllMyBuckets", "s3:GetBucketEncryption", "s3:GetBucketPublicAccessBlock", "s3:GetBucketVersioning", "s3:GetBucketLogging", "s3:GetBucketLocation",
"cloudtrail:DescribeTrails", "cloudtrail:GetTrailStatus", "cloudtrail:GetEventSelectors",
"ec2:GetEbsEncryptionByDefault"
],
"Resource": "*"
}
]
}
The AWS-managed SecurityAudit policy is a superset that also works.
# Default region, all services
/aws-inspector:collect
# Multi-region scan
/aws-inspector:collect --regions=us-east-1,us-west-2,eu-west-1
# Just the storage story
/aws-inspector:collect --services=s3
# Alternate profile
/aws-inspector:collect --profile=audit-role
These paths assume the job has checked out GRCEngClub/claude-grc-engineering and runs from its root.
aws sso login --profile=audit
AWS_PROFILE=audit node plugins/connectors/aws-inspector/scripts/collect.js --quiet
node plugins/personas/engineer/scripts/gap-assessment.js FedRAMP-Moderate,SOC2 --sources=aws-inspector --output=sarif --quiet > aws-gap.sarif
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/aws-inspector-expertExpertise in evaluating AWS accounts for compliance — what checks are meaningful, which SCF controls they map to, and how to interpret aws CLI output./setupVerify the aws-inspector connector's prerequisites and write its config. Idempotent./statusReport configuration state, credential validity, and last-run freshness for aws-inspector.npx claudepluginhub grcengclub/claude-grc-engineering --plugin aws-inspectorOther plugins' skills for the same job