aws-sdk-cloudtrail 1.96.0 → 1.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +1 -1
- data/lib/aws-sdk-cloudtrail/types.rb +6 -209
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dad0ae8a8446282606e3e665c47eade7e5994433c89a55d54b86f1417231cc13
|
4
|
+
data.tar.gz: 2a1877014da4e15d6a12bf4b8e15e3772d10ea9981b6f1b908a208eaeb437886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0b21b9f843a25575fbc2b874d41e9bb902ead9a3cd83b45d28954a80cfb67e647ea09de03bdf0117c1fd80699bef3ab51b600d24b43687cb1a3d2ef81376965
|
7
|
+
data.tar.gz: 5279ddf38b8de28889d8e0e32f4836b1856a4e0541d4117b096819fe2951ee4c4ead876096147aac0c39d228e997de90c7016bdcb7099ecaf98217ea8d5f645e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.97.0
|
@@ -95,76 +95,15 @@ module Aws::CloudTrail
|
|
95
95
|
# You cannot apply both event selectors and advanced event selectors to
|
96
96
|
# a trail.
|
97
97
|
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
# * `eventCategory` (required)
|
101
|
-
#
|
102
|
-
# * `eventSource`
|
103
|
-
#
|
104
|
-
# * `readOnly`
|
105
|
-
#
|
106
|
-
# The following additional fields are available for event data stores:
|
107
|
-
#
|
108
|
-
# * `eventName`
|
109
|
-
#
|
110
|
-
# * `eventType`
|
111
|
-
#
|
112
|
-
# * `sessionCredentialFromConsole`
|
113
|
-
#
|
114
|
-
# * `userIdentity.arn`
|
115
|
-
#
|
116
|
-
# **Supported CloudTrail event record fields for data events**
|
117
|
-
#
|
118
|
-
# * `eventCategory` (required)
|
119
|
-
#
|
120
|
-
# * `resources.type` (required)
|
121
|
-
#
|
122
|
-
# * `readOnly`
|
123
|
-
#
|
124
|
-
# * `eventName`
|
125
|
-
#
|
126
|
-
# * `resources.ARN`
|
127
|
-
#
|
128
|
-
# The following additional fields are available for event data stores:
|
129
|
-
#
|
130
|
-
# * `eventSource`
|
131
|
-
#
|
132
|
-
# * `eventType`
|
133
|
-
#
|
134
|
-
# * `sessionCredentialFromConsole`
|
135
|
-
#
|
136
|
-
# * `userIdentity.arn`
|
137
|
-
#
|
138
|
-
# **Supported CloudTrail event record fields for network activity
|
139
|
-
# events**
|
140
|
-
#
|
141
|
-
# <note markdown="1"> Network activity events is in preview release for CloudTrail and is
|
142
|
-
# subject to change.
|
143
|
-
#
|
144
|
-
# </note>
|
145
|
-
#
|
146
|
-
# * `eventCategory` (required)
|
147
|
-
#
|
148
|
-
# * `eventSource` (required)
|
149
|
-
#
|
150
|
-
# * `eventName`
|
151
|
-
#
|
152
|
-
# * `errorCode` - The only valid value for `errorCode` is
|
153
|
-
# `VpceAccessDenied`.
|
154
|
-
#
|
155
|
-
# * `vpcEndpointId`
|
156
|
-
#
|
157
|
-
# <note markdown="1"> For event data stores for CloudTrail Insights events, Config
|
158
|
-
# configuration items, Audit Manager evidence, or events outside of
|
159
|
-
# Amazon Web Services, the only supported field is `eventCategory`.
|
160
|
-
#
|
161
|
-
# </note>
|
98
|
+
# For information about configurable advanced event selector fields, see
|
99
|
+
# [AdvancedEventSelector][4] in the *CloudTrailUser Guide*.
|
162
100
|
#
|
163
101
|
#
|
164
102
|
#
|
165
103
|
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html
|
166
104
|
# [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html
|
167
105
|
# [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html
|
106
|
+
# [4]: https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html
|
168
107
|
#
|
169
108
|
# @!attribute [rw] name
|
170
109
|
# An optional, descriptive name for an advanced event selector, such
|
@@ -193,154 +132,12 @@ module Aws::CloudTrail
|
|
193
132
|
# Amazon Web Services, the field is used only for selecting events as
|
194
133
|
# filtering is not supported.
|
195
134
|
#
|
196
|
-
# For
|
197
|
-
#
|
198
|
-
# following additional fields are available for event data stores:
|
199
|
-
# `eventName`, `eventType`, `sessionCredentialFromConsole`, and
|
200
|
-
# `userIdentity.arn`.
|
201
|
-
#
|
202
|
-
# For CloudTrail data events, supported fields include `eventCategory`
|
203
|
-
# (required), `resources.type` (required), `eventName`, `readOnly`,
|
204
|
-
# and `resources.ARN`. The following additional fields are available
|
205
|
-
# for event data stores: `eventSource`, `eventType`,
|
206
|
-
# `sessionCredentialFromConsole`, and `userIdentity.arn`.
|
207
|
-
#
|
208
|
-
# For CloudTrail network activity events, supported fields include
|
209
|
-
# `eventCategory` (required), `eventSource` (required), `eventName`,
|
210
|
-
# `errorCode`, and `vpcEndpointId`.
|
211
|
-
#
|
212
|
-
# For event data stores for CloudTrail Insights events, Config
|
213
|
-
# configuration items, Audit Manager evidence, or events outside of
|
214
|
-
# Amazon Web Services, the only supported field is `eventCategory`.
|
215
|
-
#
|
216
|
-
# * <b> <code>readOnly</code> </b> - This is an optional field that is
|
217
|
-
# only used for management events and data events. This field can be
|
218
|
-
# set to `Equals` with a value of `true` or `false`. If you do not
|
219
|
-
# add this field, CloudTrail logs both `read` and `write` events. A
|
220
|
-
# value of `true` logs only `read` events. A value of `false` logs
|
221
|
-
# only `write` events.
|
222
|
-
#
|
223
|
-
# * <b> <code>eventSource</code> </b> - This field is only used for
|
224
|
-
# management events, data events (for event data stores only), and
|
225
|
-
# network activity events.
|
226
|
-
#
|
227
|
-
# For management events for trails, this is an optional field that
|
228
|
-
# can be set to `NotEquals` `kms.amazonaws.com` to exclude KMS
|
229
|
-
# management events, or `NotEquals` `rdsdata.amazonaws.com` to
|
230
|
-
# exclude RDS management events.
|
231
|
-
#
|
232
|
-
# For management and data events for event data stores, you can use
|
233
|
-
# it to include or exclude any event source and can use any
|
234
|
-
# operator.
|
235
|
-
#
|
236
|
-
# For network activity events, this is a required field that only
|
237
|
-
# uses the `Equals` operator. Set this field to the event source for
|
238
|
-
# which you want to log network activity events. If you want to log
|
239
|
-
# network activity events for multiple event sources, you must
|
240
|
-
# create a separate field selector for each event source.
|
241
|
-
#
|
242
|
-
# The following are valid values for network activity events:
|
243
|
-
#
|
244
|
-
# * `cloudtrail.amazonaws.com`
|
245
|
-
#
|
246
|
-
# * `ec2.amazonaws.com`
|
247
|
-
#
|
248
|
-
# * `kms.amazonaws.com`
|
249
|
-
#
|
250
|
-
# * `secretsmanager.amazonaws.com`
|
251
|
-
# * <b> <code>eventName</code> </b> - This is an optional field that
|
252
|
-
# is only used for data events, management events (for event data
|
253
|
-
# stores only), and network activity events. You can use any
|
254
|
-
# operator with `eventName`. You can use it to filter in or filter out
|
255
|
-
# specific events. You can have multiple values for this field,
|
256
|
-
# separated by commas.
|
257
|
-
#
|
258
|
-
# * <b> <code>eventCategory</code> </b> - This field is required and
|
259
|
-
# must be set to `Equals`.
|
260
|
-
#
|
261
|
-
# * For CloudTrail management events, the value must be
|
262
|
-
# `Management`.
|
263
|
-
#
|
264
|
-
# * For CloudTrail data events, the value must be `Data`.
|
265
|
-
#
|
266
|
-
# * For CloudTrail network activity events, the value must be
|
267
|
-
# `NetworkActivity`.
|
268
|
-
# The following are used only for event data stores:
|
269
|
-
#
|
270
|
-
# * For CloudTrail Insights events, the value must be `Insight`.
|
271
|
-
#
|
272
|
-
# * For Config configuration items, the value must be
|
273
|
-
# `ConfigurationItem`.
|
274
|
-
#
|
275
|
-
# * For Audit Manager evidence, the value must be `Evidence`.
|
276
|
-
#
|
277
|
-
# * For events outside of Amazon Web Services, the value must be
|
278
|
-
# `ActivityAuditLog`.
|
279
|
-
# * <b> <code>eventType</code> </b> - This is an optional field
|
280
|
-
# available only for event data stores, which is used to filter
|
281
|
-
# management and data events on the event type. For information
|
282
|
-
# about available event types, see [CloudTrail record contents][1]
|
283
|
-
# in the *CloudTrail user guide*.
|
284
|
-
#
|
285
|
-
# * <b> <code>errorCode</code> </b> - This field is only used to filter
|
286
|
-
# CloudTrail network activity events and is optional. This is the
|
287
|
-
# error code to filter on. Currently, the only valid `errorCode` is
|
288
|
-
# `VpceAccessDenied`. `errorCode` can only use the `Equals`
|
289
|
-
# operator.
|
290
|
-
#
|
291
|
-
# * <b> <code>sessionCredentialFromConsole</code> </b> - This is an
|
292
|
-
# optional field available only for event data stores, which is used
|
293
|
-
# to filter management and data events based on whether the events
|
294
|
-
# originated from an Amazon Web Services Management Console session.
|
295
|
-
# `sessionCredentialFromConsole` can only use the `Equals` and
|
296
|
-
# `NotEquals` operators.
|
297
|
-
#
|
298
|
-
# * <b> <code>resources.type</code> </b> - This field is required for
|
299
|
-
# CloudTrail data events. `resources.type` can only use the `Equals`
|
300
|
-
# operator.
|
301
|
-
#
|
302
|
-
# For a list of available resource types for data events, see [Data
|
303
|
-
# events][2] in the *CloudTrail User Guide*.
|
304
|
-
#
|
305
|
-
# You can have only one `resources.type` field per selector. To log
|
306
|
-
# events on more than one resource type, add another selector.
|
307
|
-
#
|
308
|
-
# * <b> <code>resources.ARN</code> </b> - The `resources.ARN` is an
|
309
|
-
# optional field for data events. You can use any operator with
|
310
|
-
# `resources.ARN`, but if you use `Equals` or `NotEquals`, the value
|
311
|
-
# must exactly match the ARN of a valid resource of the type you've
|
312
|
-
# specified in the template as the value of resources.type. To log
|
313
|
-
# all data events for all objects in a specific S3 bucket, use the
|
314
|
-
# `StartsWith` operator, and include only the bucket ARN as the
|
315
|
-
# matching value.
|
316
|
-
#
|
317
|
-
# For information about filtering data events on the `resources.ARN`
|
318
|
-
# field, see [Filtering data events by resources.ARN][3] in the
|
319
|
-
# *CloudTrail User Guide*.
|
320
|
-
#
|
321
|
-
# <note markdown="1"> You can't use the `resources.ARN` field to filter resource types
|
322
|
-
# that do not have ARNs.
|
323
|
-
#
|
324
|
-
# </note>
|
325
|
-
#
|
326
|
-
# * <b> <code>userIdentity.arn</code> </b> - This is an optional field
|
327
|
-
# available only for event data stores, which is used to filter
|
328
|
-
# management and data events on the userIdentity ARN. You can use
|
329
|
-
# any operator with `userIdentity.arn`. For more information on the
|
330
|
-
# userIdentity element, see [CloudTrail userIdentity element][4] in
|
331
|
-
# the *CloudTrail User Guide*.
|
332
|
-
#
|
333
|
-
# * <b> <code>vpcEndpointId</code> </b> - This field is only used to
|
334
|
-
# filter CloudTrail network activity events and is optional. This
|
335
|
-
# field identifies the VPC endpoint that the request passed through.
|
336
|
-
# You can use any operator with `vpcEndpointId`.
|
135
|
+
# For more information, see [AdvancedFieldSelector][1] in the
|
136
|
+
# *CloudTrailUser Guide*.
|
337
137
|
#
|
338
138
|
#
|
339
139
|
#
|
340
|
-
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/
|
341
|
-
# [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events
|
342
|
-
# [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/filtering-data-events.html#filtering-data-events-resourcearn
|
343
|
-
# [4]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html
|
140
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html
|
344
141
|
# @return [String]
|
345
142
|
#
|
346
143
|
# @!attribute [rw] equals
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudtrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.97.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11
|
11
|
+
date: 2024-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|