[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A3M5BW6HXEMKCBDKP4948P":3,"skill-same:01M7A3M5BW6HXEMKCBDKP4948P":141},{"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":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M7A3M5BW6HXEMKCBDKP4948P","auditmanager-assessment-auditor",null,"Audits AWS Audit Manager assessments for evidence-collection integrity, control compliance rate, delegation wiring, and account-level settings posture. Evaluates assessment lifecycle state (ACTIVE vs stopped\u002FINACTIVE), the data-source dependency chain (AWS Config recording + CloudTrail management-event logging), NOT_ASSESSED burden, FAIL burden, framework scope coverage, KMS-key\u002FSNS-topic\u002Freports-destination\u002Fprocess-owner configuration, and outstanding delegations. Emits a deterministic verdict (INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK) per assessment with enumerated findings and CLI remediation. Use when reviewing an Audit Manager assessment, validating evidence completeness before a compliance report, checking whether a stopped assessment has stale compliance data, or auditing Audit Manager account settings.","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\u002Fauditmanager-assessment-auditor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: auditmanager-assessment-auditor\ndescription: Audits AWS Audit Manager assessments for evidence-collection integrity, control compliance rate, delegation wiring, and account-level settings posture. Evaluates assessment lifecycle state (ACTIVE vs stopped\u002FINACTIVE), the data-source dependency chain (AWS Config recording + CloudTrail management-event logging), NOT_ASSESSED burden, FAIL burden, framework scope coverage, KMS-key\u002FSNS-topic\u002Freports-destination\u002Fprocess-owner configuration, and outstanding delegations. Emits a deterministic verdict (INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK) per assessment with enumerated findings and CLI remediation. Use when reviewing an Audit Manager assessment, validating evidence completeness before a compliance report, checking whether a stopped assessment has stale compliance data, or auditing Audit Manager account settings.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline config-snapshot classification. Live-account audits use aws auditmanager get-assessment, get-settings, get-account-status, list-assessments, list-delegations, and list-assessment-control-insights-by-control-domain (AWS CLI v2, SSO or key-based credentials). AWS Config and CloudTrail status are read via aws configservice describe-configuration-recorder-status and aws cloudtrail...\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: Governance\n  verdict_shape: INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK\n  when_to_use: Reviewing an Audit Manager assessment before generating a compliance report, validating that evidence collection is trustworthy (not stale or data-source-broken), checking whether a stopped\u002FINACTIVE assessment is producing a false compliance picture, auditing Audit Manager account settings (KMS key, SNS topic, reports destination, process owners), or scoping an assessment against the full organisation estate.\n  when_not_to_use: Do NOT invoke for AWS Config conformance-pack evaluation, Security Hub finding triage, or generic IAM-policy review — these have their own auditors. Do NOT invoke if the caller only wants a compliance-score dashboard (use the Audit Manager console); this skill emits findings and remediation, not a score widget.\n  activation_triggers: audit this Audit Manager assessment, is my assessment evidence complete, check assessment compliance, stopped assessment stale evidence, Audit Manager settings, assessment delegation pending, NOT_ASSESSED controls, assessment scope gap, compliance report readiness, Audit Manager config gap\n  invocation_schema: 'Input: either (a) an assessment snapshot with required fields — assessment.id (str, ARN), assessment.name (str), assessment.status (\"ACTIVE\"|\"INACTIVE\"), assessment.creationTime (ISO-8601), assessment.lastUpdated (ISO-8601), scope.awsAccounts (list[accountId]), scope.awsServices (list[serviceName]), controlSets[].controls[].response (\"PASS\"|\"FAIL\"|\"NOT_ASSESSED\"| \"MANUAL\"|\"UNDER_REVIEW\"), settings.kmsKey (str|\"\"), settings.snsTopic (str|\"\"), settings.defaultAssessmentReportsDestination (s3Uri|\"\"), settings.defaultProcessOwners (list[roleArn]) — plus optional dataSources.configRecorders (per account × region, recording bool), dataSources.cloudTrails (per region, IncludeManagementEvents bool), delegations[].status (\"IN_PROGRESS\"|\"COMPLETE\"|\"FAILED\") and delegations[].creationTime; OR (b) assessmentId (str) for live-account audit. Output: deterministic block per assessment — ASSESSMENT (id), FRAMEWORK (str), VERDICT (\"INCOMPLETE_EVIDENCE\"|\"LOW_COMPLIANCE\"| \"CONFIG_GAP\"|\"OK\"), REASON (1-2 sentences citing worst finding + step number), CONTROL BREAKDOWN (total, PASS, FAIL, NOT_ASSESSED, MANUAL, UNDER_REVIEW, compliance%), FINDINGS (list[finding]), REMEDIATION (list[action]).'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: Audit Manager, assessment, compliance, evidence collection, framework, control compliance, NOT_ASSESSED, delegation, AWS Config, CloudTrail, INACTIVE assessment, stopped assessment, defaultProcessOwners, kmsKey, assessment reports destination, SNS topic, scope, SOC 2, PCI DSS, HIPAA, control response, governance audit\n  tags: auditmanager, governance, compliance, evidence-collection, delegation, config, cloudtrail, audit\n---\n\n# Audit Manager Assessment Auditor\n\n## Quick start\n\n**Worst finding wins.** Verdict priority: `INCOMPLETE_EVIDENCE` > `LOW_COMPLIANCE` > `CONFIG_GAP` > `OK`.\n\n1. `INACTIVE` OR `NOT_ASSESSED > 30%` OR delegation stalled > 7d OR scope ⊊ org → **INCOMPLETE_EVIDENCE**\n2. `PASS \u003C 60%` OR `FAIL > 25%` → **LOW_COMPLIANCE**\n3. Missing KMS \u002F SNS \u002F reports-destination \u002F process-owners → **CONFIG_GAP**\n4. Else → **OK**\n\n**24-hour warm-up:** a new assessment (`creationTime \u003C 24h`) is exempt from Step 1b — skip to Step 3.\n**Critical NEVERs:** see [Quick NEVERs](#critical-nevers-quick-reference) below; full reasoning in [Anti-Patterns](#anti-patterns--never).\n**Full algorithm + thresholds:** see [Process](#process--classification-logic-apply-in-order-aggregate-worst).\n**Expert gotchas:** see [Reference](#reference--operational-gotchas-not-in-aws-docs).\n\n## Critical NEVERs (quick reference)\n\nFull reasoning in [Anti-Patterns](#anti-patterns--never). One-liners:\n\n- **NEVER** report `LOW_COMPLIANCE` when `NOT_ASSESSED > 30%` — data-source break → `INCOMPLETE_EVIDENCE`.\n- **NEVER** trust an `INACTIVE` assessment's compliance % — frozen → `INCOMPLETE_EVIDENCE` (1a).\n- **NEVER** assume `ACTIVE` means \"collecting\" — Config\u002FCloudTrail off in any account × region → silent `NOT_ASSESSED`.\n- **NEVER** proceed when only a subset of data-source checks succeed — emit scoped findings, reduce confidence.\n- **NEVER** retry `ThrottlingException` past 4 attempts — backoff + jitter; escalate as Quota increase.\n- **NEVER** delete without a double-CONFIRM gate — evidence removal is irreversible after 90 days.\n\n## Mindset\n\n**One-line takeaway:** the verdict priority is fixed —\nINCOMPLETE_EVIDENCE beats LOW_COMPLIANCE beats CONFIG_GAP beats OK — because\nyou cannot trust a compliance percentage when the evidence collection\nmachinery that produced it is broken.\n\nAudit Manager automates evidence collection against a framework (PCI DSS,\nHIPAA, SOC 2, custom) by reading two upstream AWS data sources:\n- **AWS Config** feeds every `Config-based` control. If the Config recorder\n  is off in an in-scope account, those controls silently produce **no\n  evidence**.\n- **AWS CloudTrail** feeds every `API-based` control. If no trail is\n  logging management events, those controls produce **no evidence**.\n\nWhen the data sources are broken, `NOT_ASSESSED` controls accumulate. The\nroot cause is a **collection gap**, not a control failure — classify\nINCOMPLETE_EVIDENCE so the operator repairs Config\u002FCloudTrail before\nre-reading the number. A **stopped (INACTIVE) assessment** is the sharpest\ncase: the dashboard still shows a frozen score that an operator may read as\n\"current.\"\n\n## Pre-flight: account-status and framework gate\n\nBefore evaluating any single assessment, verify the account-level\nfoundations. Several conditions **short-circuit** the audit.\n\n| Check | Value | Effect |\n|---|---|---|\n| `get-account-status` | `ACTIVE` | Audit Manager is registered for the account. Proceed. |\n| `get-account-status` | `INACTIVE` \u002F not registered | Audit Manager is not enabled — no assessments exist by definition. Emit a single account-level finding: \"Audit Manager is not enabled for this account; enable it before framework evidence can be collected.\" Do NOT emit per-assessment verdicts. |\n| Assessment count | 0 | Account is enabled but has zero assessments. Flag as a **CONFIG_GAP** at the account level (framework coverage absent). |\n| Framework id | Custom vs AWS-managed (PCI\u002FHIPAA\u002FSOC2\u002FFFIEC\u002FCIS\u002FCMMC\u002FGDPR\u002FISO\u002FABAC\u002F... ) | Note the framework for context; do NOT change the verdict on framework choice. A custom framework is audited identically to a managed one. |\n| Service lifecycle | End-of-support announced | Flag as advisory context. Do NOT change the verdict solely for lifecycle — the assessment may still be the system of record for the current compliance period. See Step 0. |\n\nMalformed-snapshot and API-failure ERROR-verdict output blocks (missing status\u002FcontrolSets\u002Fscope; AccessDeniedException \u002F ThrottlingException \u002F ResourceNotFoundException handling): [Error handling](references\u002Ferror-handling.md).\n\n**Pagination contract.** `list-assessments`, `list-delegations`, and\n`list-assessment-control-insights-by-control-domain` are paginated and\nreturn at most 100 records per call. Always loop until `nextToken` is\nnull before classifying — a single call truncates large estates and\nunder-counts NOT_ASSESSED.\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Verdict thresholds (first match wins)\n\n| Condition | Verdict | Step |\n|---|---|---|\n| `status` = `INACTIVE` | **INCOMPLETE_EVIDENCE** | 1a |\n| `NOT_ASSESSED` > 30% (and not warm-up) | **INCOMPLETE_EVIDENCE** | 1b |\n| Delegation `IN_PROGRESS` > 7d OR `FAILED` | **INCOMPLETE_EVIDENCE** | 1c |\n| Scope ⊊ org members (multi-account org) | **INCOMPLETE_EVIDENCE** | 1d |\n| PASS% \u003C 60% (evidence complete) | **LOW_COMPLIANCE** | 2a |\n| FAIL% > 25% (evidence complete) | **LOW_COMPLIANCE** | 2b |\n| Any setting missing (KMS\u002FSNS\u002Freports\u002Fowners) | **CONFIG_GAP** | 3 |\n| All checks pass | **OK** | 4 |\n\n```text\nnot_assessed_pct = NOT_ASSESSED \u002F total\npass_pct         = PASS \u002F total\nfail_pct         = FAIL \u002F total\nis_warm_up       = (now - creationTime) \u003C 24h\n\nif status == \"INACTIVE\":                            -> INCOMPLETE_EVIDENCE  # 1a\nif not is_warm_up AND not_assessed_pct > 0.30:      -> INCOMPLETE_EVIDENCE  # 1b\nif any delegation IN_PROGRESS > 7d OR == FAILED:    -> INCOMPLETE_EVIDENCE  # 1c\nif scope ⊊ org members (multi-account org):         -> INCOMPLETE_EVIDENCE  # 1d\nif pass_pct \u003C 0.60:                                 -> LOW_COMPLIANCE       # 2a\nif fail_pct > 0.25:                                 -> LOW_COMPLIANCE       # 2b\nif any setting missing (kms\u002Fsns\u002Freports\u002Fowners):    -> CONFIG_GAP           # 3\nelse:                                               -> OK                   # 4\n```\n\n### Step 0: Expert knowledge — non-obvious Audit Manager behaviours that change classification\n\nAll fifteen Step-0 expert behaviours — NOT_ASSESSED is a collection signal, Config must record in every in-scope account × region, CloudTrail management-event dependency, delegations stall without member registration, compliance % counts NOT_ASSESSED against you, MANUAL controls need humans, INACTIVE freezes the score, deleting ≠ stopping, delegation states, defaultProcessOwners, kmsKey, reports destination, scope = awsAccounts × awsServices, domain insights API, worst verdict never averages, end-of-service lifecycle: [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n### Step 0b: Operational gotchas (summary — full detail in Reference)\n\nThe four most load-bearing traps (full operational detail in\n[Reference — operational gotchas](#reference--operational-gotchas)):\n\n- **SLR deletion silently breaks future delegations.**\n  `AWSServiceRoleForAuditManager` auto-creates only at account\n  registration; manual deletion stalls all subsequent delegations with no\n  alarm. Verify before re-sending a delegation.\n- **Insights API `complianceScore` ≠ assessment compliance %.** Different\n  denominators (insights excludes `MANUAL`\u002F`UNDER_REVIEW`); always\n  recompute from the raw `controlSets[].controls[].response` distribution.\n- **Framework version immutability.** Assessments pin to the framework at\n  creation; parent-framework updates do NOT propagate. Re-baselining\n  requires a new assessment.\n- **INACTIVE ≠ free.** Evidence storage charges continue until\n  `delete-assessment`; surface as an OPEX finding in REMEDIATION.\n\n### Step 1: Evidence-collection integrity (INCOMPLETE_EVIDENCE drivers)\n\nEvaluate first — these conditions invalidate the compliance number. If any\nfires, the verdict is INCOMPLETE_EVIDENCE regardless of the PASS%.\n\n**1a. Assessment lifecycle state.**\nIf `status` is `INACTIVE` (stopped), the assessment is no longer\ncollecting. The compliance score is frozen. → **INCOMPLETE_EVIDENCE**.\nCite `lastUpdated` age as evidence of staleness.\n\n**1b. Data-source break — NOT_ASSESSED burden.**\nCompute `NOT_ASSESSED_count \u002F total_controls`. If the ratio exceeds\n**30%**, the collection machinery is broken. → **INCOMPLETE_EVIDENCE**.\nCross-reference the data-source status to identify the root:\n- AWS Config recorder `OFF` or absent in an in-scope account → Config-based\n  controls cannot fire.\n- No CloudTrail trail with `IncludeManagementEvents: true` in an in-scope\n  region → API-based controls cannot fire.\nThe verification is a per-account × per-region loop, not a single call.\nFor each `acct` in `scope.awsAccounts` × each `region` in scope (default\nto the assessment's `awsRegion` when scope.regions is absent), run:\n`aws configservice describe-configuration-recorder-status --profile \u003Cacct>\n--region \u003Cregion> --query 'ConfigurationRecorders[*].{name:name,\nrecording:recording,lastStatus:lastStatus}'` — check `recording: true`\nAND `lastStatus: SUCCESS` (a recorder with `recording: true` but\n`lastStatus: FAILURE` is silently producing no snapshots). Then\n`aws cloudtrail describe-trails --profile \u003Cacct> --region \u003Cregion>\n--query 'trailList[?IncludeManagementEvents && IsLogging].Name'` —\nempty result means no management-event trail is delivering in that\nperimeter. A recorder that is `STOPPED` in only one account\u002Fregion is\nenough to depress the compliance % silently. Even if you cannot see the\ndata-source status, a > 30% NOT_ASSESSED ratio on an assessment that has\nbeen ACTIVE long enough to collect (> 7 days) is a data-source break by\ninduction.\n\n**1c. Outstanding delegation.**\nIf any delegation for the assessment has `status` `IN_PROGRESS` for more\nthan 7 days (or `FAILED`), evidence for the delegated scope is missing.\n→ **INCOMPLETE_EVIDENCE**.\n\n**1d. Scope-coverage gap.**\nIf `scope.awsAccounts` is a strict subset of the org's member accounts\n(and the framework is org-scoped — PCI\u002FHIPAA\u002FSOC2 typically are), the\ncompliance picture does not cover the estate. → **INCOMPLETE_EVIDENCE**.\nTo obtain the authoritative org membership, run\n`aws organizations list-accounts --query 'Accounts[*].Id' --output json`\nfrom the management account and diff against `scope.awsAccounts`; any\nmember account in the org but absent from scope is an uncovered account\n(and, if it has no `AWSServiceRoleForAuditManager`, also a future\ndelegation stall — see Step 0). If the org membership is not provided\nin the input and the auditor role cannot call `organizations:ListAccounts`,\nskip 1d (cannot determine) and note the limitation explicitly in FINDINGS\nso the operator can run the diff manually.\n\n### Step 2: Compliance evaluation (LOW_COMPLIANCE drivers)\n\nOnly reached when Step 1 did not fire (evidence is ≥ 70% complete). Now\nthe compliance rate is trustworthy enough to evaluate.\n\n**2a. Low overall compliance.** If `PASS% \u003C 60%` (PASS_count \u002F\ntotal_controls), the assessed controls are predominantly failing.\n→ **LOW_COMPLIANCE**.\n\n**2b. High FAIL burden.** If `FAIL_count \u002F total_controls > 25%`, the\ncontrol-failure burden is severe even if PASS% is borderline.\n→ **LOW_COMPLIANCE**.\n\nIf neither 2a nor 2b fires, compliance is acceptable for this assessment\n(≥ 60% PASS, ≤ 25% FAIL) — proceed to Step 3.\n\n### Step 3: Configuration evaluation (CONFIG_GAP drivers)\n\nEvaluate Audit Manager settings and assessment configuration. Any missing\nsetting is a governance gap. → **CONFIG_GAP**.\n\n| Setting | Missing → Finding |\n|---|---|\n| `settings.kmsKey` | No customer-managed encryption — framework encryption-ownership control unsupported |\n| `settings.snsTopic` | No notification wiring — collection-complete and attention events silently dropped |\n| `settings.defaultAssessmentReportsDestination` | Cannot generate assessment reports — `generate-assessment-report` will fail |\n| `settings.defaultProcessOwners` (empty) | No designated evidence reviewers — `UNDER_REVIEW` controls pile up with no owner |\n| `assessment.assessmentReportsDestination` (assessment-level, unset) | Per-assessment report destination absent (settings default not inherited) |\n\nIf ALL settings are configured, proceed to Step 4.\n\n### Step 4: Aggregation — worst verdict wins\n\nThe verdict priority is fixed (worst-first):\n\n```text\nverdict = first_match(\n    any Step 1 condition  -> INCOMPLETE_EVIDENCE,\n    any Step 2 condition  -> LOW_COMPLIANCE,\n    any Step 3 condition  -> CONFIG_GAP,\n    otherwise             -> OK\n)\n```\n\nIf no findings (evidence complete, compliance ≥ 60%, all settings\nconfigured, scope covers the estate), the verdict is **OK**.\n\n## Output format (per assessment)\n\n```text\nASSESSMENT: \u003Cassessment-id or name>\nFRAMEWORK: \u003Cframework name>\nVERDICT: INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and its step number>\nCONTROL BREAKDOWN:\n  total: \u003CN>, PASS: \u003Cn>, FAIL: \u003Cn>, NOT_ASSESSED: \u003Cn>, MANUAL: \u003Cn>, UNDER_REVIEW: \u003Cn>\n  compliance%: \u003CPASS \u002F total * 100, one decimal>\nFINDINGS:\n  - [\u003Cseverity note>] \u003Cfinding description (Step Na)>\n  - [\u003Cseverity note>] \u003Cfinding description (Step Nb)>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n**JSON-equivalent schema** (for runtimes that prefer structured output):\n\n```json\n{\n  \"assessment\": \"str (id or ARN)\",\n  \"framework\": \"str\",\n  \"verdict\": \"INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK | ERROR\",\n  \"reason\": \"str (worst finding + step number)\",\n  \"control_breakdown\": {\n    \"total\": \"int\", \"PASS\": \"int\", \"FAIL\": \"int\",\n    \"NOT_ASSESSED\": \"int\", \"MANUAL\": \"int\", \"UNDER_REVIEW\": \"int\",\n    \"compliance_pct\": \"float\"\n  },\n  \"findings\": [{\"severity\": \"str\", \"description\": \"str\", \"step\": \"str\"}],\n  \"remediation\": [\"str\"]\n}\n```\n\n### Worked example — stopped assessment with high NOT_ASSESSED\n\n```text\nASSESSMENT: arn:aws:auditmanager:us-east-1:111111111111:assessment\u002Fstopped-assessment\nFRAMEWORK: SOC 2\nVERDICT: INCOMPLETE_EVIDENCE\nREASON: Assessment status is INACTIVE (stopped) since 2026-02-14 — no new\nevidence collected for ~6 months; additionally 42% of controls are\nNOT_ASSESSED, indicating the Config\u002FCloudTrail data sources were broken\nbefore the assessment was stopped (Steps 1a, 1b).\nCONTROL BREAKDOWN:\n  total: 312, PASS: 98, FAIL: 41, NOT_ASSESSED: 131, MANUAL: 30, UNDER_REVIEW: 12\n  compliance%: 31.4\nFINDINGS:\n  - [STALE] Assessment status INACTIVE since 2026-02-14; compliance score frozen (Step 1a)\n  - [COLLECTION BREAK] NOT_ASSESSED 131\u002F312 (42%) — data-source break suspected (Step 1b)\n  - [CONFIG] No Config recorder status provided — verify in each in-scope account\nREMEDIATION:\n  1. Verify data sources: `aws configservice describe-configuration-recorder-status`\n     and `aws cloudtrail describe-trails` for each in-scope account.\n  2. Reactivate: `aws auditmanager update-assessment-status --assessment-id \u003Cid> --status ACTIVE`.\n  3. Re-baseline the compliance % after a full collection cycle (~24h).\n```\n\n## Edge-case handling\n\nEdge cases — \u003C 24h warm-up, borderline mixed distribution, MANUAL-heavy frameworks, settings vs assessment-level overrides, single-account org, COMPLETE delegation with evidenceInsufficient: [Advanced patterns](references\u002Fadvanced-patterns.md).\nAPI failure, pagination fallback, and partial-success data-source fan-out (scoped [UNVERIFIED] findings, verified-subset classification, > 25% unverified escalation): [Error handling](references\u002Ferror-handling.md).\n\n## Anti-Patterns — NEVER\n\n- NEVER report LOW_COMPLIANCE when the NOT_ASSESSED ratio is > 30%. The\n  low compliance % in that case is a symptom of a broken data source, not\n  of failing controls. The correct verdict is INCOMPLETE_EVIDENCE; the\n  remediation is to repair Config\u002FCloudTrail, not to chase failing\n  controls. Conflating the two wastes the operator's time on the wrong\n  fix.\n\n- NEVER treat an INACTIVE (stopped) assessment's compliance % as current.\n  The number is frozen at stop time. Reporting it as if live is a\n  material misrepresentation in a compliance context. Always cite the\n  `lastUpdated` age and classify as INCOMPLETE_EVIDENCE (Step 1a).\n\n- NEVER assume an ACTIVE assessment is collecting evidence. Status ACTIVE\n  only means Audit Manager is \"trying\" to collect — if Config or\n  CloudTrail is off in an in-scope account, the collection silently\n  produces nothing and controls fall to NOT_ASSESSED. Always cross-check\n  the data-source status (Step 1b) before trusting ACTIVE.\n\n- NEVER flag `MANUAL` controls as failures. MANUAL is a control-design\n  choice (non-automatable), not a defect. Flag the LACK of a review\n  pipeline (empty `defaultProcessOwners`) as CONFIG_GAP, not the MANUAL\n  controls themselves.\n\n- NEVER recommend deleting an assessment as remediation without\n  confirming no active compliance period depends on its retained\n  evidence. Deletion permanently removes evidence within 90 days. The\n  safe path is `update-assessment-status --status INACTIVE` (preserve) or\n  reactivate.\n\n- NEVER recommend generating an assessment report when\n  `defaultAssessmentReportsDestination` (settings or assessment-level) is\n  unset. `generate-assessment-report` will fail. Remediate the\n  destination first, then generate.\n\n- NEVER treat a brand-new assessment (\u003C 24 hours old) with high\n  NOT_ASSESSED as INCOMPLETE_EVIDENCE. The first evidence-collection\n  cycle has not completed. This is a false positive.\n\n- NEVER downgrade the verdict because the framework is custom (not\n  AWS-managed PCI\u002FHIPAA\u002FSOC2). Custom frameworks are audited identically.\n  The verdict is data-driven, not framework-driven.\n\n- NEVER ignore a `FAILED` delegation. A delegation that FAILED is a\n  collection break for its scoped accounts — the evidence for those\n  accounts is missing regardless of the overall NOT_ASSESSED ratio. Fire\n  Step 1c.\n\n- NEVER assume a stalled `IN_PROGRESS` delegation is a network blip.\n  Delegations to a member account require that account to (a) be in the\n  same AWS Organization, (b) have Audit Manager enabled, and (c) carry\n  the `AWSServiceRoleForAuditManager` service-linked role plus\n  `iam:CreateServiceLinkedRole` permission. A delegation older than the\n  assessment's `creationTime` is almost always a missing-SLR or\n  removed-from-org condition, not a retryable API fault — re-sending the\n  delegation without fixing the member account burns another 7-day wait.\n\n- NEVER confuse `get-account-status` (Audit Manager registration) with\n  assessment `status` (ACTIVE\u002FINACTIVE). The account-status `status`\n  reflects whether Audit Manager is enabled for the account; the\n  assessment `status` reflects whether a specific assessment is running.\n  A registered account can have all assessments INACTIVE.\n\n- NEVER suppress CONFIG_GAP findings (missing KMS \u002F SNS \u002F reports\n  destination \u002F process owners) just because the verdict is already\n  INCOMPLETE_EVIDENCE. An INACTIVE assessment is usually reactivated\n  later, and a settings gap silently degrades the next compliance\n  period the moment it goes ACTIVE again. Surface the settings gap in\n  FINDINGS even though the VERDICT line collapses to the worst — the\n  operator fixes both in one pass.\n\n- NEVER proceed with classification when only a subset of data-source\n  checks succeed. Each unchecked account × region is a Step 1b\n  collection break for that perimeter — emit a scoped finding per\n  unverified scope (`[UNVERIFIED] Config status for account X in region\n  Y not retrievable — treat as suspected collection break`), classify on\n  what you verified, and explicitly note in REASON that the verdict\n  confidence is reduced. If > 25% of the in-scope perimeter is\n  unverified, escalate the verdict to INCOMPLETE_EVIDENCE regardless of\n  the visible NOT_ASSESSED ratio — averaging over a partial perimeter\n  hides the worst accounts.\n\n- NEVER retry a `ThrottlingException` past 4 attempts without\n  exponential backoff + jitter. Audit Manager throttles at the account\n  level via a token-bucket limiter; the AWS SDK default (4 retries with\n  backoff) is the safe ceiling. Blind retries in a tight loop widen the\n  throttle window for every other consumer of the account and can push\n  the limiter into a multi-minute cooldown. If still throttled after the\n  SDK budget is exhausted, escalate as a Service Quota increase\n  (`auditmanager:GetAssessment`, `auditmanager:ListAssessments`,\n  `auditmanager:ListDelegations` per account\u002Fregion) — re-calling the\n  API is not a fix.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing operation\n  (`update-assessment-status`, `delete-assessment`,\n  `update-settings`, `generate-assessment-report`), the auditor MUST emit:\n  `CONFIRM: About to \u003Caction> on assessment \u003Cid> in account \u003Caccount>.\n  This affects \u003Cconsequence>. Proceed? (yes\u002Fno)`. Do NOT execute the CLI\n  command until the operator confirms.\n- Before reactivating a stopped assessment, confirm no replacement\n  assessment was created in the interim. Two ACTIVE assessments on the\n  same framework double-collect and can confuse the compliance picture.\n- Before changing account `settings`, capture the current settings for\n  rollback: `aws auditmanager get-settings --region \u003Cr> --output json >\n  \u002Ftmp\u002Fauditmanager-settings-backup-$(date +%s).json`. Settings changes\n  apply to ALL assessments in the account.\n- Before deleting an assessment, verify no active compliance period\n  (audit, examination window) depends on its evidence. Deletion is\n  irreversible after 90 days. **For `delete-assessment` specifically,\n  require a SECOND confirmation** — single CONFIRM is insufficient for\n  an irreversible bulk-evidence-destruction operation. Emit:\n  `CONFIRM (2 of 2): Deleting assessment \u003Cid> permanently removes all\n  collected evidence after 90 days. This cannot be undone. Type the\n  assessment id verbatim to proceed:`. Only execute the CLI when the\n  operator echoes the assessment id character-for-character. For\n  `update-assessment-status` (reversible) and `update-settings`\n  (reversible with backup), single CONFIRM is sufficient.\n- Prefer additive changes (set a missing KMS key, add process owners)\n  over destructive changes (delete an assessment). Additive changes are\n  reversible; destructive changes are not.\n- Verify the caller's role has `auditmanager:UpdateAssessmentStatus` \u002F\n  `UpdateSettings` before emitting remediation CLI — most read-only\n  auditor roles CANNOT, and the command will fail with `AccessDenied`.\n  Surface this before the operator approves.\n\n## Remediation guidance\n\nFull per-verdict remediation playbooks with CLI (INCOMPLETE_EVIDENCE 1a\u002F1b\u002F1c\u002F1d, LOW_COMPLIANCE, CONFIG_GAP, OK): [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## Reference — operational gotchas (NOT in AWS docs)\n\nOperational gotchas NOT in AWS docs — SLR deletion stalls delegations, insights complianceScore denominator, framework version immutability, INACTIVE evidence storage cost, deprecated `state` field, insights vs get-assessment control counts, Config→Audit Manager propagation latency: [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features (2024-2026): none affecting the audit surface as of 2026-08 — see [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## References (load on demand)\n\n- [Advanced patterns](references\u002Fadvanced-patterns.md) — Step-0 expert behaviours, edge-case catalog, per-verdict remediation playbooks, operational gotchas not in AWS docs, recent AWS features\n- [Error handling](references\u002Ferror-handling.md) — malformed-snapshot and API-failure ERROR blocks, pagination fallback, partial-success fan-out handling\n\n## Domain\n\nAWS CloudOps \u002F Audit Manager Governance & Compliance Evidence Integrity.\n\n## AWS documentation\n\n- **AWS Audit Manager User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faudit-manager\u002Flatest\u002Fuserguide\u002Fwhat-is.html\n- **Audit Manager Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faudit-manager\u002Flatest\u002Fuserguide\u002Fsecurity.html\n- **Audit Manager API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faudit-manager\u002Flatest\u002FAPIReference\u002F\n- **Audit Manager CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fauditmanager\u002F\n","# Audit Manager Assessment Auditor\n\n## Quick start\n\n**Worst finding wins.** Verdict priority: `INCOMPLETE_EVIDENCE` > `LOW_COMPLIANCE` > `CONFIG_GAP` > `OK`.\n\n1. `INACTIVE` OR `NOT_ASSESSED > 30%` OR delegation stalled > 7d OR scope ⊊ org → **INCOMPLETE_EVIDENCE**\n2. `PASS \u003C 60%` OR `FAIL > 25%` → **LOW_COMPLIANCE**\n3. Missing KMS \u002F SNS \u002F reports-destination \u002F process-owners → **CONFIG_GAP**\n4. Else → **OK**\n\n**24-hour warm-up:** a new assessment (`creationTime \u003C 24h`) is exempt from Step 1b — skip to Step 3.\n**Critical NEVERs:** see [Quick NEVERs](#critical-nevers-quick-reference) below; full reasoning in [Anti-Patterns](#anti-patterns--never).\n**Full algorithm + thresholds:** see [Process](#process--classification-logic-apply-in-order-aggregate-worst).\n**Expert gotchas:** see [Reference](#reference--operational-gotchas-not-in-aws-docs).\n\n## Critical NEVERs (quick reference)\n\nFull reasoning in [Anti-Patterns](#anti-patterns--never). One-liners:\n\n- **NEVER** report `LOW_COMPLIANCE` when `NOT_ASSESSED > 30%` — data-source break → `INCOMPLETE_EVIDENCE`.\n- **NEVER** trust an `INACTIVE` assessment's compliance % — frozen → `INCOMPLETE_EVIDENCE` (1a).\n- **NEVER** assume `ACTIVE` means \"collecting\" — Config\u002FCloudTrail off in any account × region → silent `NOT_ASSESSED`.\n- **NEVER** proceed when only a subset of data-source checks succeed — emit scoped findings, reduce confidence.\n- **NEVER** retry `ThrottlingException` past 4 attempts — backoff + jitter; escalate as Quota increase.\n- **NEVER** delete without a double-CONFIRM gate — evidence removal is irreversible after 90 days.\n\n## Mindset\n\n**One-line takeaway:** the verdict priority is fixed —\nINCOMPLETE_EVIDENCE beats LOW_COMPLIANCE beats CONFIG_GAP beats OK — because\nyou cannot trust a compliance percentage when the evidence collection\nmachinery that produced it is broken.\n\nAudit Manager automates evidence collection against a framework (PCI DSS,\nHIPAA, SOC 2, custom) by reading two upstream AWS data sources:\n- **AWS Config** feeds every `Config-based` control. If the Config recorder\n  is off in an in-scope account, those controls silently produce **no\n  evidence**.\n- **AWS CloudTrail** feeds every `API-based` control. If no trail is\n  logging management events, those controls produce **no evidence**.\n\nWhen the data sources are broken, `NOT_ASSESSED` controls accumulate. The\nroot cause is a **collection gap**, not a control failure — classify\nINCOMPLETE_EVIDENCE so the operator repairs Config\u002FCloudTrail before\nre-reading the number. A **stopped (INACTIVE) assessment** is the sharpest\ncase: the dashboard still shows a frozen score that an operator may read as\n\"current.\"\n\n## Pre-flight: account-status and framework gate\n\nBefore evaluating any single assessment, verify the account-level\nfoundations. Several conditions **short-circuit** the audit.\n\n| Check | Value | Effect |\n|---|---|---|\n| `get-account-status` | `ACTIVE` | Audit Manager is registered for the account. Proceed. |\n| `get-account-status` | `INACTIVE` \u002F not registered | Audit Manager is not enabled — no assessments exist by definition. Emit a single account-level finding: \"Audit Manager is not enabled for this account; enable it before framework evidence can be collected.\" Do NOT emit per-assessment verdicts. |\n| Assessment count | 0 | Account is enabled but has zero assessments. Flag as a **CONFIG_GAP** at the account level (framework coverage absent). |\n| Framework id | Custom vs AWS-managed (PCI\u002FHIPAA\u002FSOC2\u002FFFIEC\u002FCIS\u002FCMMC\u002FGDPR\u002FISO\u002FABAC\u002F... ) | Note the framework for context; do NOT change the verdict on framework choice. A custom framework is audited identically to a managed one. |\n| Service lifecycle | End-of-support announced | Flag as advisory context. Do NOT change the verdict solely for lifecycle — the assessment may still be the system of record for the current compliance period. See Step 0. |\n\nMalformed-snapshot and API-failure ERROR-verdict output blocks (missing status\u002FcontrolSets\u002Fscope; AccessDeniedException \u002F ThrottlingException \u002F ResourceNotFoundException handling): [Error handling](references\u002Ferror-handling.md).\n\n**Pagination contract.** `list-assessments`, `list-delegations`, and\n`list-assessment-control-insights-by-control-domain` are paginated and\nreturn at most 100 records per call. Always loop until `nextToken` is\nnull before classifying — a single call truncates large estates and\nunder-counts NOT_ASSESSED.\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Verdict thresholds (first match wins)\n\n| Condition | Verdict | Step |\n|---|---|---|\n| `status` = `INACTIVE` | **INCOMPLETE_EVIDENCE** | 1a |\n| `NOT_ASSESSED` > 30% (and not warm-up) | **INCOMPLETE_EVIDENCE** | 1b |\n| Delegation `IN_PROGRESS` > 7d OR `FAILED` | **INCOMPLETE_EVIDENCE** | 1c |\n| Scope ⊊ org members (multi-account org) | **INCOMPLETE_EVIDENCE** | 1d |\n| PASS% \u003C 60% (evidence complete) | **LOW_COMPLIANCE** | 2a |\n| FAIL% > 25% (evidence complete) | **LOW_COMPLIANCE** | 2b |\n| Any setting missing (KMS\u002FSNS\u002Freports\u002Fowners) | **CONFIG_GAP** | 3 |\n| All checks pass | **OK** | 4 |\n\n```text\nnot_assessed_pct = NOT_ASSESSED \u002F total\npass_pct         = PASS \u002F total\nfail_pct         = FAIL \u002F total\nis_warm_up       = (now - creationTime) \u003C 24h\n\nif status == \"INACTIVE\":                            -> INCOMPLETE_EVIDENCE  # 1a\nif not is_warm_up AND not_assessed_pct > 0.30:      -> INCOMPLETE_EVIDENCE  # 1b\nif any delegation IN_PROGRESS > 7d OR == FAILED:    -> INCOMPLETE_EVIDENCE  # 1c\nif scope ⊊ org members (multi-account org):         -> INCOMPLETE_EVIDENCE  # 1d\nif pass_pct \u003C 0.60:                                 -> LOW_COMPLIANCE       # 2a\nif fail_pct > 0.25:                                 -> LOW_COMPLIANCE       # 2b\nif any setting missing (kms\u002Fsns\u002Freports\u002Fowners):    -> CONFIG_GAP           # 3\nelse:                                               -> OK                   # 4\n```\n\n### Step 0: Expert knowledge — non-obvious Audit Manager behaviours that change classification\n\nAll fifteen Step-0 expert behaviours — NOT_ASSESSED is a collection signal, Config must record in every in-scope account × region, CloudTrail management-event dependency, delegations stall without member registration, compliance % counts NOT_ASSESSED against you, MANUAL controls need humans, INACTIVE freezes the score, deleting ≠ stopping, delegation states, defaultProcessOwners, kmsKey, reports destination, scope = awsAccounts × awsServices, domain insights API, worst verdict never averages, end-of-service lifecycle: [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n### Step 0b: Operational gotchas (summary — full detail in Reference)\n\nThe four most load-bearing traps (full operational detail in\n[Reference — operational gotchas](#reference--operational-gotchas)):\n\n- **SLR deletion silently breaks future delegations.**\n  `AWSServiceRoleForAuditManager` auto-creates only at account\n  registration; manual deletion stalls all subsequent delegations with no\n  alarm. Verify before re-sending a delegation.\n- **Insights API `complianceScore` ≠ assessment compliance %.** Different\n  denominators (insights excludes `MANUAL`\u002F`UNDER_REVIEW`); always\n  recompute from the raw `controlSets[].controls[].response` distribution.\n- **Framework version immutability.** Assessments pin to the framework at\n  creation; parent-framework updates do NOT propagate. Re-baselining\n  requires a new assessment.\n- **INACTIVE ≠ free.** Evidence storage charges continue until\n  `delete-assessment`; surface as an OPEX finding in REMEDIATION.\n\n### Step 1: Evidence-collection integrity (INCOMPLETE_EVIDENCE drivers)\n\nEvaluate first — these conditions invalidate the compliance number. If any\nfires, the verdict is INCOMPLETE_EVIDENCE regardless of the PASS%.\n\n**1a. Assessment lifecycle state.**\nIf `status` is `INACTIVE` (stopped), the assessment is no longer\ncollecting. The compliance score is frozen. → **INCOMPLETE_EVIDENCE**.\nCite `lastUpdated` age as evidence of staleness.\n\n**1b. Data-source break — NOT_ASSESSED burden.**\nCompute `NOT_ASSESSED_count \u002F total_controls`. If the ratio exceeds\n**30%**, the collection machinery is broken. → **INCOMPLETE_EVIDENCE**.\nCross-reference the data-source status to identify the root:\n- AWS Config recorder `OFF` or absent in an in-scope account → Config-based\n  controls cannot fire.\n- No CloudTrail trail with `IncludeManagementEvents: true` in an in-scope\n  region → API-based controls cannot fire.\nThe verification is a per-account × per-region loop, not a single call.\nFor each `acct` in `scope.awsAccounts` × each `region` in scope (default\nto the assessment's `awsRegion` when scope.regions is absent), run:\n`aws configservice describe-configuration-recorder-status --profile \u003Cacct>\n--region \u003Cregion> --query 'ConfigurationRecorders[*].{name:name,\nrecording:recording,lastStatus:lastStatus}'` — check `recording: true`\nAND `lastStatus: SUCCESS` (a recorder with `recording: true` but\n`lastStatus: FAILURE` is silently producing no snapshots). Then\n`aws cloudtrail describe-trails --profile \u003Cacct> --region \u003Cregion>\n--query 'trailList[?IncludeManagementEvents && IsLogging].Name'` —\nempty result means no management-event trail is delivering in that\nperimeter. A recorder that is `STOPPED` in only one account\u002Fregion is\nenough to depress the compliance % silently. Even if you cannot see the\ndata-source status, a > 30% NOT_ASSESSED ratio on an assessment that has\nbeen ACTIVE long enough to collect (> 7 days) is a data-source break by\ninduction.\n\n**1c. Outstanding delegation.**\nIf any delegation for the assessment has `status` `IN_PROGRESS` for more\nthan 7 days (or `FAILED`), evidence for the delegated scope is missing.\n→ **INCOMPLETE_EVIDENCE**.\n\n**1d. Scope-coverage gap.**\nIf `scope.awsAccounts` is a strict subset of the org's member accounts\n(and the framework is org-scoped — PCI\u002FHIPAA\u002FSOC2 typically are), the\ncompliance picture does not cover the estate. → **INCOMPLETE_EVIDENCE**.\nTo obtain the authoritative org membership, run\n`aws organizations list-accounts --query 'Accounts[*].Id' --output json`\nfrom the management account and diff against `scope.awsAccounts`; any\nmember account in the org but absent from scope is an uncovered account\n(and, if it has no `AWSServiceRoleForAuditManager`, also a future\ndelegation stall — see Step 0). If the org membership is not provided\nin the input and the auditor role cannot call `organizations:ListAccounts`,\nskip 1d (cannot determine) and note the limitation explicitly in FINDINGS\nso the operator can run the diff manually.\n\n### Step 2: Compliance evaluation (LOW_COMPLIANCE drivers)\n\nOnly reached when Step 1 did not fire (evidence is ≥ 70% complete). Now\nthe compliance rate is trustworthy enough to evaluate.\n\n**2a. Low overall compliance.** If `PASS% \u003C 60%` (PASS_count \u002F\ntotal_controls), the assessed controls are predominantly failing.\n→ **LOW_COMPLIANCE**.\n\n**2b. High FAIL burden.** If `FAIL_count \u002F total_controls > 25%`, the\ncontrol-failure burden is severe even if PASS% is borderline.\n→ **LOW_COMPLIANCE**.\n\nIf neither 2a nor 2b fires, compliance is acceptable for this assessment\n(≥ 60% PASS, ≤ 25% FAIL) — proceed to Step 3.\n\n### Step 3: Configuration evaluation (CONFIG_GAP drivers)\n\nEvaluate Audit Manager settings and assessment configuration. Any missing\nsetting is a governance gap. → **CONFIG_GAP**.\n\n| Setting | Missing → Finding |\n|---|---|\n| `settings.kmsKey` | No customer-managed encryption — framework encryption-ownership control unsupported |\n| `settings.snsTopic` | No notification wiring — collection-complete and attention events silently dropped |\n| `settings.defaultAssessmentReportsDestination` | Cannot generate assessment reports — `generate-assessment-report` will fail |\n| `settings.defaultProcessOwners` (empty) | No designated evidence reviewers — `UNDER_REVIEW` controls pile up with no owner |\n| `assessment.assessmentReportsDestination` (assessment-level, unset) | Per-assessment report destination absent (settings default not inherited) |\n\nIf ALL settings are configured, proceed to Step 4.\n\n### Step 4: Aggregation — worst verdict wins\n\nThe verdict priority is fixed (worst-first):\n\n```text\nverdict = first_match(\n    any Step 1 condition  -> INCOMPLETE_EVIDENCE,\n    any Step 2 condition  -> LOW_COMPLIANCE,\n    any Step 3 condition  -> CONFIG_GAP,\n    otherwise             -> OK\n)\n```\n\nIf no findings (evidence complete, compliance ≥ 60%, all settings\nconfigured, scope covers the estate), the verdict is **OK**.\n\n## Output format (per assessment)\n\n```text\nASSESSMENT: \u003Cassessment-id or name>\nFRAMEWORK: \u003Cframework name>\nVERDICT: INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and its step number>\nCONTROL BREAKDOWN:\n  total: \u003CN>, PASS: \u003Cn>, FAIL: \u003Cn>, NOT_ASSESSED: \u003Cn>, MANUAL: \u003Cn>, UNDER_REVIEW: \u003Cn>\n  compliance%: \u003CPASS \u002F total * 100, one decimal>\nFINDINGS:\n  - [\u003Cseverity note>] \u003Cfinding description (Step Na)>\n  - [\u003Cseverity note>] \u003Cfinding description (Step Nb)>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n**JSON-equivalent schema** (for runtimes that prefer structured output):\n\n```json\n{\n  \"assessment\": \"str (id or ARN)\",\n  \"framework\": \"str\",\n  \"verdict\": \"INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK | ERROR\",\n  \"reason\": \"str (worst finding + step number)\",\n  \"control_breakdown\": {\n    \"total\": \"int\", \"PASS\": \"int\", \"FAIL\": \"int\",\n    \"NOT_ASSESSED\": \"int\", \"MANUAL\": \"int\", \"UNDER_REVIEW\": \"int\",\n    \"compliance_pct\": \"float\"\n  },\n  \"findings\": [{\"severity\": \"str\", \"description\": \"str\", \"step\": \"str\"}],\n  \"remediation\": [\"str\"]\n}\n```\n\n### Worked example — stopped assessment with high NOT_ASSESSED\n\n```text\nASSESSMENT: arn:aws:auditmanager:us-east-1:111111111111:assessment\u002Fstopped-assessment\nFRAMEWORK: SOC 2\nVERDICT: INCOMPLETE_EVIDENCE\nREASON: Assessment status is INACTIVE (stopped) since 2026-02-14 — no new\nevidence collected for ~6 months; additionally 42% of controls are\nNOT_ASSESSED, indicating the Config\u002FCloudTrail data sources were broken\nbefore the assessment was stopped (Steps 1a, 1b).\nCONTROL BREAKDOWN:\n  total: 312, PASS: 98, FAIL: 41, NOT_ASSESSED: 131, MANUAL: 30, UNDER_REVIEW: 12\n  compliance%: 31.4\nFINDINGS:\n  - [STALE] Assessment status INACTIVE since 2026-02-14; compliance score frozen (Step 1a)\n  - [COLLECTION BREAK] NOT_ASSESSED 131\u002F312 (42%) — data-source break suspected (Step 1b)\n  - [CONFIG] No Config recorder status provided — verify in each in-scope account\nREMEDIATION:\n  1. Verify data sources: `aws configservice describe-configuration-recorder-status`\n     and `aws cloudtrail describe-trails` for each in-scope account.\n  2. Reactivate: `aws auditmanager update-assessment-status --assessment-id \u003Cid> --status ACTIVE`.\n  3. Re-baseline the compliance % after a full collection cycle (~24h).\n```\n\n## Edge-case handling\n\nEdge cases — \u003C 24h warm-up, borderline mixed distribution, MANUAL-heavy frameworks, settings vs assessment-level overrides, single-account org, COMPLETE delegation with evidenceInsufficient: [Advanced patterns](references\u002Fadvanced-patterns.md).\nAPI failure, pagination fallback, and partial-success data-source fan-out (scoped [UNVERIFIED] findings, verified-subset classification, > 25% unverified escalation): [Error handling](references\u002Ferror-handling.md).\n\n## Anti-Patterns — NEVER\n\n- NEVER report LOW_COMPLIANCE when the NOT_ASSESSED ratio is > 30%. The\n  low compliance % in that case is a symptom of a broken data source, not\n  of failing controls. The correct verdict is INCOMPLETE_EVIDENCE; the\n  remediation is to repair Config\u002FCloudTrail, not to chase failing\n  controls. Conflating the two wastes the operator's time on the wrong\n  fix.\n\n- NEVER treat an INACTIVE (stopped) assessment's compliance % as current.\n  The number is frozen at stop time. Reporting it as if live is a\n  material misrepresentation in a compliance context. Always cite the\n  `lastUpdated` age and classify as INCOMPLETE_EVIDENCE (Step 1a).\n\n- NEVER assume an ACTIVE assessment is collecting evidence. Status ACTIVE\n  only means Audit Manager is \"trying\" to collect — if Config or\n  CloudTrail is off in an in-scope account, the collection silently\n  produces nothing and controls fall to NOT_ASSESSED. Always cross-check\n  the data-source status (Step 1b) before trusting ACTIVE.\n\n- NEVER flag `MANUAL` controls as failures. MANUAL is a control-design\n  choice (non-automatable), not a defect. Flag the LACK of a review\n  pipeline (empty `defaultProcessOwners`) as CONFIG_GAP, not the MANUAL\n  controls themselves.\n\n- NEVER recommend deleting an assessment as remediation without\n  confirming no active compliance period depends on its retained\n  evidence. Deletion permanently removes evidence within 90 days. The\n  safe path is `update-assessment-status --status INACTIVE` (preserve) or\n  reactivate.\n\n- NEVER recommend generating an assessment report when\n  `defaultAssessmentReportsDestination` (settings or assessment-level) is\n  unset. `generate-assessment-report` will fail. Remediate the\n  destination first, then generate.\n\n- NEVER treat a brand-new assessment (\u003C 24 hours old) with high\n  NOT_ASSESSED as INCOMPLETE_EVIDENCE. The first evidence-collection\n  cycle has not completed. This is a false positive.\n\n- NEVER downgrade the verdict because the framework is custom (not\n  AWS-managed PCI\u002FHIPAA\u002FSOC2). Custom frameworks are audited identically.\n  The verdict is data-driven, not framework-driven.\n\n- NEVER ignore a `FAILED` delegation. A delegation that FAILED is a\n  collection break for its scoped accounts — the evidence for those\n  accounts is missing regardless of the overall NOT_ASSESSED ratio. Fire\n  Step 1c.\n\n- NEVER assume a stalled `IN_PROGRESS` delegation is a network blip.\n  Delegations to a member account require that account to (a) be in the\n  same AWS Organization, (b) have Audit Manager enabled, and (c) carry\n  the `AWSServiceRoleForAuditManager` service-linked role plus\n  `iam:CreateServiceLinkedRole` permission. A delegation older than the\n  assessment's `creationTime` is almost always a missing-SLR or\n  removed-from-org condition, not a retryable API fault — re-sending the\n  delegation without fixing the member account burns another 7-day wait.\n\n- NEVER confuse `get-account-status` (Audit Manager registration) with\n  assessment `status` (ACTIVE\u002FINACTIVE). The account-status `status`\n  reflects whether Audit Manager is enabled for the account; the\n  assessment `status` reflects whether a specific assessment is running.\n  A registered account can have all assessments INACTIVE.\n\n- NEVER suppress CONFIG_GAP findings (missing KMS \u002F SNS \u002F reports\n  destination \u002F process owners) just because the verdict is already\n  INCOMPLETE_EVIDENCE. An INACTIVE assessment is usually reactivated\n  later, and a settings gap silently degrades the next compliance\n  period the moment it goes ACTIVE again. Surface the settings gap in\n  FINDINGS even though the VERDICT line collapses to the worst — the\n  operator fixes both in one pass.\n\n- NEVER proceed with classification when only a subset of data-source\n  checks succeed. Each unchecked account × region is a Step 1b\n  collection break for that perimeter — emit a scoped finding per\n  unverified scope (`[UNVERIFIED] Config status for account X in region\n  Y not retrievable — treat as suspected collection break`), classify on\n  what you verified, and explicitly note in REASON that the verdict\n  confidence is reduced. If > 25% of the in-scope perimeter is\n  unverified, escalate the verdict to INCOMPLETE_EVIDENCE regardless of\n  the visible NOT_ASSESSED ratio — averaging over a partial perimeter\n  hides the worst accounts.\n\n- NEVER retry a `ThrottlingException` past 4 attempts without\n  exponential backoff + jitter. Audit Manager throttles at the account\n  level via a token-bucket limiter; the AWS SDK default (4 retries with\n  backoff) is the safe ceiling. Blind retries in a tight loop widen the\n  throttle window for every other consumer of the account and can push\n  the limiter into a multi-minute cooldown. If still throttled after the\n  SDK budget is exhausted, escalate as a Service Quota increase\n  (`auditmanager:GetAssessment`, `auditmanager:ListAssessments`,\n  `auditmanager:ListDelegations` per account\u002Fregion) — re-calling the\n  API is not a fix.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing operation\n  (`update-assessment-status`, `delete-assessment`,\n  `update-settings`, `generate-assessment-report`), the auditor MUST emit:\n  `CONFIRM: About to \u003Caction> on assessment \u003Cid> in account \u003Caccount>.\n  This affects \u003Cconsequence>. Proceed? (yes\u002Fno)`. Do NOT execute the CLI\n  command until the operator confirms.\n- Before reactivating a stopped assessment, confirm no replacement\n  assessment was created in the interim. Two ACTIVE assessments on the\n  same framework double-collect and can confuse the compliance picture.\n- Before changing account `settings`, capture the current settings for\n  rollback: `aws auditmanager get-settings --region \u003Cr> --output json >\n  \u002Ftmp\u002Fauditmanager-settings-backup-$(date +%s).json`. Settings changes\n  apply to ALL assessments in the account.\n- Before deleting an assessment, verify no active compliance period\n  (audit, examination window) depends on its evidence. Deletion is\n  irreversible after 90 days. **For `delete-assessment` specifically,\n  require a SECOND confirmation** — single CONFIRM is insufficient for\n  an irreversible bulk-evidence-destruction operation. Emit:\n  `CONFIRM (2 of 2): Deleting assessment \u003Cid> permanently removes all\n  collected evidence after 90 days. This cannot be undone. Type the\n  assessment id verbatim to proceed:`. Only execute the CLI when the\n  operator echoes the assessment id character-for-character. For\n  `update-assessment-status` (reversible) and `update-settings`\n  (reversible with backup), single CONFIRM is sufficient.\n- Prefer additive changes (set a missing KMS key, add process owners)\n  over destructive changes (delete an assessment). Additive changes are\n  reversible; destructive changes are not.\n- Verify the caller's role has `auditmanager:UpdateAssessmentStatus` \u002F\n  `UpdateSettings` before emitting remediation CLI — most read-only\n  auditor roles CANNOT, and the command will fail with `AccessDenied`.\n  Surface this before the operator approves.\n\n## Remediation guidance\n\nFull per-verdict remediation playbooks with CLI (INCOMPLETE_EVIDENCE 1a\u002F1b\u002F1c\u002F1d, LOW_COMPLIANCE, CONFIG_GAP, OK): [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## Reference — operational gotchas (NOT in AWS docs)\n\nOperational gotchas NOT in AWS docs — SLR deletion stalls delegations, insights complianceScore denominator, framework version immutability, INACTIVE evidence storage cost, deprecated `state` field, insights vs get-assessment control counts, Config→Audit Manager propagation latency: [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features (2024-2026): none affecting the audit surface as of 2026-08 — see [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## References (load on demand)\n\n- [Advanced patterns](references\u002Fadvanced-patterns.md) — Step-0 expert behaviours, edge-case catalog, per-verdict remediation playbooks, operational gotchas not in AWS docs, recent AWS features\n- [Error handling](references\u002Ferror-handling.md) — malformed-snapshot and API-failure ERROR blocks, pagination fallback, partial-success fan-out handling\n\n## Domain\n\nAWS CloudOps \u002F Audit Manager Governance & Compliance Evidence Integrity.\n\n## AWS documentation\n\n- **AWS Audit Manager User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faudit-manager\u002Flatest\u002Fuserguide\u002Fwhat-is.html\n- **Audit Manager Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faudit-manager\u002Flatest\u002Fuserguide\u002Fsecurity.html\n- **Audit Manager API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faudit-manager\u002Flatest\u002FAPIReference\u002F\n- **Audit Manager CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fauditmanager\u002F\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":40},{"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,"when_not_to_use":37,"invocation_schema":38,"supports_pipeline":35,"activation_triggers":39},"auditmanager, governance, compliance, evidence-collection, delegation, config, cloudtrail, audit","2","Jacky Chan — AWS Community Builder","aws-cloudops","Governance","0.1.0","Audit Manager, assessment, compliance, evidence collection, framework, control compliance, NOT_ASSESSED, delegation, AWS Config, CloudTrail, INACTIVE assessment, stopped assessment, defaultProcessOwners, kmsKey, assessment reports destination, SNS topic, scope, SOC 2, PCI DSS, HIPAA, control response, governance audit","high","false","Reviewing an Audit Manager assessment before generating a compliance report, validating that evidence collection is trustworthy (not stale or data-source-broken), checking whether a stopped\u002FINACTIVE assessment is producing a false compliance picture, auditing Audit Manager account settings (KMS key, SNS topic, reports destination, process owners), or scoping an assessment against the full organisation estate.","true","INCOMPLETE_EVIDENCE | LOW_COMPLIANCE | CONFIG_GAP | OK","Do NOT invoke for AWS Config conformance-pack evaluation, Security Hub finding triage, or generic IAM-policy review — these have their own auditors. Do NOT invoke if the caller only wants a compliance-score dashboard (use the Audit Manager console); this skill emits findings and remediation, not a score widget.","Input: either (a) an assessment snapshot with required fields — assessment.id (str, ARN), assessment.name (str), assessment.status (\"ACTIVE\"|\"INACTIVE\"), assessment.creationTime (ISO-8601), assessment.lastUpdated (ISO-8601), scope.awsAccounts (list[accountId]), scope.awsServices (list[serviceName]), controlSets[].controls[].response (\"PASS\"|\"FAIL\"|\"NOT_ASSESSED\"| \"MANUAL\"|\"UNDER_REVIEW\"), settings.kmsKey (str|\"\"), settings.snsTopic (str|\"\"), settings.defaultAssessmentReportsDestination (s3Uri|\"\"), settings.defaultProcessOwners (list[roleArn]) — plus optional dataSources.configRecorders (per account × region, recording bool), dataSources.cloudTrails (per region, IncludeManagementEvents bool), delegations[].status (\"IN_PROGRESS\"|\"COMPLETE\"|\"FAILED\") and delegations[].creationTime; OR (b) assessmentId (str) for live-account audit. Output: deterministic block per assessment — ASSESSMENT (id), FRAMEWORK (str), VERDICT (\"INCOMPLETE_EVIDENCE\"|\"LOW_COMPLIANCE\"| \"CONFIG_GAP\"|\"OK\"), REASON (1-2 sentences citing worst finding + step number), CONTROL BREAKDOWN (total, PASS, FAIL, NOT_ASSESSED, MANUAL, UNDER_REVIEW, compliance%), FINDINGS (list[finding]), REMEDIATION (list[action]).","audit this Audit Manager assessment, is my assessment evidence complete, check assessment compliance, stopped assessment stale evidence, Audit Manager settings, assessment delegation pending, NOT_ASSESSED controls, assessment scope gap, compliance report readiness, Audit Manager config gap","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline config-snapshot classification. Live-account audits use aws auditmanager get-assessment, get-settings, get-account-status, list-assessments, list-delegations, and list-assessment-control-insights-by-control-domain (AWS CLI v2, SSO or key-based credentials). AWS Config and CloudTrail status are read via aws configservice describe-configuration-recorder-status and aws cloudtrail...","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fauditmanager-assessment-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":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill auditmanager-assessment-auditor",{"tool":55,"command":56},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill auditmanager-assessment-auditor",{"tool":58,"command":59},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill auditmanager-assessment-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002FSKILL.md",true,[63,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",10043,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Feval\u002Ftest-cases.yaml",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"evals\u002Fbaselines\u002Fconfig-recording-off-incomplete.md",901,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fbaselines\u002Fconfig-recording-off-incomplete.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"evals\u002Fbaselines\u002Fhealthy-assessment-ok.md",852,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fbaselines\u002Fhealthy-assessment-ok.md",{"path":78,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":79,"sourceHtmlUrl":80},"evals\u002Fbaselines\u002Flow-compliance-failures.md",833,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fbaselines\u002Flow-compliance-failures.md",{"path":82,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":83,"sourceHtmlUrl":84},"evals\u002Fbaselines\u002Fmissing-kms-sns-config-gap.md",884,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fbaselines\u002Fmissing-kms-sns-config-gap.md",{"path":86,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":87,"sourceHtmlUrl":88},"evals\u002Fbaselines\u002Fno-process-owners-config-gap.md",842,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fbaselines\u002Fno-process-owners-config-gap.md",{"path":90,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":91,"sourceHtmlUrl":92},"evals\u002Fbaselines\u002Fstopped-assessment-incomplete.md",904,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fbaselines\u002Fstopped-assessment-incomplete.md",{"path":94,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":95,"sourceHtmlUrl":96},"evals\u002Feval_config.yaml",1975,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Feval_config.yaml",{"path":98,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":99,"sourceHtmlUrl":100},"evals\u002Fevals.json",5273,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fevals.json",{"path":102,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":103,"sourceHtmlUrl":104},"evals\u002Fprompts\u002Fconfig-recording-off-incomplete.md",1218,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fprompts\u002Fconfig-recording-off-incomplete.md",{"path":106,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":107,"sourceHtmlUrl":108},"evals\u002Fprompts\u002Fhealthy-assessment-ok.md",1283,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fprompts\u002Fhealthy-assessment-ok.md",{"path":110,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":111,"sourceHtmlUrl":112},"evals\u002Fprompts\u002Flow-compliance-failures.md",1129,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fprompts\u002Flow-compliance-failures.md",{"path":114,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":115,"sourceHtmlUrl":116},"evals\u002Fprompts\u002Fmissing-kms-sns-config-gap.md",1041,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fprompts\u002Fmissing-kms-sns-config-gap.md",{"path":118,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":119,"sourceHtmlUrl":120},"evals\u002Fprompts\u002Fno-process-owners-config-gap.md",1108,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fprompts\u002Fno-process-owners-config-gap.md",{"path":122,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":123,"sourceHtmlUrl":124},"evals\u002Fprompts\u002Fstopped-assessment-incomplete.md",1198,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fevals\u002Fprompts\u002Fstopped-assessment-incomplete.md",{"path":126,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":127,"sourceHtmlUrl":128},"examples\u002Fend-to-end.md",4022,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fexamples\u002Fend-to-end.md",{"path":130,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":131,"sourceHtmlUrl":132},"references\u002Fadvanced-patterns.md",18300,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Freferences\u002Fadvanced-patterns.md",{"path":134,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":135,"sourceHtmlUrl":136},"references\u002Ferror-handling.md",3110,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Freferences\u002Ferror-handling.md",{"path":138,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":139,"sourceHtmlUrl":140},"skill.usf.yaml",4262,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fauditmanager-assessment-auditor\u002Fskill.usf.yaml",[142,149,156,163,170,177],{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"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":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"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":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"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":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"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":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"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":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"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",[],[]]