awslabs / awslabs/aws-securityhub-multiaccount-scripts

Feature:Add optional argument to command line for accepting the Standards Warning

Open
#11 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.