AWS CLI : Download Security hub overall summary report #7097
-
Hi, In AWS Console, in Security Hub it is possible to see the overall status of the Standard & as well Download the Report https://docs.aws.amazon.com/securityhub/latest/userguide/control-finding-list.html Via CLI or API I don't see such a possibility Seems, it always returns a list of individual findings and their compliance status get-findings call is the List of Findings and Compliance.Status for every Status https://docs.aws.amazon.com/securityhub/latest/userguide/controls-overall-status.html Based on some reverse engineering , they use "internalAPI.listControlEvaluationSummaries" in their FE aws beta js sdk |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @advissor, thanks for reaching out. |
Beta Was this translation helpful? Give feedback.
-
@aBurmeseDev , I have the same need. This appears to have been on the backlog for 18 months. Any update? |
Beta Was this translation helpful? Give feedback.
Hi @advissor, thanks for reaching out.
For viewing “the overall status of the standard”, I’d recommend to try
describe-standards-controls
as mentioned here.Also, you could download the output to a json file from the command line using --output json. Please refer to the doc here and let me know if that helps.