awslabs / awslabs/aws-securityhub-multiaccount-scripts
Feature:Add optional argument to command line for accepting the Standards Warning
Open
- Dominant language
- Python
- Stars
- 282
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to run this via a CodePipeline Project, at the moment the task will fail as the code requires user input to accept the deployment of the CIS Benchmarks.
Could an additional positional argument be added to accept this allowing it to run without user input? for example
$python enablesecurityhub.py -y ${enablecsv} --master_account ${AdministratorAccountId} --assume_role ${CodeBuildManageSecurityHubRole} --enable_standards arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0
I will attempt to do this myself, but someone else might be able to perform a quicker fix.
Contributor guide
Assessment
This issue has not been assessed yet.