mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 20:42:02 +00:00
fix(iam): change some logger.info values (#7526)
Co-authored-by: Pepe Fagoaga <pepe@prowler.com> Co-authored-by: Sergio Garcia <hello@mistercloudsec.com>
This commit is contained in:
@@ -14,6 +14,8 @@ 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).
|
||||
|
||||
---
|
||||
|
||||
## [v5.5.1] (Prowler v5.5.1)
|
||||
|
||||
@@ -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": [],
|
||||
|
||||
Reference in New Issue
Block a user