[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A8Y7S1PY344CS3BEB5KFGX":3,"skill-same:01M7A8Y7S1PY344CS3BEB5KFGX":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},"01M7A8Y7S1PY344CS3BEB5KFGX","health-event-auditor",null,"Audits AWS Health for active (open) issue events, upcoming scheduled changes, affected-resource entity status, closed-event resolution, Health Dashboard organization-view enablement, and EventBridge aws.health integration. Emits a deterministic verdict (UNRESOLVED_EVENT | SCHEDULED_CHANGE | CONFIG_GAP | OK) per event or per account\u002Forg scope with enumerated findings and specific CLI remediation. Use when reviewing AWS Health events, validating Health Organizational View coverage, diagnosing affected-resource entity status, checking scheduled-change deadlines, auditing EventBridge Health-event wiring, or assessing overall Health posture before an operational review or incident triage.","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\u002Fhealth-event-auditor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: health-event-auditor\ndescription: Audits AWS Health for active (open) issue events, upcoming scheduled changes, affected-resource entity status, closed-event resolution, Health Dashboard organization-view enablement, and EventBridge aws.health integration. Emits a deterministic verdict (UNRESOLVED_EVENT | SCHEDULED_CHANGE | CONFIG_GAP | OK) per event or per account\u002Forg scope with enumerated findings and specific CLI remediation. Use when reviewing AWS Health events, validating Health Organizational View coverage, diagnosing affected-resource entity status, checking scheduled-change deadlines, auditing EventBridge Health-event wiring, or assessing overall Health posture before an operational review or incident triage.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline event-document classification. Live-account audits use aws health describe-events, describe-affected- entities, describe-entity-aggregates, describe-health-service-status-for- organization, and aws events list-rules (AWS CLI v2, SSO or key-based credentials, Business\u002FEnterprise\u002FEnterprise On-Ramp support required for the Health API itself).\nmetadata:\n  domain: aws-cloudops\n  complexity: medium\n  requires_llm: 'true'\n  phase: '2'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Management\n  verdict_shape: UNRESOLVED_EVENT | SCHEDULED_CHANGE | CONFIG_GAP | OK\n  when_to_use: Reviewing AWS Health events before an operational review or incident triage, validating Health Organizational View coverage, diagnosing affected-entity statusCode (IMPAIRED\u002FRESOLVED), checking scheduled-change deadlines, auditing EventBridge aws.health rule wiring, or assessing overall Health posture across an account or organization.\n  activation_triggers: audit AWS Health events, check Health Dashboard, ongoing Health events, scheduled change deadline, EC2 instance retirement, affected entities impaired, is Health Organizational View enabled, EventBridge aws.health rule, Personal Health Dashboard, AWS Health posture\n  invocation_schema: 'Input: either (a) one or more AWS Health event records (JSON or text, including eventArn, eventTypeCategory, eventStatus, service, eventTypeCode, startTime, lastUpdatedTime, eventScopeCode, and the affected-entity list with statusCode), optionally paired with account posture (support tier, Health Org View status, EventBridge rule inventory), OR (b) a request to audit live Health posture (the auditor invokes aws health describe-events and the supporting API surface). Output: deterministic EVENT\u002FVERDICT\u002FREASON\u002FFINDINGS\u002FREMEDIATION block per event (or per account\u002Forg scope for CONFIG_GAP), where VERDICT is in {UNRESOLVED_EVENT, SCHEDULED_CHANGE, CONFIG_GAP, OK}.'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: AWS Health, Health Dashboard, Health API, Personal Health Dashboard, scheduled change, account event, ongoing event, affected entities, entity status, IMPAIRED, UNIMPAIRED, RESOLVED, open event, upcoming event, closed event, eventTypeCategory, scheduledChange, accountNotification, issue, AWS_EC2_INSTANCE_RETIREMENT_SCHEDULED, retirement scheduled, degraded performance, operational event, EventBridge, aws.health, default-rule-Health, Organizational View, healthServiceAccessStatusForOrganization, delegated administrator, Business Support, Enterprise Support, Basic Support, SubscriptionRequiredException, Health event audit, operational readiness\n  tags: aws-health, health-dashboard, eventbridge, management, governance, audit, incident, scheduled-change, organizational-view\n---\n\n# AWS Health Event Auditor\n\n## Mindset\n\n**One-line takeaway:** the verdict is always the **worst** finding across\nall dimensions, and three AWS Health behaviours are easy to misjudge —\nentity-level status diverges from event-level status (an `open` event can\nhide `RESOLVED` entities and vice versa), `eventTypeCategory` drives\nclassification (`issue` vs `scheduledChange` vs `accountNotification`),\nand Health API access is gated by **support tier** in a way nothing else\nin AWS is.\n\nAWS Health is the canonical source for operational events that affect\n*your* resources specifically — region-wide outages are public, but the\nevent that says \"host underlying instance i-abc123 will be retired on\nThursday\" is account-scoped. The audit goal is to convert a list of\nHealth events into a deterministic action signal:\n\n- An **open `issue`** with any `IMPAIRED` entity is **UNRESOLVED_EVENT**\n  — the system is still being impacted. The work is not done until the\n  last entity reports `RESOLVED`.\n- An **upcoming `scheduledChange`** is **SCHEDULED_CHANGE** — a deadline\n  exists and an action (stop\u002Fstart, patch, reboot, drain) is required\n  before it. `lastUpdatedTime` is when AWS last touched the record, not\n  the deadline — `startTime` IS the deadline for scheduled changes.\n- A missing **Health Organizational View** or a missing **EventBridge\n  `aws.health` rule** is **CONFIG_GAP** — events may be arriving but\n  nothing is consuming them, or you can only see one account out of N.\n\n## Quick reference — severity thresholds\n\n| Condition | Verdict | Step |\n|---|---|---|\n| `eventTypeCategory: issue` AND `eventStatus: open` AND any affected entity `statusCode: IMPAIRED` | **UNRESOLVED_EVENT** | Step 1 |\n| `eventTypeCategory: issue` AND `eventStatus: open` AND any entity `statusCode: UNKNOWN` (status not yet reported) | **UNRESOLVED_EVENT** | Step 1 |\n| `eventTypeCategory: scheduledChange` AND `eventStatus: upcoming` (deadline `startTime` in the future) | **SCHEDULED_CHANGE** | Step 2 |\n| AWS Organization with >1 account AND `healthServiceAccessStatusForOrganization: disabled` | **CONFIG_GAP** | Step 3a |\n| Zero EventBridge rules matching `Source: aws.health` on the default bus | **CONFIG_GAP** | Step 3b |\n| `eventStatus: closed` AND all affected entities `statusCode: RESOLVED` (or `UNIMPAIRED`) | **OK** | Step 4 |\n| No active (open\u002Fupcoming) events AND no config gaps | **OK** | Step 4 |\n| Account support tier Basic\u002FDeveloper (Health API not callable) | **CONFIG_GAP** | Step 0 |\n\nVerdicts are mutually exclusive per audited scope: an event-level audit\nemits one verdict per event; an account\u002Forg-scope audit emits one verdict\nfor the whole scope, aggregated worst (UNRESOLVED_EVENT > SCHEDULED_CHANGE\n> CONFIG_GAP > OK).\n\n## Pre-flight: account-posture gate (run before event classification)\n\nBefore classifying any event, classify the account posture. Several\nfactors **short-circuit** the audit — missing them produces false\n\"healthy\" verdicts that hide the actual gap.\n\n**Live-account pre-flight checks (skip for offline event-doc audit):**\n1. Verify the caller's role has `health:DescribeEvents` and\n   `health:DescribeAffectedEntities`. Most read-only auditor roles do;\n   cross-account delegated-administrator roles frequently do NOT — verify\n   the delegated admin was registered for `health.amazonaws.com` via\n   `aws organizations list-delegated-administrators --service-principal\n   health.amazonaws.com`. Surface a missing delegation BEFORE attempting\n   org-wide enumeration.\n2. All Health API calls go to **us-east-1**, regardless of where the\n   affected resources live. The `region` field in the event describes the\n   resource, not the API endpoint. A call to `aws health describe-events\n   --region us-west-2` returns empty results, not an error — silently\n   reporting \"no events\" when there are open events in other regions.\n3. `aws health describe-health-service-status-for-organization` returns\n   `healthServiceAccessStatusForOrganization`. The field reads `enabled`\n   only AFTER the management account has called\n   `enable-health-service-access-for-organization` at least once. A\n   delegated administrator CANNOT enable org view — only the management\n   account can. Treating \"delegated admin configured\" as equivalent to\n   \"org view enabled\" is a false-OK.\n\n| Posture attribute | Value | Effect on audit |\n|---|---|---|\n| Support plan | `Basic` \u002F `Developer` | **Health API not callable.** `describe-events` returns `SubscriptionRequiredException`. The operator can still see Health events in the AWS Health Dashboard console (read-only), but no programmatic audit is possible. Output VERDICT: CONFIG_GAP with REMEDIATION \"Upgrade to Business\u002FEnterprise\u002FEnterprise On-Ramp for Health API access, or audit manually via the Health Dashboard.\" Do NOT attempt to classify events from a Basic-tier account via API. |\n| Support plan | `Business` \u002F `Enterprise On-Ramp` \u002F `Enterprise` | Health API is callable. Proceed. |\n| AWS Organization | present (>1 account) | Org-view audit applies. Check `healthServiceAccessStatusForOrganization`. |\n| AWS Organization | absent (standalone account) | Skip org-view check (Step 3a). Account-only audit. |\n| `healthServiceAccessStatusForOrganization` | `enabled` | Org view is active — `describe-events` with `--aws-account-id` and `describe-entity-aggregates` work org-wide. |\n| `healthServiceAccessStatusForOrganization` | `disabled` \u002F `pending` \u002F absent | Org view NOT active — you can only audit the calling account. Any account-scope audit of an org with >1 account is **CONFIG_GAP**. |\n| EventBridge rules on default bus matching `Source: aws.health` | zero | **CONFIG_GAP** — events are delivered to the default event bus but no rule consumes them. Notifications silently dropped. |\n| EventBridge rules matching `Source: aws.health` | one or more | Proceed — at least one rule exists. Verify it has an active target (Step 3b detail). |\n| API region | not `us-east-1` | **Silent empty-result trap.** Re-run all Health API calls against us-east-1. |\n\n**If the input is malformed** (not valid JSON, missing `eventArn`,\nmissing `eventTypeCategory` or `eventStatus`), output:\n\n```text\nEVENT: \u003CeventArn or \"unknown\">\nVERDICT: ERROR\nREASON: Health event record is malformed — missing required fields\n(eventTypeCategory \u002F eventStatus). Cannot classify.\nREMEDIATION: Re-fetch the canonical record with\n`aws health describe-events --filter \u003Ccriteria> --region us-east-1\n--output json` and re-audit.\n```\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Step 0: Account-posture gate (mandatory for any audit)\n\nApply the pre-flight gate. If the support tier is Basic\u002FDeveloper, emit\n**CONFIG_GAP** and stop — there is no programmatic audit surface. If the\nAPI region is wrong, fail closed with an explicit note. If an\nOrganization is present and org view is `disabled`, emit **CONFIG_GAP**\n(Step 3a) regardless of whether individual events are also flagged.\n\n### Step 1: Open issue events with impaired entities — UNRESOLVED_EVENT\n\nFor each event with `eventTypeCategory: issue` AND `eventStatus: open`:\n\n1. Fetch the affected entities (`aws health describe-affected-entities\n   --filter eventArn=\u003Carn>`). Page until `nextToken` is exhausted —\n   `describe-affected-entities` caps at 100 per page and silently\n   truncates. A region-wide event can have thousands of entities.\n2. Inspect each entity's `statusCode`. The set is `IMPAIRED`,\n   `UNIMPAIRED`, `RESOLVED`, `UNKNOWN` (legacy events may use\n   `UNHEALTHY`\u002F`HEALTHY` — treat `UNHEALTHY` as `IMPAIRED` and `HEALTHY`\n   as `UNIMPAIRED`).\n3. If ANY entity is `IMPAIRED` OR `UNKNOWN`, the event is\n   **UNRESOLVED_EVENT**. The presence of `RESOLVED` entities does not\n   cancel the impaired ones — the event cannot be OK until every entity\n   reports `RESOLVED`\u002F`UNIMPAIRED`.\n4. If ALL entities are `RESOLVED` or `UNIMPAIRED` but `eventStatus` is\n   still `open`, classify as **UNRESOLVED_EVENT** with REMEDIATION noting\n   that AWS has not yet closed the event — escalate via Support if the\n   entities are confirmed healthy.\n\n**Expert note — entity vs event status divergence:** `eventStatus` is\nthe AWS-side aggregate, `statusCode` is the per-entity truth. AWS may\nclose an event (`eventStatus: closed`) while one entity is still\n`IMPAIRED` (rare but happens during incident recovery). Conversely, an\n`open` event with all `RESOLVED` entities is \"waiting for AWS to close\"\n— still UNRESOLVED_EVENT but the action is \"verify and request closure,\"\nnot \"fix the resource.\" The entity-level status is authoritative for\nimpact; the event-level status is authoritative for closure workflow.\n\n### Step 2: Upcoming scheduled changes — SCHEDULED_CHANGE\n\nFor each event with `eventTypeCategory: scheduledChange` AND\n`eventStatus: upcoming`:\n\n1. Extract `startTime` — this IS the deadline. (Not `lastUpdatedTime`,\n   which is when AWS last modified the record.) For\n   `AWS_EC2_INSTANCE_RETIREMENT_SCHEDULED`, `startTime` is the start of\n   the retirement window. For `AWS_LAMBDA_RUNTIME_DEPRECATION`, it is the\n   deprecation date.\n2. Compare deadline to current time. If deadline is within 7 days,\n   severity escalation: append a **DEADLINE_URGENT** note to FINDINGS.\n3. Identify the documented action. AWS Health scheduled-change events\n   include an event description with the prescribed action (e.g., \"stop\n   and start the instance to migrate to a new host\"). Surface the action\n   verb in REMEDIATION — do not invent actions AWS has not documented.\n4. Classify as **SCHEDULED_CHANGE**. The verdict is the same regardless\n   of deadline urgency; urgency is a FINDINGS detail, not a separate\n   verdict.\n\n**Expert note — `upcoming` vs `closed` for scheduled changes:** a\nscheduled change with `eventStatus: closed` has been applied by AWS\n(instance retired, runtime deprecated). The window for proactive action\nhas passed. Classify such events via Step 4 (closed events) — typically\nOK if the post-change state is healthy, but flag if the action was\nforced and the resource is now in an unintended state.\n\n### Step 3: Configuration gaps — CONFIG_GAP\n\nConfiguration gaps are account\u002Forg-scope findings, not event-scope. They\nindicate the audit surface itself is broken: events exist but nothing\nconsumes them, or you can only see a slice of the surface.\n\n#### Step 3a: Health Organizational View disabled\n\nIf the account is the management account of an AWS Organization with\nmore than one member account AND\n`healthServiceAccessStatusForOrganization` is anything other than\n`enabled` (commonly `disabled` or absent), emit **CONFIG_GAP**.\n\n- The org view is enabled ONCE from the management account via\n  `aws health enable-health-service-access-for-organization`. It is NOT\n  a per-member toggle.\n- A delegated administrator\n  (`aws organizations register-delegated-administrator\n  --service-principal health.amazonaws.com`) can READ org-wide events\n  but CANNOT enable org view. The enable call must come from the\n  management account. Treating delegated-admin setup as equivalent to\n  org-view enablement is the most common false-OK.\n- Until org view is enabled, the auditor must enumerate each member\n  account individually (assuming the caller's role can assume into each)\n  — at scale this is impractical and misses accounts. The gap is real.\n\n#### Step 3b: Missing EventBridge aws.health rule\n\nIf the default event bus has zero rules whose `EventPattern` matches\n`\"source\": [\"aws.health\"]` (case-sensitive — `\"aws.health\"` not\n`\"AWS.Health\"`), emit **CONFIG_GAP**.\n\n- AWS Health delivers events only to the **default event bus** in each\n  account (and, with org view enabled, in each member account). Custom\n  buses do not receive Health events.\n- AWS auto-creates a default rule (`default-rule-Health-\u003Crandom>`) in\n  accounts created after ~2020. Older accounts may not have it. Do NOT\n  assume its presence — verify with `aws events list-rules`.\n- A rule without an active target is equivalent to no rule (events are\n  matched and dropped). For each matching rule, also check\n  `aws events list-targets-by-rule --rule \u003Cname>` — a rule with zero\n  targets or all-disabled targets is a CONFIG_GAP.\n- The `health.amazonaws.com` service principal must be authorized in\n  the event bus policy (`aws events describe-event-bus --name default`)\n  via a statement allowing `events:PutEvents`. AWS auto-creates this\n  statement when org view is enabled; without org view, the statement\n  may be absent and member-account events will be rejected.\n\n### Step 4: Closed events and clean posture — OK\n\nAn event classifies as **OK** only when ALL of:\n\n1. `eventStatus: closed` (the AWS-side lifecycle is complete).\n2. Every affected entity has `statusCode: RESOLVED` or `UNIMPAIRED`.\n3. There are no open sub-findings (e.g., the closed event is not a\n   scheduled change that was force-applied after the deadline with an\n   unintended post-state).\n\nAn account\u002Forg scope with **no** open `issue` events, **no** upcoming\n`scheduledChange` events, org view enabled (where applicable), and at\nleast one EventBridge `aws.health` rule with an active target classifies\nas **OK**.\n\n**`accountNotification` events** (informational notices — billing,\nmaintenance announcements that are not resource-impacting) default to OK\nunless they require action. Treat them as informational FINDINGS, not\nverdict drivers, unless the notice explicitly states a required action.\n\n### Step 5: Aggregation — worst finding wins\n\nThe final verdict is the **maximum severity** across all event-level\nfindings and scope-level config findings, where:\n\n```\nUNRESOLVED_EVENT > SCHEDULED_CHANGE > CONFIG_GAP > OK\n```\n\nAggregation rules:\n\n- An account-scope audit over many events takes the worst event verdict.\n- A CONFIG_GAP from posture (Step 0 or Step 3) does NOT suppress an\n  UNRESOLVED_EVENT — both are findings; the verdict is the worst, the\n  FINDINGS list contains both.\n- An OK closed event in the same scope as an UNRESOLVED_EVENT does not\n  dilute the verdict — list the OK as a positive FINDING, but the scope\n  verdict remains UNRESOLVED_EVENT.\n\n## Output format (per event or per scope)\n\n```text\nEVENT: \u003CeventArn, or \"account: \u003Cid>\" \u002F \"org: \u003Cid>\" for scope audits>\nVERDICT: UNRESOLVED_EVENT | SCHEDULED_CHANGE | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and its step number>\nFINDINGS:\n  - [UNRESOLVED_EVENT] \u003Cfinding description (Step N)>\n  - [CONFIG_GAP] \u003Cfinding description (Step N)>\n  - [OK] \u003Cdimension that passed>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n### Worked example — open issue with mixed entity statuses\n\n```text\nEVENT: arn:aws:health:us-east-1::event\u002FAWS_RDS\u002FAWS_RDS_OPERATIONAL_EVENT\u002Fprod-incident\nVERDICT: UNRESOLVED_EVENT\nREASON: Open issue event with one of three affected entities still\nIMPAIRED — the incident is partially recovered but not closed (Step 1).\nFINDINGS:\n  - [UNRESOLVED_EVENT] Entity db-prod-c is IMPAIRED while db-prod-a and\n    db-prod-b are RESOLVED — partial recovery (Step 1)\n  - [OK] Support tier is Enterprise — Health API is callable (Step 0)\n  - [OK] Health Organizational View enabled and EventBridge aws.health\n    rule present (Step 3)\nREMEDIATION:\n  1. Confirm db-prod-c recovery:\n     aws health describe-affected-entities --filter eventArn=\u003Carn>\n     --region us-east-1\n  2. If the entity is genuinely recovered but AWS has not closed the\n     event, open a Support case referencing the eventArn.\n  3. Do NOT treat the closed-entities as evidence of overall resolution;\n     the event remains UNRESOLVED_EVENT until every entity is RESOLVED.\n```\n\n## Expert edge cases — non-obvious AWS Health behaviours\n\nThese patterns are easy to misjudge without operational Health\nexperience. Each changes a verdict if ignored.\n\nExpert edge-case catalog moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Expert edge cases — non-obvious AWS Health behaviours\n\n## Anti-Patterns — NEVER\n\n- NEVER classify an `open` issue event with an `IMPAIRED` entity as OK.\n  The event-level status is the AWS-side lifecycle; the entity-level\n  `statusCode` is the impact truth. An `open` event with one `IMPAIRED`\n  entity is UNRESOLVED_EVENT regardless of how many entities are\n  `RESOLVED`.\n\n- NEVER treat `eventStatus: closed` as automatically OK. Verify every\n  affected entity reports `RESOLVED` or `UNIMPAIRED`. AWS can close an\n  event while a late entity is still `IMPAIRED` — the operational impact\n  persists after the AWS-side closure.\n\n- NEVER confuse `startTime` with the deadline for scheduled changes.\n  `startTime` is the deadline for `scheduledChange`, the issue onset for\n  `issue` events. Mixing these up produces either false-urgent\n  (\"deadline already passed\" panic on an open issue) or false-complacent\n  (\"plenty of time\" on a scheduled change that is actually overdue).\n\n- NEVER call the Health API against any region other than us-east-1.\n  `aws health describe-events --region us-west-2` returns an empty list,\n  not an error — silently reporting \"no events\" when open events exist.\n  The `region` field in the event describes the resource, not the API\n  endpoint.\n\n- NEVER assume Health API access from the support tier. Basic and\n  Developer support plans cannot call the `health` API at all —\n  `describe-events` raises `SubscriptionRequiredException`. The Health\n  Dashboard is still console-accessible for these tiers, but no\n  programmatic audit is possible. Always gate on support tier first.\n\n- NEVER equate \"delegated administrator configured\" with \"Health\n  Organizational View enabled.\" A delegated admin can read org-wide\n  events ONLY after the management account has called\n  `enable-health-service-access-for-organization`. The delegation\n  without the enablement produces empty org-wide results.\n\n- NEVER assume the auto-created `default-rule-Health-...` EventBridge\n  rule exists. Accounts created before ~2020 may not have it. Always\n  verify with `aws events list-rules` — absence of any rule matching\n  `aws.health` is CONFIG_GAP regardless of account age.\n\n- NEVER filter EventBridge Health rules on `detail-type` alone. The\n  durable filter is `source: [\"aws.health\"]`. Detail-type names have\n  changed across Health event schema versions; source has not.\n\n- NEVER treat `PUBLIC` events as account-level UNRESOLVED_EVENT. They\n  are region-wide and surfaced in the public AWS Health Dashboard. List\n  them as informational FINDINGS; reserve UNRESOLVED_EVENT for\n  `ACCOUNT_SPECIFIC` events where the operator owns the affected\n  resource.\n\n- NEVER truncate `describe-affected-entities` pagination. The API caps\n  at 100 per page. Large events (region-wide EC2 degradation) can have\n  thousands of entities. Silently truncating at the first page misses\n  affected resources and produces a false-OK when all 100 visible\n  entities happen to be `RESOLVED` but the long tail contains\n  `IMPAIRED`.\n\n- NEVER report a closed scheduled change as actionable. A\n  `scheduledChange` with `eventStatus: closed` has been applied — the\n  window for proactive action is over. The post-change state may need\n  verification (e.g., instance successfully migrated) but the verdict is\n  driven by the post-state, not by the original change.\n\n- NEVER attempt to close or acknowledge a Health event via the API.\n  The Health API is strictly read-only. Closure is AWS-side and\n  automatic. If an event should be closed but isn't, the action is to\n  open a Support case, not to call a non-existent `health:CloseEvent`.\n\n- NEVER invent remediation actions not documented in the event\n  description. AWS Health scheduled-change events include a specific\n  prescribed action (e.g., \"stop and start the instance\"). Recommending\n  a different action (e.g., \"reboot the instance\" when AWS says\n  \"stop and start\") can leave the underlying host in the same degraded\n  state — reboot does not migrate hosts; stop\u002Fstart does.\n\n- NEVER classify an `accountNotification` as UNRESOLVED_EVENT unless it\n  explicitly states a required action. Most notifications are\n  informational (billing, planned maintenance that AWS handles). Reserve\n  UNRESOLVED_EVENT and SCHEDULED_CHANGE for issue\u002FscheduledChange\n  categories respectively.\n\n- NEVER treat the absence of `affectedAccountName` as \"no affected\n  accounts.\" The field is only populated in org-view events. In a\n  single-account audit, the account is implicit in the event ARN.\n\n- NEVER enable Health Organizational View from a delegated admin or\n  member account. The call MUST originate from the Organizations\n  management account. Emitting a remediation command targeted at the\n  wrong account produces `AccessDeniedException` and erodes operator\n  trust.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n- **Read-only Health API.** All `aws health *` calls are read-only and\n  safe to execute without confirmation. The Health namespace has no\n  mutating endpoints.\n- **Mutating remediation runs against the affected resource's own\n  service, not Health.** `aws ec2 stop-instances`, `aws rds reboot-db-\n  instance`, etc. Before any mutating command, the auditor MUST emit:\n  `CONFIRM: About to \u003Caction> on \u003Cresource-id> in account \u003Caccount>\n  region \u003Cregion>. This is the prescribed action for Health event\n  \u003CeventArn>. Proceed? (yes\u002Fno)`. Do NOT execute until the operator\n  confirms.\n- **Snap-shot the event pre-remediation:**\n  `aws health describe-affected-entities --filter eventArn=\u003Carn>\n  --region us-east-1 --output json > \u002Ftmp\u002F\u003Cevent-id>-pre-$(date +%s).json`\n  This captures the affected-entity status before the action for\n  post-remediation comparison.\n- **Verify the prescribed action** by reading the `eventDescription`\n  (`language: en_US`) BEFORE proposing a remediation command. The\n  description contains AWS's documented action verb; deviating from it\n  (e.g., reboot instead of stop\u002Fstart) can leave the underlying state\n  unchanged.\n- **For scheduled changes with deadlines within 24 hours**, treat as\n  incident-response — execute during the next maintenance window, not\n  the next sprint. Force-applied scheduled changes after the deadline\n  may produce unintended resource states (e.g., AWS retires the host\n  under your instance, producing an unexpected stop).\n- **Multi-account org-view remediation:** when an event affects\n  resources in multiple member accounts, the remediation must be run\n  per-account (assume the target account role, then run the resource's\n  service command). The Health event is the SAME eventArn — do not\n  re-fetch per account, but do execute remediation per account.\n- **EventBridge bus-policy changes** (Step 3b remediation) are\n  destructive at the policy level. Always append a statement rather\n  than replacing the policy — `aws events put-permission --event-bus-name\n  default --statement-id HealthAllow --action events:PutEvents\n  --principal health.amazonaws.com`. Replacing the entire policy can\n  revoke other service integrations.\n- **Health Organizational View enablement** is one-way in practice:\n  once enabled, disabling via\n  `disable-health-service-access-for-organization` removes org-wide\n  visibility immediately. Treat enablement as safe; treat disablement as\n  high-risk and require explicit operator confirmation.\n\n## Remediation guidance\n\n**Remediation ordering principle:** always prefer AWS-documented actions\nover inferred ones. The Health event description is authoritative for\nprescribed actions; deviating from it (e.g., reboot vs stop\u002Fstart) can\nfail silently. For config gaps, prefer additive changes (add a rule,\nadd a bus-policy statement) over destructive ones (replace policy).\n\nPer-verdict remediation command sequences moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Remediation guidance — per-verdict commands\n\n## Deep reference: AWS Health internals\n\nAWS Health internals deep reference moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Deep reference: AWS Health internals\n\n## Recent AWS features (2024-2026)\n\n2024-2026 feature notes moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Recent AWS features (2024-2026)\n\n## References (load on demand)\n\nConsult these only when the corresponding topic comes up:\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — expert edge cases (non-obvious Health behaviours), the AWS Health internals deep reference (API surface, event lifecycle, schema versions, EventBridge delivery, pagination\u002Fthrottling, support-tier matrix), and recent AWS features\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — per-verdict remediation command sequences (moved from § Remediation guidance)\n## Domain\n\nAWS CloudOps \u002F AWS Health Operational Event Management.\n\n## AWS documentation\n\n- **AWS Health User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fhealth\u002Flatest\u002Fug\u002Fwhat-is-aws-health.html\n- **AWS Health Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fhealth\u002Flatest\u002Fug\u002Fsecurity.html\n- **AWS Health API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fhealth\u002Flatest\u002FAPIReference\u002F\n- **AWS Health CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fhealth\u002F\n- **Health Aware notifications** — https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fbuild-aws-health-aware-custom-notifications-with-amazon-eventbridge-and-aws-lambda\u002F\n","# AWS Health Event Auditor\n\n## Mindset\n\n**One-line takeaway:** the verdict is always the **worst** finding across\nall dimensions, and three AWS Health behaviours are easy to misjudge —\nentity-level status diverges from event-level status (an `open` event can\nhide `RESOLVED` entities and vice versa), `eventTypeCategory` drives\nclassification (`issue` vs `scheduledChange` vs `accountNotification`),\nand Health API access is gated by **support tier** in a way nothing else\nin AWS is.\n\nAWS Health is the canonical source for operational events that affect\n*your* resources specifically — region-wide outages are public, but the\nevent that says \"host underlying instance i-abc123 will be retired on\nThursday\" is account-scoped. The audit goal is to convert a list of\nHealth events into a deterministic action signal:\n\n- An **open `issue`** with any `IMPAIRED` entity is **UNRESOLVED_EVENT**\n  — the system is still being impacted. The work is not done until the\n  last entity reports `RESOLVED`.\n- An **upcoming `scheduledChange`** is **SCHEDULED_CHANGE** — a deadline\n  exists and an action (stop\u002Fstart, patch, reboot, drain) is required\n  before it. `lastUpdatedTime` is when AWS last touched the record, not\n  the deadline — `startTime` IS the deadline for scheduled changes.\n- A missing **Health Organizational View** or a missing **EventBridge\n  `aws.health` rule** is **CONFIG_GAP** — events may be arriving but\n  nothing is consuming them, or you can only see one account out of N.\n\n## Quick reference — severity thresholds\n\n| Condition | Verdict | Step |\n|---|---|---|\n| `eventTypeCategory: issue` AND `eventStatus: open` AND any affected entity `statusCode: IMPAIRED` | **UNRESOLVED_EVENT** | Step 1 |\n| `eventTypeCategory: issue` AND `eventStatus: open` AND any entity `statusCode: UNKNOWN` (status not yet reported) | **UNRESOLVED_EVENT** | Step 1 |\n| `eventTypeCategory: scheduledChange` AND `eventStatus: upcoming` (deadline `startTime` in the future) | **SCHEDULED_CHANGE** | Step 2 |\n| AWS Organization with >1 account AND `healthServiceAccessStatusForOrganization: disabled` | **CONFIG_GAP** | Step 3a |\n| Zero EventBridge rules matching `Source: aws.health` on the default bus | **CONFIG_GAP** | Step 3b |\n| `eventStatus: closed` AND all affected entities `statusCode: RESOLVED` (or `UNIMPAIRED`) | **OK** | Step 4 |\n| No active (open\u002Fupcoming) events AND no config gaps | **OK** | Step 4 |\n| Account support tier Basic\u002FDeveloper (Health API not callable) | **CONFIG_GAP** | Step 0 |\n\nVerdicts are mutually exclusive per audited scope: an event-level audit\nemits one verdict per event; an account\u002Forg-scope audit emits one verdict\nfor the whole scope, aggregated worst (UNRESOLVED_EVENT > SCHEDULED_CHANGE\n> CONFIG_GAP > OK).\n\n## Pre-flight: account-posture gate (run before event classification)\n\nBefore classifying any event, classify the account posture. Several\nfactors **short-circuit** the audit — missing them produces false\n\"healthy\" verdicts that hide the actual gap.\n\n**Live-account pre-flight checks (skip for offline event-doc audit):**\n1. Verify the caller's role has `health:DescribeEvents` and\n   `health:DescribeAffectedEntities`. Most read-only auditor roles do;\n   cross-account delegated-administrator roles frequently do NOT — verify\n   the delegated admin was registered for `health.amazonaws.com` via\n   `aws organizations list-delegated-administrators --service-principal\n   health.amazonaws.com`. Surface a missing delegation BEFORE attempting\n   org-wide enumeration.\n2. All Health API calls go to **us-east-1**, regardless of where the\n   affected resources live. The `region` field in the event describes the\n   resource, not the API endpoint. A call to `aws health describe-events\n   --region us-west-2` returns empty results, not an error — silently\n   reporting \"no events\" when there are open events in other regions.\n3. `aws health describe-health-service-status-for-organization` returns\n   `healthServiceAccessStatusForOrganization`. The field reads `enabled`\n   only AFTER the management account has called\n   `enable-health-service-access-for-organization` at least once. A\n   delegated administrator CANNOT enable org view — only the management\n   account can. Treating \"delegated admin configured\" as equivalent to\n   \"org view enabled\" is a false-OK.\n\n| Posture attribute | Value | Effect on audit |\n|---|---|---|\n| Support plan | `Basic` \u002F `Developer` | **Health API not callable.** `describe-events` returns `SubscriptionRequiredException`. The operator can still see Health events in the AWS Health Dashboard console (read-only), but no programmatic audit is possible. Output VERDICT: CONFIG_GAP with REMEDIATION \"Upgrade to Business\u002FEnterprise\u002FEnterprise On-Ramp for Health API access, or audit manually via the Health Dashboard.\" Do NOT attempt to classify events from a Basic-tier account via API. |\n| Support plan | `Business` \u002F `Enterprise On-Ramp` \u002F `Enterprise` | Health API is callable. Proceed. |\n| AWS Organization | present (>1 account) | Org-view audit applies. Check `healthServiceAccessStatusForOrganization`. |\n| AWS Organization | absent (standalone account) | Skip org-view check (Step 3a). Account-only audit. |\n| `healthServiceAccessStatusForOrganization` | `enabled` | Org view is active — `describe-events` with `--aws-account-id` and `describe-entity-aggregates` work org-wide. |\n| `healthServiceAccessStatusForOrganization` | `disabled` \u002F `pending` \u002F absent | Org view NOT active — you can only audit the calling account. Any account-scope audit of an org with >1 account is **CONFIG_GAP**. |\n| EventBridge rules on default bus matching `Source: aws.health` | zero | **CONFIG_GAP** — events are delivered to the default event bus but no rule consumes them. Notifications silently dropped. |\n| EventBridge rules matching `Source: aws.health` | one or more | Proceed — at least one rule exists. Verify it has an active target (Step 3b detail). |\n| API region | not `us-east-1` | **Silent empty-result trap.** Re-run all Health API calls against us-east-1. |\n\n**If the input is malformed** (not valid JSON, missing `eventArn`,\nmissing `eventTypeCategory` or `eventStatus`), output:\n\n```text\nEVENT: \u003CeventArn or \"unknown\">\nVERDICT: ERROR\nREASON: Health event record is malformed — missing required fields\n(eventTypeCategory \u002F eventStatus). Cannot classify.\nREMEDIATION: Re-fetch the canonical record with\n`aws health describe-events --filter \u003Ccriteria> --region us-east-1\n--output json` and re-audit.\n```\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Step 0: Account-posture gate (mandatory for any audit)\n\nApply the pre-flight gate. If the support tier is Basic\u002FDeveloper, emit\n**CONFIG_GAP** and stop — there is no programmatic audit surface. If the\nAPI region is wrong, fail closed with an explicit note. If an\nOrganization is present and org view is `disabled`, emit **CONFIG_GAP**\n(Step 3a) regardless of whether individual events are also flagged.\n\n### Step 1: Open issue events with impaired entities — UNRESOLVED_EVENT\n\nFor each event with `eventTypeCategory: issue` AND `eventStatus: open`:\n\n1. Fetch the affected entities (`aws health describe-affected-entities\n   --filter eventArn=\u003Carn>`). Page until `nextToken` is exhausted —\n   `describe-affected-entities` caps at 100 per page and silently\n   truncates. A region-wide event can have thousands of entities.\n2. Inspect each entity's `statusCode`. The set is `IMPAIRED`,\n   `UNIMPAIRED`, `RESOLVED`, `UNKNOWN` (legacy events may use\n   `UNHEALTHY`\u002F`HEALTHY` — treat `UNHEALTHY` as `IMPAIRED` and `HEALTHY`\n   as `UNIMPAIRED`).\n3. If ANY entity is `IMPAIRED` OR `UNKNOWN`, the event is\n   **UNRESOLVED_EVENT**. The presence of `RESOLVED` entities does not\n   cancel the impaired ones — the event cannot be OK until every entity\n   reports `RESOLVED`\u002F`UNIMPAIRED`.\n4. If ALL entities are `RESOLVED` or `UNIMPAIRED` but `eventStatus` is\n   still `open`, classify as **UNRESOLVED_EVENT** with REMEDIATION noting\n   that AWS has not yet closed the event — escalate via Support if the\n   entities are confirmed healthy.\n\n**Expert note — entity vs event status divergence:** `eventStatus` is\nthe AWS-side aggregate, `statusCode` is the per-entity truth. AWS may\nclose an event (`eventStatus: closed`) while one entity is still\n`IMPAIRED` (rare but happens during incident recovery). Conversely, an\n`open` event with all `RESOLVED` entities is \"waiting for AWS to close\"\n— still UNRESOLVED_EVENT but the action is \"verify and request closure,\"\nnot \"fix the resource.\" The entity-level status is authoritative for\nimpact; the event-level status is authoritative for closure workflow.\n\n### Step 2: Upcoming scheduled changes — SCHEDULED_CHANGE\n\nFor each event with `eventTypeCategory: scheduledChange` AND\n`eventStatus: upcoming`:\n\n1. Extract `startTime` — this IS the deadline. (Not `lastUpdatedTime`,\n   which is when AWS last modified the record.) For\n   `AWS_EC2_INSTANCE_RETIREMENT_SCHEDULED`, `startTime` is the start of\n   the retirement window. For `AWS_LAMBDA_RUNTIME_DEPRECATION`, it is the\n   deprecation date.\n2. Compare deadline to current time. If deadline is within 7 days,\n   severity escalation: append a **DEADLINE_URGENT** note to FINDINGS.\n3. Identify the documented action. AWS Health scheduled-change events\n   include an event description with the prescribed action (e.g., \"stop\n   and start the instance to migrate to a new host\"). Surface the action\n   verb in REMEDIATION — do not invent actions AWS has not documented.\n4. Classify as **SCHEDULED_CHANGE**. The verdict is the same regardless\n   of deadline urgency; urgency is a FINDINGS detail, not a separate\n   verdict.\n\n**Expert note — `upcoming` vs `closed` for scheduled changes:** a\nscheduled change with `eventStatus: closed` has been applied by AWS\n(instance retired, runtime deprecated). The window for proactive action\nhas passed. Classify such events via Step 4 (closed events) — typically\nOK if the post-change state is healthy, but flag if the action was\nforced and the resource is now in an unintended state.\n\n### Step 3: Configuration gaps — CONFIG_GAP\n\nConfiguration gaps are account\u002Forg-scope findings, not event-scope. They\nindicate the audit surface itself is broken: events exist but nothing\nconsumes them, or you can only see a slice of the surface.\n\n#### Step 3a: Health Organizational View disabled\n\nIf the account is the management account of an AWS Organization with\nmore than one member account AND\n`healthServiceAccessStatusForOrganization` is anything other than\n`enabled` (commonly `disabled` or absent), emit **CONFIG_GAP**.\n\n- The org view is enabled ONCE from the management account via\n  `aws health enable-health-service-access-for-organization`. It is NOT\n  a per-member toggle.\n- A delegated administrator\n  (`aws organizations register-delegated-administrator\n  --service-principal health.amazonaws.com`) can READ org-wide events\n  but CANNOT enable org view. The enable call must come from the\n  management account. Treating delegated-admin setup as equivalent to\n  org-view enablement is the most common false-OK.\n- Until org view is enabled, the auditor must enumerate each member\n  account individually (assuming the caller's role can assume into each)\n  — at scale this is impractical and misses accounts. The gap is real.\n\n#### Step 3b: Missing EventBridge aws.health rule\n\nIf the default event bus has zero rules whose `EventPattern` matches\n`\"source\": [\"aws.health\"]` (case-sensitive — `\"aws.health\"` not\n`\"AWS.Health\"`), emit **CONFIG_GAP**.\n\n- AWS Health delivers events only to the **default event bus** in each\n  account (and, with org view enabled, in each member account). Custom\n  buses do not receive Health events.\n- AWS auto-creates a default rule (`default-rule-Health-\u003Crandom>`) in\n  accounts created after ~2020. Older accounts may not have it. Do NOT\n  assume its presence — verify with `aws events list-rules`.\n- A rule without an active target is equivalent to no rule (events are\n  matched and dropped). For each matching rule, also check\n  `aws events list-targets-by-rule --rule \u003Cname>` — a rule with zero\n  targets or all-disabled targets is a CONFIG_GAP.\n- The `health.amazonaws.com` service principal must be authorized in\n  the event bus policy (`aws events describe-event-bus --name default`)\n  via a statement allowing `events:PutEvents`. AWS auto-creates this\n  statement when org view is enabled; without org view, the statement\n  may be absent and member-account events will be rejected.\n\n### Step 4: Closed events and clean posture — OK\n\nAn event classifies as **OK** only when ALL of:\n\n1. `eventStatus: closed` (the AWS-side lifecycle is complete).\n2. Every affected entity has `statusCode: RESOLVED` or `UNIMPAIRED`.\n3. There are no open sub-findings (e.g., the closed event is not a\n   scheduled change that was force-applied after the deadline with an\n   unintended post-state).\n\nAn account\u002Forg scope with **no** open `issue` events, **no** upcoming\n`scheduledChange` events, org view enabled (where applicable), and at\nleast one EventBridge `aws.health` rule with an active target classifies\nas **OK**.\n\n**`accountNotification` events** (informational notices — billing,\nmaintenance announcements that are not resource-impacting) default to OK\nunless they require action. Treat them as informational FINDINGS, not\nverdict drivers, unless the notice explicitly states a required action.\n\n### Step 5: Aggregation — worst finding wins\n\nThe final verdict is the **maximum severity** across all event-level\nfindings and scope-level config findings, where:\n\n```\nUNRESOLVED_EVENT > SCHEDULED_CHANGE > CONFIG_GAP > OK\n```\n\nAggregation rules:\n\n- An account-scope audit over many events takes the worst event verdict.\n- A CONFIG_GAP from posture (Step 0 or Step 3) does NOT suppress an\n  UNRESOLVED_EVENT — both are findings; the verdict is the worst, the\n  FINDINGS list contains both.\n- An OK closed event in the same scope as an UNRESOLVED_EVENT does not\n  dilute the verdict — list the OK as a positive FINDING, but the scope\n  verdict remains UNRESOLVED_EVENT.\n\n## Output format (per event or per scope)\n\n```text\nEVENT: \u003CeventArn, or \"account: \u003Cid>\" \u002F \"org: \u003Cid>\" for scope audits>\nVERDICT: UNRESOLVED_EVENT | SCHEDULED_CHANGE | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and its step number>\nFINDINGS:\n  - [UNRESOLVED_EVENT] \u003Cfinding description (Step N)>\n  - [CONFIG_GAP] \u003Cfinding description (Step N)>\n  - [OK] \u003Cdimension that passed>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n### Worked example — open issue with mixed entity statuses\n\n```text\nEVENT: arn:aws:health:us-east-1::event\u002FAWS_RDS\u002FAWS_RDS_OPERATIONAL_EVENT\u002Fprod-incident\nVERDICT: UNRESOLVED_EVENT\nREASON: Open issue event with one of three affected entities still\nIMPAIRED — the incident is partially recovered but not closed (Step 1).\nFINDINGS:\n  - [UNRESOLVED_EVENT] Entity db-prod-c is IMPAIRED while db-prod-a and\n    db-prod-b are RESOLVED — partial recovery (Step 1)\n  - [OK] Support tier is Enterprise — Health API is callable (Step 0)\n  - [OK] Health Organizational View enabled and EventBridge aws.health\n    rule present (Step 3)\nREMEDIATION:\n  1. Confirm db-prod-c recovery:\n     aws health describe-affected-entities --filter eventArn=\u003Carn>\n     --region us-east-1\n  2. If the entity is genuinely recovered but AWS has not closed the\n     event, open a Support case referencing the eventArn.\n  3. Do NOT treat the closed-entities as evidence of overall resolution;\n     the event remains UNRESOLVED_EVENT until every entity is RESOLVED.\n```\n\n## Expert edge cases — non-obvious AWS Health behaviours\n\nThese patterns are easy to misjudge without operational Health\nexperience. Each changes a verdict if ignored.\n\nExpert edge-case catalog moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Expert edge cases — non-obvious AWS Health behaviours\n\n## Anti-Patterns — NEVER\n\n- NEVER classify an `open` issue event with an `IMPAIRED` entity as OK.\n  The event-level status is the AWS-side lifecycle; the entity-level\n  `statusCode` is the impact truth. An `open` event with one `IMPAIRED`\n  entity is UNRESOLVED_EVENT regardless of how many entities are\n  `RESOLVED`.\n\n- NEVER treat `eventStatus: closed` as automatically OK. Verify every\n  affected entity reports `RESOLVED` or `UNIMPAIRED`. AWS can close an\n  event while a late entity is still `IMPAIRED` — the operational impact\n  persists after the AWS-side closure.\n\n- NEVER confuse `startTime` with the deadline for scheduled changes.\n  `startTime` is the deadline for `scheduledChange`, the issue onset for\n  `issue` events. Mixing these up produces either false-urgent\n  (\"deadline already passed\" panic on an open issue) or false-complacent\n  (\"plenty of time\" on a scheduled change that is actually overdue).\n\n- NEVER call the Health API against any region other than us-east-1.\n  `aws health describe-events --region us-west-2` returns an empty list,\n  not an error — silently reporting \"no events\" when open events exist.\n  The `region` field in the event describes the resource, not the API\n  endpoint.\n\n- NEVER assume Health API access from the support tier. Basic and\n  Developer support plans cannot call the `health` API at all —\n  `describe-events` raises `SubscriptionRequiredException`. The Health\n  Dashboard is still console-accessible for these tiers, but no\n  programmatic audit is possible. Always gate on support tier first.\n\n- NEVER equate \"delegated administrator configured\" with \"Health\n  Organizational View enabled.\" A delegated admin can read org-wide\n  events ONLY after the management account has called\n  `enable-health-service-access-for-organization`. The delegation\n  without the enablement produces empty org-wide results.\n\n- NEVER assume the auto-created `default-rule-Health-...` EventBridge\n  rule exists. Accounts created before ~2020 may not have it. Always\n  verify with `aws events list-rules` — absence of any rule matching\n  `aws.health` is CONFIG_GAP regardless of account age.\n\n- NEVER filter EventBridge Health rules on `detail-type` alone. The\n  durable filter is `source: [\"aws.health\"]`. Detail-type names have\n  changed across Health event schema versions; source has not.\n\n- NEVER treat `PUBLIC` events as account-level UNRESOLVED_EVENT. They\n  are region-wide and surfaced in the public AWS Health Dashboard. List\n  them as informational FINDINGS; reserve UNRESOLVED_EVENT for\n  `ACCOUNT_SPECIFIC` events where the operator owns the affected\n  resource.\n\n- NEVER truncate `describe-affected-entities` pagination. The API caps\n  at 100 per page. Large events (region-wide EC2 degradation) can have\n  thousands of entities. Silently truncating at the first page misses\n  affected resources and produces a false-OK when all 100 visible\n  entities happen to be `RESOLVED` but the long tail contains\n  `IMPAIRED`.\n\n- NEVER report a closed scheduled change as actionable. A\n  `scheduledChange` with `eventStatus: closed` has been applied — the\n  window for proactive action is over. The post-change state may need\n  verification (e.g., instance successfully migrated) but the verdict is\n  driven by the post-state, not by the original change.\n\n- NEVER attempt to close or acknowledge a Health event via the API.\n  The Health API is strictly read-only. Closure is AWS-side and\n  automatic. If an event should be closed but isn't, the action is to\n  open a Support case, not to call a non-existent `health:CloseEvent`.\n\n- NEVER invent remediation actions not documented in the event\n  description. AWS Health scheduled-change events include a specific\n  prescribed action (e.g., \"stop and start the instance\"). Recommending\n  a different action (e.g., \"reboot the instance\" when AWS says\n  \"stop and start\") can leave the underlying host in the same degraded\n  state — reboot does not migrate hosts; stop\u002Fstart does.\n\n- NEVER classify an `accountNotification` as UNRESOLVED_EVENT unless it\n  explicitly states a required action. Most notifications are\n  informational (billing, planned maintenance that AWS handles). Reserve\n  UNRESOLVED_EVENT and SCHEDULED_CHANGE for issue\u002FscheduledChange\n  categories respectively.\n\n- NEVER treat the absence of `affectedAccountName` as \"no affected\n  accounts.\" The field is only populated in org-view events. In a\n  single-account audit, the account is implicit in the event ARN.\n\n- NEVER enable Health Organizational View from a delegated admin or\n  member account. The call MUST originate from the Organizations\n  management account. Emitting a remediation command targeted at the\n  wrong account produces `AccessDeniedException` and erodes operator\n  trust.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n- **Read-only Health API.** All `aws health *` calls are read-only and\n  safe to execute without confirmation. The Health namespace has no\n  mutating endpoints.\n- **Mutating remediation runs against the affected resource's own\n  service, not Health.** `aws ec2 stop-instances`, `aws rds reboot-db-\n  instance`, etc. Before any mutating command, the auditor MUST emit:\n  `CONFIRM: About to \u003Caction> on \u003Cresource-id> in account \u003Caccount>\n  region \u003Cregion>. This is the prescribed action for Health event\n  \u003CeventArn>. Proceed? (yes\u002Fno)`. Do NOT execute until the operator\n  confirms.\n- **Snap-shot the event pre-remediation:**\n  `aws health describe-affected-entities --filter eventArn=\u003Carn>\n  --region us-east-1 --output json > \u002Ftmp\u002F\u003Cevent-id>-pre-$(date +%s).json`\n  This captures the affected-entity status before the action for\n  post-remediation comparison.\n- **Verify the prescribed action** by reading the `eventDescription`\n  (`language: en_US`) BEFORE proposing a remediation command. The\n  description contains AWS's documented action verb; deviating from it\n  (e.g., reboot instead of stop\u002Fstart) can leave the underlying state\n  unchanged.\n- **For scheduled changes with deadlines within 24 hours**, treat as\n  incident-response — execute during the next maintenance window, not\n  the next sprint. Force-applied scheduled changes after the deadline\n  may produce unintended resource states (e.g., AWS retires the host\n  under your instance, producing an unexpected stop).\n- **Multi-account org-view remediation:** when an event affects\n  resources in multiple member accounts, the remediation must be run\n  per-account (assume the target account role, then run the resource's\n  service command). The Health event is the SAME eventArn — do not\n  re-fetch per account, but do execute remediation per account.\n- **EventBridge bus-policy changes** (Step 3b remediation) are\n  destructive at the policy level. Always append a statement rather\n  than replacing the policy — `aws events put-permission --event-bus-name\n  default --statement-id HealthAllow --action events:PutEvents\n  --principal health.amazonaws.com`. Replacing the entire policy can\n  revoke other service integrations.\n- **Health Organizational View enablement** is one-way in practice:\n  once enabled, disabling via\n  `disable-health-service-access-for-organization` removes org-wide\n  visibility immediately. Treat enablement as safe; treat disablement as\n  high-risk and require explicit operator confirmation.\n\n## Remediation guidance\n\n**Remediation ordering principle:** always prefer AWS-documented actions\nover inferred ones. The Health event description is authoritative for\nprescribed actions; deviating from it (e.g., reboot vs stop\u002Fstart) can\nfail silently. For config gaps, prefer additive changes (add a rule,\nadd a bus-policy statement) over destructive ones (replace policy).\n\nPer-verdict remediation command sequences moved to references.\n→ [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § Remediation guidance — per-verdict commands\n\n## Deep reference: AWS Health internals\n\nAWS Health internals deep reference moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Deep reference: AWS Health internals\n\n## Recent AWS features (2024-2026)\n\n2024-2026 feature notes moved to references.\n→ [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § Recent AWS features (2024-2026)\n\n## References (load on demand)\n\nConsult these only when the corresponding topic comes up:\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — expert edge cases (non-obvious Health behaviours), the AWS Health internals deep reference (API surface, event lifecycle, schema versions, EventBridge delivery, pagination\u002Fthrottling, support-tier matrix), and recent AWS features\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — per-verdict remediation command sequences (moved from § Remediation guidance)\n## Domain\n\nAWS CloudOps \u002F AWS Health Operational Event Management.\n\n## AWS documentation\n\n- **AWS Health User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fhealth\u002Flatest\u002Fug\u002Fwhat-is-aws-health.html\n- **AWS Health Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fhealth\u002Flatest\u002Fug\u002Fsecurity.html\n- **AWS Health API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fhealth\u002Flatest\u002FAPIReference\u002F\n- **AWS Health CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fhealth\u002F\n- **Health Aware notifications** — https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fbuild-aws-health-aware-custom-notifications-with-amazon-eventbridge-and-aws-lambda\u002F\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},"aws-health, health-dashboard, eventbridge, management, governance, audit, incident, scheduled-change, organizational-view","2","Jacky Chan — AWS Community Builder","aws-cloudops","Management","0.1.0","AWS Health, Health Dashboard, Health API, Personal Health Dashboard, scheduled change, account event, ongoing event, affected entities, entity status, IMPAIRED, UNIMPAIRED, RESOLVED, open event, upcoming event, closed event, eventTypeCategory, scheduledChange, accountNotification, issue, AWS_EC2_INSTANCE_RETIREMENT_SCHEDULED, retirement scheduled, degraded performance, operational event, EventBridge, aws.health, default-rule-Health, Organizational View, healthServiceAccessStatusForOrganization, delegated administrator, Business Support, Enterprise Support, Basic Support, SubscriptionRequiredException, Health event audit, operational readiness","medium","false","Reviewing AWS Health events before an operational review or incident triage, validating Health Organizational View coverage, diagnosing affected-entity statusCode (IMPAIRED\u002FRESOLVED), checking scheduled-change deadlines, auditing EventBridge aws.health rule wiring, or assessing overall Health posture across an account or organization.","true","UNRESOLVED_EVENT | SCHEDULED_CHANGE | CONFIG_GAP | OK","Input: either (a) one or more AWS Health event records (JSON or text, including eventArn, eventTypeCategory, eventStatus, service, eventTypeCode, startTime, lastUpdatedTime, eventScopeCode, and the affected-entity list with statusCode), optionally paired with account posture (support tier, Health Org View status, EventBridge rule inventory), OR (b) a request to audit live Health posture (the auditor invokes aws health describe-events and the supporting API surface). Output: deterministic EVENT\u002FVERDICT\u002FREASON\u002FFINDINGS\u002FREMEDIATION block per event (or per account\u002Forg scope for CONFIG_GAP), where VERDICT is in {UNRESOLVED_EVENT, SCHEDULED_CHANGE, CONFIG_GAP, OK}.","audit AWS Health events, check Health Dashboard, ongoing Health events, scheduled change deadline, EC2 instance retirement, affected entities impaired, is Health Organizational View enabled, EventBridge aws.health rule, Personal Health Dashboard, AWS Health posture","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline event-document classification. Live-account audits use aws health describe-events, describe-affected- entities, describe-entity-aggregates, describe-health-service-status-for- organization, and aws events list-rules (AWS CLI v2, SSO or key-based credentials, Business\u002FEnterprise\u002FEnterprise On-Ramp support required for the Health API itself).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fhealth-event-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 health-event-auditor",{"tool":54,"command":55},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill health-event-auditor",{"tool":57,"command":58},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill health-event-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-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","参考文档",10244,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Feval\u002Ftest-cases.yaml",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fbaselines\u002Fconfig-gap-no-eventbridge-rule.md",530,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fbaselines\u002Fconfig-gap-no-eventbridge-rule.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fconfig-gap-no-org-view.md",470,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fbaselines\u002Fconfig-gap-no-org-view.md",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fok-closed-event.md",353,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fbaselines\u002Fok-closed-event.md",{"path":81,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fopen-issue-ec2-degraded.md",741,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fbaselines\u002Fopen-issue-ec2-degraded.md",{"path":85,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fopen-issue-partial-resolution.md",486,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fbaselines\u002Fopen-issue-partial-resolution.md",{"path":89,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fscheduled-change-ec2-retirement.md",488,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fbaselines\u002Fscheduled-change-ec2-retirement.md",{"path":93,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1925,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",5003,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fevals.json",{"path":101,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fconfig-gap-no-eventbridge-rule.md",507,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fprompts\u002Fconfig-gap-no-eventbridge-rule.md",{"path":105,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fconfig-gap-no-org-view.md",623,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fprompts\u002Fconfig-gap-no-org-view.md",{"path":109,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fok-closed-event.md",895,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fprompts\u002Fok-closed-event.md",{"path":113,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fopen-issue-ec2-degraded.md",1109,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fprompts\u002Fopen-issue-ec2-degraded.md",{"path":117,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fopen-issue-partial-resolution.md",1029,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fprompts\u002Fopen-issue-partial-resolution.md",{"path":121,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":122,"sourceHtmlUrl":123},"evals\u002Fprompts\u002Fscheduled-change-ec2-retirement.md",1250,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fevals\u002Fprompts\u002Fscheduled-change-ec2-retirement.md",{"path":125,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":126,"sourceHtmlUrl":127},"examples\u002Fend-to-end.md",6031,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Fexamples\u002Fend-to-end.md",{"path":129,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fadvanced-patterns.md",10270,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Freferences\u002Fadvanced-patterns.md",{"path":133,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdiagnostic-commands.md",4187,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-auditor\u002Freferences\u002Fdiagnostic-commands.md",{"path":137,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":138,"sourceHtmlUrl":139},"skill.usf.yaml",4026,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fhealth-event-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",[],[]]