Skip to Content
Asterrr's Handbook
3 · Infrastructure security

Security Hub for Investigating Resources

Using Security Hub CSPM findings and insights to find the resources with the most security issues and to start an investigation.

The decision: how do you find the resources with the most issues and start an investigation from Security Hub?

Legacy

For what feeds Security Hub and the CSPM split see AWS Security Hub.

AWS Security Hub CSPM collects findings from security checks and from integrated services, normalizes them to the AWS Security Finding Format (ASFF) and shows one view across accounts. For a possibly compromised resource it answers "which resources have the most findings, and from whom".

control findingsfindinggroup bycustom actionControl checksGuardDutySecurity HubCSPMInsightsEventBridgeRemediation
Findings from checks and integrated services flow into Security Hub CSPM. Insights group them, and EventBridge or automation rules act on them.

Core facts

ItemWhat to remember
SourcesControl checks against standards (AWS Foundational Security Best Practices, CIS, PCI DSS, NIST), plus GuardDuty, Inspector, Macie and third-party products
Config dependencyMost control findings need AWS Config enabled and recording resources
ScopePer Region. Cross-Region aggregation pulls findings into an aggregation Region. Enable it in all Regions for full CIS coverage
Not retroactiveOnly findings generated after you enable it are collected
RetentionActive findings are deleted after 90 days without an update. Archived findings after 30 days. Export to S3 for longer
InsightA set of related findings defined by a group-by statement and optional filters
Managed versus custom insightsManaged ones cannot be edited or deleted. Create custom insights for your own queries
Updating findingsCustomers use BatchUpdateFindings for workflow status. Providers use BatchImportFindings
AutomationAutomation rules update or suppress findings. EventBridge custom actions trigger remediation
Free trial30 days for a new account

Investigation steps

  1. Enable Security Hub CSPM in the Region.
  2. Open Insights and choose a managed insight such as the one that ranks resources by finding count.
  3. Drill into a resource and read its finding details and history.
  4. Narrow with filters, for example severity or product.
  5. Set the workflow status as you triage, or fire a custom action.

Exam signal

"Single place to see findings and compliance across accounts" is Security Hub. "Which resources are affected most" is an insight grouped by resource.

Legacy

Older material calls this "AWS Security Hub". The current documentation names the posture service Security Hub CSPM.

Further reading

On this page