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
| Metric | Value |
|---|---|
| PARITY entries audited | 29 (28 ok, 1 partial) |
| Feature families | 2 (2 ok) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 4 |
| Deferred items | 2 |
| Resource leaks | clean |
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
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateGraph | ok | ok | ok | ok |
DeleteGraph | ok | ok | ok | ok |
ListGraphs | ok | ok | ok | ok |
CreateMembers | ok | ok | ok | ok |
DeleteMembers | ok | ok | ok | ok |
GetMembers | ok | ok | ok | ok |
ListMembers | ok | ok | ok | ok |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
AcceptInvitation | ok | ok | ok | ok |
RejectInvitation | ok | ok | ok | ok |
ListInvitations | ok | ok | ok | ok |
DisassociateMembership | ok | ok | ok | ok |
BatchGetGraphMemberDatasources | ok | ok | ok | ok |
BatchGetMembershipDatasources | ok | ok | ok | ok |
ListDatasourcePackages | ok | ok | ok | ok |
UpdateDatasourcePackages | ok | ok | ok | ok |
StartMonitoringMember | ok | ok | partial | ok |
GetInvestigation | ok | ok | ok | ok |
ListIndicators | ok | ok | ok | ok |
ListInvestigations | ok | ok | ok | ok |
StartInvestigation | ok | ok | ok | ok |
UpdateInvestigationState | ok | ok | ok | ok |
DescribeOrganizationConfiguration | ok | ok | ok | ok |
DisableOrganizationAdminAccount | ok | ok | ok | ok |
EnableOrganizationAdminAccount | ok | ok | ok | ok |
ListOrganizationAdminAccounts | ok | ok | ok | ok |
UpdateOrganizationConfiguration | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
route_matcher | ok |
wire_timestamps | ok |
