@aws-sdk/client-guardduty 3.47.0 → 3.49.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.
@@ -31,6 +31,10 @@ export var DomainDetails;
31
31
  (function (DomainDetails) {
32
32
  DomainDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
33
33
  })(DomainDetails || (DomainDetails = {}));
34
+ export var RemoteAccountDetails;
35
+ (function (RemoteAccountDetails) {
36
+ RemoteAccountDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
+ })(RemoteAccountDetails || (RemoteAccountDetails = {}));
34
38
  export var City;
35
39
  (function (City) {
36
40
  City.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -59,6 +63,10 @@ export var DnsRequestAction;
59
63
  (function (DnsRequestAction) {
60
64
  DnsRequestAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
61
65
  })(DnsRequestAction || (DnsRequestAction = {}));
66
+ export var KubernetesApiCallAction;
67
+ (function (KubernetesApiCallAction) {
68
+ KubernetesApiCallAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
+ })(KubernetesApiCallAction || (KubernetesApiCallAction = {}));
62
70
  export var LocalIpDetails;
63
71
  (function (LocalIpDetails) {
64
72
  LocalIpDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -125,6 +133,26 @@ export var Condition;
125
133
  (function (Condition) {
126
134
  Condition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
127
135
  })(Condition || (Condition = {}));
136
+ export var SecurityContext;
137
+ (function (SecurityContext) {
138
+ SecurityContext.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
139
+ })(SecurityContext || (SecurityContext = {}));
140
+ export var VolumeMount;
141
+ (function (VolumeMount) {
142
+ VolumeMount.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
143
+ })(VolumeMount || (VolumeMount = {}));
144
+ export var Container;
145
+ (function (Container) {
146
+ Container.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
147
+ })(Container || (Container = {}));
148
+ export var KubernetesAuditLogsConfiguration;
149
+ (function (KubernetesAuditLogsConfiguration) {
150
+ KubernetesAuditLogsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
151
+ })(KubernetesAuditLogsConfiguration || (KubernetesAuditLogsConfiguration = {}));
152
+ export var KubernetesConfiguration;
153
+ (function (KubernetesConfiguration) {
154
+ KubernetesConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
155
+ })(KubernetesConfiguration || (KubernetesConfiguration = {}));
128
156
  export var S3LogsConfiguration;
129
157
  (function (S3LogsConfiguration) {
130
158
  S3LogsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -239,6 +267,7 @@ export var DataSource;
239
267
  DataSource["CLOUD_TRAIL"] = "CLOUD_TRAIL";
240
268
  DataSource["DNS_LOGS"] = "DNS_LOGS";
241
269
  DataSource["FLOW_LOGS"] = "FLOW_LOGS";
270
+ DataSource["KUBERNETES_AUDIT_LOGS"] = "KUBERNETES_AUDIT_LOGS";
242
271
  DataSource["S3_LOGS"] = "S3_LOGS";
243
272
  })(DataSource || (DataSource = {}));
244
273
  export var DNSLogsConfigurationResult;
@@ -249,6 +278,14 @@ export var FlowLogsConfigurationResult;
249
278
  (function (FlowLogsConfigurationResult) {
250
279
  FlowLogsConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
251
280
  })(FlowLogsConfigurationResult || (FlowLogsConfigurationResult = {}));
281
+ export var KubernetesAuditLogsConfigurationResult;
282
+ (function (KubernetesAuditLogsConfigurationResult) {
283
+ KubernetesAuditLogsConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
284
+ })(KubernetesAuditLogsConfigurationResult || (KubernetesAuditLogsConfigurationResult = {}));
285
+ export var KubernetesConfigurationResult;
286
+ (function (KubernetesConfigurationResult) {
287
+ KubernetesConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
288
+ })(KubernetesConfigurationResult || (KubernetesConfigurationResult = {}));
252
289
  export var S3LogsConfigurationResult;
253
290
  (function (S3LogsConfigurationResult) {
254
291
  S3LogsConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -329,6 +366,14 @@ export var DescribeOrganizationConfigurationRequest;
329
366
  (function (DescribeOrganizationConfigurationRequest) {
330
367
  DescribeOrganizationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
331
368
  })(DescribeOrganizationConfigurationRequest || (DescribeOrganizationConfigurationRequest = {}));
369
+ export var OrganizationKubernetesAuditLogsConfigurationResult;
370
+ (function (OrganizationKubernetesAuditLogsConfigurationResult) {
371
+ OrganizationKubernetesAuditLogsConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
372
+ })(OrganizationKubernetesAuditLogsConfigurationResult || (OrganizationKubernetesAuditLogsConfigurationResult = {}));
373
+ export var OrganizationKubernetesConfigurationResult;
374
+ (function (OrganizationKubernetesConfigurationResult) {
375
+ OrganizationKubernetesConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
376
+ })(OrganizationKubernetesConfigurationResult || (OrganizationKubernetesConfigurationResult = {}));
332
377
  export var OrganizationS3LogsConfigurationResult;
333
378
  (function (OrganizationS3LogsConfigurationResult) {
334
379
  OrganizationS3LogsConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -389,6 +434,14 @@ export var DisassociateMembersResponse;
389
434
  (function (DisassociateMembersResponse) {
390
435
  DisassociateMembersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
391
436
  })(DisassociateMembersResponse || (DisassociateMembersResponse = {}));
437
+ export var Tag;
438
+ (function (Tag) {
439
+ Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
440
+ })(Tag || (Tag = {}));
441
+ export var EksClusterDetails;
442
+ (function (EksClusterDetails) {
443
+ EksClusterDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
444
+ })(EksClusterDetails || (EksClusterDetails = {}));
392
445
  export var EnableOrganizationAdminAccountRequest;
393
446
  (function (EnableOrganizationAdminAccountRequest) {
394
447
  EnableOrganizationAdminAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -430,14 +483,30 @@ export var ProductCode;
430
483
  (function (ProductCode) {
431
484
  ProductCode.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
432
485
  })(ProductCode || (ProductCode = {}));
433
- export var Tag;
434
- (function (Tag) {
435
- Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
436
- })(Tag || (Tag = {}));
437
486
  export var InstanceDetails;
438
487
  (function (InstanceDetails) {
439
488
  InstanceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
440
489
  })(InstanceDetails || (InstanceDetails = {}));
490
+ export var KubernetesUserDetails;
491
+ (function (KubernetesUserDetails) {
492
+ KubernetesUserDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
493
+ })(KubernetesUserDetails || (KubernetesUserDetails = {}));
494
+ export var HostPath;
495
+ (function (HostPath) {
496
+ HostPath.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
497
+ })(HostPath || (HostPath = {}));
498
+ export var Volume;
499
+ (function (Volume) {
500
+ Volume.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
501
+ })(Volume || (Volume = {}));
502
+ export var KubernetesWorkloadDetails;
503
+ (function (KubernetesWorkloadDetails) {
504
+ KubernetesWorkloadDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
505
+ })(KubernetesWorkloadDetails || (KubernetesWorkloadDetails = {}));
506
+ export var KubernetesDetails;
507
+ (function (KubernetesDetails) {
508
+ KubernetesDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
509
+ })(KubernetesDetails || (KubernetesDetails = {}));
441
510
  export var Owner;
442
511
  (function (Owner) {
443
512
  Owner.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -806,6 +875,14 @@ export var UpdateMemberDetectorsResponse;
806
875
  (function (UpdateMemberDetectorsResponse) {
807
876
  UpdateMemberDetectorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
808
877
  })(UpdateMemberDetectorsResponse || (UpdateMemberDetectorsResponse = {}));
878
+ export var OrganizationKubernetesAuditLogsConfiguration;
879
+ (function (OrganizationKubernetesAuditLogsConfiguration) {
880
+ OrganizationKubernetesAuditLogsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
881
+ })(OrganizationKubernetesAuditLogsConfiguration || (OrganizationKubernetesAuditLogsConfiguration = {}));
882
+ export var OrganizationKubernetesConfiguration;
883
+ (function (OrganizationKubernetesConfiguration) {
884
+ OrganizationKubernetesConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
885
+ })(OrganizationKubernetesConfiguration || (OrganizationKubernetesConfiguration = {}));
809
886
  export var OrganizationS3LogsConfiguration;
810
887
  (function (OrganizationS3LogsConfiguration) {
811
888
  OrganizationS3LogsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -6206,7 +6206,10 @@ var serializeAws_restJson1Criterion = function (input, context) {
6206
6206
  }, {});
6207
6207
  };
6208
6208
  var serializeAws_restJson1DataSourceConfigurations = function (input, context) {
6209
- return __assign({}, (input.S3Logs !== undefined &&
6209
+ return __assign(__assign({}, (input.Kubernetes !== undefined &&
6210
+ input.Kubernetes !== null && {
6211
+ kubernetes: serializeAws_restJson1KubernetesConfiguration(input.Kubernetes, context),
6212
+ })), (input.S3Logs !== undefined &&
6210
6213
  input.S3Logs !== null && { s3Logs: serializeAws_restJson1S3LogsConfiguration(input.S3Logs, context) }));
6211
6214
  };
6212
6215
  var serializeAws_restJson1DataSourceList = function (input, context) {
@@ -6277,6 +6280,15 @@ var serializeAws_restJson1FindingTypes = function (input, context) {
6277
6280
  return entry;
6278
6281
  });
6279
6282
  };
6283
+ var serializeAws_restJson1KubernetesAuditLogsConfiguration = function (input, context) {
6284
+ return __assign({}, (input.Enable !== undefined && input.Enable !== null && { enable: input.Enable }));
6285
+ };
6286
+ var serializeAws_restJson1KubernetesConfiguration = function (input, context) {
6287
+ return __assign({}, (input.AuditLogs !== undefined &&
6288
+ input.AuditLogs !== null && {
6289
+ auditLogs: serializeAws_restJson1KubernetesAuditLogsConfiguration(input.AuditLogs, context),
6290
+ }));
6291
+ };
6280
6292
  var serializeAws_restJson1Neq = function (input, context) {
6281
6293
  return input
6282
6294
  .filter(function (e) { return e != null; })
@@ -6298,11 +6310,23 @@ var serializeAws_restJson1NotEquals = function (input, context) {
6298
6310
  });
6299
6311
  };
6300
6312
  var serializeAws_restJson1OrganizationDataSourceConfigurations = function (input, context) {
6301
- return __assign({}, (input.S3Logs !== undefined &&
6313
+ return __assign(__assign({}, (input.Kubernetes !== undefined &&
6314
+ input.Kubernetes !== null && {
6315
+ kubernetes: serializeAws_restJson1OrganizationKubernetesConfiguration(input.Kubernetes, context),
6316
+ })), (input.S3Logs !== undefined &&
6302
6317
  input.S3Logs !== null && {
6303
6318
  s3Logs: serializeAws_restJson1OrganizationS3LogsConfiguration(input.S3Logs, context),
6304
6319
  }));
6305
6320
  };
6321
+ var serializeAws_restJson1OrganizationKubernetesAuditLogsConfiguration = function (input, context) {
6322
+ return __assign({}, (input.AutoEnable !== undefined && input.AutoEnable !== null && { autoEnable: input.AutoEnable }));
6323
+ };
6324
+ var serializeAws_restJson1OrganizationKubernetesConfiguration = function (input, context) {
6325
+ return __assign({}, (input.AuditLogs !== undefined &&
6326
+ input.AuditLogs !== null && {
6327
+ auditLogs: serializeAws_restJson1OrganizationKubernetesAuditLogsConfiguration(input.AuditLogs, context),
6328
+ }));
6329
+ };
6306
6330
  var serializeAws_restJson1OrganizationS3LogsConfiguration = function (input, context) {
6307
6331
  return __assign({}, (input.AutoEnable !== undefined && input.AutoEnable !== null && { autoEnable: input.AutoEnable }));
6308
6332
  };
@@ -6368,6 +6392,9 @@ var deserializeAws_restJson1Action = function (output, context) {
6368
6392
  DnsRequestAction: output.dnsRequestAction !== undefined && output.dnsRequestAction !== null
6369
6393
  ? deserializeAws_restJson1DnsRequestAction(output.dnsRequestAction, context)
6370
6394
  : undefined,
6395
+ KubernetesApiCallAction: output.kubernetesApiCallAction !== undefined && output.kubernetesApiCallAction !== null
6396
+ ? deserializeAws_restJson1KubernetesApiCallAction(output.kubernetesApiCallAction, context)
6397
+ : undefined,
6371
6398
  NetworkConnectionAction: output.networkConnectionAction !== undefined && output.networkConnectionAction !== null
6372
6399
  ? deserializeAws_restJson1NetworkConnectionAction(output.networkConnectionAction, context)
6373
6400
  : undefined,
@@ -6400,10 +6427,14 @@ var deserializeAws_restJson1AwsApiCallAction = function (output, context) {
6400
6427
  ? deserializeAws_restJson1DomainDetails(output.domainDetails, context)
6401
6428
  : undefined,
6402
6429
  ErrorCode: __expectString(output.errorCode),
6430
+ RemoteAccountDetails: output.remoteAccountDetails !== undefined && output.remoteAccountDetails !== null
6431
+ ? deserializeAws_restJson1RemoteAccountDetails(output.remoteAccountDetails, context)
6432
+ : undefined,
6403
6433
  RemoteIpDetails: output.remoteIpDetails !== undefined && output.remoteIpDetails !== null
6404
6434
  ? deserializeAws_restJson1RemoteIpDetails(output.remoteIpDetails, context)
6405
6435
  : undefined,
6406
6436
  ServiceName: __expectString(output.serviceName),
6437
+ UserAgent: __expectString(output.userAgent),
6407
6438
  };
6408
6439
  };
6409
6440
  var deserializeAws_restJson1BlockPublicAccess = function (output, context) {
@@ -6463,6 +6494,31 @@ var deserializeAws_restJson1Condition = function (output, context) {
6463
6494
  : undefined,
6464
6495
  };
6465
6496
  };
6497
+ var deserializeAws_restJson1Container = function (output, context) {
6498
+ return {
6499
+ ContainerRuntime: __expectString(output.containerRuntime),
6500
+ Id: __expectString(output.id),
6501
+ Image: __expectString(output.image),
6502
+ ImagePrefix: __expectString(output.imagePrefix),
6503
+ Name: __expectString(output.name),
6504
+ SecurityContext: output.securityContext !== undefined && output.securityContext !== null
6505
+ ? deserializeAws_restJson1SecurityContext(output.securityContext, context)
6506
+ : undefined,
6507
+ VolumeMounts: output.volumeMounts !== undefined && output.volumeMounts !== null
6508
+ ? deserializeAws_restJson1VolumeMounts(output.volumeMounts, context)
6509
+ : undefined,
6510
+ };
6511
+ };
6512
+ var deserializeAws_restJson1Containers = function (output, context) {
6513
+ return (output || [])
6514
+ .filter(function (e) { return e != null; })
6515
+ .map(function (entry) {
6516
+ if (entry === null) {
6517
+ return null;
6518
+ }
6519
+ return deserializeAws_restJson1Container(entry, context);
6520
+ });
6521
+ };
6466
6522
  var deserializeAws_restJson1CountBySeverity = function (output, context) {
6467
6523
  return Object.entries(output).reduce(function (acc, _a) {
6468
6524
  var _b;
@@ -6500,6 +6556,9 @@ var deserializeAws_restJson1DataSourceConfigurationsResult = function (output, c
6500
6556
  FlowLogs: output.flowLogs !== undefined && output.flowLogs !== null
6501
6557
  ? deserializeAws_restJson1FlowLogsConfigurationResult(output.flowLogs, context)
6502
6558
  : undefined,
6559
+ Kubernetes: output.kubernetes !== undefined && output.kubernetes !== null
6560
+ ? deserializeAws_restJson1KubernetesConfigurationResult(output.kubernetes, context)
6561
+ : undefined,
6503
6562
  S3Logs: output.s3Logs !== undefined && output.s3Logs !== null
6504
6563
  ? deserializeAws_restJson1S3LogsConfigurationResult(output.s3Logs, context)
6505
6564
  : undefined,
@@ -6559,6 +6618,20 @@ var deserializeAws_restJson1DomainDetails = function (output, context) {
6559
6618
  Domain: __expectString(output.domain),
6560
6619
  };
6561
6620
  };
6621
+ var deserializeAws_restJson1EksClusterDetails = function (output, context) {
6622
+ return {
6623
+ Arn: __expectString(output.arn),
6624
+ CreatedAt: output.createdAt !== undefined && output.createdAt !== null
6625
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
6626
+ : undefined,
6627
+ Name: __expectString(output.name),
6628
+ Status: __expectString(output.status),
6629
+ Tags: output.tags !== undefined && output.tags !== null
6630
+ ? deserializeAws_restJson1Tags(output.tags, context)
6631
+ : undefined,
6632
+ VpcId: __expectString(output.vpcId),
6633
+ };
6634
+ };
6562
6635
  var deserializeAws_restJson1Eq = function (output, context) {
6563
6636
  return (output || [])
6564
6637
  .filter(function (e) { return e != null; })
@@ -6664,6 +6737,21 @@ var deserializeAws_restJson1GeoLocation = function (output, context) {
6664
6737
  Lon: __limitedParseDouble(output.lon),
6665
6738
  };
6666
6739
  };
6740
+ var deserializeAws_restJson1Groups = function (output, context) {
6741
+ return (output || [])
6742
+ .filter(function (e) { return e != null; })
6743
+ .map(function (entry) {
6744
+ if (entry === null) {
6745
+ return null;
6746
+ }
6747
+ return __expectString(entry);
6748
+ });
6749
+ };
6750
+ var deserializeAws_restJson1HostPath = function (output, context) {
6751
+ return {
6752
+ Path: __expectString(output.path),
6753
+ };
6754
+ };
6667
6755
  var deserializeAws_restJson1IamInstanceProfile = function (output, context) {
6668
6756
  return {
6669
6757
  Arn: __expectString(output.arn),
@@ -6733,6 +6821,67 @@ var deserializeAws_restJson1Ipv6Addresses = function (output, context) {
6733
6821
  return __expectString(entry);
6734
6822
  });
6735
6823
  };
6824
+ var deserializeAws_restJson1KubernetesApiCallAction = function (output, context) {
6825
+ return {
6826
+ Parameters: __expectString(output.parameters),
6827
+ RemoteIpDetails: output.remoteIpDetails !== undefined && output.remoteIpDetails !== null
6828
+ ? deserializeAws_restJson1RemoteIpDetails(output.remoteIpDetails, context)
6829
+ : undefined,
6830
+ RequestUri: __expectString(output.requestUri),
6831
+ SourceIps: output.sourceIps !== undefined && output.sourceIps !== null
6832
+ ? deserializeAws_restJson1SourceIps(output.sourceIps, context)
6833
+ : undefined,
6834
+ StatusCode: __expectInt32(output.statusCode),
6835
+ UserAgent: __expectString(output.userAgent),
6836
+ Verb: __expectString(output.verb),
6837
+ };
6838
+ };
6839
+ var deserializeAws_restJson1KubernetesAuditLogsConfigurationResult = function (output, context) {
6840
+ return {
6841
+ Status: __expectString(output.status),
6842
+ };
6843
+ };
6844
+ var deserializeAws_restJson1KubernetesConfigurationResult = function (output, context) {
6845
+ return {
6846
+ AuditLogs: output.auditLogs !== undefined && output.auditLogs !== null
6847
+ ? deserializeAws_restJson1KubernetesAuditLogsConfigurationResult(output.auditLogs, context)
6848
+ : undefined,
6849
+ };
6850
+ };
6851
+ var deserializeAws_restJson1KubernetesDetails = function (output, context) {
6852
+ return {
6853
+ KubernetesUserDetails: output.kubernetesUserDetails !== undefined && output.kubernetesUserDetails !== null
6854
+ ? deserializeAws_restJson1KubernetesUserDetails(output.kubernetesUserDetails, context)
6855
+ : undefined,
6856
+ KubernetesWorkloadDetails: output.kubernetesWorkloadDetails !== undefined && output.kubernetesWorkloadDetails !== null
6857
+ ? deserializeAws_restJson1KubernetesWorkloadDetails(output.kubernetesWorkloadDetails, context)
6858
+ : undefined,
6859
+ };
6860
+ };
6861
+ var deserializeAws_restJson1KubernetesUserDetails = function (output, context) {
6862
+ return {
6863
+ Groups: output.groups !== undefined && output.groups !== null
6864
+ ? deserializeAws_restJson1Groups(output.groups, context)
6865
+ : undefined,
6866
+ Uid: __expectString(output.uid),
6867
+ Username: __expectString(output.username),
6868
+ };
6869
+ };
6870
+ var deserializeAws_restJson1KubernetesWorkloadDetails = function (output, context) {
6871
+ return {
6872
+ Containers: output.containers !== undefined && output.containers !== null
6873
+ ? deserializeAws_restJson1Containers(output.containers, context)
6874
+ : undefined,
6875
+ HostNetwork: __expectBoolean(output.hostNetwork),
6876
+ Name: __expectString(output.name),
6877
+ Namespace: __expectString(output.namespace),
6878
+ Type: __expectString(output.type),
6879
+ Uid: __expectString(output.uid),
6880
+ Volumes: output.volumes !== undefined && output.volumes !== null
6881
+ ? deserializeAws_restJson1Volumes(output.volumes, context)
6882
+ : undefined,
6883
+ };
6884
+ };
6736
6885
  var deserializeAws_restJson1LocalIpDetails = function (output, context) {
6737
6886
  return {
6738
6887
  IpAddressV4: __expectString(output.ipAddressV4),
@@ -6870,11 +7019,26 @@ var deserializeAws_restJson1Organization = function (output, context) {
6870
7019
  };
6871
7020
  var deserializeAws_restJson1OrganizationDataSourceConfigurationsResult = function (output, context) {
6872
7021
  return {
7022
+ Kubernetes: output.kubernetes !== undefined && output.kubernetes !== null
7023
+ ? deserializeAws_restJson1OrganizationKubernetesConfigurationResult(output.kubernetes, context)
7024
+ : undefined,
6873
7025
  S3Logs: output.s3Logs !== undefined && output.s3Logs !== null
6874
7026
  ? deserializeAws_restJson1OrganizationS3LogsConfigurationResult(output.s3Logs, context)
6875
7027
  : undefined,
6876
7028
  };
6877
7029
  };
7030
+ var deserializeAws_restJson1OrganizationKubernetesAuditLogsConfigurationResult = function (output, context) {
7031
+ return {
7032
+ AutoEnable: __expectBoolean(output.autoEnable),
7033
+ };
7034
+ };
7035
+ var deserializeAws_restJson1OrganizationKubernetesConfigurationResult = function (output, context) {
7036
+ return {
7037
+ AuditLogs: output.auditLogs !== undefined && output.auditLogs !== null
7038
+ ? deserializeAws_restJson1OrganizationKubernetesAuditLogsConfigurationResult(output.auditLogs, context)
7039
+ : undefined,
7040
+ };
7041
+ };
6878
7042
  var deserializeAws_restJson1OrganizationS3LogsConfigurationResult = function (output, context) {
6879
7043
  return {
6880
7044
  AutoEnable: __expectBoolean(output.autoEnable),
@@ -6966,6 +7130,12 @@ var deserializeAws_restJson1PublicAccess = function (output, context) {
6966
7130
  : undefined,
6967
7131
  };
6968
7132
  };
7133
+ var deserializeAws_restJson1RemoteAccountDetails = function (output, context) {
7134
+ return {
7135
+ AccountId: __expectString(output.accountId),
7136
+ Affiliated: __expectBoolean(output.affiliated),
7137
+ };
7138
+ };
6969
7139
  var deserializeAws_restJson1RemoteIpDetails = function (output, context) {
6970
7140
  return {
6971
7141
  City: output.city !== undefined && output.city !== null
@@ -6994,9 +7164,15 @@ var deserializeAws_restJson1Resource = function (output, context) {
6994
7164
  AccessKeyDetails: output.accessKeyDetails !== undefined && output.accessKeyDetails !== null
6995
7165
  ? deserializeAws_restJson1AccessKeyDetails(output.accessKeyDetails, context)
6996
7166
  : undefined,
7167
+ EksClusterDetails: output.eksClusterDetails !== undefined && output.eksClusterDetails !== null
7168
+ ? deserializeAws_restJson1EksClusterDetails(output.eksClusterDetails, context)
7169
+ : undefined,
6997
7170
  InstanceDetails: output.instanceDetails !== undefined && output.instanceDetails !== null
6998
7171
  ? deserializeAws_restJson1InstanceDetails(output.instanceDetails, context)
6999
7172
  : undefined,
7173
+ KubernetesDetails: output.kubernetesDetails !== undefined && output.kubernetesDetails !== null
7174
+ ? deserializeAws_restJson1KubernetesDetails(output.kubernetesDetails, context)
7175
+ : undefined,
7000
7176
  ResourceType: __expectString(output.resourceType),
7001
7177
  S3BucketDetails: output.s3BucketDetails !== undefined && output.s3BucketDetails !== null
7002
7178
  ? deserializeAws_restJson1S3BucketDetails(output.s3BucketDetails, context)
@@ -7040,6 +7216,11 @@ var deserializeAws_restJson1S3LogsConfigurationResult = function (output, contex
7040
7216
  Status: __expectString(output.status),
7041
7217
  };
7042
7218
  };
7219
+ var deserializeAws_restJson1SecurityContext = function (output, context) {
7220
+ return {
7221
+ Privileged: __expectBoolean(output.privileged),
7222
+ };
7223
+ };
7043
7224
  var deserializeAws_restJson1SecurityGroup = function (output, context) {
7044
7225
  return {
7045
7226
  GroupId: __expectString(output.groupId),
@@ -7074,6 +7255,16 @@ var deserializeAws_restJson1Service = function (output, context) {
7074
7255
  UserFeedback: __expectString(output.userFeedback),
7075
7256
  };
7076
7257
  };
7258
+ var deserializeAws_restJson1SourceIps = function (output, context) {
7259
+ return (output || [])
7260
+ .filter(function (e) { return e != null; })
7261
+ .map(function (entry) {
7262
+ if (entry === null) {
7263
+ return null;
7264
+ }
7265
+ return __expectString(entry);
7266
+ });
7267
+ };
7077
7268
  var deserializeAws_restJson1Tag = function (output, context) {
7078
7269
  return {
7079
7270
  Key: __expectString(output.key),
@@ -7230,6 +7421,40 @@ var deserializeAws_restJson1UsageStatistics = function (output, context) {
7230
7421
  : undefined,
7231
7422
  };
7232
7423
  };
7424
+ var deserializeAws_restJson1Volume = function (output, context) {
7425
+ return {
7426
+ HostPath: output.hostPath !== undefined && output.hostPath !== null
7427
+ ? deserializeAws_restJson1HostPath(output.hostPath, context)
7428
+ : undefined,
7429
+ Name: __expectString(output.name),
7430
+ };
7431
+ };
7432
+ var deserializeAws_restJson1VolumeMount = function (output, context) {
7433
+ return {
7434
+ MountPath: __expectString(output.mountPath),
7435
+ Name: __expectString(output.name),
7436
+ };
7437
+ };
7438
+ var deserializeAws_restJson1VolumeMounts = function (output, context) {
7439
+ return (output || [])
7440
+ .filter(function (e) { return e != null; })
7441
+ .map(function (entry) {
7442
+ if (entry === null) {
7443
+ return null;
7444
+ }
7445
+ return deserializeAws_restJson1VolumeMount(entry, context);
7446
+ });
7447
+ };
7448
+ var deserializeAws_restJson1Volumes = function (output, context) {
7449
+ return (output || [])
7450
+ .filter(function (e) { return e != null; })
7451
+ .map(function (entry) {
7452
+ if (entry === null) {
7453
+ return null;
7454
+ }
7455
+ return deserializeAws_restJson1Volume(entry, context);
7456
+ });
7457
+ };
7233
7458
  var deserializeMetadata = function (output) {
7234
7459
  var _a;
7235
7460
  return ({
@@ -60,17 +60,17 @@ import { UpdateThreatIntelSetCommandInput, UpdateThreatIntelSetCommandOutput } f
60
60
  import { GuardDutyClient } from "./GuardDutyClient";
61
61
  /**
62
62
  * <p>Amazon GuardDuty is a continuous security monitoring service that analyzes and processes
63
- * the following data sources: VPC Flow Logs, AWS CloudTrail event logs, and DNS logs. It uses
63
+ * the following data sources: VPC Flow Logs, Amazon Web Services CloudTrail event logs, and DNS logs. It uses
64
64
  * threat intelligence feeds (such as lists of malicious IPs and domains) and machine learning to
65
- * identify unexpected, potentially unauthorized, and malicious activity within your AWS
65
+ * identify unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services
66
66
  * environment. This can include issues like escalations of privileges, uses of exposed
67
67
  * credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can
68
68
  * detect compromised EC2 instances that serve malware or mine bitcoin. </p>
69
- * <p>GuardDuty also monitors AWS account access behavior for signs of compromise. Some examples
69
+ * <p>GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples
70
70
  * of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region
71
71
  * that has never been used, or unusual API calls like a password policy change to reduce
72
72
  * password strength. </p>
73
- * <p>GuardDuty informs you of the status of your AWS environment by producing security findings
73
+ * <p>GuardDuty informs you of the status of your Amazon Web Services environment by producing security findings
74
74
  * that you can view in the GuardDuty console or through Amazon CloudWatch events. For more
75
75
  * information, see the <i>
76
76
  * <a href="https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html">Amazon
@@ -111,7 +111,7 @@ export declare class GuardDuty extends GuardDutyClient {
111
111
  createFilter(args: CreateFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFilterCommandOutput) => void): void;
112
112
  /**
113
113
  * <p>Creates a new IPSet, which is called a trusted IP list in the console user interface. An
114
- * IPSet is a list of IP addresses that are trusted for secure communication with AWS
114
+ * IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services
115
115
  * infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are
116
116
  * included in IPSets. Only users from the administrator account can use this operation.</p>
117
117
  */
@@ -119,7 +119,7 @@ export declare class GuardDuty extends GuardDutyClient {
119
119
  createIPSet(args: CreateIPSetCommandInput, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
120
120
  createIPSet(args: CreateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
121
121
  /**
122
- * <p>Creates member accounts of the current AWS account by specifying a list of AWS account
122
+ * <p>Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account
123
123
  * IDs. This step is a prerequisite for managing the associated member accounts either by
124
124
  * invitation or through an organization.</p>
125
125
  * <p>When using <code>Create Members</code> as an organizations delegated administrator this
@@ -159,7 +159,7 @@ export declare class GuardDuty extends GuardDutyClient {
159
159
  createThreatIntelSet(args: CreateThreatIntelSetCommandInput, cb: (err: any, data?: CreateThreatIntelSetCommandOutput) => void): void;
160
160
  createThreatIntelSet(args: CreateThreatIntelSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateThreatIntelSetCommandOutput) => void): void;
161
161
  /**
162
- * <p>Declines invitations sent to the current member account by AWS accounts specified by their
162
+ * <p>Declines invitations sent to the current member account by Amazon Web Services accounts specified by their
163
163
  * account IDs.</p>
164
164
  */
165
165
  declineInvitations(args: DeclineInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<DeclineInvitationsCommandOutput>;
@@ -178,7 +178,7 @@ export declare class GuardDuty extends GuardDutyClient {
178
178
  deleteFilter(args: DeleteFilterCommandInput, cb: (err: any, data?: DeleteFilterCommandOutput) => void): void;
179
179
  deleteFilter(args: DeleteFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFilterCommandOutput) => void): void;
180
180
  /**
181
- * <p>Deletes invitations sent to the current member account by AWS accounts specified by their
181
+ * <p>Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their
182
182
  * account IDs.</p>
183
183
  */
184
184
  deleteInvitations(args: DeleteInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInvitationsCommandOutput>;
@@ -225,7 +225,7 @@ export declare class GuardDuty extends GuardDutyClient {
225
225
  describePublishingDestination(args: DescribePublishingDestinationCommandInput, cb: (err: any, data?: DescribePublishingDestinationCommandOutput) => void): void;
226
226
  describePublishingDestination(args: DescribePublishingDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePublishingDestinationCommandOutput) => void): void;
227
227
  /**
228
- * <p>Disables an AWS account within the Organization as the GuardDuty delegated
228
+ * <p>Disables an Amazon Web Services account within the Organization as the GuardDuty delegated
229
229
  * administrator.</p>
230
230
  */
231
231
  disableOrganizationAdminAccount(args: DisableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisableOrganizationAdminAccountCommandOutput>;
@@ -245,7 +245,7 @@ export declare class GuardDuty extends GuardDutyClient {
245
245
  disassociateMembers(args: DisassociateMembersCommandInput, cb: (err: any, data?: DisassociateMembersCommandOutput) => void): void;
246
246
  disassociateMembers(args: DisassociateMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateMembersCommandOutput) => void): void;
247
247
  /**
248
- * <p>Enables an AWS account within the organization as the GuardDuty delegated
248
+ * <p>Enables an Amazon Web Services account within the organization as the GuardDuty delegated
249
249
  * administrator.</p>
250
250
  */
251
251
  enableOrganizationAdminAccount(args: EnableOrganizationAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableOrganizationAdminAccountCommandOutput>;
@@ -324,8 +324,8 @@ export declare class GuardDuty extends GuardDutyClient {
324
324
  getUsageStatistics(args: GetUsageStatisticsCommandInput, cb: (err: any, data?: GetUsageStatisticsCommandOutput) => void): void;
325
325
  getUsageStatistics(args: GetUsageStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUsageStatisticsCommandOutput) => void): void;
326
326
  /**
327
- * <p>Invites other AWS accounts (created as members of the current AWS account by
328
- * CreateMembers) to enable GuardDuty, and allow the current AWS account to view and manage these
327
+ * <p>Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by
328
+ * CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these
329
329
  * accounts' findings on their behalf as the GuardDuty administrator account.</p>
330
330
  */
331
331
  inviteMembers(args: InviteMembersCommandInput, options?: __HttpHandlerOptions): Promise<InviteMembersCommandOutput>;
@@ -350,7 +350,7 @@ export declare class GuardDuty extends GuardDutyClient {
350
350
  listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
351
351
  listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
352
352
  /**
353
- * <p>Lists all GuardDuty membership invitations that were sent to the current AWS
353
+ * <p>Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services
354
354
  * account.</p>
355
355
  */
356
356
  listInvitations(args: ListInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvitationsCommandOutput>;
@@ -378,7 +378,7 @@ export declare class GuardDuty extends GuardDutyClient {
378
378
  listOrganizationAdminAccounts(args: ListOrganizationAdminAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrganizationAdminAccountsCommandOutput) => void): void;
379
379
  /**
380
380
  * <p>Returns a list of publishing destinations associated with the specified
381
- * <code>dectectorId</code>.</p>
381
+ * <code>detectorId</code>.</p>
382
382
  */
383
383
  listPublishingDestinations(args: ListPublishingDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPublishingDestinationsCommandOutput>;
384
384
  listPublishingDestinations(args: ListPublishingDestinationsCommandInput, cb: (err: any, data?: ListPublishingDestinationsCommandOutput) => void): void;
@@ -185,17 +185,17 @@ export interface GuardDutyClientResolvedConfig extends GuardDutyClientResolvedCo
185
185
  }
186
186
  /**
187
187
  * <p>Amazon GuardDuty is a continuous security monitoring service that analyzes and processes
188
- * the following data sources: VPC Flow Logs, AWS CloudTrail event logs, and DNS logs. It uses
188
+ * the following data sources: VPC Flow Logs, Amazon Web Services CloudTrail event logs, and DNS logs. It uses
189
189
  * threat intelligence feeds (such as lists of malicious IPs and domains) and machine learning to
190
- * identify unexpected, potentially unauthorized, and malicious activity within your AWS
190
+ * identify unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services
191
191
  * environment. This can include issues like escalations of privileges, uses of exposed
192
192
  * credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can
193
193
  * detect compromised EC2 instances that serve malware or mine bitcoin. </p>
194
- * <p>GuardDuty also monitors AWS account access behavior for signs of compromise. Some examples
194
+ * <p>GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples
195
195
  * of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region
196
196
  * that has never been used, or unusual API calls like a password policy change to reduce
197
197
  * password strength. </p>
198
- * <p>GuardDuty informs you of the status of your AWS environment by producing security findings
198
+ * <p>GuardDuty informs you of the status of your Amazon Web Services environment by producing security findings
199
199
  * that you can view in the GuardDuty console or through Amazon CloudWatch events. For more
200
200
  * information, see the <i>
201
201
  * <a href="https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html">Amazon
@@ -8,7 +8,7 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat
8
8
  }
9
9
  /**
10
10
  * <p>Creates a new IPSet, which is called a trusted IP list in the console user interface. An
11
- * IPSet is a list of IP addresses that are trusted for secure communication with AWS
11
+ * IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services
12
12
  * infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are
13
13
  * included in IPSets. Only users from the administrator account can use this operation.</p>
14
14
  * @example
@@ -7,7 +7,7 @@ export interface CreateMembersCommandInput extends CreateMembersRequest {
7
7
  export interface CreateMembersCommandOutput extends CreateMembersResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates member accounts of the current AWS account by specifying a list of AWS account
10
+ * <p>Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account
11
11
  * IDs. This step is a prerequisite for managing the associated member accounts either by
12
12
  * invitation or through an organization.</p>
13
13
  * <p>When using <code>Create Members</code> as an organizations delegated administrator this
@@ -7,7 +7,7 @@ export interface DeclineInvitationsCommandInput extends DeclineInvitationsReques
7
7
  export interface DeclineInvitationsCommandOutput extends DeclineInvitationsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Declines invitations sent to the current member account by AWS accounts specified by their
10
+ * <p>Declines invitations sent to the current member account by Amazon Web Services accounts specified by their
11
11
  * account IDs.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.