Published

How to Audit GuardDuty Organization Coverage Across AWS Accounts and Regions

Validate Amazon GuardDuty coverage across AWS Organizations accounts and Regions with a read-only detector audit, onboarding tests, and traceable security evidence.

Monochrome photograph of high-voltage steel transmission pylons receding into the distance beneath an overcast sky

An AWS Organization can report that GuardDuty auto-enablement is configured while some member accounts still lack active detection in an expected Region. The difference matters during account vending, mergers, Region expansion, and security reviews. An organization-level preference expresses intended behavior; a member relationship and an enabled detector demonstrate a narrower part of the actual state. A reliable audit must compare the expected account-Region population against both the delegated administrator configuration and evidence from each member.

This runbook describes a read-only, repeatable coverage audit. It deliberately separates baseline GuardDuty enrollment from optional protection plans, and distinguishes a policy statement from a testable observation. It is not a claim that GuardDuty alone satisfies an NIST control, a FedRAMP requirement, or an authorization decision.

Define the expected population before inspecting GuardDuty

Use AWS Organizations as the starting account inventory, but do not assume every account is in scope for every Region. Call organizations:ListAccounts from an authorized management or delegated administrator identity, continuing through all NextToken pages. AWS documents that an Organizations list operation can return an empty page before pagination is complete; a collector must not stop just because the current page has zero accounts. Use the State field rather than the retiring Status field. Record management, audit, security tooling, workload, suspended, and newly invited accounts with explicit inclusion decisions.

Create a versioned scope table keyed by AWS partition, twelve-digit account ID, and Region. Include the accountable owner, account state, OU, date added to the organization, Region opt-in decision, expected GuardDuty baseline, optional plans required by the security design, and approved exceptions. A suspended account or an opt-in Region can have a different expected state from an active production account; that exception must be documented instead of silently omitted. Treat each distinct account-Region pair as a separate audit unit.

  • Denominator: the count of account-Region pairs where GuardDuty detection is explicitly required by the approved scope.
  • Desired policy: organization auto-enable mode and feature-specific target for each included Region.
  • Actual observation: administrator association, member detector status, enabled features, collection time, and source API response ID.
  • Exception record: reason, change or risk ticket, owner, approver, expiry, and next review date.

Understand what ALL, NEW, and NONE actually mean

GuardDuty’s delegated administrator configures organization preferences in each Region. ALL applies organization auto-enablement across existing and new accounts; NEW targets accounts joining after the preference takes effect; NONE stops automatic enablement for new accounts but does not switch off detectors already enabled. Changing a configuration flag therefore does not reconstruct historical account enrollment or prove that previously created accounts are covered. AWS also documents that applying organization-wide settings can take up to 24 hours. A collector should retain both the desired mode and the timestamp at which it was observed rather than interpreting an in-flight update as an immediate permanent failure.

The delegated administrator is regional in operation. AWS requires the same delegated administrator account across the Regions where it is configured, but enabling it in one Region does not implicitly establish member coverage in every other Region. Opt-in Regions are a special case: for NEW, AWS documents an ordering dependency in which the member opts into the Region before joining the organization. An existing member that opts in later may need ALL or targeted management for that Region. Do not silently mark a missing regional detector compliant because the global account-vending workflow succeeded.

Collect administrator state separately from member state

Run the first collection phase under a tightly scoped role in the designated GuardDuty administrator account. For every supported and expected Region, call ListDetectors and use the regional administrator detector ID when calling DescribeOrganizationConfiguration. Capture autoEnableOrganizationMembers, the features array and its per-feature auto-enable modes, memberAccountLimitReached, and any pagination token. Use ListMembers with the same regional detector ID to enumerate member relationships, following nextToken until complete. The API page size is bounded; a single response is not a complete organization inventory.

Then run a second read-only phase in each expected member account and Region, using sts:AssumeRole to a preapproved audit role. Call ListDetectors and, when a detector ID exists, GetDetector. Record status as ENABLED or DISABLED, the list of enabled features, and the observation timestamp. No detector, disabled detector, missing member association, and denied audit-role access are different states and must remain distinguishable. Do not give this evidence collector CreateMembers, UpdateOrganizationConfiguration, or other configuration-write permissions just to inspect the environment.

  • Administrator collector: regional detector ID, auto-enable mode, delegated administrator identity, member list, feature policies, complete pagination, and response outcome.
  • Member collector: target account and Region, assumed-role identity, detector ID or explicit absence, detector status, feature status, UTC timestamp, and API error classification.
  • Normalizer: reconcile each expected account-Region pair against the same scope version; preserve raw response references and the collector software version.
  • Verifier: produce a deterministic coverage decision and evidence manifest, never a fabricated green result when API calls fail.

Do not equate an enabled detector with every protection plan

GuardDuty’s basic detector state and its optional protection plans are related but not identical. The organization API exposes separate feature configuration, including settings such as S3_DATA_EVENTS, EKS_AUDIT_LOGS, RUNTIME_MONITORING, RDS_LOGIN_EVENTS, and other supported features. Availability and configuration can vary by Region. Do not copy a single organization NEW policy across every feature or treat a feature absent in a Region as automatically disabled in violation of policy. Record the region-specific required feature set before evaluating member detector features.

