diff --git a/internal/rules/policies/cloud/policies/aws/efs/enable_at_rest_encryption.rego b/internal/rules/policies/cloud/policies/aws/efs/enable_at_rest_encryption.rego index 009a0ad46..314b624d5 100644 --- a/internal/rules/policies/cloud/policies/aws/efs/enable_at_rest_encryption.rego +++ b/internal/rules/policies/cloud/policies/aws/efs/enable_at_rest_encryption.rego @@ -16,7 +16,7 @@ # input: # selector: # - type: cloud -package builtin.aws.efs.aws0193 +package builtin.aws.efs.aws0194 deny[res] { fs := input.aws.efs.filesystems[_] diff --git a/internal/rules/policies/cloud/policies/aws/efs/enable_at_rest_encryption_test.rego b/internal/rules/policies/cloud/policies/aws/efs/enable_at_rest_encryption_test.rego index f54505dc2..a6d734b46 100644 --- a/internal/rules/policies/cloud/policies/aws/efs/enable_at_rest_encryption_test.rego +++ b/internal/rules/policies/cloud/policies/aws/efs/enable_at_rest_encryption_test.rego @@ -1,4 +1,4 @@ -package builtin.aws.efs.aws0193 +package builtin.aws.efs.aws0194 test_detects_when_decrypted { r := deny with input as {"aws": {"efs": {"filesystems": [{"encrypted": {"value": false}}]}}}