Id ARN is getting constructed using the AWS Account Id where the script is running (--aws-account-id). This is an error, AWS Security Hub could be aggregating from different AWS Accounts. The AWS Account Id for the EC2 ARN should came from the Asset.
Id ARN is getting constructed using the AWS Account Id where the script is running (
--aws-account-id
). This is an error, AWS Security Hub could be aggregating from different AWS Accounts. The AWS Account Id for the EC2 ARN should came from the Asset.