tenable / Security-Hub

For use in our Tenable.IO to AWS Security Hub integration
24 stars 20 forks source link

Need a way to retrieve security Hub Details by passing AWS-ACCOUNT-ID and Regions combination #14

Closed kailasandhale closed 4 years ago

kailasandhale commented 4 years ago

Currently, we have a way to retrieve the Security Hub integration Details by Aws Account ID, but there is no way to check if the security hub is enabled for particular aws account ID and region (or set of regions) combination and get the relevant details.

kailasandhale commented 4 years ago

@SteveMcGrath Could you please help here

SteveMcGrath commented 4 years ago

Honestly I don't have a good answer on this. its not something specific to the integration, more of a "how do I know what regions have SecHub".

Have you looked at the aws CLI?

https://docs.aws.amazon.com/cli/latest/reference/securityhub/describe-hub.html