Skip to content

Commit 082bad8

Browse files
author
awstools
committed
docs(client-cloudtrail): Doc-only update for CloudTrail network activity events release (in preview)
1 parent b92df20 commit 082bad8

File tree

7 files changed

+281
-690
lines changed

7 files changed

+281
-690
lines changed

clients/client-cloudtrail/src/commands/GetEventSelectorsCommand.ts

+11-2
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,21 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
3333
* <ul>
3434
* <li>
3535
* <p>If your event selector includes read-only events, write-only events, or all
36-
* events. This applies to both management events and data events.</p>
36+
* events. This applies to management events, data events, and network activity events.</p>
3737
* </li>
3838
* <li>
3939
* <p>If your event selector includes management events.</p>
4040
* </li>
4141
* <li>
42+
* <p>If your event selector includes network activity events, the event sources
43+
* for which you are logging network activity events.</p>
44+
* </li>
45+
* <li>
4246
* <p>If your event selector includes data events, the resources on which you are
4347
* logging data events.</p>
4448
* </li>
4549
* </ul>
46-
* <p>For more information about logging management and data events, see the following topics
50+
* <p>For more information about logging management, data, and network activity events, see the following topics
4751
* in the <i>CloudTrail User Guide</i>:</p>
4852
* <ul>
4953
* <li>
@@ -56,6 +60,11 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
5660
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events</a>
5761
* </p>
5862
* </li>
63+
* <li>
64+
* <p>
65+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html">Logging network activity events</a>
66+
* </p>
67+
* </li>
5968
* </ul>
6069
* @example
6170
* Use a bare-bones client and the command you need to make an API call.

clients/client-cloudtrail/src/commands/PutEventSelectorsCommand.ts

