mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-03-22 03:08:23 +00:00
fix: remove print
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
This commit is contained in:
@@ -421,7 +421,6 @@ class AwsProvider(Provider):
|
||||
logger.info(f"Original AWS Caller Identity ARN: {caller_identity.arn}")
|
||||
|
||||
partition = parse_iam_credentials_arn(caller_identity.arn.arn).partition
|
||||
print(partition)
|
||||
return AWSIdentityInfo(
|
||||
account=caller_identity.account,
|
||||
account_arn=f"arn:{partition}:iam::{caller_identity.account}:root",
|
||||
|
||||
Reference in New Issue
Block a user