CloudTrail
Parity grade: A · SDK aws-sdk-go-v2/service/cloudtrail@v1.65.3 · last audited 2026-10-07 (d522d763f)
Category: Management & Governance · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 60 (49 ok, 11 partial) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 4 |
| Deferred items | 0 |
| Resource leaks | fixed |
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.
- ListInsightsData/ListPublicKeys/SearchSampleQueries return empty lists: no Insight events are generated, no log-file digests are signed, and the sample-query catalog is AWS-owned data. ListInsightsMetricData is computed from recorded events.
- Org delegated-admin state is unmodeled (no read-back op upstream), so GetResourcePolicy's DelegatedAdminResourcePolicy is never populated.
- GetChannel IngestionStatus/SourceConfig need the CloudTrail Data PutAuditEvents ingest path (no such service exists here); GetImport ImportStatistics needs real import execution.
- Log delivery writes one gzipped file per event instead of ~5-minute batches: batching is a real-time property and tests would have to wait out the window.
Audited Operations
60 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateTrail | ok | fixed | fixed | ok |
GetTrail | ok | ok | ok | ok |
UpdateTrail | ok | fixed | fixed | ok |
DeleteTrail | ok | ok | ok | ok |
DescribeTrails | ok | ok | ok | ok |
ListTrails | ok | ok | ok | ok |
StartLogging | ok | ok | ok | ok |
StopLogging | ok | ok | ok | ok |
GetTrailStatus | ok | ok | ok | ok |
PutEventSelectors | ok | ok | ok | ok |
GetEventSelectors | ok | ok | ok | ok |
PutInsightSelectors | fixed | ok | ok | ok |
GetInsightSelectors | fixed | ok | ok | ok |
LookupEvents | ok | ok | ok | ok |
AddTags | ok | ok | ok | ok |
RemoveTags | ok | ok | ok | ok |
ListTags | ok | ok | ok | ok |
CreateChannel | fixed | ok | ok | ok |
GetChannel | ok | ok | partial | ok |
UpdateChannel | ok | ok | ok | ok |
DeleteChannel | ok | ok | ok | ok |
ListChannels | ok | ok | ok | ok |
CreateDashboard | fixed | ok | ok | ok |
GetDashboard | fixed | ok | ok | ok |
UpdateDashboard | fixed | ok | ok | ok |
DeleteDashboard | ok | ok | ok | ok |
ListDashboards | ok | ok | ok | ok |
StartDashboardRefresh | ok | ok | ok | ok |
CreateEventDataStore | fixed | ok | ok | ok |
GetEventDataStore | fixed | ok | ok | ok |
UpdateEventDataStore | fixed | ok | ok | ok |
DeleteEventDataStore | ok | ok | ok | ok |
ListEventDataStores | ok | ok | ok | ok |
RestoreEventDataStore | fixed | ok | ok | ok |
StartEventDataStoreIngestion | ok | ok | ok | ok |
StopEventDataStoreIngestion | ok | ok | ok | ok |
DisableFederation | ok | ok | ok | ok |
EnableFederation | ok | ok | ok | ok |
DeleteResourcePolicy | ok | ok | ok | ok |
GetResourcePolicy | ok | ok | partial | ok |
PutResourcePolicy | ok | ok | ok | ok |
StartQuery | fixed | ok | ok | ok |
CancelQuery | ok | ok | ok | ok |
DescribeQuery | ok | ok | fixed | ok |
GetQueryResults | ok | ok | fixed | ok |
ListQueries | ok | fixed | fixed | ok |
GenerateQuery | ok | ok | ok | n/a |
StartImport | ok | ok | partial | ok |
GetImport | ok | ok | partial | ok |
ListImports | fixed | ok | ok | ok |
StopImport | ok | ok | ok | ok |
ListImportFailures | ok | ok | partial | n/a |
GetEventConfiguration | ok | ok | ok | ok |
PutEventConfiguration | ok | ok | ok | ok |
RegisterOrganizationDelegatedAdmin | ok | ok | partial | n/a |
DeregisterOrganizationDelegatedAdmin | ok | ok | partial | n/a |
SearchSampleQueries | ok | ok | partial | n/a |
ListPublicKeys | ok | ok | partial | n/a |
ListInsightsData | fixed | ok | partial | n/a |
ListInsightsMetricData | fixed | ok | partial | n/a |
