[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GWWB772ZHD1FTZ7V9FCAXK":3,"skill-same:01M6GWWB772ZHD1FTZ7V9FCAXK":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":61,"install":62,"resources":75},"01M6GWWB772ZHD1FTZ7V9FCAXK","auditing-aws-s3-bucket-permissions",null,"Systematically audit AWS S3 bucket permissions to identify publicly accessible buckets, overly permissive ACLs, misconfigured bucket policies, and missing encryption settings using AWS CLI, S3audit, and Prowler to enforce least-privilege data access controls.","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fauditing-aws-s3-bucket-permissions\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"auditing aws s3 bucket permissions","bucket","aws s3","aws","s3","permissions","audit","cloud-security","data","encryption","cli","prowler","least-privilege","access","aws cli","enforce","cybersecurity","missing","controls","security","2026-11-10 10:12:30",false,"---\nname: auditing-aws-s3-bucket-permissions\ndescription: >\n  Systematically audit AWS S3 bucket permissions to identify publicly accessible buckets,\n  overly permissive ACLs, misconfigured bucket policies, and missing encryption settings\n  using AWS CLI, S3audit, and Prowler to enforce least-privilege data access controls.\ndomain: cybersecurity\nsubdomain: cloud-security\ntags: [cloud-security, aws, s3, bucket-permissions, data-protection, access-control]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Auditing AWS S3 Bucket Permissions\n\n## When to Use\n\n- When conducting a security assessment of AWS environments to identify publicly exposed data\n- When onboarding a new AWS account and establishing a security baseline for storage resources\n- When responding to an alert about potential S3 data exposure from AWS Trusted Advisor or Security Hub\n- When compliance frameworks (SOC 2, PCI DSS, HIPAA) require periodic review of data access controls\n- When a breach or credential compromise necessitates immediate review of all accessible S3 resources\n\n**Do not use** for auditing non-AWS object storage (use provider-specific tools), for real-time monitoring (use S3 Event Notifications with Lambda), or for auditing S3 access patterns (use S3 Access Analyzer or CloudTrail S3 data events).\n\n## Prerequisites\n\n- AWS CLI v2 configured with credentials that have `s3:GetBucketPolicy`, `s3:GetBucketAcl`, `s3:GetBucketPublicAccessBlock`, `s3:GetEncryptionConfiguration`, and `s3:ListAllMyBuckets` permissions\n- Prowler installed (`pip install prowler`) for automated CIS benchmark checks\n- S3audit or similar enumeration tool for quick public bucket detection\n- Access to AWS Organizations if auditing across multiple accounts\n- Python 3.8+ with boto3 for custom audit scripts\n\n## Workflow\n\n### Step 1: Enumerate All S3 Buckets and Account-Level Block Public Access\n\nCheck the account-level S3 Block Public Access settings first, then list all buckets with their regions.\n\n```bash\n# Check account-level S3 Block Public Access settings\naws s3control get-public-access-block \\\n  --account-id $(aws sts get-caller-identity --query Account --output text) \\\n  --output json\n\n# List all buckets with creation dates\naws s3api list-buckets \\\n  --query 'Buckets[*].[Name,CreationDate]' \\\n  --output table\n\n# Get bucket regions for each bucket\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  region=$(aws s3api get-bucket-location --bucket \"$bucket\" --query 'LocationConstraint' --output text)\n  echo \"$bucket -> ${region:-us-east-1}\"\ndone\n```\n\n### Step 2: Check Each Bucket's Public Access Block and ACL Configuration\n\nIterate through all buckets to evaluate their individual public access blocks and ACL grants.\n\n```bash\n# Check per-bucket Block Public Access settings\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  echo \"=== $bucket ===\"\n  aws s3api get-public-access-block --bucket \"$bucket\" 2>\u002Fdev\u002Fnull || echo \"  No Block Public Access configured\"\n\n  # Check ACL for public grants\n  aws s3api get-bucket-acl --bucket \"$bucket\" \\\n    --query 'Grants[?Grantee.URI==`http:\u002F\u002Facs.amazonaws.com\u002Fgroups\u002Fglobal\u002FAllUsers` || Grantee.URI==`http:\u002F\u002Facs.amazonaws.com\u002Fgroups\u002Fglobal\u002FAuthenticatedUsers`]' \\\n    --output json\ndone\n```\n\n### Step 3: Analyze Bucket Policies for Overly Permissive Access\n\nReview bucket policies for wildcard principals, missing conditions, and statements that allow broad access.\n\n```bash\n# Extract and analyze bucket policies\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  policy=$(aws s3api get-bucket-policy --bucket \"$bucket\" --output text 2>\u002Fdev\u002Fnull)\n  if [ -n \"$policy\" ]; then\n    echo \"=== $bucket policy ===\"\n    echo \"$policy\" | python3 -c \"\nimport json, sys\npolicy = json.load(sys.stdin)\nfor stmt in policy.get('Statement', []):\n    principal = stmt.get('Principal', {})\n    effect = stmt.get('Effect', '')\n    if principal == '*' or principal == {'AWS': '*'}:\n        print(f'  WARNING: {effect} with wildcard principal')\n        print(f'  Actions: {stmt.get(\\\"Action\\\", \\\"\\\")}')\n        print(f'  Condition: {stmt.get(\\\"Condition\\\", \\\"NONE\\\")}')\n\"\n  fi\ndone\n```\n\n### Step 4: Verify Encryption and Versioning Settings\n\nCheck that all buckets have server-side encryption enabled and versioning configured for data protection.\n\n```bash\n# Check encryption and versioning status for all buckets\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  echo \"=== $bucket ===\"\n\n  # Encryption configuration\n  aws s3api get-bucket-encryption --bucket \"$bucket\" 2>\u002Fdev\u002Fnull \\\n    && echo \"  Encryption: ENABLED\" \\\n    || echo \"  Encryption: DISABLED\"\n\n  # Versioning status\n  aws s3api get-bucket-versioning --bucket \"$bucket\" \\\n    --query 'Status' --output text\n\n  # Logging status\n  aws s3api get-bucket-logging --bucket \"$bucket\" \\\n    --query 'LoggingEnabled' --output text 2>\u002Fdev\u002Fnull\ndone\n```\n\n### Step 5: Run Prowler S3-Specific Checks\n\nExecute Prowler's S3-focused checks aligned with CIS AWS Foundations Benchmark.\n\n```bash\n# Run Prowler S3-specific checks\nprowler aws \\\n  --checks s3_bucket_public_access \\\n           s3_bucket_default_encryption \\\n           s3_bucket_policy_public_write_access \\\n           s3_bucket_server_access_logging_enabled \\\n           s3_bucket_versioning_enabled \\\n           s3_bucket_acl_prohibited \\\n  -M json-ocsf \\\n  -o .\u002Fprowler-s3-audit\u002F\n\n# View summary\nprowler aws --checks s3 -M csv -o .\u002Fprowler-s3-audit\u002F\n```\n\n### Step 6: Use IAM Access Analyzer for S3 Public and Cross-Account Findings\n\nLeverage IAM Access Analyzer to identify buckets shared externally or publicly.\n\n```bash\n# List Access Analyzer findings for S3\naws accessanalyzer list-findings \\\n  --analyzer-arn $(aws accessanalyzer list-analyzers --query 'analyzers[0].arn' --output text) \\\n  --filter '{\"resourceType\": {\"eq\": [\"AWS::S3::Bucket\"]}}' \\\n  --query 'findings[*].[resource,status,condition,principal]' \\\n  --output table\n\n# Create an analyzer if one does not exist\naws accessanalyzer create-analyzer \\\n  --analyzer-name s3-access-audit \\\n  --type ACCOUNT\n```\n\n### Step 7: Generate Audit Report and Remediate\n\nCompile findings into an actionable report and apply remediation for critical issues.\n\n```bash\n# Quick remediation: Enable Block Public Access on a bucket\naws s3api put-public-access-block \\\n  --bucket TARGET_BUCKET \\\n  --public-access-block-configuration \\\n  'BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true'\n\n# Enable default encryption with SSE-S3\naws s3api put-bucket-encryption \\\n  --bucket TARGET_BUCKET \\\n  --server-side-encryption-configuration \\\n  '{\"Rules\":[{\"ApplyServerSideEncryptionByDefault\":{\"SSEAlgorithm\":\"aws:kms\",\"KMSMasterKeyID\":\"alias\u002Faws\u002Fs3\"},\"BucketKeyEnabled\":true}]}'\n\n# Enable versioning\naws s3api put-bucket-versioning \\\n  --bucket TARGET_BUCKET \\\n  --versioning-configuration Status=Enabled\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| S3 Block Public Access | Account-level and bucket-level settings that override ACLs and policies to prevent public access regardless of individual resource configurations |\n| Bucket Policy | JSON-based resource policy attached to a bucket that defines who can access the bucket and what actions they can perform |\n| ACL (Access Control List) | Legacy S3 access control mechanism granting permissions to AWS accounts or predefined groups like AllUsers or AuthenticatedUsers |\n| IAM Access Analyzer | AWS service that analyzes resource policies to identify resources shared with external entities or the public |\n| Server-Side Encryption | Encryption applied by S3 at the object level using SSE-S3, SSE-KMS, or SSE-C before writing data to disk |\n| CIS AWS Foundations Benchmark | Security best practice standard from Center for Internet Security with specific controls for S3 bucket configuration |\n\n## Tools & Systems\n\n- **AWS CLI**: Primary interface for querying S3 bucket configurations, policies, ACLs, and encryption settings\n- **Prowler**: Open-source security tool with 50+ S3-specific checks aligned to CIS, PCI DSS, and HIPAA controls\n- **IAM Access Analyzer**: AWS-native service for continuous monitoring of resource policies that grant external access\n- **S3audit**: Lightweight tool for quick enumeration of public S3 buckets across an account\n- **ScoutSuite**: Multi-cloud auditing tool that collects S3 configuration data and generates risk-scored HTML reports\n\n## Common Scenarios\n\n### Scenario: Identifying a Publicly Readable Bucket Containing Customer Data\n\n**Context**: A security engineer receives a Trusted Advisor alert about a publicly accessible S3 bucket. The bucket was created by a development team for a demo and was never locked down.\n\n**Approach**:\n1. Run `aws s3api get-bucket-acl` and find a grant to `AllUsers` with `READ` permission\n2. Check `get-bucket-policy` and discover a policy with `Principal: \"*\"` and `s3:GetObject`\n3. Confirm Block Public Access is not enabled at the bucket or account level\n4. Enumerate bucket contents to assess data sensitivity\n5. Immediately enable Block Public Access on the bucket\n6. Review CloudTrail S3 data events to determine if unauthorized access occurred\n7. Report the finding with timeline, data inventory, and remediation confirmation\n\n**Pitfalls**: Enabling Block Public Access can break applications that intentionally serve content publicly (static websites). Always verify the bucket's intended use before applying restrictions. Check for CloudFront distributions or other services relying on the bucket's public access.\n\n## Output Format\n\n```\nS3 Bucket Permissions Audit Report\n=====================================\nAccount: 123456789012 (Production)\nDate: 2026-02-23\nAuditor: Security Engineering Team\nTotal Buckets: 47\n\nACCOUNT-LEVEL SETTINGS:\n  Block Public Access: ENABLED (all four settings)\n\nCRITICAL FINDINGS:\n[S3-001] Public Read Access via ACL\n  Bucket: marketing-assets-prod\n  Issue: AllUsers group granted READ permission via ACL\n  Risk: Any internet user can list and download bucket contents\n  Data Sensitivity: Contains customer-facing but non-sensitive marketing assets\n  Remediation: Remove AllUsers ACL grant, enable Block Public Access\n\n[S3-002] Wildcard Principal in Bucket Policy\n  Bucket: data-exchange-partner\n  Issue: Policy allows s3:GetObject with Principal \"*\" and no VPC\u002FIP condition\n  Risk: Intended for partner access but accessible to anyone with the bucket name\n  Remediation: Add aws:SourceVpce or aws:SourceIp condition to restrict access\n\nSUMMARY:\n  Buckets with public access:           3 \u002F 47\n  Buckets without encryption:           5 \u002F 47\n  Buckets without versioning:          12 \u002F 47\n  Buckets without access logging:      18 \u002F 47\n  Buckets with overly broad policies:   7 \u002F 47\n```\n","# Auditing AWS S3 Bucket Permissions\n\n## When to Use\n\n- When conducting a security assessment of AWS environments to identify publicly exposed data\n- When onboarding a new AWS account and establishing a security baseline for storage resources\n- When responding to an alert about potential S3 data exposure from AWS Trusted Advisor or Security Hub\n- When compliance frameworks (SOC 2, PCI DSS, HIPAA) require periodic review of data access controls\n- When a breach or credential compromise necessitates immediate review of all accessible S3 resources\n\n**Do not use** for auditing non-AWS object storage (use provider-specific tools), for real-time monitoring (use S3 Event Notifications with Lambda), or for auditing S3 access patterns (use S3 Access Analyzer or CloudTrail S3 data events).\n\n## Prerequisites\n\n- AWS CLI v2 configured with credentials that have `s3:GetBucketPolicy`, `s3:GetBucketAcl`, `s3:GetBucketPublicAccessBlock`, `s3:GetEncryptionConfiguration`, and `s3:ListAllMyBuckets` permissions\n- Prowler installed (`pip install prowler`) for automated CIS benchmark checks\n- S3audit or similar enumeration tool for quick public bucket detection\n- Access to AWS Organizations if auditing across multiple accounts\n- Python 3.8+ with boto3 for custom audit scripts\n\n## Workflow\n\n### Step 1: Enumerate All S3 Buckets and Account-Level Block Public Access\n\nCheck the account-level S3 Block Public Access settings first, then list all buckets with their regions.\n\n```bash\n# Check account-level S3 Block Public Access settings\naws s3control get-public-access-block \\\n  --account-id $(aws sts get-caller-identity --query Account --output text) \\\n  --output json\n\n# List all buckets with creation dates\naws s3api list-buckets \\\n  --query 'Buckets[*].[Name,CreationDate]' \\\n  --output table\n\n# Get bucket regions for each bucket\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  region=$(aws s3api get-bucket-location --bucket \"$bucket\" --query 'LocationConstraint' --output text)\n  echo \"$bucket -> ${region:-us-east-1}\"\ndone\n```\n\n### Step 2: Check Each Bucket's Public Access Block and ACL Configuration\n\nIterate through all buckets to evaluate their individual public access blocks and ACL grants.\n\n```bash\n# Check per-bucket Block Public Access settings\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  echo \"=== $bucket ===\"\n  aws s3api get-public-access-block --bucket \"$bucket\" 2>\u002Fdev\u002Fnull || echo \"  No Block Public Access configured\"\n\n  # Check ACL for public grants\n  aws s3api get-bucket-acl --bucket \"$bucket\" \\\n    --query 'Grants[?Grantee.URI==`http:\u002F\u002Facs.amazonaws.com\u002Fgroups\u002Fglobal\u002FAllUsers` || Grantee.URI==`http:\u002F\u002Facs.amazonaws.com\u002Fgroups\u002Fglobal\u002FAuthenticatedUsers`]' \\\n    --output json\ndone\n```\n\n### Step 3: Analyze Bucket Policies for Overly Permissive Access\n\nReview bucket policies for wildcard principals, missing conditions, and statements that allow broad access.\n\n```bash\n# Extract and analyze bucket policies\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  policy=$(aws s3api get-bucket-policy --bucket \"$bucket\" --output text 2>\u002Fdev\u002Fnull)\n  if [ -n \"$policy\" ]; then\n    echo \"=== $bucket policy ===\"\n    echo \"$policy\" | python3 -c \"\nimport json, sys\npolicy = json.load(sys.stdin)\nfor stmt in policy.get('Statement', []):\n    principal = stmt.get('Principal', {})\n    effect = stmt.get('Effect', '')\n    if principal == '*' or principal == {'AWS': '*'}:\n        print(f'  WARNING: {effect} with wildcard principal')\n        print(f'  Actions: {stmt.get(\\\"Action\\\", \\\"\\\")}')\n        print(f'  Condition: {stmt.get(\\\"Condition\\\", \\\"NONE\\\")}')\n\"\n  fi\ndone\n```\n\n### Step 4: Verify Encryption and Versioning Settings\n\nCheck that all buckets have server-side encryption enabled and versioning configured for data protection.\n\n```bash\n# Check encryption and versioning status for all buckets\nfor bucket in $(aws s3api list-buckets --query 'Buckets[*].Name' --output text); do\n  echo \"=== $bucket ===\"\n\n  # Encryption configuration\n  aws s3api get-bucket-encryption --bucket \"$bucket\" 2>\u002Fdev\u002Fnull \\\n    && echo \"  Encryption: ENABLED\" \\\n    || echo \"  Encryption: DISABLED\"\n\n  # Versioning status\n  aws s3api get-bucket-versioning --bucket \"$bucket\" \\\n    --query 'Status' --output text\n\n  # Logging status\n  aws s3api get-bucket-logging --bucket \"$bucket\" \\\n    --query 'LoggingEnabled' --output text 2>\u002Fdev\u002Fnull\ndone\n```\n\n### Step 5: Run Prowler S3-Specific Checks\n\nExecute Prowler's S3-focused checks aligned with CIS AWS Foundations Benchmark.\n\n```bash\n# Run Prowler S3-specific checks\nprowler aws \\\n  --checks s3_bucket_public_access \\\n           s3_bucket_default_encryption \\\n           s3_bucket_policy_public_write_access \\\n           s3_bucket_server_access_logging_enabled \\\n           s3_bucket_versioning_enabled \\\n           s3_bucket_acl_prohibited \\\n  -M json-ocsf \\\n  -o .\u002Fprowler-s3-audit\u002F\n\n# View summary\nprowler aws --checks s3 -M csv -o .\u002Fprowler-s3-audit\u002F\n```\n\n### Step 6: Use IAM Access Analyzer for S3 Public and Cross-Account Findings\n\nLeverage IAM Access Analyzer to identify buckets shared externally or publicly.\n\n```bash\n# List Access Analyzer findings for S3\naws accessanalyzer list-findings \\\n  --analyzer-arn $(aws accessanalyzer list-analyzers --query 'analyzers[0].arn' --output text) \\\n  --filter '{\"resourceType\": {\"eq\": [\"AWS::S3::Bucket\"]}}' \\\n  --query 'findings[*].[resource,status,condition,principal]' \\\n  --output table\n\n# Create an analyzer if one does not exist\naws accessanalyzer create-analyzer \\\n  --analyzer-name s3-access-audit \\\n  --type ACCOUNT\n```\n\n### Step 7: Generate Audit Report and Remediate\n\nCompile findings into an actionable report and apply remediation for critical issues.\n\n```bash\n# Quick remediation: Enable Block Public Access on a bucket\naws s3api put-public-access-block \\\n  --bucket TARGET_BUCKET \\\n  --public-access-block-configuration \\\n  'BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true'\n\n# Enable default encryption with SSE-S3\naws s3api put-bucket-encryption \\\n  --bucket TARGET_BUCKET \\\n  --server-side-encryption-configuration \\\n  '{\"Rules\":[{\"ApplyServerSideEncryptionByDefault\":{\"SSEAlgorithm\":\"aws:kms\",\"KMSMasterKeyID\":\"alias\u002Faws\u002Fs3\"},\"BucketKeyEnabled\":true}]}'\n\n# Enable versioning\naws s3api put-bucket-versioning \\\n  --bucket TARGET_BUCKET \\\n  --versioning-configuration Status=Enabled\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| S3 Block Public Access | Account-level and bucket-level settings that override ACLs and policies to prevent public access regardless of individual resource configurations |\n| Bucket Policy | JSON-based resource policy attached to a bucket that defines who can access the bucket and what actions they can perform |\n| ACL (Access Control List) | Legacy S3 access control mechanism granting permissions to AWS accounts or predefined groups like AllUsers or AuthenticatedUsers |\n| IAM Access Analyzer | AWS service that analyzes resource policies to identify resources shared with external entities or the public |\n| Server-Side Encryption | Encryption applied by S3 at the object level using SSE-S3, SSE-KMS, or SSE-C before writing data to disk |\n| CIS AWS Foundations Benchmark | Security best practice standard from Center for Internet Security with specific controls for S3 bucket configuration |\n\n## Tools & Systems\n\n- **AWS CLI**: Primary interface for querying S3 bucket configurations, policies, ACLs, and encryption settings\n- **Prowler**: Open-source security tool with 50+ S3-specific checks aligned to CIS, PCI DSS, and HIPAA controls\n- **IAM Access Analyzer**: AWS-native service for continuous monitoring of resource policies that grant external access\n- **S3audit**: Lightweight tool for quick enumeration of public S3 buckets across an account\n- **ScoutSuite**: Multi-cloud auditing tool that collects S3 configuration data and generates risk-scored HTML reports\n\n## Common Scenarios\n\n### Scenario: Identifying a Publicly Readable Bucket Containing Customer Data\n\n**Context**: A security engineer receives a Trusted Advisor alert about a publicly accessible S3 bucket. The bucket was created by a development team for a demo and was never locked down.\n\n**Approach**:\n1. Run `aws s3api get-bucket-acl` and find a grant to `AllUsers` with `READ` permission\n2. Check `get-bucket-policy` and discover a policy with `Principal: \"*\"` and `s3:GetObject`\n3. Confirm Block Public Access is not enabled at the bucket or account level\n4. Enumerate bucket contents to assess data sensitivity\n5. Immediately enable Block Public Access on the bucket\n6. Review CloudTrail S3 data events to determine if unauthorized access occurred\n7. Report the finding with timeline, data inventory, and remediation confirmation\n\n**Pitfalls**: Enabling Block Public Access can break applications that intentionally serve content publicly (static websites). Always verify the bucket's intended use before applying restrictions. Check for CloudFront distributions or other services relying on the bucket's public access.\n\n## Output Format\n\n```\nS3 Bucket Permissions Audit Report\n=====================================\nAccount: 123456789012 (Production)\nDate: 2026-02-23\nAuditor: Security Engineering Team\nTotal Buckets: 47\n\nACCOUNT-LEVEL SETTINGS:\n  Block Public Access: ENABLED (all four settings)\n\nCRITICAL FINDINGS:\n[S3-001] Public Read Access via ACL\n  Bucket: marketing-assets-prod\n  Issue: AllUsers group granted READ permission via ACL\n  Risk: Any internet user can list and download bucket contents\n  Data Sensitivity: Contains customer-facing but non-sensitive marketing assets\n  Remediation: Remove AllUsers ACL grant, enable Block Public Access\n\n[S3-002] Wildcard Principal in Bucket Policy\n  Bucket: data-exchange-partner\n  Issue: Policy allows s3:GetObject with Principal \"*\" and no VPC\u002FIP condition\n  Risk: Intended for partner access but accessible to anyone with the bucket name\n  Remediation: Add aws:SourceVpce or aws:SourceIp condition to restrict access\n\nSUMMARY:\n  Buckets with public access:           3 \u002F 47\n  Buckets without encryption:           5 \u002F 47\n  Buckets without versioning:          12 \u002F 47\n  Buckets without access logging:      18 \u002F 47\n  Buckets with overly broad policies:   7 \u002F 47\n```\n",{"name":5,"tags":48,"author":52,"domain":39,"license":14,"version":53,"subdomain":30,"description":54},[30,26,27,49,50,51],"bucket-permissions","data-protection","access-control","mahipal","1.0","Systematically audit AWS S3 bucket permissions to identify publicly accessible buckets, overly permissive ACLs, misconfigured bucket policies, and missing encryption settings using AWS CLI, S3audit, and Prowler to enforce least-privilege data access controls.\n","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","_universal\u002Fcybersecurity-skills\u002Fskills\u002Fauditing-aws-s3-bucket-permissions",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add micsapp\u002Fmicstec-skills --skill auditing-aws-s3-bucket-permissions",{"tool":68,"command":69},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill auditing-aws-s3-bucket-permissions",{"tool":71,"command":72},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill auditing-aws-s3-bucket-permissions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fauditing-aws-s3-bucket-permissions\u002FSKILL.md",true,[76,81,87],{"path":77,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fauditing-aws-s3-bucket-permissions\u002FLICENSE",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fapi-reference.md","REFERENCE","参考文档",2394,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fauditing-aws-s3-bucket-permissions\u002Freferences\u002Fapi-reference.md",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Fagent.py","SCRIPT","脚本",6686,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fauditing-aws-s3-bucket-permissions\u002Fscripts\u002Fagent.py",[94,130,160,179,199,223],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":109,"publishedAt":43},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[101,106],{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":107,"categoryName":108,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000030","开发工程师",[110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode","for",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":144,"publishedAt":43},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[136,137,140,143],{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},{"categoryNo":138,"categoryName":139,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":141,"categoryName":142,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":107,"categoryName":108,"taxonomyType":20,"taxonomyTypeDesc":21},[145,146,147,148,111,149,150,151,152,153,154,155,119,120,126,156,157,127,158,159],"deployment","apiops deployment","workflows","azure devops","infrastructure","code","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD","implementing",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":167,"publishedAt":43},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[166],{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},[168,169,170,42,111,114,119,120,36,171,172,173,174,175,176,127,177,178,159,129],"policy","authoring","apim policy authoring","use","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":187,"publishedAt":43},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[185,186],{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},{"categoryNo":107,"categoryName":108,"taxonomyType":20,"taxonomyTypeDesc":21},[188,42,189,119,173,190,111,145,191,192,193,194,120,195,127,196,197,198,128,129],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":200,"name":201,"nameZh":6,"description":202,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":203,"categories":204,"keywords":205,"publishedAt":43},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[33,206,207,147,208,209,210,211,119,212,213,214,215,216,217,218,219,220,221,222],"jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":224,"name":225,"nameZh":6,"description":226,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":227,"categories":228,"keywords":229,"publishedAt":43},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[225,230,231,232,233,234,235,171,236,237],"npm","js","calculate","node","math","user","compute","errors"]