Lesson 2 of 5 Centralized Security and Encryption

Enabling Threat Detection Across an Organisation

This lesson explains how detection services are enabled in every account and Region, including new ones, and how their findings reach one security team that can act on them.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify what each detection service finds.
  • Explain how a delegated administrator with auto-enable covers every account.
  • Describe how Security Hub aggregates and prioritises findings.
  • Explain how EventBridge automates responses to findings.

Detection services

Five detection services can be managed for the whole organisation from a delegated administrator, each finding a different kind of problem. GuardDuty detects threats from CloudTrail, VPC Flow Logs and DNS logs, with protection plans for S3, EKS, RDS, Lambda, runtime monitoring and malware scanning. Inspector finds software vulnerabilities and network exposure in EC2 instances, ECR images and Lambda functions. Macie finds sensitive data in S3. IAM Access Analyzer finds resources shared outside the organisation and access that is granted but unused. Detective does not raise findings of its own; it helps investigate them by building a behaviour graph of related activity. The following table summarises the services.

ServiceDetects
GuardDutyThreats from CloudTrail, VPC Flow Logs and DNS logs, with protection plans for S3, EKS, RDS, Lambda, runtime monitoring and malware scanning
InspectorSoftware vulnerabilities and network exposure in EC2, ECR images and Lambda functions
MacieSensitive data in S3
IAM Access AnalyzerExternal and unused access
DetectiveInvestigates findings by building a behaviour graph of related activity

Enabling detection everywhere

Detection is only as good as its coverage. Each service is administered from the security tooling account, registered as the delegated administrator, and auto-enable ensures that accounts joining the organisation are covered immediately, without anyone remembering to add them. The services are Regional, so they must be enabled in every Region, including Regions the organisation does not use, because attackers favour Regions nobody watches; the alternative is to deny unused Regions with an SCP.

Attackers who gain administrative access in an account often try to disable detection first. SCPs therefore deny disabling GuardDuty, Security Hub and the other services, and deny disassociating member accounts from their administrator, so detection stays in place even when an account is compromised.

Aggregating and prioritising findings

Several services produce findings in several Regions, and a security team needs one prioritised list. AWS Security Hub aggregates findings from GuardDuty, Inspector, Macie, Access Analyzer, Config and partner products in a common format, evaluates security standards across accounts (the posture-checking capability named Security Hub CSPM since 2025), and with cross-Region aggregation presents everything in one home Region.

Raw volume overwhelms analysts, so automation rules act on findings as they arrive: suppressing known false positives, raising the severity of findings in production or critical accounts, and adding context such as the owning team. The unified Security Hub correlates findings into exposures, combinations of weaknesses on the same resource, which shows where risk is concentrated.

Responding to findings

Every finding is published to Amazon EventBridge, so responses can be automated. Rules route findings by type, severity and account to SNS, chat channels, ticketing systems or a SIEM, so the owning team hears about them quickly. Automated remediation, with Lambda, Step Functions or Systems Manager Automation, suits containment actions with a clear trigger and low risk of harm, such as isolating an instance that GuardDuty reports communicating with a known command-and-control server, or revoking the sessions of a role whose credentials appear to be used from outside AWS. Actions with more potential for disruption keep a human approval step.

Worked example

Enabling detection everywhere from a security account

The security team wants GuardDuty and Security Hub enabled in every account and Region, including accounts created in future, managed from the Audit account rather than the management account. From the management account, delegate administration:

aws organizations enable-aws-service-access --service-principal guardduty.amazonaws.com
aws guardduty enable-organization-admin-account --admin-account-id 333333333333
aws securityhub enable-organization-admin-account --admin-account-id 333333333333

Then, from the Audit (delegated administrator) account, in each Region:

DETECTOR=$(aws guardduty list-detectors --query 'DetectorIds[0]' --output text)
aws guardduty update-organization-configuration --detector-id $DETECTOR \
  --auto-enable-organization-members ALL

aws securityhub update-organization-configuration --no-auto-enable \
  --organization-configuration ConfigurationType=CENTRAL

Security Hub central configuration then applies configuration policies (which standards and controls are enabled) to OUs from one place, and cross-Region aggregation brings every Region's findings into the home Region. The pattern, delegate once and auto-enable for all members, is the same for Inspector, Macie, Detective and Access Analyzer.

Check yourself

How does Security Hub help with findings from many services and accounts?

Show answer

It aggregates findings from GuardDuty, Inspector, Macie and others across accounts and Regions into one view, where they can be prioritised, filtered and routed to automated responses.

Exam Tips

Remember for the exam

  • Run detection services from a delegated administrator with auto-enable for new accounts.
  • A central findings dashboard for the organisation is Security Hub with cross-Region aggregation.
  • Enable GuardDuty in every Region, or block unused Regions with an SCP.
  • To investigate the root cause of a finding, use Detective.
  • To automate responses to findings, use EventBridge rules.