Skip to content

Detective ​

Parity grade: A · SDK aws-sdk-go-v2/service/detective@v1.47.3 · last audited 2026-10-10 (ed6ef1a53)

Category: Security · View PARITY.md on GitHub · All Services

Parity & Coverage ​

MetricValue
PARITY entries audited29 (28 ok, 1 partial)
Feature families2 (2 ok)
Known gapsnone
Structural gaps (can't be emulated)4
Deferred items2
Resource leaksclean

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • ACCEPTED_BUT_DISABLED member status (StartMonitoringMember precondition) and MemberDetail DisabledReason: entered only via Detective-internal data-volume telemetry; no client action can trigger it. The StartMonitoringMember precondition itself is enforced.
  • MemberDetail VolumeUsageInBytes/VolumeUsageUpdatedTime/PercentOfGraphUtilization(UpdatedTime)/VolumeUsageByDatasourcePackage: deprecated ingest-volume telemetry; no data-ingest pipeline exists to measure.
  • InvestigationDetail Severity is always INFORMATIONAL and IndicatorType FLAGGED_IP_ADDRESS/IMPOSSIBLE_TRAVEL/RELATED_FINDING/RELATED_FINDING_GROUP are never generated: real values come from ML/threat-intel analysis of ingested findings.
  • CreateMembers DisableEmailNotification: only suppresses the invitation email; no email subsystem exists and MemberDetail has no member to echo it.

Deferred Items ​

  • Detective Organizations edge cases beyond the base Enable/Disable/List/Describe/Update surface (delegated-admin-account transfer, cross-region graph semantics) — out of scope for a single-region single-account emulator.
  • UpdateOrganizationConfiguration's AutoEnable flag has no side effect: real AWS auto-enables Detective for new Organizations member accounts as they join the org. This emulator has no Organizations-service integration to source account-join events from, so AutoEnable is stored and returned correctly (DescribeOrganizationConfiguration) but never drives member auto-creation. Out of scope for a single-account emulator with no cross-service org simulation. Re-verified gopherstack-c902: services/organizations exists and other services (grafana, mgn) do reach it via a siblingServices/GetOrganizationsHandler cross_service.go pattern -- but only for synchronous reads (DescribeOrganizationalUnit, DescribeOrganization, ListDelegatedAdministrators, ListAccounts), never as an event source. Checked every other gopherstack service that models an AutoEnable-shaped org config (guardduty, inspector2, macie2, securityhub, all found via grep -rl AutoEnable services): every one of them stores and echoes AutoEnable identically, with zero side effect -- none has solved 'new account joins org' as a trigger. services/organizations' AcceptHandshake/InviteAccountToOrganization add an account to the org's own account list but publish no event or callback any sibling service subscribes to. This is a genuine cross-cutting gap (not a stale 'already solved elsewhere' claim like the codedeploy/EC2 case) -- AutoEnable is stored-and-echoed with no trigger to hook into anywhere in this codebase, which is the honest half of the stored-vs-ignored distinction, not the negligent half.

Audited Operations ​

29 audited operations
OperationWireErrorsStatePersist
CreateGraphokokokok
DeleteGraphokokokok
ListGraphsokokokok
CreateMembersokokokok
DeleteMembersokokokok
GetMembersokokokok
ListMembersokokokok
TagResourceokokokok
UntagResourceokokokok
ListTagsForResourceokokokok
AcceptInvitationokokokok
RejectInvitationokokokok
ListInvitationsokokokok
DisassociateMembershipokokokok
BatchGetGraphMemberDatasourcesokokokok
BatchGetMembershipDatasourcesokokokok
ListDatasourcePackagesokokokok
UpdateDatasourcePackagesokokokok
StartMonitoringMemberokokpartialok
GetInvestigationokokokok
ListIndicatorsokokokok
ListInvestigationsokokokok
StartInvestigationokokokok
UpdateInvestigationStateokokokok
DescribeOrganizationConfigurationokokokok
DisableOrganizationAdminAccountokokokok
EnableOrganizationAdminAccountokokokok
ListOrganizationAdminAccountsokokokok
UpdateOrganizationConfigurationokokokok

Audited Feature Families ​

Feature FamilyStatus
route_matcherok
wire_timestampsok

Released under the MIT License.