Low
IAM
IAM customer managed policies that you create should not allow wildcard actions for services
CISPCI DSSNISTISO 27001
Description
Checks whether IAM customer managed policies have statements with 'Effect': 'Allow' with 'Action': 'Service:*' or 'NotAction': 'Service:*'.
Remediation
To modify an IAM customer managed policy to remove wildcard actions for services, follow these steps:
Steps
- Log in to the AWS Management Console.
- Navigate to the IAM Dashboard at https://console.aws.amazon.com/iam/.
- In the navigation pane, click on 'Policies'.
- Search for and select the customer managed policy that needs modification.
- Click on the policy name to view its details.
- Click on 'Policy Actions' and select 'Edit policy'.
- In the policy editor, locate any statements that include 'Effect': 'Allow', 'Action': 'Service:*'.
- Modify these statements to specify more granular permissions instead of using wildcards. For example, replace 'Service:*' with specific actions required for the service.
- Review the policy changes to ensure they align with your organization's security policies and requirements.
- Click 'Review policy' and then 'Save changes'.
Compliance
CISPCI DSSNISTISO 27001