[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A4641QRZ0FF4Z21H5SPFFD":3,"skill-same:01M7A4641QRZ0FF4Z21H5SPFFD":132},{"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},"01M7A4641QRZ0FF4Z21H5SPFFD","bedrock-model-access-inventory",null,"Audits Amazon Bedrock model access posture — invocation logging coverage (S3\u002FCloudWatch\u002FDataFirehose destinations and per-modality delivery flags), customer-managed KMS encryption versus AWS-managed default, Anthropic Claude geo-block risk in APAC jurisdictions (models list as enabled but fail at invocation with ValidationException), provisioned throughput commitment state, and guardrail coverage on enabled models. Emits a deterministic verdict (NO_LOGGING | NO_ENCRYPTION | GEO_BLOCK_RISK | CONFIG_GAP | OK) per Bedrock account inventory. Use when reviewing Bedrock model access, checking invocation logging, validating KMS encryption, assessing Claude geo-block exposure, or auditing provisioned throughput commitments.","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\u002Fbedrock-model-access-inventory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bedrock-model-access-inventory\ndescription: Audits Amazon Bedrock model access posture — invocation logging coverage (S3\u002FCloudWatch\u002FDataFirehose destinations and per-modality delivery flags), customer-managed KMS encryption versus AWS-managed default, Anthropic Claude geo-block risk in APAC jurisdictions (models list as enabled but fail at invocation with ValidationException), provisioned throughput commitment state, and guardrail coverage on enabled models. Emits a deterministic verdict (NO_LOGGING | NO_ENCRYPTION | GEO_BLOCK_RISK | CONFIG_GAP | OK) per Bedrock account inventory. Use when reviewing Bedrock model access, checking invocation logging, validating KMS encryption, assessing Claude geo-block exposure, or auditing provisioned throughput commitments.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline inventory-document classification. Live-account audits use aws bedrock get-invocation-logging, aws bedrock list-foundation-models, aws bedrock list-provisioned-model-throughputs, and aws bedrock list-guardrails (AWS CLI v2, SSO or key-based credentials).\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '2'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: AI\u002FML\n  verdict_shape: NO_LOGGING | NO_ENCRYPTION | GEO_BLOCK_RISK | CONFIG_GAP | OK | ERROR\n  when_to_use: Reviewing Bedrock model access before production deployment, auditing invocation logging coverage, validating customer-managed KMS encryption, assessing Anthropic Claude geo-block risk in APAC, checking provisioned throughput commitment state, or hardening Bedrock security posture.\n  activation_triggers: audit bedrock model access, check bedrock invocation logging, is bedrock kms encrypted, claude geo-block apac, bedrock provisioned throughput, bedrock guardrail coverage, bedrock inventory audit\n  invocation_schema: 'Input: a Bedrock Model Access inventory document (region, enabled models, invocation logging config, KMS key, provisioned throughput, guardrails). Output: deterministic INVENTORY\u002FVERDICT\u002FREASON\u002FFINDINGS\u002FREMEDIATION block where VERDICT is one of {NO_LOGGING, NO_ENCRYPTION, GEO_BLOCK_RISK, CONFIG_GAP, OK}.'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: Bedrock, model access, invocation logging, KMS encryption, geo-block, Claude APAC, provisioned throughput, guardrails, Nova, DataFirehose, audit trail, compliance, model inventory\n  tags: bedrock, ai-ml, security, invocation-logging, kms-encryption, geo-block, audit\n---\n\n# Bedrock Model Access Inventory Auditor\n\n## Mindset\n\n**One-line takeaway:** the verdict is the **first** finding in a fixed\npriority order — logging before encryption before geo-block before\nconfig-gap — because a forensic-trail loss (no logging) is worse than a\nkey-control loss (no CMK), which is worse than an availability\nfalse-positive (geo-blocked Claude), which is worse than a minor config\nissue (expired provisioned throughput).\n\nBedrock model access is the gate between your data and foundation models.\nThree dimensions define its security posture:\n\n- **Invocation logging** is the **forensic spine**. Without it, there is no\n  audit trail of which prompts were sent to which models, what data was\n  included, or what responses were generated. A Bedrock account with models\n  enabled but no invocation logging has zero breach-investigation capability.\n- **Customer-managed KMS** is the **key-control layer**. AWS-managed\n  encryption still encrypts at rest, but you cannot audit key-usage events\n  in CloudTrail, cannot revoke access during an incident, and cannot apply\n  key-level IAM policies. The gap is control, not confidentiality.\n- **Geo-block risk** is an **availability false-positive**. Anthropic Claude\n  models appear in `list-foundation-models` and can be enabled in Model\n  Access, but `converse`\u002F`invoke-model` returns `ValidationException` in\n  APAC jurisdictions. The listing is misleading — the model is listed but\n  blocked at invocation, not at enablement.\n\n## Quick reference — verdict thresholds\n\n| Condition | Verdict | Step |\n|---|---|---|\n| All logging destinations absent (S3\u002FCW\u002FFirehose) | **NO_LOGGING** | 1 |\n| Destinations present but `textDataDeliveryEnabled: false` | **NO_LOGGING** | 1 |\n| Destinations present but all modality flags false | **NO_LOGGING** | 1 |\n| Logging active (text delivery on); no customer-managed KMS key | **NO_ENCRYPTION** | 2 |\n| CMK present; Anthropic models enabled in `ap-*` region | **GEO_BLOCK_RISK** | 3 |\n| CMK present; single logging destination only | **CONFIG_GAP** | 4 |\n| CMK present; provisioned throughput commitment expired | **CONFIG_GAP** | 4 |\n| CMK present; enabled models without guardrails | **CONFIG_GAP** | 4 |\n| CMK present; image\u002Fembedding delivery disabled | **CONFIG_GAP** | 4 |\n| Multi-destination logging + CMK + no geo-block + no gaps | **OK** | 5 |\n\nPriority order (first match wins): `NO_LOGGING > NO_ENCRYPTION >\nGEO_BLOCK_RISK > CONFIG_GAP > OK`.\n\n## Pre-flight: input validation\n\nIf the inventory document is malformed (missing required sections,\nunparseable), output:\n\n```text\nINVENTORY: \u003Caccount\u002Fregion or \"unknown\">\nVERDICT: ERROR\nREASON: Bedrock inventory document is malformed — cannot classify.\nREMEDIATION: Re-fetch with aws bedrock get-invocation-logging and aws bedrock list-foundation-models.\n```\n\n## Process — Classification logic (apply in order, first match wins)\n\n### Step 0: Expert knowledge — non-obvious Bedrock behaviors\n\nEach behavior changes the verdict if ignored:\n\n- **Invocation logging is account-level, not per-model.** Once enabled via\n  `put-invocation-logging`, it captures ALL model invocations across the\n  account. There is no API to log only specific models. If logging is off,\n  every model is unlogged; if on, every model is logged.\n\n- **`textDataDeliveryEnabled` is the critical modality flag.** Text is the\n  primary data type for LLM invocations (prompt + response). Even if S3 and\n  CloudWatch destinations are configured, if `textDataDeliveryEnabled` is\n  false, text prompts are NOT captured. The configuration LOOKS enabled but\n  silently misses the most common modality. Treat as NO_LOGGING, not\n  CONFIG_GAP.\n\n- **Claude geo-block fires at invocation, not at enablement.** Anthropic\n  models appear in `list-foundation-models` in APAC regions (ap-southeast,\n  ap-northeast, ap-south, ap-east) and can be subscribed in Model Access.\n  But `converse` \u002F `invoke-model` returns `ValidationException`. The block\n  is jurisdictional (APAC), not account-specific. Amazon Nova, Titan,\n  gpt-oss, Mistral, and Meta Llama models are NOT blocked. Do NOT classify\n  Claude as \"enabled and functional\" in APAC — it is enabled but\n  invocation-blocked.\n\n- **Provisioned throughput commitment is time-bounded.** A PT allocation\n  has `status: active` during the commitment term and transitions to\n  `expired` after the commitment end date. After expiry, the model falls\n  back to on-demand billing at a higher per-token rate. An expired PT is a\n  cost\u002Fconfig gap, not a security risk.\n\n- **KMS for Bedrock applies to guardrails, knowledge bases, and log\n  delivery — not model invocations.** Model prompts\u002Fresponses in transit\n  use TLS; at rest within Bedrock infrastructure, data is encrypted with\n  AWS-managed keys (not customer-controllable). A customer-managed KMS key\n  applies to: guardrail storage (`create-guardrail --kms-key-id`),\n  knowledge-base vector-store encryption, and S3 bucket encryption for\n  invocation log delivery. The NO_ENCRYPTION finding means you lack\n  key-control over these artifacts, not that invocations are unencrypted.\n\n- **DataFirehose delivery has a buffering delay (60-900 seconds).** When\n  using Kinesis Data Firehose as a logging destination, logs are buffered\n  before delivery to S3. For real-time alerting, CloudWatch Logs is the\n  correct destination; Firehose is for batch\u002Farchival. A config with only\n  Firehose (no CloudWatch) lacks real-time monitoring capability.\n\n- **Cross-region inference profiles log the profile ARN, not the backing\n  region.** When using a profile (e.g., `us.anthropic.claude-...`), the\n  invocation log records the profile, not the specific region that\n  processed the request. This matters for data-residency compliance: you\n  cannot prove which region saw the prompt from logs alone.\n\n- **Guardrails are evaluated at invocation, not at enablement.** A model\n  can be enabled without any guardrail attached. Guardrails are applied\n  per-invocation (via `guardrailIdentifier` in the converse call) or\n  per-inference-profile. The absence of guardrails on enabled models means\n  no content filtering, no PII redaction, and no topic denial — a data-\n  protection gap even when logging and encryption are healthy.\n\n- **`put-invocation-logging` is a REPLACE, not a merge.** Calling it\n  overwrites the entire logging configuration. Always capture the current\n  config with `get-invocation-logging` before any modification — there is\n  no version history and no rollback.\n\n- **S3 bucket policy is REQUIRED for log delivery — `put-invocation-logging`\n  succeeds silently without it.** The S3 bucket receiving invocation logs\n  MUST have a bucket policy granting `s3:PutObject` to the Bedrock service\n  principal (`logging.bedrock.amazonaws.com` or `bedrock.amazonaws.com`\n  depending on region). Without this policy, the API call returns success\n  but NO logs are ever delivered — a silent failure that looks healthy in\n  the console. This is the most common logging-misconfiguration trap: the\n  logging config appears enabled, but the bucket rejects writes.\n\n- **CloudWatch Logs resource policy is REQUIRED for CW delivery.** Similarly,\n  the CloudWatch log group must have a resource policy allowing\n  `bedrock.amazonaws.com` to create log streams and put log events. Without\n  it, Bedrock cannot write invocation logs to CloudWatch, even though the\n  logging config names the log group. Verify with\n  `aws logs describe-resource-policies` and check for a policy that includes\n  `logs:CreateLogStream` and `logs:PutLogEvents` for the Bedrock principal.\n\n- **CMK key rotation for the Bedrock-associated key matters.** The\n  customer-managed KMS key used for guardrail encryption and knowledge-base\n  vector stores should have `EnableKeyRotation: true`. A CMK with rotation\n  disabled on a symmetric key is an additive CONFIG_GAP finding (same\n  principle as KMS key auditing: unbounded exposure window if key material\n  is compromised). Verify with\n  `aws kms get-key-rotation-status --key-id \u003Cbedrock-key-id>`.\n\n- **`bedrock:PutInvocationLogging` requires service-level IAM permission.**\n  The principal enabling logging needs `bedrock:PutInvocationLogging` in\n  their identity-based policy — this is NOT a resource-level permission and\n  cannot be scoped via a resource ARN. A role with only\n  `bedrock:ListFoundationModels` will fail to enable logging with\n  `AccessDeniedException`. Verify the auditor role's permissions before\n  attempting remediation.\n\n- **Invocation logs contain the FULL prompt and response text — the log\n  destination itself becomes a sensitive-data store.** Bedrock invocation\n  logging captures complete input prompts and model outputs verbatim,\n  including any PII, credentials, API keys, or proprietary data the\n  application sent to the model. The S3 bucket and CloudWatch log group\n  receiving these logs must have TIGHTER access controls than a typical\n  log bucket — a broad bucket policy or permissive log-group IAM grant\n  effectively re-exposes every sensitive payload the model ever processed.\n  Treat the logging destinations as Tier-1 sensitive-data stores with\n  their own access-review cadence.\n\n- **Knowledge-base data ingestion is NOT covered by invocation logging.**\n  When a Bedrock knowledge base ingests source documents\n  (`bedrock:IngestKnowledgeBaseDocuments` or automated sync), the document\n  content flows into the vector store and is NOT captured in invocation\n  logs. Only the downstream model invocation (converse\u002Finvoke) that reads\n  the vector store is logged — the ingestion step is invisible. This means\n  sensitive data can enter the RAG pipeline without any log trail. A\n  compliance audit that checks invocation logs alone misses the data-\n  ingestion path entirely.\n\n- **Cross-region inference profiles record logs in the profile's home\n  region, not the caller's region.** When an invocation is routed via a\n  cross-region profile (e.g., `us.anthropic.claude-3-5-sonnet-...`), the\n  invocation log is emitted in the region where the profile is managed,\n  not the region of the calling account. A logging config verified in\n  us-east-1 may silently miss invocations that were routed to us-west-2\n  via the profile. To ensure full coverage, verify logging configuration\n  in every region where a cross-region inference profile is active.\n\n- **Guardrail evaluations are recorded inside the invocation log entry,\n  not as separate events.** When a guardrail blocks or redacts content,\n  the action is embedded in the invocation log record under\n  `guardrail` fields (interventions, masked output). This signal is often\n  overlooked because it is nested deep in the log payload. A monitoring\n  pipeline that ignores the guardrail sub-objects misses the only\n  programmatic evidence that content filtering fired.\n\n### Step 1: Invocation logging evaluation (highest priority)\n\nCheck the invocation logging configuration:\n\n1. **All destinations absent.** If `s3Config`, `cloudwatchConfig`, and\n   `kinesisConfig` are all `(none)` \u002F absent \u002F null → **NO_LOGGING**.\n\n2. **Text delivery disabled.** If destinations are configured but\n   `textDataDeliveryEnabled` is `false` → **NO_LOGGING**. Text is the\n   primary LLM modality; logging without text capture is cosmetic.\n\n3. **All modalities disabled.** If `textDataDeliveryEnabled`,\n   `imageDataDeliveryEnabled`, and `embeddingDataDeliveryEnabled` are all\n   false (regardless of destinations configured) → **NO_LOGGING**.\n\n4. **At least one destination + text delivery enabled.** Logging is\n   ACTIVE. Proceed to Step 2. Record secondary gaps (single destination,\n   missing modalities) for Step 4.\n\n### Step 2: KMS encryption evaluation\n\n- **No CMK** (`customerManagedKey: (none — AWS-managed)`) →\n  **NO_ENCRYPTION**. The account relies solely on AWS-managed encryption.\n  While data IS encrypted at rest, the account cannot audit KMS key-usage\n  events in CloudTrail, cannot revoke access during an incident, and cannot\n  apply key-level IAM policies for granular access control.\n\n- **CMK present** (`customerManagedKey: \u003Ckey-arn>`) → OK for this\n  dimension. Proceed to Step 3.\n\n### Step 3: Geo-block risk evaluation\n\n- **Region starts with `ap-` AND any Anthropic model is enabled** →\n  **GEO_BLOCK_RISK**. The Claude models are listed and enabled but will\n  fail at invocation with `ValidationException`. This is a jurisdictional\n  block, not an account-specific issue.\n\n- **Region does NOT start with `ap-` OR no Anthropic models enabled** →\n  no geo-block risk. Proceed to Step 4.\n\n- **Nova, Titan, gpt-oss, Mistral, Meta Llama** are NOT geo-blocked in\n  any region. Only Anthropic Claude models carry the APAC geo-block.\n\n### Step 4: Config-gap evaluation\n\nIf logging is active (Step 1 passed), CMK is present (Step 2 passed), and\nno geo-block risk (Step 3 passed), evaluate secondary gaps:\n\n- **Single logging destination.** Only one of {S3, CloudWatch, Firehose}\n  configured. No redundancy — if that destination fails (bucket deleted,\n  log group removed, stream error), invocations are silently unlogged.\n  → **CONFIG_GAP**\n\n- **Provisioned throughput commitment expired.** Any PT allocation with\n  `status: expired`. The model falls back to on-demand billing at higher\n  per-token cost. → **CONFIG_GAP**\n\n- **Enabled models without guardrails.** Models are enabled but the\n  guardrails section is `(none)` or does not cover all enabled models.\n  No content filtering or PII redaction. → **CONFIG_GAP**\n\n- **Partial modality logging.** `imageDataDeliveryEnabled` or\n  `embeddingDataDeliveryEnabled` is `false` while image\u002Fembedding models\n  are enabled. → **CONFIG_GAP**\n\nIf none apply → proceed to Step 5.\n\n### Step 5: OK\n\nIf no step produces a finding → **OK**. The inventory has multi-destination\nlogging, a customer-managed KMS key, no APAC geo-block risk, and no\nsecondary config gaps.\n\n## Output format (per inventory)\n\n```text\nINVENTORY: \u003Caccount-id> \u002F \u003Cregion>\nVERDICT: NO_LOGGING | NO_ENCRYPTION | GEO_BLOCK_RISK | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and its step>\nFINDINGS:\n  - [NO_LOGGING] \u003Cfinding description (Step N)>\n  - [NO_ENCRYPTION] \u003Csecondary finding description (Step N)>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n### Worked example — no invocation logging\n\n```text\nINVENTORY: 111111111111 \u002F us-east-1\nVERDICT: NO_LOGGING\nREASON: No invocation logging destinations configured — zero audit trail for\nany model invocation (Step 1). No customer-managed KMS key either (Step 2).\nFINDINGS:\n  - [NO_LOGGING] s3Config, cloudwatchConfig, kinesisConfig all absent (Step 1)\n  - [NO_ENCRYPTION] No customer-managed KMS key — AWS-managed only (Step 2)\nREMEDIATION:\n  1. Enable invocation logging with at least two destinations:\n     aws bedrock put-invocation-logging --logging-config '{\"s3Config\":{\"bucketName\":\"bedrock-invocation-logs\",\"keyPrefix\":\"invocations\u002F\"},\"cloudwatchConfig\":{\"logGroupName\":\"\u002Faws\u002Fbedrock\u002Finvocations\"},\"textDataDeliveryEnabled\":true,\"imageDataDeliveryEnabled\":true}'\n  2. Associate a customer-managed KMS key for guardrail and log-delivery encryption.\n```\n\n## Anti-Patterns — NEVER\n\n- NEVER classify a logging configuration with `textDataDeliveryEnabled:\n  false` as anything other than NO_LOGGING. Text is the primary LLM\n  modality. Destinations configured without text delivery are receiving\n  nothing useful — the logging is cosmetic, not functional.\n\n- NEVER assume Anthropic Claude models are invocable in APAC regions just\n  because they appear in `list-foundation-models`. The listing shows\n  \n  at the API layer in APAC jurisdictions. Always check the region prefix.\n\n- NEVER treat AWS-managed encryption as equivalent to customer-managed KMS\n  for compliance. AWS-managed keys encrypt at rest, but the account cannot\n  demonstrate key-usage auditability (no CloudTrail KMS events), cannot\n  revoke access during an incident, and cannot apply granular key policies.\n  Compliance frameworks (SOC2, HIPAA, GDPR) require customer-managed key\n  control for sensitive data.\n\n- NEVER flag a single-destination logging configuration as NO_LOGGING. A\n  single destination (e.g., S3 only) with text delivery enabled IS logging.\n  The single destination is a redundancy gap (CONFIG_GAP), not a logging\n  absence. Downgrading to NO_LOGGING causes alert fatigue.\n\n- NEVER classify Nova, Titan, gpt-oss, Mistral, or Meta Llama models as\n  GEO_BLOCK_RISK. Only Anthropic Claude models carry the APAC invocation\n  geo-block. Non-Anthropic models are available in all supported regions.\n\n- NEVER ignore expired provisioned throughput commitments. An expired PT\n  silently transitions the model to on-demand billing — often 2-3x more\n  expensive per token. This is a cost leak, not a security risk, but it is\n  a legitimate CONFIG_GAP finding.\n\n- NEVER assume guardrails are automatically attached to enabled models.\n  Guardrails are applied per-invocation or per-inference-profile. An\n  enabled model without guardrails has no content filtering, no PII\n  redaction, and no topic denial — a data-protection gap even when logging\n  and encryption are healthy.\n\n- NEVER conflate DataFirehose with CloudWatch Logs for real-time\n  monitoring. Firehose buffers for 60-900 seconds before delivering to S3.\n  CloudWatch Logs is near-real-time. A config with only Firehose lacks\n  real-time alerting capability — flag as CONFIG_GAP.\n\n- NEVER treat cross-region inference profiles as a reliable geo-block\n  workaround. A profile like `us.anthropic.claude-3-5-sonnet-...` routes\n  across US regions, but if the calling account is in APAC, the base\n  model's jurisdictional check may still apply. Verify by testing an\n  actual invocation, not by assuming the profile bypasses the block.\n\n- NEVER call `put-invocation-logging` without first capturing the current\n  configuration. The call REPLACES the entire logging config — there is no\n  merge, no version history, and no rollback. Always back up with\n  `get-invocation-logging` before any modification.\n\n- NEVER assume invocation logs are being delivered just because\n  `put-invocation-logging` returned success. The S3 bucket must have a\n  policy granting `s3:PutObject` to the Bedrock service principal, and the\n  CloudWatch log group must have a resource policy allowing\n  `bedrock.amazonaws.com` to write. Verify actual log delivery by checking\n  for recent objects\u002Fevents after enabling — a missing bucket policy is a\n  silent failure that looks healthy in the console.\n\n- NEVER point invocation logging at an S3 bucket without a lifecycle policy.\n  Invocation logs accumulate indefinitely — a high-traffic Bedrock account\n  can generate gigabytes per day. Without a lifecycle rule (transition to\n  Glacier after 90 days, expire after 365 days), the bucket grows unbounded,\n  creating a cost and operability risk that undermines the logging investment.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n- **MANDATORY CONFIRMATION GATE.** Before enabling\u002Fmodifying invocation\n  logging or associating a KMS key, emit:\n  `CONFIRM: About to modify Bedrock invocation logging for account\n  \u003Caccount> in region \u003Cregion>. This affects audit-trail capture for all\n  model invocations. Proceed? (yes\u002Fno)`\n\n- **Logging enablement is destructive.** `put-invocation-logging` REPLACES\n  the entire configuration. Always capture the current config:\n  `aws bedrock get-invocation-logging --profile \u003Cp> >\n  \u002Ftmp\u002Fbedrock-logging-backup-$(date +%s).json`\n\n- **S3 bucket lifecycle.** Invocation logs accumulate indefinitely. Before\n  pointing logging at an S3 bucket, verify a lifecycle policy exists to\n  transition\u002Farchive old logs.\n\n- **KMS key policy check.** Before associating a CMK, verify the key policy\n  permits `bedrock.\u003Cregion>.amazonaws.com` to use it. A CMK that blocks\n  the Bedrock service principal silently breaks guardrail creation.\n\n- **Guardrail attachment is not retroactive.** Existing application code\n  must be updated to pass `guardrailIdentifier` in the converse call.\n\n## Remediation guidance\n\n### For NO_LOGGING\n\n1. Enable invocation logging with at least two destinations and all\n   modalities:\n   ```bash\n   aws bedrock put-invocation-logging \\\n     --logging-config '{\"s3Config\":{\"bucketName\":\"bedrock-invocation-logs\",\"keyPrefix\":\"invocations\u002F\"},\"cloudwatchConfig\":{\"logGroupName\":\"\u002Faws\u002Fbedrock\u002Finvocations\"},\"textDataDeliveryEnabled\":true,\"imageDataDeliveryEnabled\":true,\"embeddingDataDeliveryEnabled\":true}' \\\n     --profile \u003Cp> --region \u003Cr>\n   ```\n2. Verify: `aws bedrock get-invocation-logging --profile \u003Cp>`\n3. Set an S3 lifecycle policy on the log bucket (Glacier after 90 days,\n   expire after 365 days).\n4. Create a CloudWatch metric filter on the log group for high-token\n   invocations (cost anomaly detection).\n\n### For NO_ENCRYPTION\n\n1. Create or identify a customer-managed KMS key:\n   `aws kms create-key --description \"Bedrock encryption key\" --profile \u003Cp>`\n2. Add a key policy allowing Bedrock to use it, then create an alias:\n   `aws kms create-alias --alias-name alias\u002Fbedrock-encryption --target-key-id \u003Ckey-id>`\n3. Re-create guardrails with the CMK:\n   `aws bedrock create-guardrail --name secured-guardrail --kms-key-id \u003Ckey-id> ...`\n4. Enable SSE-KMS on the S3 bucket receiving invocation logs.\n\n### For GEO_BLOCK_RISK\n\n1. If Claude is required and the account is in APAC:\n   - Use Amazon Nova Pro\u002FLite as the primary model (not geo-blocked).\n   - Use gpt-oss models as an alternative (not geo-blocked).\n   - If Claude is strictly required, invoke from a non-APAC region\n     (us-east-1, eu-west-1) via a cross-region inference profile.\n2. Test an actual invocation to confirm the block:\n   ```bash\n   aws bedrock-runtime converse --model-id anthropic.claude-3-5-sonnet-20241022-v2:0 \\\n     --messages '[{\"role\":\"user\",\"content\":[{\"text\":\"test\"}]}]' \\\n     --profile \u003Cp> --region ap-southeast-1\n   # Expect: ValidationException if geo-blocked\n   ```\n3. Remove Claude models from the enabled list if they cannot be invoked,\n   to prevent application-level confusion.\n\n### For CONFIG_GAP\n\n1. **Single destination:** add a second logging destination (CloudWatch\n   for real-time + S3 for archival).\n2. **Expired PT:** renew the commitment or transition to on-demand with a\n   cost-monitoring budget.\n3. **No guardrails:** create and attach guardrails to enabled models:\n   `aws bedrock create-guardrail --name default-guardrail ...`\n4. **Partial modality:** enable image\u002Fembedding delivery if those model\n   types are in use.\n\n### For OK\n\n1. No remediation required.\n2. Recommend periodic review of enabled models (remove unused).\n3. Recommend CloudWatch alarms on invocation-volume spikes.\n4. Recommend quarterly review of provisioned throughput commitments.\n\n## Recent AWS features (2024-2026)\n\n- **Cross-region inference profiles (2024-2025):** Bedrock now supports cross-region inference profiles that route requests across regions for higher throughput. Auditors must account for inference profiles in the model-access inventory — a model may appear accessible but its inference profile may not be enabled, or vice versa.\n- **Bedrock marketplace models (2024):** Third-party models (e.g., Llama, Mistral) are now available via Bedrock Marketplace. These models have different access-request flows than first-party models. Auditors should inventory marketplace models separately and verify their invocation logging coverage.\n- **Provisioned throughput with inference profiles:** Provisioned throughput commitments now interact with cross-region inference profiles. Auditors should verify that provisioned throughput units (PTUs) are not over-committed or under-utilized, and that model unit (MU) quotas are tracked.\n- **Model distillation and evaluation jobs (2024-2025):** Bedrock Distillation and Evaluation Jobs are new capabilities that create additional invocation surfaces. Auditors should verify these jobs are covered by invocation logging and guardrails.\n- **New model families (2024-2026):** Amazon Nova models (Micro\u002FLite\u002FPro\u002FPremier), Claude 3.5\u002F4 (Sonnet\u002FHaiku\u002FOpus), Llama 3\u002F4, and DeepSeek models expand the model-access inventory surface. Each new model requires its own access-request and IAM evaluation.\n\n## Domain\n\nAWS CloudOps \u002F Bedrock AI-ML Security & Compliance.\n\n## AWS documentation\n\n- **Amazon Bedrock User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fwhat-is-bedrock.html\n- **Bedrock model access management** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fmodel-access.html\n- **Security in Amazon Bedrock** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fsecurity.html\n- **Bedrock API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002FAPIReference\u002F\n- **AWS CLI Bedrock command reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fbedrock\u002F\n- **Cross-region inference profiles** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fcross-region-inference.html\n","# Bedrock Model Access Inventory Auditor\n\n## Mindset\n\n**One-line takeaway:** the verdict is the **first** finding in a fixed\npriority order — logging before encryption before geo-block before\nconfig-gap — because a forensic-trail loss (no logging) is worse than a\nkey-control loss (no CMK), which is worse than an availability\nfalse-positive (geo-blocked Claude), which is worse than a minor config\nissue (expired provisioned throughput).\n\nBedrock model access is the gate between your data and foundation models.\nThree dimensions define its security posture:\n\n- **Invocation logging** is the **forensic spine**. Without it, there is no\n  audit trail of which prompts were sent to which models, what data was\n  included, or what responses were generated. A Bedrock account with models\n  enabled but no invocation logging has zero breach-investigation capability.\n- **Customer-managed KMS** is the **key-control layer**. AWS-managed\n  encryption still encrypts at rest, but you cannot audit key-usage events\n  in CloudTrail, cannot revoke access during an incident, and cannot apply\n  key-level IAM policies. The gap is control, not confidentiality.\n- **Geo-block risk** is an **availability false-positive**. Anthropic Claude\n  models appear in `list-foundation-models` and can be enabled in Model\n  Access, but `converse`\u002F`invoke-model` returns `ValidationException` in\n  APAC jurisdictions. The listing is misleading — the model is listed but\n  blocked at invocation, not at enablement.\n\n## Quick reference — verdict thresholds\n\n| Condition | Verdict | Step |\n|---|---|---|\n| All logging destinations absent (S3\u002FCW\u002FFirehose) | **NO_LOGGING** | 1 |\n| Destinations present but `textDataDeliveryEnabled: false` | **NO_LOGGING** | 1 |\n| Destinations present but all modality flags false | **NO_LOGGING** | 1 |\n| Logging active (text delivery on); no customer-managed KMS key | **NO_ENCRYPTION** | 2 |\n| CMK present; Anthropic models enabled in `ap-*` region | **GEO_BLOCK_RISK** | 3 |\n| CMK present; single logging destination only | **CONFIG_GAP** | 4 |\n| CMK present; provisioned throughput commitment expired | **CONFIG_GAP** | 4 |\n| CMK present; enabled models without guardrails | **CONFIG_GAP** | 4 |\n| CMK present; image\u002Fembedding delivery disabled | **CONFIG_GAP** | 4 |\n| Multi-destination logging + CMK + no geo-block + no gaps | **OK** | 5 |\n\nPriority order (first match wins): `NO_LOGGING > NO_ENCRYPTION >\nGEO_BLOCK_RISK > CONFIG_GAP > OK`.\n\n## Pre-flight: input validation\n\nIf the inventory document is malformed (missing required sections,\nunparseable), output:\n\n```text\nINVENTORY: \u003Caccount\u002Fregion or \"unknown\">\nVERDICT: ERROR\nREASON: Bedrock inventory document is malformed — cannot classify.\nREMEDIATION: Re-fetch with aws bedrock get-invocation-logging and aws bedrock list-foundation-models.\n```\n\n## Process — Classification logic (apply in order, first match wins)\n\n### Step 0: Expert knowledge — non-obvious Bedrock behaviors\n\nEach behavior changes the verdict if ignored:\n\n- **Invocation logging is account-level, not per-model.** Once enabled via\n  `put-invocation-logging`, it captures ALL model invocations across the\n  account. There is no API to log only specific models. If logging is off,\n  every model is unlogged; if on, every model is logged.\n\n- **`textDataDeliveryEnabled` is the critical modality flag.** Text is the\n  primary data type for LLM invocations (prompt + response). Even if S3 and\n  CloudWatch destinations are configured, if `textDataDeliveryEnabled` is\n  false, text prompts are NOT captured. The configuration LOOKS enabled but\n  silently misses the most common modality. Treat as NO_LOGGING, not\n  CONFIG_GAP.\n\n- **Claude geo-block fires at invocation, not at enablement.** Anthropic\n  models appear in `list-foundation-models` in APAC regions (ap-southeast,\n  ap-northeast, ap-south, ap-east) and can be subscribed in Model Access.\n  But `converse` \u002F `invoke-model` returns `ValidationException`. The block\n  is jurisdictional (APAC), not account-specific. Amazon Nova, Titan,\n  gpt-oss, Mistral, and Meta Llama models are NOT blocked. Do NOT classify\n  Claude as \"enabled and functional\" in APAC — it is enabled but\n  invocation-blocked.\n\n- **Provisioned throughput commitment is time-bounded.** A PT allocation\n  has `status: active` during the commitment term and transitions to\n  `expired` after the commitment end date. After expiry, the model falls\n  back to on-demand billing at a higher per-token rate. An expired PT is a\n  cost\u002Fconfig gap, not a security risk.\n\n- **KMS for Bedrock applies to guardrails, knowledge bases, and log\n  delivery — not model invocations.** Model prompts\u002Fresponses in transit\n  use TLS; at rest within Bedrock infrastructure, data is encrypted with\n  AWS-managed keys (not customer-controllable). A customer-managed KMS key\n  applies to: guardrail storage (`create-guardrail --kms-key-id`),\n  knowledge-base vector-store encryption, and S3 bucket encryption for\n  invocation log delivery. The NO_ENCRYPTION finding means you lack\n  key-control over these artifacts, not that invocations are unencrypted.\n\n- **DataFirehose delivery has a buffering delay (60-900 seconds).** When\n  using Kinesis Data Firehose as a logging destination, logs are buffered\n  before delivery to S3. For real-time alerting, CloudWatch Logs is the\n  correct destination; Firehose is for batch\u002Farchival. A config with only\n  Firehose (no CloudWatch) lacks real-time monitoring capability.\n\n- **Cross-region inference profiles log the profile ARN, not the backing\n  region.** When using a profile (e.g., `us.anthropic.claude-...`), the\n  invocation log records the profile, not the specific region that\n  processed the request. This matters for data-residency compliance: you\n  cannot prove which region saw the prompt from logs alone.\n\n- **Guardrails are evaluated at invocation, not at enablement.** A model\n  can be enabled without any guardrail attached. Guardrails are applied\n  per-invocation (via `guardrailIdentifier` in the converse call) or\n  per-inference-profile. The absence of guardrails on enabled models means\n  no content filtering, no PII redaction, and no topic denial — a data-\n  protection gap even when logging and encryption are healthy.\n\n- **`put-invocation-logging` is a REPLACE, not a merge.** Calling it\n  overwrites the entire logging configuration. Always capture the current\n  config with `get-invocation-logging` before any modification — there is\n  no version history and no rollback.\n\n- **S3 bucket policy is REQUIRED for log delivery — `put-invocation-logging`\n  succeeds silently without it.** The S3 bucket receiving invocation logs\n  MUST have a bucket policy granting `s3:PutObject` to the Bedrock service\n  principal (`logging.bedrock.amazonaws.com` or `bedrock.amazonaws.com`\n  depending on region). Without this policy, the API call returns success\n  but NO logs are ever delivered — a silent failure that looks healthy in\n  the console. This is the most common logging-misconfiguration trap: the\n  logging config appears enabled, but the bucket rejects writes.\n\n- **CloudWatch Logs resource policy is REQUIRED for CW delivery.** Similarly,\n  the CloudWatch log group must have a resource policy allowing\n  `bedrock.amazonaws.com` to create log streams and put log events. Without\n  it, Bedrock cannot write invocation logs to CloudWatch, even though the\n  logging config names the log group. Verify with\n  `aws logs describe-resource-policies` and check for a policy that includes\n  `logs:CreateLogStream` and `logs:PutLogEvents` for the Bedrock principal.\n\n- **CMK key rotation for the Bedrock-associated key matters.** The\n  customer-managed KMS key used for guardrail encryption and knowledge-base\n  vector stores should have `EnableKeyRotation: true`. A CMK with rotation\n  disabled on a symmetric key is an additive CONFIG_GAP finding (same\n  principle as KMS key auditing: unbounded exposure window if key material\n  is compromised). Verify with\n  `aws kms get-key-rotation-status --key-id \u003Cbedrock-key-id>`.\n\n- **`bedrock:PutInvocationLogging` requires service-level IAM permission.**\n  The principal enabling logging needs `bedrock:PutInvocationLogging` in\n  their identity-based policy — this is NOT a resource-level permission and\n  cannot be scoped via a resource ARN. A role with only\n  `bedrock:ListFoundationModels` will fail to enable logging with\n  `AccessDeniedException`. Verify the auditor role's permissions before\n  attempting remediation.\n\n- **Invocation logs contain the FULL prompt and response text — the log\n  destination itself becomes a sensitive-data store.** Bedrock invocation\n  logging captures complete input prompts and model outputs verbatim,\n  including any PII, credentials, API keys, or proprietary data the\n  application sent to the model. The S3 bucket and CloudWatch log group\n  receiving these logs must have TIGHTER access controls than a typical\n  log bucket — a broad bucket policy or permissive log-group IAM grant\n  effectively re-exposes every sensitive payload the model ever processed.\n  Treat the logging destinations as Tier-1 sensitive-data stores with\n  their own access-review cadence.\n\n- **Knowledge-base data ingestion is NOT covered by invocation logging.**\n  When a Bedrock knowledge base ingests source documents\n  (`bedrock:IngestKnowledgeBaseDocuments` or automated sync), the document\n  content flows into the vector store and is NOT captured in invocation\n  logs. Only the downstream model invocation (converse\u002Finvoke) that reads\n  the vector store is logged — the ingestion step is invisible. This means\n  sensitive data can enter the RAG pipeline without any log trail. A\n  compliance audit that checks invocation logs alone misses the data-\n  ingestion path entirely.\n\n- **Cross-region inference profiles record logs in the profile's home\n  region, not the caller's region.** When an invocation is routed via a\n  cross-region profile (e.g., `us.anthropic.claude-3-5-sonnet-...`), the\n  invocation log is emitted in the region where the profile is managed,\n  not the region of the calling account. A logging config verified in\n  us-east-1 may silently miss invocations that were routed to us-west-2\n  via the profile. To ensure full coverage, verify logging configuration\n  in every region where a cross-region inference profile is active.\n\n- **Guardrail evaluations are recorded inside the invocation log entry,\n  not as separate events.** When a guardrail blocks or redacts content,\n  the action is embedded in the invocation log record under\n  `guardrail` fields (interventions, masked output). This signal is often\n  overlooked because it is nested deep in the log payload. A monitoring\n  pipeline that ignores the guardrail sub-objects misses the only\n  programmatic evidence that content filtering fired.\n\n### Step 1: Invocation logging evaluation (highest priority)\n\nCheck the invocation logging configuration:\n\n1. **All destinations absent.** If `s3Config`, `cloudwatchConfig`, and\n   `kinesisConfig` are all `(none)` \u002F absent \u002F null → **NO_LOGGING**.\n\n2. **Text delivery disabled.** If destinations are configured but\n   `textDataDeliveryEnabled` is `false` → **NO_LOGGING**. Text is the\n   primary LLM modality; logging without text capture is cosmetic.\n\n3. **All modalities disabled.** If `textDataDeliveryEnabled`,\n   `imageDataDeliveryEnabled`, and `embeddingDataDeliveryEnabled` are all\n   false (regardless of destinations configured) → **NO_LOGGING**.\n\n4. **At least one destination + text delivery enabled.** Logging is\n   ACTIVE. Proceed to Step 2. Record secondary gaps (single destination,\n   missing modalities) for Step 4.\n\n### Step 2: KMS encryption evaluation\n\n- **No CMK** (`customerManagedKey: (none — AWS-managed)`) →\n  **NO_ENCRYPTION**. The account relies solely on AWS-managed encryption.\n  While data IS encrypted at rest, the account cannot audit KMS key-usage\n  events in CloudTrail, cannot revoke access during an incident, and cannot\n  apply key-level IAM policies for granular access control.\n\n- **CMK present** (`customerManagedKey: \u003Ckey-arn>`) → OK for this\n  dimension. Proceed to Step 3.\n\n### Step 3: Geo-block risk evaluation\n\n- **Region starts with `ap-` AND any Anthropic model is enabled** →\n  **GEO_BLOCK_RISK**. The Claude models are listed and enabled but will\n  fail at invocation with `ValidationException`. This is a jurisdictional\n  block, not an account-specific issue.\n\n- **Region does NOT start with `ap-` OR no Anthropic models enabled** →\n  no geo-block risk. Proceed to Step 4.\n\n- **Nova, Titan, gpt-oss, Mistral, Meta Llama** are NOT geo-blocked in\n  any region. Only Anthropic Claude models carry the APAC geo-block.\n\n### Step 4: Config-gap evaluation\n\nIf logging is active (Step 1 passed), CMK is present (Step 2 passed), and\nno geo-block risk (Step 3 passed), evaluate secondary gaps:\n\n- **Single logging destination.** Only one of {S3, CloudWatch, Firehose}\n  configured. No redundancy — if that destination fails (bucket deleted,\n  log group removed, stream error), invocations are silently unlogged.\n  → **CONFIG_GAP**\n\n- **Provisioned throughput commitment expired.** Any PT allocation with\n  `status: expired`. The model falls back to on-demand billing at higher\n  per-token cost. → **CONFIG_GAP**\n\n- **Enabled models without guardrails.** Models are enabled but the\n  guardrails section is `(none)` or does not cover all enabled models.\n  No content filtering or PII redaction. → **CONFIG_GAP**\n\n- **Partial modality logging.** `imageDataDeliveryEnabled` or\n  `embeddingDataDeliveryEnabled` is `false` while image\u002Fembedding models\n  are enabled. → **CONFIG_GAP**\n\nIf none apply → proceed to Step 5.\n\n### Step 5: OK\n\nIf no step produces a finding → **OK**. The inventory has multi-destination\nlogging, a customer-managed KMS key, no APAC geo-block risk, and no\nsecondary config gaps.\n\n## Output format (per inventory)\n\n```text\nINVENTORY: \u003Caccount-id> \u002F \u003Cregion>\nVERDICT: NO_LOGGING | NO_ENCRYPTION | GEO_BLOCK_RISK | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and its step>\nFINDINGS:\n  - [NO_LOGGING] \u003Cfinding description (Step N)>\n  - [NO_ENCRYPTION] \u003Csecondary finding description (Step N)>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n### Worked example — no invocation logging\n\n```text\nINVENTORY: 111111111111 \u002F us-east-1\nVERDICT: NO_LOGGING\nREASON: No invocation logging destinations configured — zero audit trail for\nany model invocation (Step 1). No customer-managed KMS key either (Step 2).\nFINDINGS:\n  - [NO_LOGGING] s3Config, cloudwatchConfig, kinesisConfig all absent (Step 1)\n  - [NO_ENCRYPTION] No customer-managed KMS key — AWS-managed only (Step 2)\nREMEDIATION:\n  1. Enable invocation logging with at least two destinations:\n     aws bedrock put-invocation-logging --logging-config '{\"s3Config\":{\"bucketName\":\"bedrock-invocation-logs\",\"keyPrefix\":\"invocations\u002F\"},\"cloudwatchConfig\":{\"logGroupName\":\"\u002Faws\u002Fbedrock\u002Finvocations\"},\"textDataDeliveryEnabled\":true,\"imageDataDeliveryEnabled\":true}'\n  2. Associate a customer-managed KMS key for guardrail and log-delivery encryption.\n```\n\n## Anti-Patterns — NEVER\n\n- NEVER classify a logging configuration with `textDataDeliveryEnabled:\n  false` as anything other than NO_LOGGING. Text is the primary LLM\n  modality. Destinations configured without text delivery are receiving\n  nothing useful — the logging is cosmetic, not functional.\n\n- NEVER assume Anthropic Claude models are invocable in APAC regions just\n  because they appear in `list-foundation-models`. The listing shows\n  \n  at the API layer in APAC jurisdictions. Always check the region prefix.\n\n- NEVER treat AWS-managed encryption as equivalent to customer-managed KMS\n  for compliance. AWS-managed keys encrypt at rest, but the account cannot\n  demonstrate key-usage auditability (no CloudTrail KMS events), cannot\n  revoke access during an incident, and cannot apply granular key policies.\n  Compliance frameworks (SOC2, HIPAA, GDPR) require customer-managed key\n  control for sensitive data.\n\n- NEVER flag a single-destination logging configuration as NO_LOGGING. A\n  single destination (e.g., S3 only) with text delivery enabled IS logging.\n  The single destination is a redundancy gap (CONFIG_GAP), not a logging\n  absence. Downgrading to NO_LOGGING causes alert fatigue.\n\n- NEVER classify Nova, Titan, gpt-oss, Mistral, or Meta Llama models as\n  GEO_BLOCK_RISK. Only Anthropic Claude models carry the APAC invocation\n  geo-block. Non-Anthropic models are available in all supported regions.\n\n- NEVER ignore expired provisioned throughput commitments. An expired PT\n  silently transitions the model to on-demand billing — often 2-3x more\n  expensive per token. This is a cost leak, not a security risk, but it is\n  a legitimate CONFIG_GAP finding.\n\n- NEVER assume guardrails are automatically attached to enabled models.\n  Guardrails are applied per-invocation or per-inference-profile. An\n  enabled model without guardrails has no content filtering, no PII\n  redaction, and no topic denial — a data-protection gap even when logging\n  and encryption are healthy.\n\n- NEVER conflate DataFirehose with CloudWatch Logs for real-time\n  monitoring. Firehose buffers for 60-900 seconds before delivering to S3.\n  CloudWatch Logs is near-real-time. A config with only Firehose lacks\n  real-time alerting capability — flag as CONFIG_GAP.\n\n- NEVER treat cross-region inference profiles as a reliable geo-block\n  workaround. A profile like `us.anthropic.claude-3-5-sonnet-...` routes\n  across US regions, but if the calling account is in APAC, the base\n  model's jurisdictional check may still apply. Verify by testing an\n  actual invocation, not by assuming the profile bypasses the block.\n\n- NEVER call `put-invocation-logging` without first capturing the current\n  configuration. The call REPLACES the entire logging config — there is no\n  merge, no version history, and no rollback. Always back up with\n  `get-invocation-logging` before any modification.\n\n- NEVER assume invocation logs are being delivered just because\n  `put-invocation-logging` returned success. The S3 bucket must have a\n  policy granting `s3:PutObject` to the Bedrock service principal, and the\n  CloudWatch log group must have a resource policy allowing\n  `bedrock.amazonaws.com` to write. Verify actual log delivery by checking\n  for recent objects\u002Fevents after enabling — a missing bucket policy is a\n  silent failure that looks healthy in the console.\n\n- NEVER point invocation logging at an S3 bucket without a lifecycle policy.\n  Invocation logs accumulate indefinitely — a high-traffic Bedrock account\n  can generate gigabytes per day. Without a lifecycle rule (transition to\n  Glacier after 90 days, expire after 365 days), the bucket grows unbounded,\n  creating a cost and operability risk that undermines the logging investment.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n- **MANDATORY CONFIRMATION GATE.** Before enabling\u002Fmodifying invocation\n  logging or associating a KMS key, emit:\n  `CONFIRM: About to modify Bedrock invocation logging for account\n  \u003Caccount> in region \u003Cregion>. This affects audit-trail capture for all\n  model invocations. Proceed? (yes\u002Fno)`\n\n- **Logging enablement is destructive.** `put-invocation-logging` REPLACES\n  the entire configuration. Always capture the current config:\n  `aws bedrock get-invocation-logging --profile \u003Cp> >\n  \u002Ftmp\u002Fbedrock-logging-backup-$(date +%s).json`\n\n- **S3 bucket lifecycle.** Invocation logs accumulate indefinitely. Before\n  pointing logging at an S3 bucket, verify a lifecycle policy exists to\n  transition\u002Farchive old logs.\n\n- **KMS key policy check.** Before associating a CMK, verify the key policy\n  permits `bedrock.\u003Cregion>.amazonaws.com` to use it. A CMK that blocks\n  the Bedrock service principal silently breaks guardrail creation.\n\n- **Guardrail attachment is not retroactive.** Existing application code\n  must be updated to pass `guardrailIdentifier` in the converse call.\n\n## Remediation guidance\n\n### For NO_LOGGING\n\n1. Enable invocation logging with at least two destinations and all\n   modalities:\n   ```bash\n   aws bedrock put-invocation-logging \\\n     --logging-config '{\"s3Config\":{\"bucketName\":\"bedrock-invocation-logs\",\"keyPrefix\":\"invocations\u002F\"},\"cloudwatchConfig\":{\"logGroupName\":\"\u002Faws\u002Fbedrock\u002Finvocations\"},\"textDataDeliveryEnabled\":true,\"imageDataDeliveryEnabled\":true,\"embeddingDataDeliveryEnabled\":true}' \\\n     --profile \u003Cp> --region \u003Cr>\n   ```\n2. Verify: `aws bedrock get-invocation-logging --profile \u003Cp>`\n3. Set an S3 lifecycle policy on the log bucket (Glacier after 90 days,\n   expire after 365 days).\n4. Create a CloudWatch metric filter on the log group for high-token\n   invocations (cost anomaly detection).\n\n### For NO_ENCRYPTION\n\n1. Create or identify a customer-managed KMS key:\n   `aws kms create-key --description \"Bedrock encryption key\" --profile \u003Cp>`\n2. Add a key policy allowing Bedrock to use it, then create an alias:\n   `aws kms create-alias --alias-name alias\u002Fbedrock-encryption --target-key-id \u003Ckey-id>`\n3. Re-create guardrails with the CMK:\n   `aws bedrock create-guardrail --name secured-guardrail --kms-key-id \u003Ckey-id> ...`\n4. Enable SSE-KMS on the S3 bucket receiving invocation logs.\n\n### For GEO_BLOCK_RISK\n\n1. If Claude is required and the account is in APAC:\n   - Use Amazon Nova Pro\u002FLite as the primary model (not geo-blocked).\n   - Use gpt-oss models as an alternative (not geo-blocked).\n   - If Claude is strictly required, invoke from a non-APAC region\n     (us-east-1, eu-west-1) via a cross-region inference profile.\n2. Test an actual invocation to confirm the block:\n   ```bash\n   aws bedrock-runtime converse --model-id anthropic.claude-3-5-sonnet-20241022-v2:0 \\\n     --messages '[{\"role\":\"user\",\"content\":[{\"text\":\"test\"}]}]' \\\n     --profile \u003Cp> --region ap-southeast-1\n   # Expect: ValidationException if geo-blocked\n   ```\n3. Remove Claude models from the enabled list if they cannot be invoked,\n   to prevent application-level confusion.\n\n### For CONFIG_GAP\n\n1. **Single destination:** add a second logging destination (CloudWatch\n   for real-time + S3 for archival).\n2. **Expired PT:** renew the commitment or transition to on-demand with a\n   cost-monitoring budget.\n3. **No guardrails:** create and attach guardrails to enabled models:\n   `aws bedrock create-guardrail --name default-guardrail ...`\n4. **Partial modality:** enable image\u002Fembedding delivery if those model\n   types are in use.\n\n### For OK\n\n1. No remediation required.\n2. Recommend periodic review of enabled models (remove unused).\n3. Recommend CloudWatch alarms on invocation-volume spikes.\n4. Recommend quarterly review of provisioned throughput commitments.\n\n## Recent AWS features (2024-2026)\n\n- **Cross-region inference profiles (2024-2025):** Bedrock now supports cross-region inference profiles that route requests across regions for higher throughput. Auditors must account for inference profiles in the model-access inventory — a model may appear accessible but its inference profile may not be enabled, or vice versa.\n- **Bedrock marketplace models (2024):** Third-party models (e.g., Llama, Mistral) are now available via Bedrock Marketplace. These models have different access-request flows than first-party models. Auditors should inventory marketplace models separately and verify their invocation logging coverage.\n- **Provisioned throughput with inference profiles:** Provisioned throughput commitments now interact with cross-region inference profiles. Auditors should verify that provisioned throughput units (PTUs) are not over-committed or under-utilized, and that model unit (MU) quotas are tracked.\n- **Model distillation and evaluation jobs (2024-2025):** Bedrock Distillation and Evaluation Jobs are new capabilities that create additional invocation surfaces. Auditors should verify these jobs are covered by invocation logging and guardrails.\n- **New model families (2024-2026):** Amazon Nova models (Micro\u002FLite\u002FPro\u002FPremier), Claude 3.5\u002F4 (Sonnet\u002FHaiku\u002FOpus), Llama 3\u002F4, and DeepSeek models expand the model-access inventory surface. Each new model requires its own access-request and IAM evaluation.\n\n## Domain\n\nAWS CloudOps \u002F Bedrock AI-ML Security & Compliance.\n\n## AWS documentation\n\n- **Amazon Bedrock User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fwhat-is-bedrock.html\n- **Bedrock model access management** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fmodel-access.html\n- **Security in Amazon Bedrock** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fsecurity.html\n- **Bedrock API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002FAPIReference\u002F\n- **AWS CLI Bedrock command reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fbedrock\u002F\n- **Cross-region inference profiles** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fcross-region-inference.html\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},"bedrock, ai-ml, security, invocation-logging, kms-encryption, geo-block, audit","2","Jacky Chan — AWS Community Builder","aws-cloudops","AI\u002FML","0.1.0","Bedrock, model access, invocation logging, KMS encryption, geo-block, Claude APAC, provisioned throughput, guardrails, Nova, DataFirehose, audit trail, compliance, model inventory","high","false","Reviewing Bedrock model access before production deployment, auditing invocation logging coverage, validating customer-managed KMS encryption, assessing Anthropic Claude geo-block risk in APAC, checking provisioned throughput commitment state, or hardening Bedrock security posture.","true","NO_LOGGING | NO_ENCRYPTION | GEO_BLOCK_RISK | CONFIG_GAP | OK | ERROR","Input: a Bedrock Model Access inventory document (region, enabled models, invocation logging config, KMS key, provisioned throughput, guardrails). Output: deterministic INVENTORY\u002FVERDICT\u002FREASON\u002FFINDINGS\u002FREMEDIATION block where VERDICT is one of {NO_LOGGING, NO_ENCRYPTION, GEO_BLOCK_RISK, CONFIG_GAP, OK}.","audit bedrock model access, check bedrock invocation logging, is bedrock kms encrypted, claude geo-block apac, bedrock provisioned throughput, bedrock guardrail coverage, bedrock inventory audit","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline inventory-document classification. Live-account audits use aws bedrock get-invocation-logging, aws bedrock list-foundation-models, aws bedrock list-provisioned-model-throughputs, and aws bedrock list-guardrails (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fbedrock-model-access-inventory",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 bedrock-model-access-inventory",{"tool":54,"command":55},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill bedrock-model-access-inventory",{"tool":57,"command":58},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill bedrock-model-access-inventory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002FSKILL.md",true,[62,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",10687,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Feval\u002Ftest-cases.yaml",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fbaselines\u002Fanthropic-claude-apac-geoblock.md",691,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fbaselines\u002Fanthropic-claude-apac-geoblock.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Ffully-configured-healthy.md",605,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fbaselines\u002Ffully-configured-healthy.md",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fno-invocation-logging.md",898,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fbaselines\u002Fno-invocation-logging.md",{"path":81,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fno-kms-customer-key.md",700,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fbaselines\u002Fno-kms-customer-key.md",{"path":85,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fprovisioned-throughput-expired.md",669,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fbaselines\u002Fprovisioned-throughput-expired.md",{"path":89,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fsingle-destination-logging.md",664,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fbaselines\u002Fsingle-destination-logging.md",{"path":93,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1936,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4895,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fevals.json",{"path":101,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fanthropic-claude-apac-geoblock.md",1048,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fprompts\u002Fanthropic-claude-apac-geoblock.md",{"path":105,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Ffully-configured-healthy.md",1211,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fprompts\u002Ffully-configured-healthy.md",{"path":109,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fno-invocation-logging.md",759,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fprompts\u002Fno-invocation-logging.md",{"path":113,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fno-kms-customer-key.md",841,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fprompts\u002Fno-kms-customer-key.md",{"path":117,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fprovisioned-throughput-expired.md",1240,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fprompts\u002Fprovisioned-throughput-expired.md",{"path":121,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":122,"sourceHtmlUrl":123},"evals\u002Fprompts\u002Fsingle-destination-logging.md",826,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fevals\u002Fprompts\u002Fsingle-destination-logging.md",{"path":125,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":126,"sourceHtmlUrl":127},"examples\u002Fend-to-end.md",4805,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fexamples\u002Fend-to-end.md",{"path":129,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":130,"sourceHtmlUrl":131},"skill.usf.yaml",4107,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbedrock-model-access-inventory\u002Fskill.usf.yaml",[133,140,147,154,161,168],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"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":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"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":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"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":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"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":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"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":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"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",[],[]]