aws-samples / amazon-eks-security-immersion-day

MIT No Attribution
2 stars 3 forks source link

DevSecOps Pipeline : aws securityhub batch-enable-standards aws region issue #19

Open allamand opened 6 months ago

allamand commented 6 months ago

the aws region is hard coded in the command making it failed in other regions:

aws securityhub batch-enable-standards --standards-subscription-requests '[{"StandardsArn":"arn:aws:securityhub:us-west-2::standards/aws-foundational-security-best-practices/v/1.0.0"},{"StandardsArn":"arn:aws:securityhub:us-west-2::standards/cis-aws-foundations-benchmark/v/1.4.0"}]'