[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ACG70TAE4XZ3CEJ9C4BC0Z":3,"skill-same:01M7ACG70TAE4XZ3CEJ9C4BC0Z":140},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M7ACG70TAE4XZ3CEJ9C4BC0Z","shield-advanced-coverage-auditor",null,"Audits AWS Shield Advanced coverage posture — protected-resource coverage (CloudFront\u002FRoute 53 auto-protection, ALB\u002FNLB\u002FCLB\u002FEIP\u002FEC2 explicit protection), DDoS Response Team (DRT) role and log-bucket access, health-based detection per protection, proactive engagement and emergency contact list, and WAF Web ACL integration for L7 mitigation. Emits a deterministic verdict (UNPROTECTED | NO_DRT_ACCESS | CONFIG_GAP | OK) with enumerated findings and specific remediation. Use when reviewing Shield Advanced coverage, checking which internet-facing resources are protected, validating DRT access, auditing health-based detection, or hardening DDoS posture before a launch or after an incident.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: shield-advanced-coverage-auditor\ndescription: Audits AWS Shield Advanced coverage posture — protected-resource coverage (CloudFront\u002FRoute 53 auto-protection, ALB\u002FNLB\u002FCLB\u002FEIP\u002FEC2 explicit protection), DDoS Response Team (DRT) role and log-bucket access, health-based detection per protection, proactive engagement and emergency contact list, and WAF Web ACL integration for L7 mitigation. Emits a deterministic verdict (UNPROTECTED | NO_DRT_ACCESS | CONFIG_GAP | OK) with enumerated findings and specific remediation. Use when reviewing Shield Advanced coverage, checking which internet-facing resources are protected, validating DRT access, auditing health-based detection, or hardening DDoS posture before a launch or after an incident.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline config-document classification. Live-account audits use aws shield get-subscription-state, aws shield list-protections, aws shield describe-drt-access, aws shield describe-emergency-contact-settings, and aws wafv2 get-web-acl (AWS CLI v2, SSO or key-based credentials).\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '2'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Security\n  verdict_shape: UNPROTECTED | NO_DRT_ACCESS | CONFIG_GAP | OK\n  when_to_use: Reviewing Shield Advanced coverage before a public launch, checking which internet-facing resources (ALB, NLB, CLB, EIP, CloudFront, Route 53) are protected, validating DRT role and log-bucket access, auditing health-based detection wiring, verifying proactive engagement and emergency contacts, or hardening DDoS posture after an incident.\n  activation_triggers: audit Shield Advanced coverage, is my ALB protected by Shield Advanced, check DRT access, is proactive engagement enabled, Shield Advanced health-based detection, which resources are DDoS protected, Shield Advanced subscription state, DDoS response team access, harden DDoS posture\n  invocation_schema: 'Input — one of: (a) config_snapshot object with keys: subscription_state (ACTIVE|INACTIVE), resource_inventory (list of {type, arn}), protections (list of {id, name, resource_arn, health_check_ids}), drt_access ({role_arn, log_buckets}), proactive_engagement (ENABLED|DISABLED), emergency_contact_list (list), web_acls (list of {resource_arn, web_acl_arn}); OR (b) account_id (string) for live-account audit. Output — deterministic block: SCOPE (string), VERDICT (enum: UNPROTECTED|NO_DRT_ACCESS|CONFIG_GAP|OK|ERROR), REASON (string), FINDINGS (list of {severity, description, step}), REMEDIATION (list of strings, one per finding).'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: Shield Advanced, DDoS protection, DRT, DDoS Response Team, Shield Standard, proactive engagement, health-based detection, Route 53 health check, CreateProtection, AssociateDRTRole, AssociateDRTLogBucket, EnableProactiveEngagement, EmergencyContactList, WAF Web ACL, L7 mitigation, CloudFront auto-protection, Elastic IP protection, cost protection, CreateSubscription, application layer automatic response\n  tags: shield, security, ddos, drt, waf, cloudfront, route53, alb, eip, coverage, audit\n---\n\n# Shield Advanced Coverage Auditor\n\n## Mindset\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#mindset) — worst-verdict-wins mindset and the three dimensions of full Shield Advanced value.\nLoad that reference on demand before executing this section.\n\n## Quick-start — the audit in 7 steps\n\nFor agents that need the high-level flow before reading the detail:\n\n1. **Subscription gate** — INACTIVE = UNPROTECTED, stop.\n2. **Coverage** — every ALB\u002FNLB\u002FCLB\u002FEIP must have a Protection with matching `ResourceArn`. CloudFront + Route 53 are auto-protected (do NOT flag).\n3. **DRT access** — no RoleArn = NO_DRT_ACCESS. RoleArn but no LogBuckets = CONFIG_GAP.\n4. **Health-based detection** — each explicit Protection needs `HealthCheckIds`. Empty = CONFIG_GAP.\n5. **Proactive engagement** — ENABLED + populated contacts = OK. Anything else = CONFIG_GAP.\n6. **WAF + automatic response** — each ALB Protection needs a WAF Web ACL; verify Application Layer Automatic Response is enabled on critical ALBs.\n7. **Aggregate** — worst verdict wins: UNPROTECTED > NO_DRT_ACCESS > CONFIG_GAP > OK.\n\nPaginate `ListProtections` to completion (100\u002Fpage cap). Audit each region independently. Full threshold table, expert gotchas, and edge cases follow.\n\n## Quick reference — verdict thresholds\n\n| Condition | Verdict | Rule |\n|---|---|---|\n| Any ALB\u002FNLB\u002FCLB\u002FEIP not in Protections list | **UNPROTECTED** | Step 2 |\n| Subscription state INACTIVE (no active Shield Advanced) | **UNPROTECTED** | Step 1 |\n| DRT RoleArn absent (DRT cannot act on your behalf) | **NO_DRT_ACCESS** | Step 3a |\n| Protection exists but HealthCheckIds empty (L7 blind) | **CONFIG_GAP** | Step 4 |\n| DRT role present but LogBuckets empty (DRT blind to logs) | **CONFIG_GAP** | Step 3b |\n| Proactive engagement DISABLED | **CONFIG_GAP** | Step 5 |\n| Proactive engagement ENABLED but EmergencyContactList empty | **CONFIG_GAP** | Step 5 |\n| ALB protection has no WAF Web ACL (L3\u002FL4 only) | **CONFIG_GAP** | Step 6 |\n| ALB has WAF but Application Layer Automatic Response disabled | **CONFIG_GAP** (advisory) | Step 6b |\n| All resources covered + DRT role+logs + health checks + proactive + WAF + auto-response | **OK** | Step 7 |\n| CloudFront distribution or Route 53 zone NOT in Protections list | **OK** (auto-protected — do NOT flag) | Step 0a |\n\nSee the ordered steps below for edge cases. Deep Shield Advanced internals\n(DRT workflow, cost-protection eligibility, automatic L7 response) are in\nthe [Deep reference](#deep-reference-shield-advanced-internals) section.\n\n## Pre-flight: subscription gate (run before coverage classification)\n\nBefore evaluating protections, classify the subscription state. Several\nstates **short-circuit** the audit — misclassifying them produces false\npositives that erode trust.\n\n\n→ Moved to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md#live-account-pre-flight-commands-subscription-gate) — 3-command live pre-flight (IAM verify, snapshot before edit, per-region scope).\nLoad that reference on demand before executing this section.\n\n| Attribute | Value | Effect on audit |\n|---|---|---|\n| `SubscriptionState` | `ACTIVE` | Proceed with full audit. |\n| `SubscriptionState` | `INACTIVE` | **No active Shield Advanced.** No protections, no DRT, no auto-protection for CloudFront\u002FRoute 53. Emit UNPROTECTED (Step 1). Do NOT proceed to Steps 2-6 — every resource is behind Shield Standard only. |\n| Resource type | `CLOUDFRONT` | **Auto-protected.** Do NOT require an entry in the Protections list. Flagging absence is a false positive (Step 0a). |\n| Resource type | `ROUTE53_HOSTEDZONE` | **Auto-protected.** Same as CloudFront. |\n| Resource type | `ELASTIC_IP_ALLOCATION` | **Explicit protection required.** Check Protections list for matching EIP allocation ARN. |\n| Resource type | `APPLICATION_LB` \u002F `NETWORK_LB` \u002F `CLASSIC_LB` | **Explicit protection required.** Check Protections list for matching LB ARN. |\n| Resource type | `EC2_INSTANCE` (private IP only) | **Not internet-facing.** Skip — cannot be DDoS-attacked from the internet. |\n\n**If the input configuration is malformed** (missing SubscriptionState,\nProtections not a list, DRT config absent entirely), output:\n\n```text\nSCOPE: \u003Caccount-id>\nVERDICT: ERROR\nREASON: Shield Advanced configuration snapshot is incomplete or malformed — cannot classify.\nREMEDIATION: Re-fetch with aws shield get-subscription-state, aws shield list-protections, and aws shield describe-drt-access.\n```\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Step 0: Expert knowledge — non-obvious behaviors that change classification\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#step-0-expert-knowledge--non-obvious-behaviors-that-change-classification) — 12 one-liner classification gotchas (auto-protection, DRT role+logs, pagination cap, ARN matching).\nLoad that reference on demand before executing this section.\n\n### Step 1: Subscription gate (highest priority — no subscription = no coverage)\n\nIf `SubscriptionState` is `INACTIVE`:\n\n- **UNPROTECTED.** No active Shield Advanced means zero enhanced\n  protections across the entire account. CloudFront and Route 53 fall back\n  to Shield Standard (L3\u002FL4 only). ALB\u002FNLB\u002FCLB\u002FEIP have no Protection\n  objects. DRT access is moot. This is the first check because every\n  downstream dimension depends on an active subscription.\n\nEmit UNPROTECTED and STOP — do not proceed to Steps 2-6 for an account\nwithout a subscription. The remediation is `aws shield create-subscription`\n(which starts the 1-year commitment — flag this in the confirmation gate).\n\n### Step 2: Resource coverage classification\n\nFor each internet-facing resource in the inventory, classify coverage:\n\n| Resource type | Coverage rule | If missing from Protections |\n|---|---|---|\n| CloudFront distribution | **AUTO_PROTECTED** (Step 0a) | OK — do NOT flag |\n| Route 53 hosted zone | **AUTO_PROTECTED** (Step 0a) | OK — do NOT flag |\n| ALB (Application Load Balancer) | Needs explicit Protection with matching ResourceArn | **UNPROTECTED** |\n| NLB (Network Load Balancer) | Needs explicit Protection | **UNPROTECTED** |\n| CLB (Classic Load Balancer) | Needs explicit Protection | **UNPROTECTED** |\n| Elastic IP (associated with EC2) | Needs explicit Protection with EIP allocation ARN | **UNPROTECTED** |\n| EC2 instance (private IP only) | Not internet-facing | Skip — not in scope |\n\nIf ANY ALB\u002FNLB\u002FCLB\u002FEIP is NOT in the Protections list → worst verdict so\nfar is **UNPROTECTED**.\n\n**Matching rule:** a Protection covers a resource if the Protection's\n`ResourceArn` matches the resource's ARN exactly. Partial matches (same\nname, different ARN) do NOT count — re-created resources get new ARNs. When\nin doubt, `aws shield describe-protection --protection-id \u003Cid>` returns the\nexact `ResourceArn`.\n\n### Step 3: DRT access evaluation\n\nEvaluate DRT configuration for full incident-response capability. The\n**critical distinction** is: NO_DRT_ACCESS means the DRT has NO role and\nCANNOT ACT AT ALL; CONFIG_GAP means the DRT HAS a role and CAN act, but is\nmissing log-bucket access (blind to attack patterns). If the DRT has a\nrole, it is NEVER NO_DRT_ACCESS — even without a log bucket, the DRT can\nstill assume the role and create WAF rules.\n\n**Decision branch (apply first):**\n1. Is `RoleArn` present (not null)? If NO → **NO_DRT_ACCESS** (regardless\n   of LogBuckets — without a role the DRT cannot act; a log bucket alone is\n   non-functional). STOP.\n2. If RoleArn IS present: Are `LogBuckets` populated? If NO →\n   **CONFIG_GAP** (partial DRT — the DRT can act but is blind to log-level\n   attack patterns). If YES → **OK** (full DRT capability).\n\n| DRT state | Verdict | Reason |\n|---|---|---|\n| RoleArn absent (null) | **NO_DRT_ACCESS** | DRT has NO role — cannot assume anything, cannot act at all. No manual mitigation is possible during an attack. LogBuckets are irrelevant without a role. |\n| RoleArn present + LogBuckets empty | **CONFIG_GAP** | DRT HAS a role and CAN act (create WAF rules, mitigate attacks) but is BLIND to attack patterns in access logs (ALB\u002FCloudFront logs). This is PARTIAL DRT, NOT no-DRT — the DRT can still mitigate, just less effectively. |\n| RoleArn present + LogBuckets populated | **OK** (this dimension) | Full DRT capability — can act AND analyze logs. |\n\n**Severity rationale:** NO_DRT_ACCESS is reserved for the case where the\nDRT has NO role at all — the DRT cannot assume anything and the entire\nmanual mitigation path is lost. This is fundamentally different from\nCONFIG_GAP (role present, log bucket absent), where the DRT CAN still\ncreate WAF rules and mitigate attacks — it just lacks log visibility. The\ndifference is \"cannot help at all\" (NO_DRT_ACCESS) vs \"can help but blind\"\n(CONFIG_GAP).\n\n### Step 4: Health-based detection evaluation\n\nFor each explicit Protection (ALB\u002FNLB\u002FCLB\u002FEIP — NOT CloudFront\u002FRoute 53\nauto-protections), check `HealthCheckIds`:\n\n- **HealthCheckIds populated** → OK for this protection. Shield can detect\n  L7 application-layer degradation (increased latency, 5xx rate) via the\n  Route 53 health check and correlate it with traffic spikes.\n- **HealthCheckIds empty** → **CONFIG_GAP** for this protection. Shield\n  relies only on L3\u002FL4 volumetric thresholds. Slow-and-low L7 attacks\n  (HTTP flood without bandwidth spike) go undetected. This also\n  disqualifies the resource from cost-protection credits.\n\nIf ANY protection lacks a health check → CONFIG_GAP (at minimum).\n\n**Expert note:** CloudFront and Route 53 auto-protections do NOT support\nper-resource health check association via `AssociateHealthCheck`. They use\nShield's built-in health detection. Do NOT flag CloudFront\u002FRoute 53 for\nmissing HealthCheckIds — that is a false positive.\n\n### Step 5: Proactive engagement evaluation\n\nEvaluate whether the DRT will proactively contact you during a suspected\nevent:\n\n| Proactive engagement state | EmergencyContactList | Verdict |\n|---|---|---|\n| ENABLED | Populated (>= 1 contact) | OK (this dimension) |\n| ENABLED | Empty | **CONFIG_GAP** — DRT cannot reach you |\n| DISABLED | Populated | **CONFIG_GAP** — DRT will not proactively engage |\n| DISABLED | Empty | **CONFIG_GAP** — no proactive engagement AND no contacts |\n\n**Severity rationale:** Proactive engagement is the difference between the\nDRT calling you within minutes of a detected event versus you noticing the\noutage hours later and opening a support case. Both DISABLED and\nENABLED-without-contacts produce the same operational gap.\n\n### Step 6: WAF L7 integration evaluation\n\nFor each ALB protection (ALB is the primary L7 resource; NLB\u002FCLB are\nL4\u002FLayer-balanced):\n\n- **ALB has associated WAF Web ACL** (`WebACLArn` populated) → OK. The DRT\n  can inject rate-based rules and managed-rule-group updates during an L7\n  attack.\n- **ALB has NO WAF Web ACL** → **CONFIG_GAP**. Shield Advanced L7\n  mitigation works THROUGH WAF — without a Web ACL, the DRT cannot create\n  L7 mitigations for that ALB. L3\u002FL4 volumetric protection still applies,\n  but L7 attacks (HTTP flood, slowloris) are not mitigated.\n\nNLB and CLB do not support WAF association — do NOT flag them for missing\nWAF. WAF applies to ALB, API Gateway, AppSync, CloudFront, and\nCognito (regional resources). For Shield Advanced coverage, the WAF check\nis ALB-specific (and CloudFront, but CloudFront is auto-protected and its\nWAF is a separate audit dimension).\n\n### Step 6b: Application Layer Automatic Response evaluation\n\nFor each ALB Protection with a WAF Web ACL, check whether Application\nLayer Automatic Response is enabled:\n\n- **Automatic Response ENABLED** (`EnableApplicationLayerAutomaticResponse`\n  called) → OK. Shield automatically creates and tunes WAF rate-based\n  rules without waiting for DRT manual intervention, reducing L7 attack\n  response time from minutes to seconds.\n- **Automatic Response NOT enabled** → **CONFIG_GAP** (advisory). The\n  protection still works via DRT manual mitigation (Step 3) and always-on\n  L3\u002FL4 detections, but the faster automated path is dormant. Surface as\n  a lower-priority finding — not every ALB needs automatic response, but\n  critical internet-facing ALBs should have it.\n\n**Expert note:** Automatic Response requires a WAF Web ACL on the\nprotection. An ALB with automatic response enabled but no Web ACL is a\nhard CONFIG_GAP — the feature has nowhere to inject rules. This is\ndistinct from Step 6 (missing WAF entirely, which blocks all L7\nmitigation).\n\n### Step 7: Aggregation — worst verdict wins\n\nThe final verdict is the **maximum severity** across all steps, where\nUNPROTECTED > NO_DRT_ACCESS > CONFIG_GAP > OK:\n\n```text\nverdict = max(coverage_verdict, drt_verdict, health_verdict, engagement_verdict, waf_verdict, auto_response_verdict)\n```\n\nIf no findings (all dimensions OK), the verdict is **OK**.\n\n## Output format (per account \u002F scope)\n\n```text\nSCOPE: \u003Caccount-id or \"global + \u003Cregion>\">\nVERDICT: UNPROTECTED | NO_DRT_ACCESS | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and step number>\nFINDINGS:\n  - [UNPROTECTED] \u003Cresource> not in Protections list (Step 2)\n  - [NO_DRT_ACCESS] DRT RoleArn absent (Step 3)\n  - [CONFIG_GAP] No health check on \u003Cprotection> (Step 4)\n  - [OK] CloudFront distributions auto-protected (Step 0a)\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n**Pagination loop (mandatory for large accounts):** `ListProtections`\nreturns at most 100 Protections per call. Drain ALL pages before\nclassifying coverage:\n\n```text\nprotections = []\ntoken = None\nloop:\n  resp = shield list-protections [--next-token token]\n  protections += resp.Protections\n  token = resp.NextToken\n  if token is None: break\n```\n\nA first-page-only read will FALSELY report page-2+ resources as\nUNPROTECTED. Always confirm `NextToken` is null before proceeding to\nStep 2.\n\n**Multi-region aggregation:** ALB\u002FNLB\u002FCLB\u002FEIP Protections are regional.\nRun the full audit (Steps 1-7) per region and emit one FINDINGS block per\nregion. The aggregate account-level verdict is the worst across all\nregions. CloudFront\u002FRoute 53 auto-protection is global — check it once.\n```text\nACCOUNT-LEVEL VERDICT: worst(us-east-1, eu-west-1, ap-southeast-2, ...)\n```\n\n### Worked example — ALB protected but no DRT access, no health check\n\n```text\nSCOPE: account 111111111111 (us-east-1)\nVERDICT: NO_DRT_ACCESS\nREASON: ALB app\u002Fprod-alb is explicitly protected but the DRT has no\nassociated role (Step 3) — the DRT cannot create custom WAF mitigations\nduring a live attack. A missing health check compounds the L7 detection gap.\nFINDINGS:\n  - [OK] ALB app\u002Fprod-alb is in Protections list (Step 2)\n  - [NO_DRT_ACCESS] DRT RoleArn absent, LogBuckets empty (Step 3)\n  - [CONFIG_GAP] Protection p-abc has no HealthCheckIds (Step 4)\n  - [OK] Proactive engagement ENABLED with 2 emergency contacts (Step 5)\n  - [OK] ALB has WAF Web ACL associated (Step 6)\nREMEDIATION:\n  1. Create the DRT IAM role and associate it:\n     aws shield associate-drt-role --role-arn arn:aws:iam::111111111111:role\u002FAWSShieldDRTAccessRole\n  2. Associate the DRT log bucket (ALB access logs):\n     aws shield associate-drt-log-bucket --log-bucket shield-drt-alb-logs\n  3. Associate a Route 53 health check with the protection:\n     aws shield associate-health-check --protection-id p-abc --health-check-arn arn:aws:route53:::healthcheck\u002Fhc-prod-alb\n```\n\n## Edge-case handling\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#edge-case-handling) — 7 edge cases (partial Protections, private-IP EC2, stale ARNs, Global Accelerator, cross-account CloudFront).\nLoad that reference on demand before executing this section.\n\n## Anti-Patterns — NEVER\n\n- NEVER flag a CloudFront distribution or Route 53 hosted zone as\n  UNPROTECTED because it is absent from the Protections list. These\n  resources are **auto-protected** by Shield Advanced (re:Invent 2023).\n  The Protections list only contains resources requiring explicit\n  protection (ALB, NLB, CLB, EIP, Global Accelerator). Flagging\n  CloudFront\u002FRoute 53 is the single most common Shield Advanced false\n  positive.\n\n- NEVER treat a CONFIG_GAP as worse than NO_DRT_ACCESS. The ordering is\n  UNPROTECTED > NO_DRT_ACCESS > CONFIG_GAP > OK. A missing health check\n  (CONFIG_GAP) does not outrank a missing DRT role (NO_DRT_ACCESS). The\n  DRT's ability to manually intervene during an attack is more valuable\n  than health-based detection automation.\n\n- NEVER flag an EC2 instance with only a private IP as UNPROTECTED. It is\n  not internet-facing and cannot be DDoS-attacked from outside the VPC.\n  Only EC2 instances with an associated EIP (public IP) are in scope.\n\n- NEVER recommend `CreateSubscription` (enabling Shield Advanced) without\n  explaining the 1-year, non-cancellable, non-prorated commitment. The\n  monthly fee applies regardless of how many resources you protect. This\n  is a financial one-way door — surface it in the confirmation gate.\n\n- NEVER treat an NLB or CLB missing a WAF Web ACL as a CONFIG_GAP. WAF\n  applies to ALB (layer 7), CloudFront, API Gateway, AppSync, and Cognito.\n  NLB (layer 4) and CLB (legacy layer 4\u002F7 hybrid) do not support WAF\n  association in the same way. Only flag ALB for missing WAF under Step 6.\n\n- NEVER assume DRT access is present just because the subscription is\n  active. DRT access is configured SEPARATELY via `AssociateDRTRole` and\n  `AssociateDRTLogBucket`. An active subscription with no DRT role means\n  the DRT cannot help you during an attack — this is NO_DRT_ACCESS, not\n  OK.\n\n- NEVER classify \"DRT RoleArn present + LogBuckets empty\" as\n  NO_DRT_ACCESS. This is the most common DRT misclassification.\n  NO_DRT_ACCESS means the DRT has NO role and CANNOT ACT AT ALL. A DRT\n  WITH a role but WITHOUT a log bucket CAN still assume the role, create\n  WAF rules, and mitigate attacks — it is simply blind to log-level attack\n  patterns. This is CONFIG_GAP (partial DRT), not NO_DRT_ACCESS. The\n  distinction is critical: \"cannot help at all\" (NO_DRT_ACCESS, no role)\n  vs \"can help but blind\" (CONFIG_GAP, role present, no logs).\n\n- NEVER treat `EnableProactiveEngagement` as sufficient on its own. It\n  requires a populated `EmergencyContactList`. ENABLED without contacts is\n  a CONFIG_GAP — the DRT has no one to call. Always check both.\n\n- NEVER flag a Protection for missing HealthCheckIds if the protected\n  resource is CloudFront or Route 53. These auto-protected resources do\n  not use per-resource `AssociateHealthCheck` — they use Shield's built-in\n  health detection. Flagging them is a false positive.\n\n- NEVER treat Shield Standard as equivalent to Shield Advanced. Shield\n  Standard is free, L3\u002FL4 only, no DRT, no health-based detection, no WAF\n  integration, no cost protection. An account on Shield Standard only is\n  UNPROTECTED for L7 and has no manual mitigation path.\n\n- NEVER recommend removing a Protection as remediation without confirming\n  the resource is being decommissioned. Removing a Protection drops the\n  resource to Shield Standard (L3\u002FL4 only) immediately — there is no\n  grace period. This is a destructive action.\n\n- NEVER assume cost-protection credits apply automatically. They require\n  health-based detection AND (for L7) a WAF Web ACL to be configured on\n  the affected resource. Without these, scaling costs from a DDoS attack\n  are borne by the customer.\n\n- NEVER overlook stale Protections referencing deleted resources. A\n  Protection whose `ResourceArn` points to a deleted ALB is actively\n  dangerous, not just dead weight: it inflates the apparent coverage\n  count (dashboards show \"10 Protections\" but only 8 are live), it\n  silently fails during incident response because the DRT attempts to\n  mitigate a non-existent resource and wastes the critical first minutes\n  of an attack, and it masks the UNPROTECTED status of the re-created\n  resource. Always cross-reference Protections against the live resource\n  inventory and delete stale entries.\n\n- NEVER leave a stale Protection in place after resource recreation. When\n  an ALB\u002FEIP is deleted and re-created (e.g., Terraform destroy\u002Fapply),\n  the old Protection still references the dead ARN. The operator assumes\n  coverage exists because the Protection name matches — but the live\n  resource is UNPROTECTED. The remediation is a two-step sequence: (1)\n  `DeleteProtection` on the stale entry, then (2) `CreateProtection` on\n  the new ARN. Skipping step 1 leaves orphaned Protections that pollute\n  future audits.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n→ Moved to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md#pre-flight-safety-checks-run-before-any-remediation-cli) — mandatory confirmation gate and the six pre-remediation safety rules.\nLoad that reference on demand before executing this section.\n\n## Remediation guidance\n\n**Remediation ordering principle:** always resolve UNPROTECTED findings\nfirst (add Protections), then NO_DRT_ACCESS (associate DRT role), then\nCONFIG_GAP (health checks, proactive engagement, WAF). This ordering\nensures resources are covered before optimizing detection and engagement.\n\n### For UNPROTECTED — resource not in Protections list (Step 2)\n\n1. Create a Protection for the resource:\n   `aws shield create-protection --name \u003Cname> --resource-arn \u003Carn>`\n2. For ALB, also verify a WAF Web ACL is associated (Step 6).\n3. For EIP-backed EC2, the resource ARN is the EIP allocation:\n   `arn:aws:ec2:\u003Cregion>:\u003Caccount>:elastic-ip\u002Feipalloc-xxx`.\n4. Verify: `aws shield describe-protection --protection-id \u003Cid>`.\n\n### For UNPROTECTED — no active subscription (Step 1)\n\n1. Subscribe:\n   `aws shield create-subscription`\n2. This starts the 1-year commitment. Confirm intent before executing.\n3. After subscribing, proceed to create Protections for all ALB\u002FNLB\u002FCLB\u002FEIP.\n\n### For NO_DRT_ACCESS — DRT RoleArn absent (Step 3)\n\n1. Create the DRT IAM role with a trust policy allowing\n   `service-role.shield.amazonaws.com` to assume it. The role needs\n   permissions to read WAF Web ACLs and create rate-based rules.\n2. Associate the role:\n   `aws shield associate-drt-role --role-arn \u003Crole-arn>`\n3. Then associate the log bucket:\n   `aws shield associate-drt-log-bucket --log-bucket \u003Cbucket-name>`\n4. Verify: `aws shield describe-drt-access`.\n\n### For CONFIG_GAP — DRT role present but no log bucket (Step 3)\n\n1. Ensure ALB access logs are enabled and delivered to an S3 bucket.\n2. Associate the bucket:\n   `aws shield associate-drt-log-bucket --log-bucket \u003Cbucket-name>`\n\n### For CONFIG_GAP — no health check on protection (Step 4)\n\n1. Create a Route 53 health check for the resource endpoint:\n   `aws route53 create-health-check --caller-reference \u003Cref> --health-check-config file:\u002F\u002Fhc-config.json`\n2. Associate it with the Shield protection:\n   `aws shield associate-health-check --protection-id \u003Cid> --health-check-arn \u003Chc-arn>`\n\n### For CONFIG_GAP — proactive engagement disabled or contacts empty (Step 5)\n\n1. Populate the emergency contact list:\n   `aws shield update-emergency-contact-list --emergency-contact-list '[{\"EmailAddress\":\"oncall@example.com\",\"PhoneNumber\":\"+1234567890\",\"ContactNotes\":\"24\u002F7 NOC\"}]'`\n2. Enable proactive engagement:\n   `aws shield enable-proactive-engagement`\n\n### For CONFIG_GAP — ALB has no WAF Web ACL (Step 6)\n\n1. Create or identify a WAFv2 Web ACL for the ALB.\n2. Associate it:\n   `aws wafv2 associate-web-acl --web-acl-arn \u003Cacl-arn> --resource-arn \u003Calb-arn>`\n3. Optionally enable Application Layer Automatic Response:\n   `aws shield enable-application-layer-automatic-response --protection-id \u003Cid> --web-acl-arn \u003Cacl-arn>`\n\n### For OK\n\n1. No remediation required for the current posture.\n2. Recommend periodic re-audit after infrastructure changes (new ALBs, EIPs,\n   or CloudFront distributions may be added without Shield coverage).\n3. Review `aws shield list-attacks` for recent events and verify mitigation\n   effectiveness.\n\n## Deep reference: Shield Advanced internals\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#deep-reference-shield-advanced-internals) — coverage model, detailed gotchas, DRT incident-response workflow, cost-protection eligibility, subscription lifecycle.\nLoad that reference on demand before executing this section.\n\n## Recent AWS features (2024-2026)\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#recent-aws-features-2024-2026) — automatic L7 mitigation, CloudFront\u002FRoute 53 auto-protection, enhanced DRT visibility, engagement updates.\nLoad that reference on demand before executing this section.\n\n## AWS documentation\n\n- **AWS Shield Advanced Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002Fdeveloperguide\u002Fshield-chapter.html\n- **AWS Shield API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002FAPIReference\u002Fsourceshield.html\n- **AWS CLI Shield Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fshield\u002F\n- **AWS Shield Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002Fdeveloperguide\u002Fshield-security.html\n- **DDoS Response Team (DRT)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002Fdeveloperguide\u002Fddos-overview.html\n- **Shield Advanced getting started** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002Fdeveloperguide\u002Fgetting-started-ddos.html\n\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — mindset, Step 0 expert knowledge (non-obvious classification behaviors), edge-case catalog, deep Shield Advanced internals (coverage model, gotchas, DRT workflow, cost protection, subscription lifecycle), recent AWS features.\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live-account pre-flight command gate and pre-remediation safety checks (confirmation gate, CreateSubscription commitment, DeleteProtection rollback).\n\n## Domain\n\nAWS CloudOps \u002F DDoS Protection & Shield Advanced Coverage Security.\n","# Shield Advanced Coverage Auditor\n\n## Mindset\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#mindset) — worst-verdict-wins mindset and the three dimensions of full Shield Advanced value.\nLoad that reference on demand before executing this section.\n\n## Quick-start — the audit in 7 steps\n\nFor agents that need the high-level flow before reading the detail:\n\n1. **Subscription gate** — INACTIVE = UNPROTECTED, stop.\n2. **Coverage** — every ALB\u002FNLB\u002FCLB\u002FEIP must have a Protection with matching `ResourceArn`. CloudFront + Route 53 are auto-protected (do NOT flag).\n3. **DRT access** — no RoleArn = NO_DRT_ACCESS. RoleArn but no LogBuckets = CONFIG_GAP.\n4. **Health-based detection** — each explicit Protection needs `HealthCheckIds`. Empty = CONFIG_GAP.\n5. **Proactive engagement** — ENABLED + populated contacts = OK. Anything else = CONFIG_GAP.\n6. **WAF + automatic response** — each ALB Protection needs a WAF Web ACL; verify Application Layer Automatic Response is enabled on critical ALBs.\n7. **Aggregate** — worst verdict wins: UNPROTECTED > NO_DRT_ACCESS > CONFIG_GAP > OK.\n\nPaginate `ListProtections` to completion (100\u002Fpage cap). Audit each region independently. Full threshold table, expert gotchas, and edge cases follow.\n\n## Quick reference — verdict thresholds\n\n| Condition | Verdict | Rule |\n|---|---|---|\n| Any ALB\u002FNLB\u002FCLB\u002FEIP not in Protections list | **UNPROTECTED** | Step 2 |\n| Subscription state INACTIVE (no active Shield Advanced) | **UNPROTECTED** | Step 1 |\n| DRT RoleArn absent (DRT cannot act on your behalf) | **NO_DRT_ACCESS** | Step 3a |\n| Protection exists but HealthCheckIds empty (L7 blind) | **CONFIG_GAP** | Step 4 |\n| DRT role present but LogBuckets empty (DRT blind to logs) | **CONFIG_GAP** | Step 3b |\n| Proactive engagement DISABLED | **CONFIG_GAP** | Step 5 |\n| Proactive engagement ENABLED but EmergencyContactList empty | **CONFIG_GAP** | Step 5 |\n| ALB protection has no WAF Web ACL (L3\u002FL4 only) | **CONFIG_GAP** | Step 6 |\n| ALB has WAF but Application Layer Automatic Response disabled | **CONFIG_GAP** (advisory) | Step 6b |\n| All resources covered + DRT role+logs + health checks + proactive + WAF + auto-response | **OK** | Step 7 |\n| CloudFront distribution or Route 53 zone NOT in Protections list | **OK** (auto-protected — do NOT flag) | Step 0a |\n\nSee the ordered steps below for edge cases. Deep Shield Advanced internals\n(DRT workflow, cost-protection eligibility, automatic L7 response) are in\nthe [Deep reference](#deep-reference-shield-advanced-internals) section.\n\n## Pre-flight: subscription gate (run before coverage classification)\n\nBefore evaluating protections, classify the subscription state. Several\nstates **short-circuit** the audit — misclassifying them produces false\npositives that erode trust.\n\n\n→ Moved to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md#live-account-pre-flight-commands-subscription-gate) — 3-command live pre-flight (IAM verify, snapshot before edit, per-region scope).\nLoad that reference on demand before executing this section.\n\n| Attribute | Value | Effect on audit |\n|---|---|---|\n| `SubscriptionState` | `ACTIVE` | Proceed with full audit. |\n| `SubscriptionState` | `INACTIVE` | **No active Shield Advanced.** No protections, no DRT, no auto-protection for CloudFront\u002FRoute 53. Emit UNPROTECTED (Step 1). Do NOT proceed to Steps 2-6 — every resource is behind Shield Standard only. |\n| Resource type | `CLOUDFRONT` | **Auto-protected.** Do NOT require an entry in the Protections list. Flagging absence is a false positive (Step 0a). |\n| Resource type | `ROUTE53_HOSTEDZONE` | **Auto-protected.** Same as CloudFront. |\n| Resource type | `ELASTIC_IP_ALLOCATION` | **Explicit protection required.** Check Protections list for matching EIP allocation ARN. |\n| Resource type | `APPLICATION_LB` \u002F `NETWORK_LB` \u002F `CLASSIC_LB` | **Explicit protection required.** Check Protections list for matching LB ARN. |\n| Resource type | `EC2_INSTANCE` (private IP only) | **Not internet-facing.** Skip — cannot be DDoS-attacked from the internet. |\n\n**If the input configuration is malformed** (missing SubscriptionState,\nProtections not a list, DRT config absent entirely), output:\n\n```text\nSCOPE: \u003Caccount-id>\nVERDICT: ERROR\nREASON: Shield Advanced configuration snapshot is incomplete or malformed — cannot classify.\nREMEDIATION: Re-fetch with aws shield get-subscription-state, aws shield list-protections, and aws shield describe-drt-access.\n```\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Step 0: Expert knowledge — non-obvious behaviors that change classification\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#step-0-expert-knowledge--non-obvious-behaviors-that-change-classification) — 12 one-liner classification gotchas (auto-protection, DRT role+logs, pagination cap, ARN matching).\nLoad that reference on demand before executing this section.\n\n### Step 1: Subscription gate (highest priority — no subscription = no coverage)\n\nIf `SubscriptionState` is `INACTIVE`:\n\n- **UNPROTECTED.** No active Shield Advanced means zero enhanced\n  protections across the entire account. CloudFront and Route 53 fall back\n  to Shield Standard (L3\u002FL4 only). ALB\u002FNLB\u002FCLB\u002FEIP have no Protection\n  objects. DRT access is moot. This is the first check because every\n  downstream dimension depends on an active subscription.\n\nEmit UNPROTECTED and STOP — do not proceed to Steps 2-6 for an account\nwithout a subscription. The remediation is `aws shield create-subscription`\n(which starts the 1-year commitment — flag this in the confirmation gate).\n\n### Step 2: Resource coverage classification\n\nFor each internet-facing resource in the inventory, classify coverage:\n\n| Resource type | Coverage rule | If missing from Protections |\n|---|---|---|\n| CloudFront distribution | **AUTO_PROTECTED** (Step 0a) | OK — do NOT flag |\n| Route 53 hosted zone | **AUTO_PROTECTED** (Step 0a) | OK — do NOT flag |\n| ALB (Application Load Balancer) | Needs explicit Protection with matching ResourceArn | **UNPROTECTED** |\n| NLB (Network Load Balancer) | Needs explicit Protection | **UNPROTECTED** |\n| CLB (Classic Load Balancer) | Needs explicit Protection | **UNPROTECTED** |\n| Elastic IP (associated with EC2) | Needs explicit Protection with EIP allocation ARN | **UNPROTECTED** |\n| EC2 instance (private IP only) | Not internet-facing | Skip — not in scope |\n\nIf ANY ALB\u002FNLB\u002FCLB\u002FEIP is NOT in the Protections list → worst verdict so\nfar is **UNPROTECTED**.\n\n**Matching rule:** a Protection covers a resource if the Protection's\n`ResourceArn` matches the resource's ARN exactly. Partial matches (same\nname, different ARN) do NOT count — re-created resources get new ARNs. When\nin doubt, `aws shield describe-protection --protection-id \u003Cid>` returns the\nexact `ResourceArn`.\n\n### Step 3: DRT access evaluation\n\nEvaluate DRT configuration for full incident-response capability. The\n**critical distinction** is: NO_DRT_ACCESS means the DRT has NO role and\nCANNOT ACT AT ALL; CONFIG_GAP means the DRT HAS a role and CAN act, but is\nmissing log-bucket access (blind to attack patterns). If the DRT has a\nrole, it is NEVER NO_DRT_ACCESS — even without a log bucket, the DRT can\nstill assume the role and create WAF rules.\n\n**Decision branch (apply first):**\n1. Is `RoleArn` present (not null)? If NO → **NO_DRT_ACCESS** (regardless\n   of LogBuckets — without a role the DRT cannot act; a log bucket alone is\n   non-functional). STOP.\n2. If RoleArn IS present: Are `LogBuckets` populated? If NO →\n   **CONFIG_GAP** (partial DRT — the DRT can act but is blind to log-level\n   attack patterns). If YES → **OK** (full DRT capability).\n\n| DRT state | Verdict | Reason |\n|---|---|---|\n| RoleArn absent (null) | **NO_DRT_ACCESS** | DRT has NO role — cannot assume anything, cannot act at all. No manual mitigation is possible during an attack. LogBuckets are irrelevant without a role. |\n| RoleArn present + LogBuckets empty | **CONFIG_GAP** | DRT HAS a role and CAN act (create WAF rules, mitigate attacks) but is BLIND to attack patterns in access logs (ALB\u002FCloudFront logs). This is PARTIAL DRT, NOT no-DRT — the DRT can still mitigate, just less effectively. |\n| RoleArn present + LogBuckets populated | **OK** (this dimension) | Full DRT capability — can act AND analyze logs. |\n\n**Severity rationale:** NO_DRT_ACCESS is reserved for the case where the\nDRT has NO role at all — the DRT cannot assume anything and the entire\nmanual mitigation path is lost. This is fundamentally different from\nCONFIG_GAP (role present, log bucket absent), where the DRT CAN still\ncreate WAF rules and mitigate attacks — it just lacks log visibility. The\ndifference is \"cannot help at all\" (NO_DRT_ACCESS) vs \"can help but blind\"\n(CONFIG_GAP).\n\n### Step 4: Health-based detection evaluation\n\nFor each explicit Protection (ALB\u002FNLB\u002FCLB\u002FEIP — NOT CloudFront\u002FRoute 53\nauto-protections), check `HealthCheckIds`:\n\n- **HealthCheckIds populated** → OK for this protection. Shield can detect\n  L7 application-layer degradation (increased latency, 5xx rate) via the\n  Route 53 health check and correlate it with traffic spikes.\n- **HealthCheckIds empty** → **CONFIG_GAP** for this protection. Shield\n  relies only on L3\u002FL4 volumetric thresholds. Slow-and-low L7 attacks\n  (HTTP flood without bandwidth spike) go undetected. This also\n  disqualifies the resource from cost-protection credits.\n\nIf ANY protection lacks a health check → CONFIG_GAP (at minimum).\n\n**Expert note:** CloudFront and Route 53 auto-protections do NOT support\nper-resource health check association via `AssociateHealthCheck`. They use\nShield's built-in health detection. Do NOT flag CloudFront\u002FRoute 53 for\nmissing HealthCheckIds — that is a false positive.\n\n### Step 5: Proactive engagement evaluation\n\nEvaluate whether the DRT will proactively contact you during a suspected\nevent:\n\n| Proactive engagement state | EmergencyContactList | Verdict |\n|---|---|---|\n| ENABLED | Populated (>= 1 contact) | OK (this dimension) |\n| ENABLED | Empty | **CONFIG_GAP** — DRT cannot reach you |\n| DISABLED | Populated | **CONFIG_GAP** — DRT will not proactively engage |\n| DISABLED | Empty | **CONFIG_GAP** — no proactive engagement AND no contacts |\n\n**Severity rationale:** Proactive engagement is the difference between the\nDRT calling you within minutes of a detected event versus you noticing the\noutage hours later and opening a support case. Both DISABLED and\nENABLED-without-contacts produce the same operational gap.\n\n### Step 6: WAF L7 integration evaluation\n\nFor each ALB protection (ALB is the primary L7 resource; NLB\u002FCLB are\nL4\u002FLayer-balanced):\n\n- **ALB has associated WAF Web ACL** (`WebACLArn` populated) → OK. The DRT\n  can inject rate-based rules and managed-rule-group updates during an L7\n  attack.\n- **ALB has NO WAF Web ACL** → **CONFIG_GAP**. Shield Advanced L7\n  mitigation works THROUGH WAF — without a Web ACL, the DRT cannot create\n  L7 mitigations for that ALB. L3\u002FL4 volumetric protection still applies,\n  but L7 attacks (HTTP flood, slowloris) are not mitigated.\n\nNLB and CLB do not support WAF association — do NOT flag them for missing\nWAF. WAF applies to ALB, API Gateway, AppSync, CloudFront, and\nCognito (regional resources). For Shield Advanced coverage, the WAF check\nis ALB-specific (and CloudFront, but CloudFront is auto-protected and its\nWAF is a separate audit dimension).\n\n### Step 6b: Application Layer Automatic Response evaluation\n\nFor each ALB Protection with a WAF Web ACL, check whether Application\nLayer Automatic Response is enabled:\n\n- **Automatic Response ENABLED** (`EnableApplicationLayerAutomaticResponse`\n  called) → OK. Shield automatically creates and tunes WAF rate-based\n  rules without waiting for DRT manual intervention, reducing L7 attack\n  response time from minutes to seconds.\n- **Automatic Response NOT enabled** → **CONFIG_GAP** (advisory). The\n  protection still works via DRT manual mitigation (Step 3) and always-on\n  L3\u002FL4 detections, but the faster automated path is dormant. Surface as\n  a lower-priority finding — not every ALB needs automatic response, but\n  critical internet-facing ALBs should have it.\n\n**Expert note:** Automatic Response requires a WAF Web ACL on the\nprotection. An ALB with automatic response enabled but no Web ACL is a\nhard CONFIG_GAP — the feature has nowhere to inject rules. This is\ndistinct from Step 6 (missing WAF entirely, which blocks all L7\nmitigation).\n\n### Step 7: Aggregation — worst verdict wins\n\nThe final verdict is the **maximum severity** across all steps, where\nUNPROTECTED > NO_DRT_ACCESS > CONFIG_GAP > OK:\n\n```text\nverdict = max(coverage_verdict, drt_verdict, health_verdict, engagement_verdict, waf_verdict, auto_response_verdict)\n```\n\nIf no findings (all dimensions OK), the verdict is **OK**.\n\n## Output format (per account \u002F scope)\n\n```text\nSCOPE: \u003Caccount-id or \"global + \u003Cregion>\">\nVERDICT: UNPROTECTED | NO_DRT_ACCESS | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and step number>\nFINDINGS:\n  - [UNPROTECTED] \u003Cresource> not in Protections list (Step 2)\n  - [NO_DRT_ACCESS] DRT RoleArn absent (Step 3)\n  - [CONFIG_GAP] No health check on \u003Cprotection> (Step 4)\n  - [OK] CloudFront distributions auto-protected (Step 0a)\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n**Pagination loop (mandatory for large accounts):** `ListProtections`\nreturns at most 100 Protections per call. Drain ALL pages before\nclassifying coverage:\n\n```text\nprotections = []\ntoken = None\nloop:\n  resp = shield list-protections [--next-token token]\n  protections += resp.Protections\n  token = resp.NextToken\n  if token is None: break\n```\n\nA first-page-only read will FALSELY report page-2+ resources as\nUNPROTECTED. Always confirm `NextToken` is null before proceeding to\nStep 2.\n\n**Multi-region aggregation:** ALB\u002FNLB\u002FCLB\u002FEIP Protections are regional.\nRun the full audit (Steps 1-7) per region and emit one FINDINGS block per\nregion. The aggregate account-level verdict is the worst across all\nregions. CloudFront\u002FRoute 53 auto-protection is global — check it once.\n```text\nACCOUNT-LEVEL VERDICT: worst(us-east-1, eu-west-1, ap-southeast-2, ...)\n```\n\n### Worked example — ALB protected but no DRT access, no health check\n\n```text\nSCOPE: account 111111111111 (us-east-1)\nVERDICT: NO_DRT_ACCESS\nREASON: ALB app\u002Fprod-alb is explicitly protected but the DRT has no\nassociated role (Step 3) — the DRT cannot create custom WAF mitigations\nduring a live attack. A missing health check compounds the L7 detection gap.\nFINDINGS:\n  - [OK] ALB app\u002Fprod-alb is in Protections list (Step 2)\n  - [NO_DRT_ACCESS] DRT RoleArn absent, LogBuckets empty (Step 3)\n  - [CONFIG_GAP] Protection p-abc has no HealthCheckIds (Step 4)\n  - [OK] Proactive engagement ENABLED with 2 emergency contacts (Step 5)\n  - [OK] ALB has WAF Web ACL associated (Step 6)\nREMEDIATION:\n  1. Create the DRT IAM role and associate it:\n     aws shield associate-drt-role --role-arn arn:aws:iam::111111111111:role\u002FAWSShieldDRTAccessRole\n  2. Associate the DRT log bucket (ALB access logs):\n     aws shield associate-drt-log-bucket --log-bucket shield-drt-alb-logs\n  3. Associate a Route 53 health check with the protection:\n     aws shield associate-health-check --protection-id p-abc --health-check-arn arn:aws:route53:::healthcheck\u002Fhc-prod-alb\n```\n\n## Edge-case handling\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#edge-case-handling) — 7 edge cases (partial Protections, private-IP EC2, stale ARNs, Global Accelerator, cross-account CloudFront).\nLoad that reference on demand before executing this section.\n\n## Anti-Patterns — NEVER\n\n- NEVER flag a CloudFront distribution or Route 53 hosted zone as\n  UNPROTECTED because it is absent from the Protections list. These\n  resources are **auto-protected** by Shield Advanced (re:Invent 2023).\n  The Protections list only contains resources requiring explicit\n  protection (ALB, NLB, CLB, EIP, Global Accelerator). Flagging\n  CloudFront\u002FRoute 53 is the single most common Shield Advanced false\n  positive.\n\n- NEVER treat a CONFIG_GAP as worse than NO_DRT_ACCESS. The ordering is\n  UNPROTECTED > NO_DRT_ACCESS > CONFIG_GAP > OK. A missing health check\n  (CONFIG_GAP) does not outrank a missing DRT role (NO_DRT_ACCESS). The\n  DRT's ability to manually intervene during an attack is more valuable\n  than health-based detection automation.\n\n- NEVER flag an EC2 instance with only a private IP as UNPROTECTED. It is\n  not internet-facing and cannot be DDoS-attacked from outside the VPC.\n  Only EC2 instances with an associated EIP (public IP) are in scope.\n\n- NEVER recommend `CreateSubscription` (enabling Shield Advanced) without\n  explaining the 1-year, non-cancellable, non-prorated commitment. The\n  monthly fee applies regardless of how many resources you protect. This\n  is a financial one-way door — surface it in the confirmation gate.\n\n- NEVER treat an NLB or CLB missing a WAF Web ACL as a CONFIG_GAP. WAF\n  applies to ALB (layer 7), CloudFront, API Gateway, AppSync, and Cognito.\n  NLB (layer 4) and CLB (legacy layer 4\u002F7 hybrid) do not support WAF\n  association in the same way. Only flag ALB for missing WAF under Step 6.\n\n- NEVER assume DRT access is present just because the subscription is\n  active. DRT access is configured SEPARATELY via `AssociateDRTRole` and\n  `AssociateDRTLogBucket`. An active subscription with no DRT role means\n  the DRT cannot help you during an attack — this is NO_DRT_ACCESS, not\n  OK.\n\n- NEVER classify \"DRT RoleArn present + LogBuckets empty\" as\n  NO_DRT_ACCESS. This is the most common DRT misclassification.\n  NO_DRT_ACCESS means the DRT has NO role and CANNOT ACT AT ALL. A DRT\n  WITH a role but WITHOUT a log bucket CAN still assume the role, create\n  WAF rules, and mitigate attacks — it is simply blind to log-level attack\n  patterns. This is CONFIG_GAP (partial DRT), not NO_DRT_ACCESS. The\n  distinction is critical: \"cannot help at all\" (NO_DRT_ACCESS, no role)\n  vs \"can help but blind\" (CONFIG_GAP, role present, no logs).\n\n- NEVER treat `EnableProactiveEngagement` as sufficient on its own. It\n  requires a populated `EmergencyContactList`. ENABLED without contacts is\n  a CONFIG_GAP — the DRT has no one to call. Always check both.\n\n- NEVER flag a Protection for missing HealthCheckIds if the protected\n  resource is CloudFront or Route 53. These auto-protected resources do\n  not use per-resource `AssociateHealthCheck` — they use Shield's built-in\n  health detection. Flagging them is a false positive.\n\n- NEVER treat Shield Standard as equivalent to Shield Advanced. Shield\n  Standard is free, L3\u002FL4 only, no DRT, no health-based detection, no WAF\n  integration, no cost protection. An account on Shield Standard only is\n  UNPROTECTED for L7 and has no manual mitigation path.\n\n- NEVER recommend removing a Protection as remediation without confirming\n  the resource is being decommissioned. Removing a Protection drops the\n  resource to Shield Standard (L3\u002FL4 only) immediately — there is no\n  grace period. This is a destructive action.\n\n- NEVER assume cost-protection credits apply automatically. They require\n  health-based detection AND (for L7) a WAF Web ACL to be configured on\n  the affected resource. Without these, scaling costs from a DDoS attack\n  are borne by the customer.\n\n- NEVER overlook stale Protections referencing deleted resources. A\n  Protection whose `ResourceArn` points to a deleted ALB is actively\n  dangerous, not just dead weight: it inflates the apparent coverage\n  count (dashboards show \"10 Protections\" but only 8 are live), it\n  silently fails during incident response because the DRT attempts to\n  mitigate a non-existent resource and wastes the critical first minutes\n  of an attack, and it masks the UNPROTECTED status of the re-created\n  resource. Always cross-reference Protections against the live resource\n  inventory and delete stale entries.\n\n- NEVER leave a stale Protection in place after resource recreation. When\n  an ALB\u002FEIP is deleted and re-created (e.g., Terraform destroy\u002Fapply),\n  the old Protection still references the dead ARN. The operator assumes\n  coverage exists because the Protection name matches — but the live\n  resource is UNPROTECTED. The remediation is a two-step sequence: (1)\n  `DeleteProtection` on the stale entry, then (2) `CreateProtection` on\n  the new ARN. Skipping step 1 leaves orphaned Protections that pollute\n  future audits.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n→ Moved to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md#pre-flight-safety-checks-run-before-any-remediation-cli) — mandatory confirmation gate and the six pre-remediation safety rules.\nLoad that reference on demand before executing this section.\n\n## Remediation guidance\n\n**Remediation ordering principle:** always resolve UNPROTECTED findings\nfirst (add Protections), then NO_DRT_ACCESS (associate DRT role), then\nCONFIG_GAP (health checks, proactive engagement, WAF). This ordering\nensures resources are covered before optimizing detection and engagement.\n\n### For UNPROTECTED — resource not in Protections list (Step 2)\n\n1. Create a Protection for the resource:\n   `aws shield create-protection --name \u003Cname> --resource-arn \u003Carn>`\n2. For ALB, also verify a WAF Web ACL is associated (Step 6).\n3. For EIP-backed EC2, the resource ARN is the EIP allocation:\n   `arn:aws:ec2:\u003Cregion>:\u003Caccount>:elastic-ip\u002Feipalloc-xxx`.\n4. Verify: `aws shield describe-protection --protection-id \u003Cid>`.\n\n### For UNPROTECTED — no active subscription (Step 1)\n\n1. Subscribe:\n   `aws shield create-subscription`\n2. This starts the 1-year commitment. Confirm intent before executing.\n3. After subscribing, proceed to create Protections for all ALB\u002FNLB\u002FCLB\u002FEIP.\n\n### For NO_DRT_ACCESS — DRT RoleArn absent (Step 3)\n\n1. Create the DRT IAM role with a trust policy allowing\n   `service-role.shield.amazonaws.com` to assume it. The role needs\n   permissions to read WAF Web ACLs and create rate-based rules.\n2. Associate the role:\n   `aws shield associate-drt-role --role-arn \u003Crole-arn>`\n3. Then associate the log bucket:\n   `aws shield associate-drt-log-bucket --log-bucket \u003Cbucket-name>`\n4. Verify: `aws shield describe-drt-access`.\n\n### For CONFIG_GAP — DRT role present but no log bucket (Step 3)\n\n1. Ensure ALB access logs are enabled and delivered to an S3 bucket.\n2. Associate the bucket:\n   `aws shield associate-drt-log-bucket --log-bucket \u003Cbucket-name>`\n\n### For CONFIG_GAP — no health check on protection (Step 4)\n\n1. Create a Route 53 health check for the resource endpoint:\n   `aws route53 create-health-check --caller-reference \u003Cref> --health-check-config file:\u002F\u002Fhc-config.json`\n2. Associate it with the Shield protection:\n   `aws shield associate-health-check --protection-id \u003Cid> --health-check-arn \u003Chc-arn>`\n\n### For CONFIG_GAP — proactive engagement disabled or contacts empty (Step 5)\n\n1. Populate the emergency contact list:\n   `aws shield update-emergency-contact-list --emergency-contact-list '[{\"EmailAddress\":\"oncall@example.com\",\"PhoneNumber\":\"+1234567890\",\"ContactNotes\":\"24\u002F7 NOC\"}]'`\n2. Enable proactive engagement:\n   `aws shield enable-proactive-engagement`\n\n### For CONFIG_GAP — ALB has no WAF Web ACL (Step 6)\n\n1. Create or identify a WAFv2 Web ACL for the ALB.\n2. Associate it:\n   `aws wafv2 associate-web-acl --web-acl-arn \u003Cacl-arn> --resource-arn \u003Calb-arn>`\n3. Optionally enable Application Layer Automatic Response:\n   `aws shield enable-application-layer-automatic-response --protection-id \u003Cid> --web-acl-arn \u003Cacl-arn>`\n\n### For OK\n\n1. No remediation required for the current posture.\n2. Recommend periodic re-audit after infrastructure changes (new ALBs, EIPs,\n   or CloudFront distributions may be added without Shield coverage).\n3. Review `aws shield list-attacks` for recent events and verify mitigation\n   effectiveness.\n\n## Deep reference: Shield Advanced internals\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#deep-reference-shield-advanced-internals) — coverage model, detailed gotchas, DRT incident-response workflow, cost-protection eligibility, subscription lifecycle.\nLoad that reference on demand before executing this section.\n\n## Recent AWS features (2024-2026)\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#recent-aws-features-2024-2026) — automatic L7 mitigation, CloudFront\u002FRoute 53 auto-protection, enhanced DRT visibility, engagement updates.\nLoad that reference on demand before executing this section.\n\n## AWS documentation\n\n- **AWS Shield Advanced Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002Fdeveloperguide\u002Fshield-chapter.html\n- **AWS Shield API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002FAPIReference\u002Fsourceshield.html\n- **AWS CLI Shield Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fshield\u002F\n- **AWS Shield Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002Fdeveloperguide\u002Fshield-security.html\n- **DDoS Response Team (DRT)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002Fdeveloperguide\u002Fddos-overview.html\n- **Shield Advanced getting started** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwaf\u002Flatest\u002Fdeveloperguide\u002Fgetting-started-ddos.html\n\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — mindset, Step 0 expert knowledge (non-obvious classification behaviors), edge-case catalog, deep Shield Advanced internals (coverage model, gotchas, DRT workflow, cost protection, subscription lifecycle), recent AWS features.\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live-account pre-flight command gate and pre-remediation safety checks (confirmation gate, CreateSubscription commitment, DeleteProtection rollback).\n\n## Domain\n\nAWS CloudOps \u002F DDoS Protection & Shield Advanced Coverage Security.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":39},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"complexity":32,"entry_point":33,"when_to_use":34,"requires_llm":35,"verdict_shape":36,"invocation_schema":37,"supports_pipeline":35,"activation_triggers":38},"shield, security, ddos, drt, waf, cloudfront, route53, alb, eip, coverage, audit","2","Jacky Chan — AWS Community Builder","aws-cloudops","Security","0.1.0","Shield Advanced, DDoS protection, DRT, DDoS Response Team, Shield Standard, proactive engagement, health-based detection, Route 53 health check, CreateProtection, AssociateDRTRole, AssociateDRTLogBucket, EnableProactiveEngagement, EmergencyContactList, WAF Web ACL, L7 mitigation, CloudFront auto-protection, Elastic IP protection, cost protection, CreateSubscription, application layer automatic response","high","false","Reviewing Shield Advanced coverage before a public launch, checking which internet-facing resources (ALB, NLB, CLB, EIP, CloudFront, Route 53) are protected, validating DRT role and log-bucket access, auditing health-based detection wiring, verifying proactive engagement and emergency contacts, or hardening DDoS posture after an incident.","true","UNPROTECTED | NO_DRT_ACCESS | CONFIG_GAP | OK","Input — one of: (a) config_snapshot object with keys: subscription_state (ACTIVE|INACTIVE), resource_inventory (list of {type, arn}), protections (list of {id, name, resource_arn, health_check_ids}), drt_access ({role_arn, log_buckets}), proactive_engagement (ENABLED|DISABLED), emergency_contact_list (list), web_acls (list of {resource_arn, web_acl_arn}); OR (b) account_id (string) for live-account audit. Output — deterministic block: SCOPE (string), VERDICT (enum: UNPROTECTED|NO_DRT_ACCESS|CONFIG_GAP|OK|ERROR), REASON (string), FINDINGS (list of {severity, description, step}), REMEDIATION (list of strings, one per finding).","audit Shield Advanced coverage, is my ALB protected by Shield Advanced, check DRT access, is proactive engagement enabled, Shield Advanced health-based detection, which resources are DDoS protected, Shield Advanced subscription state, DDoS response team access, harden DDoS posture","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline config-document classification. Live-account audits use aws shield get-subscription-state, aws shield list-protections, aws shield describe-drt-access, aws shield describe-emergency-contact-settings, and aws wafv2 get-web-acl (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fshield-advanced-coverage-auditor",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill shield-advanced-coverage-auditor",{"tool":54,"command":55},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill shield-advanced-coverage-auditor",{"tool":57,"command":58},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill shield-advanced-coverage-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002FSKILL.md",true,[62,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",10523,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Feval\u002Ftest-cases.yaml",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fbaselines\u002Fdrt-role-no-log-bucket.md",689,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fbaselines\u002Fdrt-role-no-log-bucket.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Ffully-configured-ok.md",696,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fbaselines\u002Ffully-configured-ok.md",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fno-drt-role.md",615,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fbaselines\u002Fno-drt-role.md",{"path":81,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fno-health-based-detection.md",608,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fbaselines\u002Fno-health-based-detection.md",{"path":85,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fproactive-engagement-disabled.md",637,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fbaselines\u002Fproactive-engagement-disabled.md",{"path":89,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Funprotected-elastic-ip.md",654,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fbaselines\u002Funprotected-elastic-ip.md",{"path":93,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",2024,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",5203,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fevals.json",{"path":101,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fdrt-role-no-log-bucket.md",1128,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fprompts\u002Fdrt-role-no-log-bucket.md",{"path":105,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Ffully-configured-ok.md",1228,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fprompts\u002Ffully-configured-ok.md",{"path":109,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fno-drt-role.md",1013,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fprompts\u002Fno-drt-role.md",{"path":113,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fno-health-based-detection.md",1099,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fprompts\u002Fno-health-based-detection.md",{"path":117,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fproactive-engagement-disabled.md",1120,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fprompts\u002Fproactive-engagement-disabled.md",{"path":121,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":122,"sourceHtmlUrl":123},"evals\u002Fprompts\u002Funprotected-elastic-ip.md",714,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fevals\u002Fprompts\u002Funprotected-elastic-ip.md",{"path":125,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":126,"sourceHtmlUrl":127},"examples\u002Fend-to-end.md",6324,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fexamples\u002Fend-to-end.md",{"path":129,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fadvanced-patterns.md",12209,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Freferences\u002Fadvanced-patterns.md",{"path":133,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdiagnostic-commands.md",2799,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Freferences\u002Fdiagnostic-commands.md",{"path":137,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":138,"sourceHtmlUrl":139},"skill.usf.yaml",4124,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fshield-advanced-coverage-auditor\u002Fskill.usf.yaml",[141,148,155,162,169,176],{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]