[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A7RK9PMJR89BNDEW6V63DP":3,"skill-same:01M7A7RK9PMJR89BNDEW6V63DP":136},{"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},"01M7A7RK9PMJR89BNDEW6V63DP","efs-filesystem-auditor",null,"Audits AWS EFS filesystems for encryption-at-rest, filesystem policy public principal exposure, encryption-in-transit enforcement, lifecycle management policies, and access point governance. Emits a deterministic verdict (UNENCRYPTED | PUBLIC_POLICY | CONFIG_GAP | OK) per filesystem with enumerated findings and specific remediation. Use when reviewing EFS filesystem configurations, checking for public filesystem policies, validating encryption posture, auditing lifecycle policies, or hardening EFS access before production deployment.","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\u002Fefs-filesystem-auditor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: efs-filesystem-auditor\ndescription: Audits AWS EFS filesystems for encryption-at-rest, filesystem policy public principal exposure, encryption-in-transit enforcement, lifecycle management policies, and access point governance. Emits a deterministic verdict (UNENCRYPTED | PUBLIC_POLICY | CONFIG_GAP | OK) per filesystem with enumerated findings and specific remediation. Use when reviewing EFS filesystem configurations, checking for public filesystem policies, validating encryption posture, auditing lifecycle policies, or hardening EFS access before production deployment.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline configuration classification. Live-account audits use aws efs describe-file-systems, aws efs describe-file-system-policy, aws efs describe-access-points, and aws efs describe-lifecycle-policies (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: Storage\n  verdict_shape: UNENCRYPTED | PUBLIC_POLICY | CONFIG_GAP | OK\n  when_to_use: Reviewing an EFS filesystem configuration before production deployment, checking for public filesystem policy exposure, validating encryption-at-rest and encryption-in-transit enforcement, auditing lifecycle management policies, or hardening EFS access governance across an account.\n  activation_triggers: audit this EFS filesystem, is my EFS filesystem public, check EFS encryption, EFS filesystem policy too permissive, review EFS lifecycle policy, EFS access points configured, harden EFS filesystem, Principal star EFS\n  invocation_schema: 'Input: either (a) an EFS filesystem configuration (metadata + optional filesystem policy JSON + optional access point summary), OR (b) a filesystem-id\u002FARN for live-account audit. Output: deterministic FILESYSTEM\u002FVERDICT\u002FREASON\u002FFINDINGS\u002FREMEDIATION block per filesystem, where VERDICT ∈ {UNENCRYPTED, PUBLIC_POLICY, CONFIG_GAP, OK, ERROR}.'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: EFS, Elastic File System, filesystem policy, encryption-at-rest, encryption-in-transit, aws:SecureTransport, elasticfilesystem:ClientMount, elasticfilesystem:ClientRootAccess, elasticfilesystem:ClientWrite, elasticfilesystem:AccessPointArn, Principal:\"*\", lifecycle policy, TransitionToIA, Infrequent Access, access points, EFS audit, KmsKeyId, public filesystem, NFS encryption, storage security\n  tags: efs, storage, security, filesystem-policy, encryption, lifecycle, access-points, audit\n---\n\n# EFS Filesystem Auditor\n\n## Mindset\n\n**One-line takeaway:** the verdict is always the **worst** finding across\nall dimensions, applied in strict priority order — UNENCRYPTED beats\nPUBLIC_POLICY beats CONFIG_GAP beats OK — and EFS encryption-at-rest is an\n**immutable, creation-time-only** property that cannot be retroactively\nenabled.\n\nEFS is a shared NFS filesystem. The filesystem policy is the IAM-level\nauthorisation gate for mount operations, but three EFS-specific behaviours\nmake it unlike S3 or KMS policies:\n- **Encryption-at-rest is permanent.** An unencrypted filesystem cannot be\n  encrypted in place — data must be migrated to a new encrypted filesystem.\n- **No filesystem policy is the secure default.** Without a policy, only\n  IAM principals in the owning account can mount. A missing policy is NOT a\n  gap — it means IAM governs access.\n- **`elasticfilesystem:AccessPointArn` is the strongest condition.** It\n  forces all clients through a named access point with a fixed POSIX identity\n  and root directory. A policy with `Principal: \"*\"` scoped by this condition\n  is NOT public.\n\n## Quick reference — verdict thresholds\n\n| Condition | Verdict | Step |\n|---|---|---|\n| `Encrypted: false` (or absent) | **UNENCRYPTED** | Step 1 |\n| Filesystem policy with `Principal: \"*\"` + Client* actions + no STRONG condition | **PUBLIC_POLICY** | Rule 2a |\n| Filesystem policy with `NotPrincipal` in Allow | **PUBLIC_POLICY** | Rule 2b |\n| `Principal: \"*\"` + STRONG condition (AccessPointArn, SourceAccount, SourceArn) | NOT public — proceed | Rule 2c |\n| No lifecycle policy (empty\u002Fabsent LifecyclePolicies) | **CONFIG_GAP** | Rule 3a |\n| Filesystem policy with Client* actions but no `aws:SecureTransport: true` | **CONFIG_GAP** | Rule 3b |\n| No access points configured | **CONFIG_GAP** | Rule 3c |\n| Cross-account principal (specific external account) with Client* actions | **CONFIG_GAP** | Rule 3d |\n| Encrypted + no public + lifecycle + TLS enforced + access points | **OK** | Step 4 |\n\nSee the ordered steps below for edge cases. EFS authorization internals\n(filesystem policy + IAM + security-group interaction, access point\narchitecture, lifecycle storage classes) are in the [Deep reference](#deep-reference-efs-authorization-internals)\nsection at the end.\n\n## Pre-flight: filesystem metadata gate (run before classification)\n\nBefore evaluating the filesystem policy, classify the filesystem itself.\n\n**Live-account pre-flight checks (skip if doing offline config audit):**\n1. Confirm the filesystem exists:\n   `aws efs describe-file-systems --file-system-id \u003Cid> --profile \u003Cp>`.\n   Fail closed if inaccessible.\n2. Retrieve the filesystem policy:\n   `aws efs describe-file-system-policy --file-system-id \u003Cid>`. Returns\n   `Policy` as a JSON string (may be empty if no policy is attached).\n3. Retrieve access points:\n   `aws efs describe-access-points --file-system-id \u003Cid>`. Returns an\n   `AccessPoints` array (may be empty).\n4. Retrieve lifecycle policies:\n   `aws efs describe-lifecycle-policies --file-system-id \u003Cid>` (or read from\n   `LifecyclePolicies` in describe-file-systems output).\n5. Verify CloudTrail is logging EFS API events for forensic audit trails.\n\n| Attribute | Value | Effect on audit |\n|---|---|---|\n| `Encrypted` | `false` | **Unencrypted at rest.** Jump to Step 1 — UNENCRYPTED is the verdict regardless of other dimensions. |\n| `Encrypted` | `true` | Proceed with full audit. |\n| `Encrypted` | absent | Treat as **false** (fail closed — unknown encryption state is unencrypted). |\n| Filesystem policy | empty \u002F not attached | **IAM-governed state.** No public-policy finding. Still evaluate lifecycle and TLS (no policy = no TLS enforcement → CONFIG_GAP). |\n| `KmsKeyId` | AWS-managed (`aws\u002Felasticfilesystem`) | AWS-managed KMS key — rotation is automatic. Do NOT audit the key policy (not customer-editable). |\n| `KmsKeyId` | customer-managed ARN | The KMS key policy also gates decryption — cross-reference with the kms-key-policy-auditor skill for defence-in-depth. |\n| `PerformanceMode` | `maxIO` | Higher latency, parallel mode. Not a security finding. Note for operational context. |\n\n**If the filesystem policy JSON is malformed** (invalid JSON, missing\n`Statement`, missing `Principal` or `Action`), output:\n\n```text\nFILESYSTEM: \u003Cfs-id>\nVERDICT: ERROR\nREASON: Filesystem policy document is not valid JSON or is missing required fields — cannot classify.\nREMEDIATION: Retrieve the canonical policy with `aws efs describe-file-system-policy --file-system-id \u003Cid> --output json` and re-audit.\n```\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Step 0: Expert knowledge — non-obvious EFS behaviours that change classification\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n### Step 1: Encryption-at-rest (UNENCRYPTED — worst verdict)\n\nIf `Encrypted` is `false` or absent → **UNENCRYPTED**. Stop. This is the\nworst verdict because:\n1. Data at rest is plaintext — no KMS protection.\n2. EFS encryption is immutable — cannot be enabled after creation.\n3. The only remediation is a full data migration to a new encrypted filesystem.\n\nEven if all other dimensions (policy, lifecycle, access points) are\nperfectly configured, the verdict is UNENCRYPTED. Encryption is the\nfoundational security control — without it, filesystem policy and access\npoints are irrelevant.\n\nIf `Encrypted: true`, proceed to Step 2.\n\n### Step 2: Filesystem policy public principal (PUBLIC_POLICY)\n\nEvaluate the filesystem policy for public principal exposure. This step\nonly applies if a filesystem policy is attached (non-empty).\n\nFor each `Effect: Allow` statement in the filesystem policy, classify the\nprincipal:\n\n- **WILDCARD_PRINCIPAL** — `Principal: \"*\"`, `Principal: {\"AWS\": \"*\"}`, or\n  any construct that resolves to all AWS principals.\n\n- **CROSS_ACCOUNT** — Principal includes a specific ARN whose 12-digit\n  account ID differs from the filesystem's owning account (extract from\n  the filesystem ARN).\n\n- **SAME_ACCOUNT** — All principals share the owning account ID.\n\nApply the severity rules in order (first match wins):\n\n| # | Principal | Actions | Condition | Verdict | Rule |\n|---|---|---|---|---|---|\n| 2a | WILDCARD | Client* (any) | None or WEAK | **PUBLIC_POLICY** | Rule 2a: public mount access — any network-reachable client can mount |\n| 2b | `NotPrincipal` in Allow | Any | Any | **PUBLIC_POLICY** | Rule 2b: NotPrincipal grants to everyone EXCEPT listed — inverse wildcard |\n| 2c | WILDCARD | Client* (any) | STRONG | NOT public — proceed | Rule 2c: strong condition (AccessPointArn, SourceAccount, SourceArn) scopes access |\n| 2d | CROSS_ACCOUNT | Client* (any) | None or WEAK | **CONFIG_GAP** (Rule 3d) | Cross-account to specific external account — reviewed as config gap |\n| 2e | SAME_ACCOUNT | Client* (any) | Any | NOT public — proceed | Same-account access governed by IAM policies |\n\n**STRONG conditions (downgrade WILDCARD from PUBLIC_POLICY):**\n- `elasticfilesystem:AccessPointArn` with `StringEquals` — forces access\n  through a named access point with fixed POSIX identity. The strongest\n  EFS-specific condition.\n- `aws:SourceAccount` with `StringEquals` — request must originate from the\n  named account.\n- `aws:SourceArn` with `StringEquals`\u002F`StringLike` — request must originate\n  from the named resource ARN.\n\n**WEAK conditions (do NOT downgrade — treat as no condition):**\n- `aws:SourceIp` \u002F `aws:SourceIp` containing `0.0.0.0\u002F0` — IP-based, bypassable\n  by callers who control their egress.\n- `aws:Referer`, `aws:UserAgent` — trivially forgeable by any NFS\u002FHTTP client.\n- Any condition wrapped in `IfExists` — weakens the assertion.\n\n**No filesystem policy attached:** skip this step entirely. The filesystem\nis IAM-governed — not public. Proceed to Step 3.\n\n### Step 3: Configuration gaps (CONFIG_GAP)\n\nAfter confirming encryption-at-rest is enabled (Step 1) and no public\npolicy (Step 2), evaluate configuration gaps. ANY one gap triggers\nCONFIG_GAP:\n\n**Rule 3a — No lifecycle policy.** If `LifecyclePolicies` is empty or\nabsent, the filesystem has no storage-class transition. All files remain in\nStandard storage indefinitely — unbounded cost growth and no automatic\ntiering to Infrequent Access.\n\n**Rule 3b — No TLS enforcement.** If a filesystem policy exists and grants\n`elasticfilesystem:Client*` actions (ClientMount, ClientWrite,\nClientRootAccess) but does NOT include a condition requiring\n`aws:SecureTransport: \"true\"`, clients can mount without TLS. This is an\nencryption-in-transit gap. Note: if NO filesystem policy is attached, TLS\nis also not policy-enforced — this also triggers Rule 3b.\n\n**Rule 3c — No access points.** If zero access points are configured on the\nfilesystem, any IAM principal with mount access sees the full filesystem\nnamespace. For shared or multi-tenant filesystems, this is a governance\ngap. Access points enforce per-application POSIX identity and root-directory\ncontainment.\n\n**Rule 3d — Cross-account principal with Client* actions.** If the\nfilesystem policy grants `elasticfilesystem:Client*` actions to a specific\ncross-account principal (not `\"*\"`, but a named external account) with no\nSTRONG condition, this is a CONFIG_GAP. Cross-account mount access should be\nreviewed and scoped with conditions.\n\nIf ANY of Rules 3a-3d apply → **CONFIG_GAP**. Enumerate all triggered gaps\nin the FINDINGS list.\n\nIf NONE apply → proceed to Step 4.\n\n### Step 4: OK — all dimensions pass\n\nThe filesystem is **OK** if ALL of:\n1. `Encrypted: true` (Step 1 passed).\n2. No public principal in filesystem policy, or no filesystem policy (Step 2\n   passed).\n3. Lifecycle policy present (Rule 3a not triggered).\n4. TLS enforced via `aws:SecureTransport: true` condition on Client*\n   actions in the filesystem policy (Rule 3b not triggered).\n5. At least one access point configured (Rule 3c not triggered).\n6. No cross-account Client* grants without strong conditions (Rule 3d not\n   triggered).\n\n### Step 5: Aggregation — worst finding wins\n\nThe final verdict is the **maximum severity** across all findings, where\nUNENCRYPTED > PUBLIC_POLICY > CONFIG_GAP > OK:\n\n```text\nverdict = max(encryption_finding, policy_finding, config_gap_findings)\n```\n\n## Output format (per filesystem)\n\n```text\nFILESYSTEM: \u003Cfs-id or name>\nVERDICT: UNENCRYPTED | PUBLIC_POLICY | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and its step\u002Frule number>\nFINDINGS:\n  - [UNENCRYPTED] \u003Cfinding description (Step 1)>\n  - [CONFIG_GAP] \u003Cfinding description (Rule 3a)>\n  - [OK] \u003Cdimension that passed>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n### Worked example — encrypted with public policy and no lifecycle\n\n```text\nFILESYSTEM: fs-abc1234567 (shared-data-fs)\nVERDICT: PUBLIC_POLICY\nREASON: Filesystem policy Statement \"OpenMount\" grants Principal \"*\" with\nClientMount + ClientWrite + ClientRootAccess and no restrictive condition —\nany network-reachable client can mount with root privileges (Rule 2a).\nLifecycle policy is also missing.\nFINDINGS:\n  - [PUBLIC_POLICY] Principal \"*\" with ClientRootAccess and no condition\n    (Rule 2a) — root-level mount access to any reachable client\n  - [CONFIG_GAP] No lifecycle policy configured (Rule 3a) — all files in\n    Standard storage indefinitely\n  - [CONFIG_GAP] No TLS enforcement: policy grants Client* without\n    aws:SecureTransport condition (Rule 3b)\n  - [OK] Encrypted at rest with KMS key arn:aws:kms:us-east-1:111111111111:key\u002Fabc\nREMEDIATION:\n  1. PUBLIC_POLICY — Replace Principal \"*\" with specific IAM role ARNs, or\n     add elasticfilesystem:AccessPointArn condition to force access-point\n     routing. Back up policy first.\n  2. CONFIG_GAP — Add lifecycle policy:\n     aws efs put-lifecycle-configuration --file-system-id fs-abc1234567\n     --lifecycle-policies TransitionToIA=AFTER_30_DAYS\n  3. CONFIG_GAP — Add aws:SecureTransport condition to the filesystem policy.\n```\n\n## Edge-case handling\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Anti-Patterns — NEVER\n\n- NEVER flag a missing filesystem policy as a vulnerability. By default, EFS\n  access is IAM-governed — only the owning account's IAM principals can\n  mount. A missing policy is a valid posture, not \"no access control.\"\n\n- NEVER classify `Principal: \"*\"` with `elasticfilesystem:AccessPointArn`\n  condition as PUBLIC_POLICY. The access point enforces a fixed POSIX\n  identity and root directory — clients cannot bypass it. This is the\n  strongest EFS-specific access-scoping mechanism.\n\n- NEVER recommend enabling encryption on an existing unencrypted filesystem.\n  EFS encryption-at-rest is immutable — set only at creation via\n  `aws efs create-file-system --encrypted`. The only remediation for\n  UNENCRYPTED is to create a new encrypted filesystem and migrate data.\n  Suggesting a config change produces a false expectation.\n\n- NEVER treat `aws:SourceIp` with `0.0.0.0\u002F0` as a real condition. This CIDR\n  is the entire internet and provides zero restriction. Treat the statement\n  as if the condition is absent.\n\n- NEVER treat `Resource: \"*\"` in a filesystem policy as broader than\n  `Resource: \"\u003Cown-arn>\"`. The policy is attached to the filesystem — there\n  is no other resource. Evaluate Principal + Action + Condition only.\n\n- NEVER conflate `ClientRootAccess` with `ClientMount`. Root access bypasses\n  file-level POSIX permissions (no root squashing). A public policy granting\n  `ClientRootAccess` is total filesystem compromise, not just read access.\n\n- NEVER classify an encrypted filesystem with config gaps (missing lifecycle,\n  no TLS, no access points) as OK. CONFIG_GAP means the filesystem is not\n  fully hardened — the verdict is CONFIG_GAP, not OK.\n\n- NEVER assume a public filesystem policy has no real-world impact because\n  \"the mount target is in a private subnet.\" Security groups are a separate\n  layer that can change independently. A filesystem policy with\n  `Principal: \"*\"` and no condition is PUBLIC_POLICY regardless of current\n  network topology.\n\n- NEVER overlook `NotPrincipal` in an `Allow` statement. `NotPrincipal`\n  grants to every principal EXCEPT the listed one — the inverse of the\n  intended scope. Treat any `NotPrincipal` in an Allow as WILDCARD_PRINCIPAL.\n\n- NEVER modify an EFS filesystem policy without first backing it up.\n  `PutFileSystemPolicy` replaces the entire policy atomically — there is no\n  version history and no automatic rollback. Capture the current policy with\n  `aws efs describe-file-system-policy --file-system-id \u003Cid> --output json`\n  before any modification.\n\n- NEVER treat `aws:SecureTransport` enforcement as optional for production.\n  Without TLS, NFS traffic (including file contents) travels in plaintext\n  over the network. A security group allowing port 2049 from broad CIDRs\n  without TLS enforcement is a data-exposure vector.\n\n- NEVER skip the lifecycle policy dimension. A missing lifecycle policy is\n  not a security vulnerability, but it is a CONFIG_GAP — unbounded storage\n  cost growth with no automatic tiering. For FinOps governance, this is a\n  finding.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing operation\n  (`PutFileSystemPolicy`, `PutLifecycleConfiguration`,\n  `CreateAccessPoint`, `CreateMountTarget`), the auditor MUST emit:\n  `CONFIRM: About to \u003Caction> on filesystem \u003Cid> in account \u003Caccount>.\n  This affects \u003Cconsequence>. Proceed? (yes\u002Fno)`\n  Do NOT execute until the operator confirms.\n\n- **Back up the current filesystem policy** before modification:\n  `aws efs describe-file-system-policy --file-system-id \u003Cid> --output json > \u002Ftmp\u002F\u003Cid>-policy-backup-$(date +%s).json`.\n  Filesystem policies are unversioned — no undo without a backup.\n\n- Confirm the filesystem exists and is accessible:\n  `aws efs describe-file-systems --file-system-id \u003Cid> --profile \u003Cp>`.\n\n- For UNENCRYPTED remediation (migration): verify the new encrypted\n  filesystem is in the same VPC\u002Fsubnet configuration, create mount targets,\n  and test application access BEFORE decommissioning the old filesystem.\n  Data migration must be verified with checksums — EFS does not provide a\n  native copy API.\n\n- Prefer additive changes (add a Deny statement blocking\n  `aws:SecureTransport: false`, add a lifecycle policy, add access points)\n  over destructive changes (removing an Allow statement) — additive changes\n  are reversible and do not risk breaking existing mount patterns.\n\n- For PUBLIC_POLICY findings (wildcard Client* access), treat as incident\n  response: (1) back up policy, (2) add a Deny blocking the wildcard\n  principal, (3) verify the Deny is effective, (4) only then remove the\n  offending Allow. Audit CloudTrail for `elasticfilesystem:ClientMount`\n  events from unexpected principals during the exposure window.\n\n## Remediation guidance\n\n### For UNENCRYPTED — encryption-at-rest disabled\n\n1. **Create a new encrypted filesystem:**\n   `aws efs create-file-system --encrypted --kms-key-id \u003Ckms-arn> --profile \u003Cp>`.\n2. Create mount targets in the same subnets as the original.\n3. Migrate data using `efsbackup` \u002F AWS Backup restore, or a parallel-copy\n   tool (rclone, aws s3 sync via EFS-to-S3 copy). Verify with checksums.\n4. Update DNS\u002Fmount configurations to point to the new filesystem.\n5. Decommission the old filesystem only after verification:\n   `aws efs delete-file-system --file-system-id \u003Cold-id>`.\n\n### For PUBLIC_POLICY — public principal with Client* access\n\n1. **Immediately** remove `Principal: \"*\"` from the policy, or add a STRONG\n   condition (`elasticfilesystem:AccessPointArn`, `aws:SourceAccount`).\n2. **Assume breach.** Audit CloudTrail for `ClientMount` \u002F `ClientWrite` \u002F\n   `ClientRootAccess` events from unexpected principals during the exposure\n   window. Review security groups on mount targets for broad port-2049 rules.\n3. Replace `Principal: \"*\"` with specific IAM role ARNs.\n4. If broad access is intentional (e.g., multi-tenant shared filesystem),\n   enforce access-point routing with `elasticfilesystem:AccessPointArn`.\n\n### For CONFIG_GAP — no lifecycle policy (Rule 3a)\n\n```bash\naws efs put-lifecycle-configuration \\\n  --file-system-id \u003Cid> \\\n  --lifecycle-policies '[{\"TransitionToIA\":\"AFTER_30_DAYS\"}]' \\\n  --profile \u003Cp>\n```\n\n### For CONFIG_GAP — no TLS enforcement (Rule 3b)\n\nAdd `aws:SecureTransport: true` condition to all Client* Allow statements,\nOR add an explicit Deny:\n\n```json\n{\n  \"Sid\": \"DenyInsecureTransport\",\n  \"Effect\": \"Deny\",\n  \"Principal\": \"*\",\n  \"Action\": \"elasticfilesystem:Client*\",\n  \"Resource\": \"*\",\n  \"Condition\": { \"Bool\": { \"aws:SecureTransport\": \"false\" } }\n}\n```\n\n### For CONFIG_GAP — no access points (Rule 3c)\n\n```bash\naws efs create-access-point \\\n  --file-system-id \u003Cid> \\\n  --name app-prod \\\n  --posix-user Uid=1000,Gid=1000 \\\n  --root-directory Path=\u002Fprod\u002Fapp \\\n  --profile \u003Cp>\n```\n\nThen update the filesystem policy to require access-point routing via\n`elasticfilesystem:AccessPointArn` condition.\n\n### For CONFIG_GAP — cross-account principal (Rule 3d)\n\n1. Verify the cross-account access is intentional and required.\n2. Add `aws:SourceAccount` or `elasticfilesystem:AccessPointArn` condition.\n3. If unintentional, remove the cross-account principal from the policy.\n\n### For OK\n\n1. No remediation required for the current posture.\n2. Recommend periodic re-audit when mount targets or security groups change.\n3. For customer-managed KMS keys, cross-reference with the\n   `kms-key-policy-auditor` skill for key-policy defence-in-depth.\n\n## Condition strength reference (EFS-specific)\n\n| Condition key | Strength | Reason |\n|---|---|---|\n| `elasticfilesystem:AccessPointArn` | STRONG | Forces access through a named access point with fixed POSIX identity and root directory. Caller cannot forge this — set by the EFS service. |\n| `aws:SourceAccount` | STRONG | Set by the calling AWS service; identifies the owning account of the calling resource. |\n| `aws:SourceArn` | STRONG | Set by the calling AWS service; identifies the specific calling resource. |\n| `aws:SecureTransport` | ENFORCEMENT | Not a scoping condition but a TLS enforcement mechanism. Use `Bool: true` in Allow or `Bool: false` in Deny. |\n| `aws:SourceIp` (non-public CIDR) | WEAK | Network-scoped but bypassable by callers who control egress. |\n| `aws:SourceIp` (`0.0.0.0\u002F0`) | NONE | The entire internet. Do NOT treat as a restriction. |\n| `aws:Referer` | NONE | Forgeable by any HTTP\u002FNFS client. |\n| `aws:UserAgent` | NONE | Forgeable by any HTTP\u002FNFS client. |\n\n## Deep reference: EFS authorization internals\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Recent AWS features (2024-2026)\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 expert-knowledge catalogue, edge-case handling, the EFS authorization internals deep reference, and 2024-2026 feature notes, moved verbatim from SKILL.md\n\n## Domain\n\nAWS CloudOps \u002F EFS Storage Security & Compliance.\n\n## AWS documentation\n\n- **Service documentation** — Amazon EFS User Guide — https:\u002F\u002Fdocs.aws.amazon.com\u002Fefs\u002Flatest\u002Fug\u002Fwhatisefs.html\n- **Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fefs\u002Flatest\u002Fug\u002Fsecurity-efs.html\n- **API reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fefs\u002Flatest\u002Fug\u002FAPI_Reference.html\n- **CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fefs\u002F\n- **Intelligent Tiering** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fefs\u002Flatest\u002Fug\u002Fstorage-classes.html\n","# EFS Filesystem Auditor\n\n## Mindset\n\n**One-line takeaway:** the verdict is always the **worst** finding across\nall dimensions, applied in strict priority order — UNENCRYPTED beats\nPUBLIC_POLICY beats CONFIG_GAP beats OK — and EFS encryption-at-rest is an\n**immutable, creation-time-only** property that cannot be retroactively\nenabled.\n\nEFS is a shared NFS filesystem. The filesystem policy is the IAM-level\nauthorisation gate for mount operations, but three EFS-specific behaviours\nmake it unlike S3 or KMS policies:\n- **Encryption-at-rest is permanent.** An unencrypted filesystem cannot be\n  encrypted in place — data must be migrated to a new encrypted filesystem.\n- **No filesystem policy is the secure default.** Without a policy, only\n  IAM principals in the owning account can mount. A missing policy is NOT a\n  gap — it means IAM governs access.\n- **`elasticfilesystem:AccessPointArn` is the strongest condition.** It\n  forces all clients through a named access point with a fixed POSIX identity\n  and root directory. A policy with `Principal: \"*\"` scoped by this condition\n  is NOT public.\n\n## Quick reference — verdict thresholds\n\n| Condition | Verdict | Step |\n|---|---|---|\n| `Encrypted: false` (or absent) | **UNENCRYPTED** | Step 1 |\n| Filesystem policy with `Principal: \"*\"` + Client* actions + no STRONG condition | **PUBLIC_POLICY** | Rule 2a |\n| Filesystem policy with `NotPrincipal` in Allow | **PUBLIC_POLICY** | Rule 2b |\n| `Principal: \"*\"` + STRONG condition (AccessPointArn, SourceAccount, SourceArn) | NOT public — proceed | Rule 2c |\n| No lifecycle policy (empty\u002Fabsent LifecyclePolicies) | **CONFIG_GAP** | Rule 3a |\n| Filesystem policy with Client* actions but no `aws:SecureTransport: true` | **CONFIG_GAP** | Rule 3b |\n| No access points configured | **CONFIG_GAP** | Rule 3c |\n| Cross-account principal (specific external account) with Client* actions | **CONFIG_GAP** | Rule 3d |\n| Encrypted + no public + lifecycle + TLS enforced + access points | **OK** | Step 4 |\n\nSee the ordered steps below for edge cases. EFS authorization internals\n(filesystem policy + IAM + security-group interaction, access point\narchitecture, lifecycle storage classes) are in the [Deep reference](#deep-reference-efs-authorization-internals)\nsection at the end.\n\n## Pre-flight: filesystem metadata gate (run before classification)\n\nBefore evaluating the filesystem policy, classify the filesystem itself.\n\n**Live-account pre-flight checks (skip if doing offline config audit):**\n1. Confirm the filesystem exists:\n   `aws efs describe-file-systems --file-system-id \u003Cid> --profile \u003Cp>`.\n   Fail closed if inaccessible.\n2. Retrieve the filesystem policy:\n   `aws efs describe-file-system-policy --file-system-id \u003Cid>`. Returns\n   `Policy` as a JSON string (may be empty if no policy is attached).\n3. Retrieve access points:\n   `aws efs describe-access-points --file-system-id \u003Cid>`. Returns an\n   `AccessPoints` array (may be empty).\n4. Retrieve lifecycle policies:\n   `aws efs describe-lifecycle-policies --file-system-id \u003Cid>` (or read from\n   `LifecyclePolicies` in describe-file-systems output).\n5. Verify CloudTrail is logging EFS API events for forensic audit trails.\n\n| Attribute | Value | Effect on audit |\n|---|---|---|\n| `Encrypted` | `false` | **Unencrypted at rest.** Jump to Step 1 — UNENCRYPTED is the verdict regardless of other dimensions. |\n| `Encrypted` | `true` | Proceed with full audit. |\n| `Encrypted` | absent | Treat as **false** (fail closed — unknown encryption state is unencrypted). |\n| Filesystem policy | empty \u002F not attached | **IAM-governed state.** No public-policy finding. Still evaluate lifecycle and TLS (no policy = no TLS enforcement → CONFIG_GAP). |\n| `KmsKeyId` | AWS-managed (`aws\u002Felasticfilesystem`) | AWS-managed KMS key — rotation is automatic. Do NOT audit the key policy (not customer-editable). |\n| `KmsKeyId` | customer-managed ARN | The KMS key policy also gates decryption — cross-reference with the kms-key-policy-auditor skill for defence-in-depth. |\n| `PerformanceMode` | `maxIO` | Higher latency, parallel mode. Not a security finding. Note for operational context. |\n\n**If the filesystem policy JSON is malformed** (invalid JSON, missing\n`Statement`, missing `Principal` or `Action`), output:\n\n```text\nFILESYSTEM: \u003Cfs-id>\nVERDICT: ERROR\nREASON: Filesystem policy document is not valid JSON or is missing required fields — cannot classify.\nREMEDIATION: Retrieve the canonical policy with `aws efs describe-file-system-policy --file-system-id \u003Cid> --output json` and re-audit.\n```\n\n## Process — Classification logic (apply in order, aggregate worst)\n\n### Step 0: Expert knowledge — non-obvious EFS behaviours that change classification\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n### Step 1: Encryption-at-rest (UNENCRYPTED — worst verdict)\n\nIf `Encrypted` is `false` or absent → **UNENCRYPTED**. Stop. This is the\nworst verdict because:\n1. Data at rest is plaintext — no KMS protection.\n2. EFS encryption is immutable — cannot be enabled after creation.\n3. The only remediation is a full data migration to a new encrypted filesystem.\n\nEven if all other dimensions (policy, lifecycle, access points) are\nperfectly configured, the verdict is UNENCRYPTED. Encryption is the\nfoundational security control — without it, filesystem policy and access\npoints are irrelevant.\n\nIf `Encrypted: true`, proceed to Step 2.\n\n### Step 2: Filesystem policy public principal (PUBLIC_POLICY)\n\nEvaluate the filesystem policy for public principal exposure. This step\nonly applies if a filesystem policy is attached (non-empty).\n\nFor each `Effect: Allow` statement in the filesystem policy, classify the\nprincipal:\n\n- **WILDCARD_PRINCIPAL** — `Principal: \"*\"`, `Principal: {\"AWS\": \"*\"}`, or\n  any construct that resolves to all AWS principals.\n\n- **CROSS_ACCOUNT** — Principal includes a specific ARN whose 12-digit\n  account ID differs from the filesystem's owning account (extract from\n  the filesystem ARN).\n\n- **SAME_ACCOUNT** — All principals share the owning account ID.\n\nApply the severity rules in order (first match wins):\n\n| # | Principal | Actions | Condition | Verdict | Rule |\n|---|---|---|---|---|---|\n| 2a | WILDCARD | Client* (any) | None or WEAK | **PUBLIC_POLICY** | Rule 2a: public mount access — any network-reachable client can mount |\n| 2b | `NotPrincipal` in Allow | Any | Any | **PUBLIC_POLICY** | Rule 2b: NotPrincipal grants to everyone EXCEPT listed — inverse wildcard |\n| 2c | WILDCARD | Client* (any) | STRONG | NOT public — proceed | Rule 2c: strong condition (AccessPointArn, SourceAccount, SourceArn) scopes access |\n| 2d | CROSS_ACCOUNT | Client* (any) | None or WEAK | **CONFIG_GAP** (Rule 3d) | Cross-account to specific external account — reviewed as config gap |\n| 2e | SAME_ACCOUNT | Client* (any) | Any | NOT public — proceed | Same-account access governed by IAM policies |\n\n**STRONG conditions (downgrade WILDCARD from PUBLIC_POLICY):**\n- `elasticfilesystem:AccessPointArn` with `StringEquals` — forces access\n  through a named access point with fixed POSIX identity. The strongest\n  EFS-specific condition.\n- `aws:SourceAccount` with `StringEquals` — request must originate from the\n  named account.\n- `aws:SourceArn` with `StringEquals`\u002F`StringLike` — request must originate\n  from the named resource ARN.\n\n**WEAK conditions (do NOT downgrade — treat as no condition):**\n- `aws:SourceIp` \u002F `aws:SourceIp` containing `0.0.0.0\u002F0` — IP-based, bypassable\n  by callers who control their egress.\n- `aws:Referer`, `aws:UserAgent` — trivially forgeable by any NFS\u002FHTTP client.\n- Any condition wrapped in `IfExists` — weakens the assertion.\n\n**No filesystem policy attached:** skip this step entirely. The filesystem\nis IAM-governed — not public. Proceed to Step 3.\n\n### Step 3: Configuration gaps (CONFIG_GAP)\n\nAfter confirming encryption-at-rest is enabled (Step 1) and no public\npolicy (Step 2), evaluate configuration gaps. ANY one gap triggers\nCONFIG_GAP:\n\n**Rule 3a — No lifecycle policy.** If `LifecyclePolicies` is empty or\nabsent, the filesystem has no storage-class transition. All files remain in\nStandard storage indefinitely — unbounded cost growth and no automatic\ntiering to Infrequent Access.\n\n**Rule 3b — No TLS enforcement.** If a filesystem policy exists and grants\n`elasticfilesystem:Client*` actions (ClientMount, ClientWrite,\nClientRootAccess) but does NOT include a condition requiring\n`aws:SecureTransport: \"true\"`, clients can mount without TLS. This is an\nencryption-in-transit gap. Note: if NO filesystem policy is attached, TLS\nis also not policy-enforced — this also triggers Rule 3b.\n\n**Rule 3c — No access points.** If zero access points are configured on the\nfilesystem, any IAM principal with mount access sees the full filesystem\nnamespace. For shared or multi-tenant filesystems, this is a governance\ngap. Access points enforce per-application POSIX identity and root-directory\ncontainment.\n\n**Rule 3d — Cross-account principal with Client* actions.** If the\nfilesystem policy grants `elasticfilesystem:Client*` actions to a specific\ncross-account principal (not `\"*\"`, but a named external account) with no\nSTRONG condition, this is a CONFIG_GAP. Cross-account mount access should be\nreviewed and scoped with conditions.\n\nIf ANY of Rules 3a-3d apply → **CONFIG_GAP**. Enumerate all triggered gaps\nin the FINDINGS list.\n\nIf NONE apply → proceed to Step 4.\n\n### Step 4: OK — all dimensions pass\n\nThe filesystem is **OK** if ALL of:\n1. `Encrypted: true` (Step 1 passed).\n2. No public principal in filesystem policy, or no filesystem policy (Step 2\n   passed).\n3. Lifecycle policy present (Rule 3a not triggered).\n4. TLS enforced via `aws:SecureTransport: true` condition on Client*\n   actions in the filesystem policy (Rule 3b not triggered).\n5. At least one access point configured (Rule 3c not triggered).\n6. No cross-account Client* grants without strong conditions (Rule 3d not\n   triggered).\n\n### Step 5: Aggregation — worst finding wins\n\nThe final verdict is the **maximum severity** across all findings, where\nUNENCRYPTED > PUBLIC_POLICY > CONFIG_GAP > OK:\n\n```text\nverdict = max(encryption_finding, policy_finding, config_gap_findings)\n```\n\n## Output format (per filesystem)\n\n```text\nFILESYSTEM: \u003Cfs-id or name>\nVERDICT: UNENCRYPTED | PUBLIC_POLICY | CONFIG_GAP | OK\nREASON: \u003C1-2 sentences citing the worst finding and its step\u002Frule number>\nFINDINGS:\n  - [UNENCRYPTED] \u003Cfinding description (Step 1)>\n  - [CONFIG_GAP] \u003Cfinding description (Rule 3a)>\n  - [OK] \u003Cdimension that passed>\nREMEDIATION: \u003Cspecific action per finding, or \"None required\" if OK>\n```\n\n### Worked example — encrypted with public policy and no lifecycle\n\n```text\nFILESYSTEM: fs-abc1234567 (shared-data-fs)\nVERDICT: PUBLIC_POLICY\nREASON: Filesystem policy Statement \"OpenMount\" grants Principal \"*\" with\nClientMount + ClientWrite + ClientRootAccess and no restrictive condition —\nany network-reachable client can mount with root privileges (Rule 2a).\nLifecycle policy is also missing.\nFINDINGS:\n  - [PUBLIC_POLICY] Principal \"*\" with ClientRootAccess and no condition\n    (Rule 2a) — root-level mount access to any reachable client\n  - [CONFIG_GAP] No lifecycle policy configured (Rule 3a) — all files in\n    Standard storage indefinitely\n  - [CONFIG_GAP] No TLS enforcement: policy grants Client* without\n    aws:SecureTransport condition (Rule 3b)\n  - [OK] Encrypted at rest with KMS key arn:aws:kms:us-east-1:111111111111:key\u002Fabc\nREMEDIATION:\n  1. PUBLIC_POLICY — Replace Principal \"*\" with specific IAM role ARNs, or\n     add elasticfilesystem:AccessPointArn condition to force access-point\n     routing. Back up policy first.\n  2. CONFIG_GAP — Add lifecycle policy:\n     aws efs put-lifecycle-configuration --file-system-id fs-abc1234567\n     --lifecycle-policies TransitionToIA=AFTER_30_DAYS\n  3. CONFIG_GAP — Add aws:SecureTransport condition to the filesystem policy.\n```\n\n## Edge-case handling\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Anti-Patterns — NEVER\n\n- NEVER flag a missing filesystem policy as a vulnerability. By default, EFS\n  access is IAM-governed — only the owning account's IAM principals can\n  mount. A missing policy is a valid posture, not \"no access control.\"\n\n- NEVER classify `Principal: \"*\"` with `elasticfilesystem:AccessPointArn`\n  condition as PUBLIC_POLICY. The access point enforces a fixed POSIX\n  identity and root directory — clients cannot bypass it. This is the\n  strongest EFS-specific access-scoping mechanism.\n\n- NEVER recommend enabling encryption on an existing unencrypted filesystem.\n  EFS encryption-at-rest is immutable — set only at creation via\n  `aws efs create-file-system --encrypted`. The only remediation for\n  UNENCRYPTED is to create a new encrypted filesystem and migrate data.\n  Suggesting a config change produces a false expectation.\n\n- NEVER treat `aws:SourceIp` with `0.0.0.0\u002F0` as a real condition. This CIDR\n  is the entire internet and provides zero restriction. Treat the statement\n  as if the condition is absent.\n\n- NEVER treat `Resource: \"*\"` in a filesystem policy as broader than\n  `Resource: \"\u003Cown-arn>\"`. The policy is attached to the filesystem — there\n  is no other resource. Evaluate Principal + Action + Condition only.\n\n- NEVER conflate `ClientRootAccess` with `ClientMount`. Root access bypasses\n  file-level POSIX permissions (no root squashing). A public policy granting\n  `ClientRootAccess` is total filesystem compromise, not just read access.\n\n- NEVER classify an encrypted filesystem with config gaps (missing lifecycle,\n  no TLS, no access points) as OK. CONFIG_GAP means the filesystem is not\n  fully hardened — the verdict is CONFIG_GAP, not OK.\n\n- NEVER assume a public filesystem policy has no real-world impact because\n  \"the mount target is in a private subnet.\" Security groups are a separate\n  layer that can change independently. A filesystem policy with\n  `Principal: \"*\"` and no condition is PUBLIC_POLICY regardless of current\n  network topology.\n\n- NEVER overlook `NotPrincipal` in an `Allow` statement. `NotPrincipal`\n  grants to every principal EXCEPT the listed one — the inverse of the\n  intended scope. Treat any `NotPrincipal` in an Allow as WILDCARD_PRINCIPAL.\n\n- NEVER modify an EFS filesystem policy without first backing it up.\n  `PutFileSystemPolicy` replaces the entire policy atomically — there is no\n  version history and no automatic rollback. Capture the current policy with\n  `aws efs describe-file-system-policy --file-system-id \u003Cid> --output json`\n  before any modification.\n\n- NEVER treat `aws:SecureTransport` enforcement as optional for production.\n  Without TLS, NFS traffic (including file contents) travels in plaintext\n  over the network. A security group allowing port 2049 from broad CIDRs\n  without TLS enforcement is a data-exposure vector.\n\n- NEVER skip the lifecycle policy dimension. A missing lifecycle policy is\n  not a security vulnerability, but it is a CONFIG_GAP — unbounded storage\n  cost growth with no automatic tiering. For FinOps governance, this is a\n  finding.\n\n## Pre-flight safety checks (run before any remediation CLI)\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing operation\n  (`PutFileSystemPolicy`, `PutLifecycleConfiguration`,\n  `CreateAccessPoint`, `CreateMountTarget`), the auditor MUST emit:\n  `CONFIRM: About to \u003Caction> on filesystem \u003Cid> in account \u003Caccount>.\n  This affects \u003Cconsequence>. Proceed? (yes\u002Fno)`\n  Do NOT execute until the operator confirms.\n\n- **Back up the current filesystem policy** before modification:\n  `aws efs describe-file-system-policy --file-system-id \u003Cid> --output json > \u002Ftmp\u002F\u003Cid>-policy-backup-$(date +%s).json`.\n  Filesystem policies are unversioned — no undo without a backup.\n\n- Confirm the filesystem exists and is accessible:\n  `aws efs describe-file-systems --file-system-id \u003Cid> --profile \u003Cp>`.\n\n- For UNENCRYPTED remediation (migration): verify the new encrypted\n  filesystem is in the same VPC\u002Fsubnet configuration, create mount targets,\n  and test application access BEFORE decommissioning the old filesystem.\n  Data migration must be verified with checksums — EFS does not provide a\n  native copy API.\n\n- Prefer additive changes (add a Deny statement blocking\n  `aws:SecureTransport: false`, add a lifecycle policy, add access points)\n  over destructive changes (removing an Allow statement) — additive changes\n  are reversible and do not risk breaking existing mount patterns.\n\n- For PUBLIC_POLICY findings (wildcard Client* access), treat as incident\n  response: (1) back up policy, (2) add a Deny blocking the wildcard\n  principal, (3) verify the Deny is effective, (4) only then remove the\n  offending Allow. Audit CloudTrail for `elasticfilesystem:ClientMount`\n  events from unexpected principals during the exposure window.\n\n## Remediation guidance\n\n### For UNENCRYPTED — encryption-at-rest disabled\n\n1. **Create a new encrypted filesystem:**\n   `aws efs create-file-system --encrypted --kms-key-id \u003Ckms-arn> --profile \u003Cp>`.\n2. Create mount targets in the same subnets as the original.\n3. Migrate data using `efsbackup` \u002F AWS Backup restore, or a parallel-copy\n   tool (rclone, aws s3 sync via EFS-to-S3 copy). Verify with checksums.\n4. Update DNS\u002Fmount configurations to point to the new filesystem.\n5. Decommission the old filesystem only after verification:\n   `aws efs delete-file-system --file-system-id \u003Cold-id>`.\n\n### For PUBLIC_POLICY — public principal with Client* access\n\n1. **Immediately** remove `Principal: \"*\"` from the policy, or add a STRONG\n   condition (`elasticfilesystem:AccessPointArn`, `aws:SourceAccount`).\n2. **Assume breach.** Audit CloudTrail for `ClientMount` \u002F `ClientWrite` \u002F\n   `ClientRootAccess` events from unexpected principals during the exposure\n   window. Review security groups on mount targets for broad port-2049 rules.\n3. Replace `Principal: \"*\"` with specific IAM role ARNs.\n4. If broad access is intentional (e.g., multi-tenant shared filesystem),\n   enforce access-point routing with `elasticfilesystem:AccessPointArn`.\n\n### For CONFIG_GAP — no lifecycle policy (Rule 3a)\n\n```bash\naws efs put-lifecycle-configuration \\\n  --file-system-id \u003Cid> \\\n  --lifecycle-policies '[{\"TransitionToIA\":\"AFTER_30_DAYS\"}]' \\\n  --profile \u003Cp>\n```\n\n### For CONFIG_GAP — no TLS enforcement (Rule 3b)\n\nAdd `aws:SecureTransport: true` condition to all Client* Allow statements,\nOR add an explicit Deny:\n\n```json\n{\n  \"Sid\": \"DenyInsecureTransport\",\n  \"Effect\": \"Deny\",\n  \"Principal\": \"*\",\n  \"Action\": \"elasticfilesystem:Client*\",\n  \"Resource\": \"*\",\n  \"Condition\": { \"Bool\": { \"aws:SecureTransport\": \"false\" } }\n}\n```\n\n### For CONFIG_GAP — no access points (Rule 3c)\n\n```bash\naws efs create-access-point \\\n  --file-system-id \u003Cid> \\\n  --name app-prod \\\n  --posix-user Uid=1000,Gid=1000 \\\n  --root-directory Path=\u002Fprod\u002Fapp \\\n  --profile \u003Cp>\n```\n\nThen update the filesystem policy to require access-point routing via\n`elasticfilesystem:AccessPointArn` condition.\n\n### For CONFIG_GAP — cross-account principal (Rule 3d)\n\n1. Verify the cross-account access is intentional and required.\n2. Add `aws:SourceAccount` or `elasticfilesystem:AccessPointArn` condition.\n3. If unintentional, remove the cross-account principal from the policy.\n\n### For OK\n\n1. No remediation required for the current posture.\n2. Recommend periodic re-audit when mount targets or security groups change.\n3. For customer-managed KMS keys, cross-reference with the\n   `kms-key-policy-auditor` skill for key-policy defence-in-depth.\n\n## Condition strength reference (EFS-specific)\n\n| Condition key | Strength | Reason |\n|---|---|---|\n| `elasticfilesystem:AccessPointArn` | STRONG | Forces access through a named access point with fixed POSIX identity and root directory. Caller cannot forge this — set by the EFS service. |\n| `aws:SourceAccount` | STRONG | Set by the calling AWS service; identifies the owning account of the calling resource. |\n| `aws:SourceArn` | STRONG | Set by the calling AWS service; identifies the specific calling resource. |\n| `aws:SecureTransport` | ENFORCEMENT | Not a scoping condition but a TLS enforcement mechanism. Use `Bool: true` in Allow or `Bool: false` in Deny. |\n| `aws:SourceIp` (non-public CIDR) | WEAK | Network-scoped but bypassable by callers who control egress. |\n| `aws:SourceIp` (`0.0.0.0\u002F0`) | NONE | The entire internet. Do NOT treat as a restriction. |\n| `aws:Referer` | NONE | Forgeable by any HTTP\u002FNFS client. |\n| `aws:UserAgent` | NONE | Forgeable by any HTTP\u002FNFS client. |\n\n## Deep reference: EFS authorization internals\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Recent AWS features (2024-2026)\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 expert-knowledge catalogue, edge-case handling, the EFS authorization internals deep reference, and 2024-2026 feature notes, moved verbatim from SKILL.md\n\n## Domain\n\nAWS CloudOps \u002F EFS Storage Security & Compliance.\n\n## AWS documentation\n\n- **Service documentation** — Amazon EFS User Guide — https:\u002F\u002Fdocs.aws.amazon.com\u002Fefs\u002Flatest\u002Fug\u002Fwhatisefs.html\n- **Security** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fefs\u002Flatest\u002Fug\u002Fsecurity-efs.html\n- **API reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fefs\u002Flatest\u002Fug\u002FAPI_Reference.html\n- **CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fefs\u002F\n- **Intelligent Tiering** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fefs\u002Flatest\u002Fug\u002Fstorage-classes.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},"efs, storage, security, filesystem-policy, encryption, lifecycle, access-points, audit","2","Jacky Chan — AWS Community Builder","aws-cloudops","Storage","0.1.0","EFS, Elastic File System, filesystem policy, encryption-at-rest, encryption-in-transit, aws:SecureTransport, elasticfilesystem:ClientMount, elasticfilesystem:ClientRootAccess, elasticfilesystem:ClientWrite, elasticfilesystem:AccessPointArn, Principal:\"*\", lifecycle policy, TransitionToIA, Infrequent Access, access points, EFS audit, KmsKeyId, public filesystem, NFS encryption, storage security","high","false","Reviewing an EFS filesystem configuration before production deployment, checking for public filesystem policy exposure, validating encryption-at-rest and encryption-in-transit enforcement, auditing lifecycle management policies, or hardening EFS access governance across an account.","true","UNENCRYPTED | PUBLIC_POLICY | CONFIG_GAP | OK","Input: either (a) an EFS filesystem configuration (metadata + optional filesystem policy JSON + optional access point summary), OR (b) a filesystem-id\u002FARN for live-account audit. Output: deterministic FILESYSTEM\u002FVERDICT\u002FREASON\u002FFINDINGS\u002FREMEDIATION block per filesystem, where VERDICT ∈ {UNENCRYPTED, PUBLIC_POLICY, CONFIG_GAP, OK, ERROR}.","audit this EFS filesystem, is my EFS filesystem public, check EFS encryption, EFS filesystem policy too permissive, review EFS lifecycle policy, EFS access points configured, harden EFS filesystem, Principal star EFS","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline configuration classification. Live-account audits use aws efs describe-file-systems, aws efs describe-file-system-policy, aws efs describe-access-points, and aws efs describe-lifecycle-policies (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fefs-filesystem-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 efs-filesystem-auditor",{"tool":54,"command":55},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill efs-filesystem-auditor",{"tool":57,"command":58},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill efs-filesystem-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002FSKILL.md",true,[62,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",10234,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Feval\u002Ftest-cases.yaml",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fbaselines\u002Fconfig-gap-no-lifecycle.md",806,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fbaselines\u002Fconfig-gap-no-lifecycle.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fconfig-gap-no-tls.md",864,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fbaselines\u002Fconfig-gap-no-tls.md",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Ffully-hardened.md",707,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fbaselines\u002Ffully-hardened.md",{"path":81,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fpublic-policy-wildcard.md",869,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fbaselines\u002Fpublic-policy-wildcard.md",{"path":85,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fpublic-scoped-by-access-point.md",952,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fbaselines\u002Fpublic-scoped-by-access-point.md",{"path":89,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Funencrypted-fs.md",720,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fbaselines\u002Funencrypted-fs.md",{"path":93,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1814,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4974,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fevals.json",{"path":101,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fconfig-gap-no-lifecycle.md",1005,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fprompts\u002Fconfig-gap-no-lifecycle.md",{"path":105,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fconfig-gap-no-tls.md",946,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fprompts\u002Fconfig-gap-no-tls.md",{"path":109,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Ffully-hardened.md",1056,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fprompts\u002Ffully-hardened.md",{"path":113,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fpublic-policy-wildcard.md",909,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fprompts\u002Fpublic-policy-wildcard.md",{"path":117,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fpublic-scoped-by-access-point.md",1195,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fprompts\u002Fpublic-scoped-by-access-point.md",{"path":121,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":122,"sourceHtmlUrl":123},"evals\u002Fprompts\u002Funencrypted-fs.md",589,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fevals\u002Fprompts\u002Funencrypted-fs.md",{"path":125,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":126,"sourceHtmlUrl":127},"examples\u002Fend-to-end.md",5457,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fexamples\u002Fend-to-end.md",{"path":129,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fadvanced-patterns.md",10795,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Freferences\u002Fadvanced-patterns.md",{"path":133,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":134,"sourceHtmlUrl":135},"skill.usf.yaml",3922,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fefs-filesystem-auditor\u002Fskill.usf.yaml",[137,144,151,158,165,172],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"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":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"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":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"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":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"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":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"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":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"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",[],[]]