+35-15
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,43 @@ export interface PutEventSelectorsCommandInput extends PutEventSelectorsRequest
2828
export interface PutEventSelectorsCommandOutput extends PutEventSelectorsResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Configures an event selector or advanced event selectors for your trail. Use event
32-
* selectors or advanced event selectors to specify management and data event settings for
33-
* your trail. If you want your trail to log Insights events, be sure the event selector
34-
* enables logging of the Insights event types you want configured for your trail. For more information about logging Insights events, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html">Logging Insights events</a> in the <i>CloudTrail User Guide</i>.
31+
* <p>Configures event selectors (also referred to as <i>basic event selectors</i>) or advanced event selectors for your trail. You can use
32+
* either <code>AdvancedEventSelectors</code> or <code>EventSelectors</code>, but not both. If
33+
* you apply <code>AdvancedEventSelectors</code> to a trail, any existing
34+
* <code>EventSelectors</code> are overwritten.</p>
35+
* <p>You can use <code>AdvancedEventSelectors</code> to
36+
* log management events, data events for all resource types, and network activity events.</p>
37+
* <p>You can use <code>EventSelectors</code> to log management events and data events for the following resource types:</p>
38+
* <ul>
39+
* <li>
40+
* <p>
41+
* <code>AWS::DynamoDB::Table</code>
42+
* </p>
43+
* </li>
44+
* <li>
45+
* <p>
46+
* <code>AWS::Lambda::Function</code>
47+
* </p>
48+
* </li>
49+
* <li>
50+
* <p>
51+
* <code>AWS::S3::Object</code>
52+
* </p>
53+
* </li>
54+
* </ul>
55+
* <p>You can't use <code>EventSelectors</code> to log network activity events.</p>
56+
* <p>If you want your trail to log Insights events, be sure the event selector or advanced event selector enables
57+
* logging of the Insights event types you want configured for your trail. For more information about logging Insights events, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html">Logging Insights events</a> in the <i>CloudTrail User Guide</i>.
3558
* By default, trails created without specific event selectors are configured to
36-
* log all read and write management events, and no data events.</p>
59+
* log all read and write management events, and no data events or network activity events.</p>
3760
* <p>When an event occurs in your account, CloudTrail evaluates the event selectors or
3861
* advanced event selectors in all trails. For each trail, if the event matches any event
3962
* selector, the trail processes and logs the event. If the event doesn't match any event
4063
* selector, the trail doesn't log the event.</p>
4164
* <p>Example</p>
4265
* <ol>
4366
* <li>
44-
* <p>You create an event selector for a trail and specify that you want write-only
67+
* <p>You create an event selector for a trail and specify that you want to log write-only
4568
* events.</p>
4669
* </li>
4770
* <li>
@@ -63,16 +86,13 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
6386
* <p>The <code>PutEventSelectors</code> operation must be called from the Region in which the
6487
* trail was created; otherwise, an <code>InvalidHomeRegionException</code> exception is
6588
* thrown.</p>
66-
* <p>You can configure up to five event selectors for each trail. For more information, see
67-
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events</a>, <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging
68-
* data events</a>, and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in CloudTrail</a> in the <i>CloudTrail User
69-
* Guide</i>.</p>
89+
* <p>You can configure up to five event selectors for each trail.</p>
7090
* <p>You can add advanced event selectors, and conditions for your advanced event selectors,
71-
* up to a maximum of 500 values for all conditions and selectors on a trail. You can use
72-
* either <code>AdvancedEventSelectors</code> or <code>EventSelectors</code>, but not both. If
73-
* you apply <code>AdvancedEventSelectors</code> to a trail, any existing
74-
* <code>EventSelectors</code> are overwritten. For more information about advanced event
75-
* selectors, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events</a> in the <i>CloudTrail User Guide</i>.</p>
91+
* up to a maximum of 500 values for all conditions and selectors on a trail. For more information, see
92+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events</a>, <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging
93+
* data events</a>, <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html">Logging
94+
* network activity events</a>, and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Quotas in CloudTrail</a> in the <i>CloudTrail User
95+
* Guide</i>.</p>
7696
* @example
7797
* Use a bare-bones client and the command you need to make an API call.
7898
* ```javascript

clients/client-cloudtrail/src/commands/StartEventDataStoreIngestionCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface StartEventDataStoreIngestionCommandOutput
3434

3535
/**
3636
* <p>Starts the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To start ingestion, the event data store <code>Status</code> must be <code>STOPPED_INGESTION</code>
37-
* and the <code>eventCategory</code> must be <code>Management</code>, <code>Data</code>, or <code>ConfigurationItem</code>.</p>
37+
* and the <code>eventCategory</code> must be <code>Management</code>, <code>Data</code>, <code>NetworkActivity</code>, or <code>ConfigurationItem</code>.</p>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.
4040
* ```javascript

clients/client-cloudtrail/src/commands/StopEventDataStoreIngestionCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface StopEventDataStoreIngestionCommandOutput
3131

3232
/**
3333
* <p>Stops the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To stop ingestion, the event data store <code>Status</code> must be <code>ENABLED</code>
34-
* and the <code>eventCategory</code> must be <code>Management</code>, <code>Data</code>, or <code>ConfigurationItem</code>.</p>
34+
* and the <code>eventCategory</code> must be <code>Management</code>, <code>Data</code>, <code>NetworkActivity</code>, or <code>ConfigurationItem</code>.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

clients/client-cloudtrail/src/commands/UpdateEventDataStoreCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
3434
* <code>RetentionPeriod</code> is in days, and valid values are integers between 7 and
3535
* 3653 if the <code>BillingMode</code> is set to <code>EXTENDABLE_RETENTION_PRICING</code>, or between 7 and 2557 if <code>BillingMode</code> is set to <code>FIXED_RETENTION_PRICING</code>. By default, <code>TerminationProtection</code> is enabled.</p>
3636
* <p>For event data stores for CloudTrail events, <code>AdvancedEventSelectors</code>
37-
* includes or excludes management or data events in your event data store. For more
37+
* includes or excludes management, data, or network activity events in your event data store. For more
3838
* information about <code>AdvancedEventSelectors</code>, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html">AdvancedEventSelectors</a>.</p>
3939
* <p> For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or non-Amazon Web Services events,
4040
* <code>AdvancedEventSelectors</code> includes events of that type in your event data store.</p>

0 commit comments

Comments
 (0)