diff --git a/prowler/providers/aws/services/iam/iam_user_with_temporary_credentials/iam_user_with_temporary_credentials.py b/prowler/providers/aws/services/iam/iam_user_with_temporary_credentials/iam_user_with_temporary_credentials.py index 0734ddb062..fc6ceb9c61 100644 --- a/prowler/providers/aws/services/iam/iam_user_with_temporary_credentials/iam_user_with_temporary_credentials.py +++ b/prowler/providers/aws/services/iam/iam_user_with_temporary_credentials/iam_user_with_temporary_credentials.py @@ -15,7 +15,7 @@ def execute(self) -> Check_Report_AWS: report = Check_Report_AWS( metadata=self.metadata(), - resource=iam_client.user_temporary_credentials_usage, + resource={"name": user_name, "arn": user_arn}, ) report.resource_id = user_name report.resource_arn = user_arn