Skip to content

Check number 7.36 (Exposed publicly available KMS) is checking only "AWS": "*" and raising red flag #970

Description

@ankitloud

To check exposed public KMS key someone need to have below scenario:-

If the "Principal" element value is set to { "AWS": "*" } and the policy statement is not using any Condition clauses to filter the access, the selected AWS KMS master key is publicly accessible.

But prowler is just checking Principle is set to { "AWS": "*" } and then raise a red flag while condition clause is also set like below
"Condition": {
"StringEquals": {
"kms:CallerAccount": ""
},

we should fix it to avoid false positive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions