aws-samples / aws-security-hub-controls-cli

Apache License 2.0
6 stars 4 forks source link

shc_cli not downloading all controls #1

Open jwayne1000 opened 9 months ago

jwayne1000 commented 9 months ago

When running the following command, it does not download the full list of controls for my enabled standards: shc_cli -d

In my case, I have two standards enabled in Security Hub:

I suspect pagination is not configured for the describe_standards_controls boto3 call.

jwayne1000 commented 9 months ago

Added pagination which successfully fixed it for me. I'm able to download the full list of controls for each standard now. Created pull request: #2