Each rewritten description now states both what the skill does (concrete
capability, named tools/artifacts) and an explicit when-to-use trigger,
improving agent discovery/activation. Grounded in each skill's own body;
changes confined to the `description` field only (bodies and all other
frontmatter untouched). Produced by a gated audit->rewrite->recheck loop
(548 -> 0 flagged) with a sampled anti-invention check (0 ungrounded).
Schema: 817/817 pass. Framework-ID gate: 0 defects.
Run the agentless, open-source ScoutSuite tool (via pip install and the `scout` CLI) against an AWS account to enumerate resources across services, identify misconfigurations, and generate an interactive HTML security report. Use when assessing an AWS account's overall security posture with read-only IAM credentials, such as during a cloud security audit or compliance review.
cybersecurity
cloud-security
aws
scoutsuite
cloud-security
enumeration
misconfiguration
security-audit
cspm
nccgroup
1.0
mahipal
Apache-2.0
PR.IR-01
ID.AM-08
GV.SC-06
DE.CM-01
T1078.004
T1530
T1537
T1580
Performing AWS Account Enumeration with ScoutSuite
Overview
ScoutSuite is an open-source multi-cloud security auditing tool developed by NCC Group that enables comprehensive security posture assessment of AWS environments. It queries AWS APIs to gather configuration data across all services, stores results locally, and generates interactive HTML reports highlighting high-risk areas. ScoutSuite is agentless and works by analyzing how cloud resources are configured, accessed, and monitored.
When to Use
When conducting security assessments that involve performing aws account enumeration with scout suite
When following incident response procedures for related security events
When performing scheduled security testing or auditing activities
When validating security controls through hands-on testing
Prerequisites
Python 3.6+ installed
AWS CLI configured with appropriate IAM credentials
Read-only IAM permissions across target AWS services (SecurityAudit managed policy recommended)
pip package manager for ScoutSuite installation
Network access to AWS API endpoints
Installation and Setup
Install ScoutSuite
pip install scoutsuite
Verify installation
scout --version
Configure AWS credentials
aws configure
# Or use environment variables:exportAWS_ACCESS_KEY_ID=<your-key>
exportAWS_SECRET_ACCESS_KEY=<your-secret>
exportAWS_DEFAULT_REGION=us-east-1
Required IAM Policy
Attach the AWS managed policy SecurityAudit and ViewOnlyAccess to the IAM user or role running ScoutSuite. For comprehensive scanning, a custom policy may be needed:
Schedule regular scans (weekly or after infrastructure changes)
Integration with CI/CD
# Run ScoutSuite in CI/CD pipeline and fail on danger findings
scout aws --services s3 iam ec2 --no-browser --report-dir ./scout-report/
# Parse results programmatically
python -c "
import json
with open('./scout-report/scoutsuite-results/scoutsuite_results.json') as f:
results = json.load(f)
for service in results.get('services', {}):
findings = results['services'][service].get('findings', {})
for finding_id, finding in findings.items():
if finding.get('flagged_items', 0) > 0 and finding.get('level') == 'danger':
print(f'CRITICAL: {finding_id} - {finding.get(\"description\", \"\")}')
"
Multi-Cloud Capability
ScoutSuite supports multiple cloud providers using the same framework:
# Azure
scout azure --cli
# GCP
scout gcp --user-account
# AWS with specific profile
scout aws --profile production