diff --git a/prowler/CHANGELOG.md b/prowler/CHANGELOG.md index 50f99ac5db..e0029ac658 100644 --- a/prowler/CHANGELOG.md +++ b/prowler/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to the **Prowler SDK** are documented in this file. - Fix package name location in pyproject.toml while replicating for prowler-cloud [(#7531)](https://github.com/prowler-cloud/prowler/pull/7531). - Remove cache in PyPI release action [(#7532)](https://github.com/prowler-cloud/prowler/pull/7532). +- Add the correct values for logger.info inside iam service [(#7526)](https://github.com/prowler-cloud/prowler/pull/7526). --- diff --git a/prowler/providers/aws/services/iam/iam_service.py b/prowler/providers/aws/services/iam/iam_service.py index dc3ddd7bc8..2601377cfe 100644 --- a/prowler/providers/aws/services/iam/iam_service.py +++ b/prowler/providers/aws/services/iam/iam_service.py @@ -286,7 +286,7 @@ class IAM(AWSService): return stored_password_policy def _get_users(self): - logger.info("IAM - List Users...") + logger.info("IAM - Get Users...") try: get_users_paginator = self.client.get_paginator("list_users") users = [] @@ -469,7 +469,7 @@ class IAM(AWSService): ) def _list_attached_role_policies(self): - logger.info("IAM - List Attached User Policies...") + logger.info("IAM - List Attached Role Policies...") try: if self.roles: for role in self.roles: @@ -712,7 +712,7 @@ class IAM(AWSService): return roles def _list_entities_for_policy(self, policy_arn): - logger.info("IAM - List Entities Role For Policy...") + logger.info("IAM - List Entities For Policy...") try: entities = { "Users": [],