AWS Security ChangesHomeSearch

AWS documentdb: Documented showExpandedEvents DDL events in change streams

Service: documentdb · 2026-09-29 · Documentation medium

File: documentdb/latest/devguide/changeStream.md · Type: logging

Summary

Adds documentation for the optional showExpandedEvents boolean, which when true includes expanded DDL event notifications such as createCollection and createIndexes in the change stream (DocumentDB 8.0.2+), and fixes a related link from $cmp to $changeStreamSplitLargeEvent.

Security assessment

Change streams are a data-change monitoring/audit mechanism, and this parameter extends visibility to DDL operations (collection/index creation), which is useful for audit trails; however the change is feature documentation with no vulnerability, CVE, or security control being fixed.

Evidence

+  * `showExpandedEvents`: Optional. Boolean value. When `true`, includes expanded data definition language (DDL) event notifications, such as `createCollection` and `createIndexes`, in the change stream. When `false` (default), these events are not returned. Available in Amazon DocumentDB 8.0 starting with engine version 8.0.2.

Diff

diff --git a/documentdb/latest/devguide/changeStream.md b/documentdb/latest/devguide/changeStream.md
index 7e7420687..07640f25a 100644
--- a//documentdb/latest/devguide/changeStream.md
+++ b//documentdb/latest/devguide/changeStream.md
@@ -24,0 +25,2 @@ The `$changeStream` aggregation stage opens a change stream cursor to monitor re
+  * `showExpandedEvents`: Optional. Boolean value. When `true`, includes expanded data definition language (DDL) event notifications, such as `createCollection` and `createIndexes`, in the change stream. When `false` (default), these events are not returned. Available in Amazon DocumentDB 8.0 starting with engine version 8.0.2.
+
@@ -133 +135 @@ $ceil
-$cmp
+$changeStreamSplitLargeEvent