[steampipe-mod-aws-compliance] Malformed ARN for some resources? #2219
-
Some queries (e.g., https://github.com/turbot/steampipe-mod-aws-compliance/blob/main/query/iam/iam_account_password_policy_expire_90.sql#L3) report the resource ID using a malformed ARN. AWS requires 6 parts to an ARN, but the query only contains 5 parts in the Is this intentional? I was originally going to report this as a bug on the mod, but I wasn't sure if there was some hidden intention here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @yorinasub17 , any malformed ARNs are not intentional. For that query in particular, we're using the AWS account ARN, which may not be an official ARN from AWS, but there's no 6th part to the ARN, as the ARN would stop at account ID. The Are you using these If you see any other malformed ARNs though, we'd appreciate bug reports on them! |
Beta Was this translation helpful? Give feedback.
Hey @yorinasub17 , any malformed ARNs are not intentional. For that query in particular, we're using the AWS account ARN, which may not be an official ARN from AWS, but there's no 6th part to the ARN, as the ARN would stop at account ID. The
aws_account
table has anarn
column also, but that would produce the same result.Are you using these
resource
columns (which often contain ARNs) anywhere, and is this ARN in particular then causing later failures in your workflow?If you see any other malformed ARNs though, we'd appreciate bug reports on them!