For each protected workload category, write the requirement as a question: Is base GuardDuty required? Is the relevant optional plan supported in this Region? Has the organization configured its target state? Does the member detector report that plan enabled? If the workload has no supported resource of that type, should the plan still be enabled under the adopted security baseline? The last answer is a design decision, not an AWS-wide requirement. Security engineering and compliance owners should approve the feature matrix independently from collection code.

Build a decision table that can identify real gaps

Normalize results to one row per included account and Region. Evaluate administrator and member information separately, then assign an explicit decision. PASS means the expected detector exists, is enabled, is in the intended administrator scope, and meets all applicable required feature states. FAIL means a verified mismatch against the approved target. INCOMPLETE means the collector cannot establish the state due to access denial, an API failure, incomplete pagination, or missing source data. EXCEPTION means the deviation is covered by a valid, reviewed exception. Pending onboarding may have a time-bounded PENDING state with its own deadline.

Compute coverage as verified_pass_pairs / expected_pairs, but publish the counts for FAIL, INCOMPLETE, EXCEPTION, and PENDING alongside the percentage. An implementation may deliberately report both strict coverage including exceptions in the denominator and a separate operational measure excluding approved exceptions; the labels must disclose their definitions. Never calculate the denominator only from ListMembers, because the specific error being sought is an expected account absent from that member list.

  • FAIL - active production account is required to have GuardDuty in a specified Region; member detector is verified absent.
  • FAIL - detector is enabled, but a required, supported protection plan is verified disabled.
  • INCOMPLETE - audit role cannot assume into an account, or ListMembers pagination terminates unsuccessfully.
  • PENDING - account onboarding or an organization-wide preference update is inside the documented operational window and has an assigned retry time.
  • EXCEPTION - a dated approval explicitly permits an account-Region deviation and remains valid.

Test onboarding and recovery with controlled fixtures

A snapshot only proves state at one moment. Validate the account-vending process with a controlled test account and a predefined Region scope. Record the baseline organization preference and membership first. Add the account through the normal onboarding path, then observe administrator membership and member detector state without changing GuardDuty settings from the audit tool. Repeat the collection after the agreed propagation window. Verify that the collector notices both a successful enablement and a deliberately excluded Region. Do not interpret a zero-findings dashboard as evidence of active detector enrollment.

Run a second fixture for an existing account in an opt-in Region, where the account becomes Region-enabled after it joins the organization. This exercises the documented NEW ordering limitation. A third fixture can intentionally remove the audit role’s read access in a nonproduction account: the correct outcome is INCOMPLETE, not PASS or a misidentified disabled detector. Recover by restoring the read path, rerun the same scope snapshot, and retain both failed and recovered collection records. Each fixture needs its own account/Region key, test owner, UTC start and end, observed state transitions, and reviewer decision.

Retention, evidence integrity, and response ownership

Persist each collection as an immutable or access-controlled evidence artifact using the organization’s approved storage, encryption, retention, and logging mechanisms. A practical manifest records the scope version, collection run ID, source API, partition/account/Region, UTC observation time, request outcome, raw response location, normalized row checksum, collector release, and reviewing identity. Store enough source evidence to reproduce the conclusion without retaining unnecessary personal data such as account-contact email addresses in the public report.

Schedule an initial audit after organizational configuration changes, after new account enrollment, after a Region opt-in, and on a routine cadence selected by the team. Track collector coverage itself: last successful full enumeration, oldest unchecked account, audit-role failures, and aging unresolved mismatches. Route a verified disabled detector to the security platform owner; a missing account in the authoritative inventory to the account-vending owner; a policy mismatch to the delegated-administrator owner; and a missing evidence record to the collector operator. Require a change ticket and a subsequent successful audit before marking remediation closed.

Release checklist and assurance boundary

  • Reconcile all AWS Organizations account pages against a dated expected account-Region inventory.
  • Verify the delegated administrator and its detector separately in every required Region.
  • Capture ALL, NEW, or NONE and every relevant feature policy; do not infer actual member state from these settings.
  • Paginate ListMembers, then independently verify member detectors and required features.
  • Treat permission failures, unexpected nulls, and interrupted pagination as INCOMPLETE.
  • Exercise new-account and opt-in-Region fixtures, preserving both the prechange and recovered results.
  • Publish signed-off coverage counts, exact exception records, evidence provenance, and remediation owners.

This method supports security implementation review, continuous monitoring, and evidence collection for an approved control boundary. Mapping GuardDuty output to NIST SP 800-53 or FedRAMP evidence requires explicit control objectives, documented system scope, operator review, and an independent assessment process where applicable. GuardDuty configuration, a spreadsheet, or this collector does not itself establish compliance, certification, an authorization to operate, or FedRAMP authorization.

Sources

Browse all writing · RSS feed

Tymur Chmeruk

Written by

Tymur Chmeruk

Cloud Security & Infrastructure Engineer · Baltimore–Washington Metro · [email protected]