@aws-sdk/client-guardduty 3.48.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +120 -11
- package/dist-cjs/protocols/Aws_restJson1.js +226 -0
- package/dist-es/models/models_0.js +77 -4
- package/dist-es/protocols/Aws_restJson1.js +218 -2
- package/dist-types/models/models_0.d.ts +432 -19
- package/dist-types/ts3.4/models/models_0.d.ts +245 -11
- package/package.json +39 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 01/28/2022 ([#3263](https://github.com/aws/aws-sdk-js-v3/issues/3263)) ([c207cf4](https://github.com/aws/aws-sdk-js-v3/commit/c207cf4a70ba9ef14dc5b94da7883b0889d64918))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateThreatIntelSetResponse = void 0;
|
|
3
|
+
exports.CreateIPSetResponse = exports.CreateIPSetRequest = exports.IpSetFormat = exports.CreateFilterResponse = exports.CreateFilterRequest = exports.FindingCriteria = exports.FilterAction = exports.CreateDetectorResponse = exports.CreateDetectorRequest = exports.FindingPublishingFrequency = exports.DataSourceConfigurations = exports.S3LogsConfiguration = exports.KubernetesConfiguration = exports.KubernetesAuditLogsConfiguration = exports.Container = exports.VolumeMount = exports.SecurityContext = exports.Condition = exports.CloudTrailConfigurationResult = exports.DataSourceStatus = exports.BucketLevelPermissions = exports.BucketPolicy = exports.ArchiveFindingsResponse = exports.ArchiveFindingsRequest = exports.AdminAccount = exports.AdminStatus = exports.Action = exports.PortProbeAction = exports.PortProbeDetail = exports.NetworkConnectionAction = exports.RemotePortDetails = exports.LocalPortDetails = exports.LocalIpDetails = exports.KubernetesApiCallAction = exports.DnsRequestAction = exports.AwsApiCallAction = exports.RemoteIpDetails = exports.Organization = exports.GeoLocation = exports.Country = exports.City = exports.RemoteAccountDetails = exports.DomainDetails = exports.AccountLevelPermissions = exports.BlockPublicAccess = exports.AccountDetail = exports.AccessKeyDetails = exports.AccessControlList = exports.AcceptInvitationResponse = exports.AcceptInvitationRequest = void 0;
|
|
4
|
+
exports.DisassociateFromMasterAccountRequest = exports.DisableOrganizationAdminAccountResponse = exports.DisableOrganizationAdminAccountRequest = exports.DetectorStatus = exports.Destination = exports.DescribePublishingDestinationResponse = exports.PublishingStatus = exports.DescribePublishingDestinationRequest = exports.DescribeOrganizationConfigurationResponse = exports.OrganizationDataSourceConfigurationsResult = exports.OrganizationS3LogsConfigurationResult = exports.OrganizationKubernetesConfigurationResult = exports.OrganizationKubernetesAuditLogsConfigurationResult = exports.DescribeOrganizationConfigurationRequest = exports.DeleteThreatIntelSetResponse = exports.DeleteThreatIntelSetRequest = exports.DeletePublishingDestinationResponse = exports.DeletePublishingDestinationRequest = exports.DeleteMembersResponse = exports.DeleteMembersRequest = exports.DeleteIPSetResponse = exports.DeleteIPSetRequest = exports.DeleteInvitationsResponse = exports.DeleteInvitationsRequest = exports.DeleteFilterResponse = exports.DeleteFilterRequest = exports.DeleteDetectorResponse = exports.DeleteDetectorRequest = exports.DefaultServerSideEncryption = exports.DeclineInvitationsResponse = exports.DeclineInvitationsRequest = exports.DataSourceConfigurationsResult = exports.S3LogsConfigurationResult = exports.KubernetesConfigurationResult = exports.KubernetesAuditLogsConfigurationResult = exports.FlowLogsConfigurationResult = exports.DNSLogsConfigurationResult = exports.DataSource = exports.CreateThreatIntelSetResponse = exports.CreateThreatIntelSetRequest = exports.ThreatIntelSetFormat = exports.CreateSampleFindingsResponse = exports.CreateSampleFindingsRequest = exports.CreatePublishingDestinationResponse = exports.CreatePublishingDestinationRequest = exports.DestinationType = exports.DestinationProperties = exports.CreateMembersResponse = exports.UnprocessedAccount = exports.CreateMembersRequest = void 0;
|
|
5
|
+
exports.MemberDataSourceConfiguration = exports.GetMemberDetectorsRequest = exports.GetMasterAccountResponse = exports.Master = exports.GetMasterAccountRequest = exports.GetIPSetResponse = exports.IpSetStatus = exports.GetIPSetRequest = exports.GetInvitationsCountResponse = exports.GetInvitationsCountRequest = exports.GetFindingsStatisticsResponse = exports.GetFindingsStatisticsRequest = exports.GetFindingsResponse = exports.GetFindingsRequest = exports.SortCriteria = exports.OrderBy = exports.GetFilterResponse = exports.GetFilterRequest = exports.GetDetectorResponse = exports.GetDetectorRequest = exports.FindingStatisticType = exports.FindingStatistics = exports.Finding = exports.Service = exports.Resource = exports.S3BucketDetail = exports.PublicAccess = exports.PermissionConfiguration = exports.Owner = exports.KubernetesDetails = exports.KubernetesWorkloadDetails = exports.Volume = exports.HostPath = exports.KubernetesUserDetails = exports.InstanceDetails = exports.ProductCode = exports.NetworkInterface = exports.SecurityGroup = exports.PrivateIpAddressDetails = exports.IamInstanceProfile = exports.Feedback = exports.Evidence = exports.ThreatIntelligenceDetail = exports.EnableOrganizationAdminAccountResponse = exports.EnableOrganizationAdminAccountRequest = exports.EksClusterDetails = exports.Tag = exports.DisassociateMembersResponse = exports.DisassociateMembersRequest = exports.DisassociateFromMasterAccountResponse = void 0;
|
|
6
|
+
exports.UpdateDetectorRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.UnarchiveFindingsResponse = exports.UnarchiveFindingsRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopMonitoringMembersResponse = exports.StopMonitoringMembersRequest = exports.StartMonitoringMembersResponse = exports.StartMonitoringMembersRequest = exports.ListThreatIntelSetsResponse = exports.ListThreatIntelSetsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListPublishingDestinationsResponse = exports.ListPublishingDestinationsRequest = exports.ListOrganizationAdminAccountsResponse = exports.ListOrganizationAdminAccountsRequest = exports.ListMembersResponse = exports.ListMembersRequest = exports.ListIPSetsResponse = exports.ListIPSetsRequest = exports.ListInvitationsResponse = exports.Invitation = exports.ListInvitationsRequest = exports.ListFindingsResponse = exports.ListFindingsRequest = exports.ListFiltersResponse = exports.ListFiltersRequest = exports.ListDetectorsResponse = exports.ListDetectorsRequest = exports.InviteMembersResponse = exports.InviteMembersRequest = exports.GetUsageStatisticsResponse = exports.UsageStatistics = exports.UsageResourceResult = exports.UsageDataSourceResult = exports.UsageAccountResult = exports.Total = exports.GetUsageStatisticsRequest = exports.UsageStatisticType = exports.UsageCriteria = exports.GetThreatIntelSetResponse = exports.ThreatIntelSetStatus = exports.GetThreatIntelSetRequest = exports.GetMembersResponse = exports.Member = exports.GetMembersRequest = exports.GetMemberDetectorsResponse = void 0;
|
|
7
|
+
exports.UpdateThreatIntelSetResponse = exports.UpdateThreatIntelSetRequest = exports.UpdatePublishingDestinationResponse = exports.UpdatePublishingDestinationRequest = exports.UpdateOrganizationConfigurationResponse = exports.UpdateOrganizationConfigurationRequest = exports.OrganizationDataSourceConfigurations = exports.OrganizationS3LogsConfiguration = exports.OrganizationKubernetesConfiguration = exports.OrganizationKubernetesAuditLogsConfiguration = exports.UpdateMemberDetectorsResponse = exports.UpdateMemberDetectorsRequest = exports.UpdateIPSetResponse = exports.UpdateIPSetRequest = exports.UpdateFindingsFeedbackResponse = exports.UpdateFindingsFeedbackRequest = exports.UpdateFilterResponse = exports.UpdateFilterRequest = exports.UpdateDetectorResponse = void 0;
|
|
8
8
|
var AcceptInvitationRequest;
|
|
9
9
|
(function (AcceptInvitationRequest) {
|
|
10
10
|
AcceptInvitationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -101,6 +101,12 @@ var DnsRequestAction;
|
|
|
101
101
|
...obj,
|
|
102
102
|
});
|
|
103
103
|
})(DnsRequestAction = exports.DnsRequestAction || (exports.DnsRequestAction = {}));
|
|
104
|
+
var KubernetesApiCallAction;
|
|
105
|
+
(function (KubernetesApiCallAction) {
|
|
106
|
+
KubernetesApiCallAction.filterSensitiveLog = (obj) => ({
|
|
107
|
+
...obj,
|
|
108
|
+
});
|
|
109
|
+
})(KubernetesApiCallAction = exports.KubernetesApiCallAction || (exports.KubernetesApiCallAction = {}));
|
|
104
110
|
var LocalIpDetails;
|
|
105
111
|
(function (LocalIpDetails) {
|
|
106
112
|
LocalIpDetails.filterSensitiveLog = (obj) => ({
|
|
@@ -195,6 +201,36 @@ var Condition;
|
|
|
195
201
|
...obj,
|
|
196
202
|
});
|
|
197
203
|
})(Condition = exports.Condition || (exports.Condition = {}));
|
|
204
|
+
var SecurityContext;
|
|
205
|
+
(function (SecurityContext) {
|
|
206
|
+
SecurityContext.filterSensitiveLog = (obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
});
|
|
209
|
+
})(SecurityContext = exports.SecurityContext || (exports.SecurityContext = {}));
|
|
210
|
+
var VolumeMount;
|
|
211
|
+
(function (VolumeMount) {
|
|
212
|
+
VolumeMount.filterSensitiveLog = (obj) => ({
|
|
213
|
+
...obj,
|
|
214
|
+
});
|
|
215
|
+
})(VolumeMount = exports.VolumeMount || (exports.VolumeMount = {}));
|
|
216
|
+
var Container;
|
|
217
|
+
(function (Container) {
|
|
218
|
+
Container.filterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
});
|
|
221
|
+
})(Container = exports.Container || (exports.Container = {}));
|
|
222
|
+
var KubernetesAuditLogsConfiguration;
|
|
223
|
+
(function (KubernetesAuditLogsConfiguration) {
|
|
224
|
+
KubernetesAuditLogsConfiguration.filterSensitiveLog = (obj) => ({
|
|
225
|
+
...obj,
|
|
226
|
+
});
|
|
227
|
+
})(KubernetesAuditLogsConfiguration = exports.KubernetesAuditLogsConfiguration || (exports.KubernetesAuditLogsConfiguration = {}));
|
|
228
|
+
var KubernetesConfiguration;
|
|
229
|
+
(function (KubernetesConfiguration) {
|
|
230
|
+
KubernetesConfiguration.filterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
});
|
|
233
|
+
})(KubernetesConfiguration = exports.KubernetesConfiguration || (exports.KubernetesConfiguration = {}));
|
|
198
234
|
var S3LogsConfiguration;
|
|
199
235
|
(function (S3LogsConfiguration) {
|
|
200
236
|
S3LogsConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -347,6 +383,7 @@ var DataSource;
|
|
|
347
383
|
DataSource["CLOUD_TRAIL"] = "CLOUD_TRAIL";
|
|
348
384
|
DataSource["DNS_LOGS"] = "DNS_LOGS";
|
|
349
385
|
DataSource["FLOW_LOGS"] = "FLOW_LOGS";
|
|
386
|
+
DataSource["KUBERNETES_AUDIT_LOGS"] = "KUBERNETES_AUDIT_LOGS";
|
|
350
387
|
DataSource["S3_LOGS"] = "S3_LOGS";
|
|
351
388
|
})(DataSource = exports.DataSource || (exports.DataSource = {}));
|
|
352
389
|
var DNSLogsConfigurationResult;
|
|
@@ -361,6 +398,18 @@ var FlowLogsConfigurationResult;
|
|
|
361
398
|
...obj,
|
|
362
399
|
});
|
|
363
400
|
})(FlowLogsConfigurationResult = exports.FlowLogsConfigurationResult || (exports.FlowLogsConfigurationResult = {}));
|
|
401
|
+
var KubernetesAuditLogsConfigurationResult;
|
|
402
|
+
(function (KubernetesAuditLogsConfigurationResult) {
|
|
403
|
+
KubernetesAuditLogsConfigurationResult.filterSensitiveLog = (obj) => ({
|
|
404
|
+
...obj,
|
|
405
|
+
});
|
|
406
|
+
})(KubernetesAuditLogsConfigurationResult = exports.KubernetesAuditLogsConfigurationResult || (exports.KubernetesAuditLogsConfigurationResult = {}));
|
|
407
|
+
var KubernetesConfigurationResult;
|
|
408
|
+
(function (KubernetesConfigurationResult) {
|
|
409
|
+
KubernetesConfigurationResult.filterSensitiveLog = (obj) => ({
|
|
410
|
+
...obj,
|
|
411
|
+
});
|
|
412
|
+
})(KubernetesConfigurationResult = exports.KubernetesConfigurationResult || (exports.KubernetesConfigurationResult = {}));
|
|
364
413
|
var S3LogsConfigurationResult;
|
|
365
414
|
(function (S3LogsConfigurationResult) {
|
|
366
415
|
S3LogsConfigurationResult.filterSensitiveLog = (obj) => ({
|
|
@@ -481,6 +530,18 @@ var DescribeOrganizationConfigurationRequest;
|
|
|
481
530
|
...obj,
|
|
482
531
|
});
|
|
483
532
|
})(DescribeOrganizationConfigurationRequest = exports.DescribeOrganizationConfigurationRequest || (exports.DescribeOrganizationConfigurationRequest = {}));
|
|
533
|
+
var OrganizationKubernetesAuditLogsConfigurationResult;
|
|
534
|
+
(function (OrganizationKubernetesAuditLogsConfigurationResult) {
|
|
535
|
+
OrganizationKubernetesAuditLogsConfigurationResult.filterSensitiveLog = (obj) => ({
|
|
536
|
+
...obj,
|
|
537
|
+
});
|
|
538
|
+
})(OrganizationKubernetesAuditLogsConfigurationResult = exports.OrganizationKubernetesAuditLogsConfigurationResult || (exports.OrganizationKubernetesAuditLogsConfigurationResult = {}));
|
|
539
|
+
var OrganizationKubernetesConfigurationResult;
|
|
540
|
+
(function (OrganizationKubernetesConfigurationResult) {
|
|
541
|
+
OrganizationKubernetesConfigurationResult.filterSensitiveLog = (obj) => ({
|
|
542
|
+
...obj,
|
|
543
|
+
});
|
|
544
|
+
})(OrganizationKubernetesConfigurationResult = exports.OrganizationKubernetesConfigurationResult || (exports.OrganizationKubernetesConfigurationResult = {}));
|
|
484
545
|
var OrganizationS3LogsConfigurationResult;
|
|
485
546
|
(function (OrganizationS3LogsConfigurationResult) {
|
|
486
547
|
OrganizationS3LogsConfigurationResult.filterSensitiveLog = (obj) => ({
|
|
@@ -565,6 +626,18 @@ var DisassociateMembersResponse;
|
|
|
565
626
|
...obj,
|
|
566
627
|
});
|
|
567
628
|
})(DisassociateMembersResponse = exports.DisassociateMembersResponse || (exports.DisassociateMembersResponse = {}));
|
|
629
|
+
var Tag;
|
|
630
|
+
(function (Tag) {
|
|
631
|
+
Tag.filterSensitiveLog = (obj) => ({
|
|
632
|
+
...obj,
|
|
633
|
+
});
|
|
634
|
+
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
635
|
+
var EksClusterDetails;
|
|
636
|
+
(function (EksClusterDetails) {
|
|
637
|
+
EksClusterDetails.filterSensitiveLog = (obj) => ({
|
|
638
|
+
...obj,
|
|
639
|
+
});
|
|
640
|
+
})(EksClusterDetails = exports.EksClusterDetails || (exports.EksClusterDetails = {}));
|
|
568
641
|
var EnableOrganizationAdminAccountRequest;
|
|
569
642
|
(function (EnableOrganizationAdminAccountRequest) {
|
|
570
643
|
EnableOrganizationAdminAccountRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -624,18 +697,42 @@ var ProductCode;
|
|
|
624
697
|
...obj,
|
|
625
698
|
});
|
|
626
699
|
})(ProductCode = exports.ProductCode || (exports.ProductCode = {}));
|
|
627
|
-
var Tag;
|
|
628
|
-
(function (Tag) {
|
|
629
|
-
Tag.filterSensitiveLog = (obj) => ({
|
|
630
|
-
...obj,
|
|
631
|
-
});
|
|
632
|
-
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
633
700
|
var InstanceDetails;
|
|
634
701
|
(function (InstanceDetails) {
|
|
635
702
|
InstanceDetails.filterSensitiveLog = (obj) => ({
|
|
636
703
|
...obj,
|
|
637
704
|
});
|
|
638
705
|
})(InstanceDetails = exports.InstanceDetails || (exports.InstanceDetails = {}));
|
|
706
|
+
var KubernetesUserDetails;
|
|
707
|
+
(function (KubernetesUserDetails) {
|
|
708
|
+
KubernetesUserDetails.filterSensitiveLog = (obj) => ({
|
|
709
|
+
...obj,
|
|
710
|
+
});
|
|
711
|
+
})(KubernetesUserDetails = exports.KubernetesUserDetails || (exports.KubernetesUserDetails = {}));
|
|
712
|
+
var HostPath;
|
|
713
|
+
(function (HostPath) {
|
|
714
|
+
HostPath.filterSensitiveLog = (obj) => ({
|
|
715
|
+
...obj,
|
|
716
|
+
});
|
|
717
|
+
})(HostPath = exports.HostPath || (exports.HostPath = {}));
|
|
718
|
+
var Volume;
|
|
719
|
+
(function (Volume) {
|
|
720
|
+
Volume.filterSensitiveLog = (obj) => ({
|
|
721
|
+
...obj,
|
|
722
|
+
});
|
|
723
|
+
})(Volume = exports.Volume || (exports.Volume = {}));
|
|
724
|
+
var KubernetesWorkloadDetails;
|
|
725
|
+
(function (KubernetesWorkloadDetails) {
|
|
726
|
+
KubernetesWorkloadDetails.filterSensitiveLog = (obj) => ({
|
|
727
|
+
...obj,
|
|
728
|
+
});
|
|
729
|
+
})(KubernetesWorkloadDetails = exports.KubernetesWorkloadDetails || (exports.KubernetesWorkloadDetails = {}));
|
|
730
|
+
var KubernetesDetails;
|
|
731
|
+
(function (KubernetesDetails) {
|
|
732
|
+
KubernetesDetails.filterSensitiveLog = (obj) => ({
|
|
733
|
+
...obj,
|
|
734
|
+
});
|
|
735
|
+
})(KubernetesDetails = exports.KubernetesDetails || (exports.KubernetesDetails = {}));
|
|
639
736
|
var Owner;
|
|
640
737
|
(function (Owner) {
|
|
641
738
|
Owner.filterSensitiveLog = (obj) => ({
|
|
@@ -1170,6 +1267,18 @@ var UpdateMemberDetectorsResponse;
|
|
|
1170
1267
|
...obj,
|
|
1171
1268
|
});
|
|
1172
1269
|
})(UpdateMemberDetectorsResponse = exports.UpdateMemberDetectorsResponse || (exports.UpdateMemberDetectorsResponse = {}));
|
|
1270
|
+
var OrganizationKubernetesAuditLogsConfiguration;
|
|
1271
|
+
(function (OrganizationKubernetesAuditLogsConfiguration) {
|
|
1272
|
+
OrganizationKubernetesAuditLogsConfiguration.filterSensitiveLog = (obj) => ({
|
|
1273
|
+
...obj,
|
|
1274
|
+
});
|
|
1275
|
+
})(OrganizationKubernetesAuditLogsConfiguration = exports.OrganizationKubernetesAuditLogsConfiguration || (exports.OrganizationKubernetesAuditLogsConfiguration = {}));
|
|
1276
|
+
var OrganizationKubernetesConfiguration;
|
|
1277
|
+
(function (OrganizationKubernetesConfiguration) {
|
|
1278
|
+
OrganizationKubernetesConfiguration.filterSensitiveLog = (obj) => ({
|
|
1279
|
+
...obj,
|
|
1280
|
+
});
|
|
1281
|
+
})(OrganizationKubernetesConfiguration = exports.OrganizationKubernetesConfiguration || (exports.OrganizationKubernetesConfiguration = {}));
|
|
1173
1282
|
var OrganizationS3LogsConfiguration;
|
|
1174
1283
|
(function (OrganizationS3LogsConfiguration) {
|
|
1175
1284
|
OrganizationS3LogsConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -5302,6 +5302,10 @@ const serializeAws_restJson1Criterion = (input, context) => {
|
|
|
5302
5302
|
};
|
|
5303
5303
|
const serializeAws_restJson1DataSourceConfigurations = (input, context) => {
|
|
5304
5304
|
return {
|
|
5305
|
+
...(input.Kubernetes !== undefined &&
|
|
5306
|
+
input.Kubernetes !== null && {
|
|
5307
|
+
kubernetes: serializeAws_restJson1KubernetesConfiguration(input.Kubernetes, context),
|
|
5308
|
+
}),
|
|
5305
5309
|
...(input.S3Logs !== undefined &&
|
|
5306
5310
|
input.S3Logs !== null && { s3Logs: serializeAws_restJson1S3LogsConfiguration(input.S3Logs, context) }),
|
|
5307
5311
|
};
|
|
@@ -5379,6 +5383,19 @@ const serializeAws_restJson1FindingTypes = (input, context) => {
|
|
|
5379
5383
|
return entry;
|
|
5380
5384
|
});
|
|
5381
5385
|
};
|
|
5386
|
+
const serializeAws_restJson1KubernetesAuditLogsConfiguration = (input, context) => {
|
|
5387
|
+
return {
|
|
5388
|
+
...(input.Enable !== undefined && input.Enable !== null && { enable: input.Enable }),
|
|
5389
|
+
};
|
|
5390
|
+
};
|
|
5391
|
+
const serializeAws_restJson1KubernetesConfiguration = (input, context) => {
|
|
5392
|
+
return {
|
|
5393
|
+
...(input.AuditLogs !== undefined &&
|
|
5394
|
+
input.AuditLogs !== null && {
|
|
5395
|
+
auditLogs: serializeAws_restJson1KubernetesAuditLogsConfiguration(input.AuditLogs, context),
|
|
5396
|
+
}),
|
|
5397
|
+
};
|
|
5398
|
+
};
|
|
5382
5399
|
const serializeAws_restJson1Neq = (input, context) => {
|
|
5383
5400
|
return input
|
|
5384
5401
|
.filter((e) => e != null)
|
|
@@ -5401,12 +5418,29 @@ const serializeAws_restJson1NotEquals = (input, context) => {
|
|
|
5401
5418
|
};
|
|
5402
5419
|
const serializeAws_restJson1OrganizationDataSourceConfigurations = (input, context) => {
|
|
5403
5420
|
return {
|
|
5421
|
+
...(input.Kubernetes !== undefined &&
|
|
5422
|
+
input.Kubernetes !== null && {
|
|
5423
|
+
kubernetes: serializeAws_restJson1OrganizationKubernetesConfiguration(input.Kubernetes, context),
|
|
5424
|
+
}),
|
|
5404
5425
|
...(input.S3Logs !== undefined &&
|
|
5405
5426
|
input.S3Logs !== null && {
|
|
5406
5427
|
s3Logs: serializeAws_restJson1OrganizationS3LogsConfiguration(input.S3Logs, context),
|
|
5407
5428
|
}),
|
|
5408
5429
|
};
|
|
5409
5430
|
};
|
|
5431
|
+
const serializeAws_restJson1OrganizationKubernetesAuditLogsConfiguration = (input, context) => {
|
|
5432
|
+
return {
|
|
5433
|
+
...(input.AutoEnable !== undefined && input.AutoEnable !== null && { autoEnable: input.AutoEnable }),
|
|
5434
|
+
};
|
|
5435
|
+
};
|
|
5436
|
+
const serializeAws_restJson1OrganizationKubernetesConfiguration = (input, context) => {
|
|
5437
|
+
return {
|
|
5438
|
+
...(input.AuditLogs !== undefined &&
|
|
5439
|
+
input.AuditLogs !== null && {
|
|
5440
|
+
auditLogs: serializeAws_restJson1OrganizationKubernetesAuditLogsConfiguration(input.AuditLogs, context),
|
|
5441
|
+
}),
|
|
5442
|
+
};
|
|
5443
|
+
};
|
|
5410
5444
|
const serializeAws_restJson1OrganizationS3LogsConfiguration = (input, context) => {
|
|
5411
5445
|
return {
|
|
5412
5446
|
...(input.AutoEnable !== undefined && input.AutoEnable !== null && { autoEnable: input.AutoEnable }),
|
|
@@ -5484,6 +5518,9 @@ const deserializeAws_restJson1Action = (output, context) => {
|
|
|
5484
5518
|
DnsRequestAction: output.dnsRequestAction !== undefined && output.dnsRequestAction !== null
|
|
5485
5519
|
? deserializeAws_restJson1DnsRequestAction(output.dnsRequestAction, context)
|
|
5486
5520
|
: undefined,
|
|
5521
|
+
KubernetesApiCallAction: output.kubernetesApiCallAction !== undefined && output.kubernetesApiCallAction !== null
|
|
5522
|
+
? deserializeAws_restJson1KubernetesApiCallAction(output.kubernetesApiCallAction, context)
|
|
5523
|
+
: undefined,
|
|
5487
5524
|
NetworkConnectionAction: output.networkConnectionAction !== undefined && output.networkConnectionAction !== null
|
|
5488
5525
|
? deserializeAws_restJson1NetworkConnectionAction(output.networkConnectionAction, context)
|
|
5489
5526
|
: undefined,
|
|
@@ -5523,6 +5560,7 @@ const deserializeAws_restJson1AwsApiCallAction = (output, context) => {
|
|
|
5523
5560
|
? deserializeAws_restJson1RemoteIpDetails(output.remoteIpDetails, context)
|
|
5524
5561
|
: undefined,
|
|
5525
5562
|
ServiceName: smithy_client_1.expectString(output.serviceName),
|
|
5563
|
+
UserAgent: smithy_client_1.expectString(output.userAgent),
|
|
5526
5564
|
};
|
|
5527
5565
|
};
|
|
5528
5566
|
const deserializeAws_restJson1BlockPublicAccess = (output, context) => {
|
|
@@ -5582,6 +5620,31 @@ const deserializeAws_restJson1Condition = (output, context) => {
|
|
|
5582
5620
|
: undefined,
|
|
5583
5621
|
};
|
|
5584
5622
|
};
|
|
5623
|
+
const deserializeAws_restJson1Container = (output, context) => {
|
|
5624
|
+
return {
|
|
5625
|
+
ContainerRuntime: smithy_client_1.expectString(output.containerRuntime),
|
|
5626
|
+
Id: smithy_client_1.expectString(output.id),
|
|
5627
|
+
Image: smithy_client_1.expectString(output.image),
|
|
5628
|
+
ImagePrefix: smithy_client_1.expectString(output.imagePrefix),
|
|
5629
|
+
Name: smithy_client_1.expectString(output.name),
|
|
5630
|
+
SecurityContext: output.securityContext !== undefined && output.securityContext !== null
|
|
5631
|
+
? deserializeAws_restJson1SecurityContext(output.securityContext, context)
|
|
5632
|
+
: undefined,
|
|
5633
|
+
VolumeMounts: output.volumeMounts !== undefined && output.volumeMounts !== null
|
|
5634
|
+
? deserializeAws_restJson1VolumeMounts(output.volumeMounts, context)
|
|
5635
|
+
: undefined,
|
|
5636
|
+
};
|
|
5637
|
+
};
|
|
5638
|
+
const deserializeAws_restJson1Containers = (output, context) => {
|
|
5639
|
+
return (output || [])
|
|
5640
|
+
.filter((e) => e != null)
|
|
5641
|
+
.map((entry) => {
|
|
5642
|
+
if (entry === null) {
|
|
5643
|
+
return null;
|
|
5644
|
+
}
|
|
5645
|
+
return deserializeAws_restJson1Container(entry, context);
|
|
5646
|
+
});
|
|
5647
|
+
};
|
|
5585
5648
|
const deserializeAws_restJson1CountBySeverity = (output, context) => {
|
|
5586
5649
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
5587
5650
|
if (value === null) {
|
|
@@ -5621,6 +5684,9 @@ const deserializeAws_restJson1DataSourceConfigurationsResult = (output, context)
|
|
|
5621
5684
|
FlowLogs: output.flowLogs !== undefined && output.flowLogs !== null
|
|
5622
5685
|
? deserializeAws_restJson1FlowLogsConfigurationResult(output.flowLogs, context)
|
|
5623
5686
|
: undefined,
|
|
5687
|
+
Kubernetes: output.kubernetes !== undefined && output.kubernetes !== null
|
|
5688
|
+
? deserializeAws_restJson1KubernetesConfigurationResult(output.kubernetes, context)
|
|
5689
|
+
: undefined,
|
|
5624
5690
|
S3Logs: output.s3Logs !== undefined && output.s3Logs !== null
|
|
5625
5691
|
? deserializeAws_restJson1S3LogsConfigurationResult(output.s3Logs, context)
|
|
5626
5692
|
: undefined,
|
|
@@ -5680,6 +5746,20 @@ const deserializeAws_restJson1DomainDetails = (output, context) => {
|
|
|
5680
5746
|
Domain: smithy_client_1.expectString(output.domain),
|
|
5681
5747
|
};
|
|
5682
5748
|
};
|
|
5749
|
+
const deserializeAws_restJson1EksClusterDetails = (output, context) => {
|
|
5750
|
+
return {
|
|
5751
|
+
Arn: smithy_client_1.expectString(output.arn),
|
|
5752
|
+
CreatedAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5753
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5754
|
+
: undefined,
|
|
5755
|
+
Name: smithy_client_1.expectString(output.name),
|
|
5756
|
+
Status: smithy_client_1.expectString(output.status),
|
|
5757
|
+
Tags: output.tags !== undefined && output.tags !== null
|
|
5758
|
+
? deserializeAws_restJson1Tags(output.tags, context)
|
|
5759
|
+
: undefined,
|
|
5760
|
+
VpcId: smithy_client_1.expectString(output.vpcId),
|
|
5761
|
+
};
|
|
5762
|
+
};
|
|
5683
5763
|
const deserializeAws_restJson1Eq = (output, context) => {
|
|
5684
5764
|
return (output || [])
|
|
5685
5765
|
.filter((e) => e != null)
|
|
@@ -5785,6 +5865,21 @@ const deserializeAws_restJson1GeoLocation = (output, context) => {
|
|
|
5785
5865
|
Lon: smithy_client_1.limitedParseDouble(output.lon),
|
|
5786
5866
|
};
|
|
5787
5867
|
};
|
|
5868
|
+
const deserializeAws_restJson1Groups = (output, context) => {
|
|
5869
|
+
return (output || [])
|
|
5870
|
+
.filter((e) => e != null)
|
|
5871
|
+
.map((entry) => {
|
|
5872
|
+
if (entry === null) {
|
|
5873
|
+
return null;
|
|
5874
|
+
}
|
|
5875
|
+
return smithy_client_1.expectString(entry);
|
|
5876
|
+
});
|
|
5877
|
+
};
|
|
5878
|
+
const deserializeAws_restJson1HostPath = (output, context) => {
|
|
5879
|
+
return {
|
|
5880
|
+
Path: smithy_client_1.expectString(output.path),
|
|
5881
|
+
};
|
|
5882
|
+
};
|
|
5788
5883
|
const deserializeAws_restJson1IamInstanceProfile = (output, context) => {
|
|
5789
5884
|
return {
|
|
5790
5885
|
Arn: smithy_client_1.expectString(output.arn),
|
|
@@ -5854,6 +5949,67 @@ const deserializeAws_restJson1Ipv6Addresses = (output, context) => {
|
|
|
5854
5949
|
return smithy_client_1.expectString(entry);
|
|
5855
5950
|
});
|
|
5856
5951
|
};
|
|
5952
|
+
const deserializeAws_restJson1KubernetesApiCallAction = (output, context) => {
|
|
5953
|
+
return {
|
|
5954
|
+
Parameters: smithy_client_1.expectString(output.parameters),
|
|
5955
|
+
RemoteIpDetails: output.remoteIpDetails !== undefined && output.remoteIpDetails !== null
|
|
5956
|
+
? deserializeAws_restJson1RemoteIpDetails(output.remoteIpDetails, context)
|
|
5957
|
+
: undefined,
|
|
5958
|
+
RequestUri: smithy_client_1.expectString(output.requestUri),
|
|
5959
|
+
SourceIps: output.sourceIps !== undefined && output.sourceIps !== null
|
|
5960
|
+
? deserializeAws_restJson1SourceIps(output.sourceIps, context)
|
|
5961
|
+
: undefined,
|
|
5962
|
+
StatusCode: smithy_client_1.expectInt32(output.statusCode),
|
|
5963
|
+
UserAgent: smithy_client_1.expectString(output.userAgent),
|
|
5964
|
+
Verb: smithy_client_1.expectString(output.verb),
|
|
5965
|
+
};
|
|
5966
|
+
};
|
|
5967
|
+
const deserializeAws_restJson1KubernetesAuditLogsConfigurationResult = (output, context) => {
|
|
5968
|
+
return {
|
|
5969
|
+
Status: smithy_client_1.expectString(output.status),
|
|
5970
|
+
};
|
|
5971
|
+
};
|
|
5972
|
+
const deserializeAws_restJson1KubernetesConfigurationResult = (output, context) => {
|
|
5973
|
+
return {
|
|
5974
|
+
AuditLogs: output.auditLogs !== undefined && output.auditLogs !== null
|
|
5975
|
+
? deserializeAws_restJson1KubernetesAuditLogsConfigurationResult(output.auditLogs, context)
|
|
5976
|
+
: undefined,
|
|
5977
|
+
};
|
|
5978
|
+
};
|
|
5979
|
+
const deserializeAws_restJson1KubernetesDetails = (output, context) => {
|
|
5980
|
+
return {
|
|
5981
|
+
KubernetesUserDetails: output.kubernetesUserDetails !== undefined && output.kubernetesUserDetails !== null
|
|
5982
|
+
? deserializeAws_restJson1KubernetesUserDetails(output.kubernetesUserDetails, context)
|
|
5983
|
+
: undefined,
|
|
5984
|
+
KubernetesWorkloadDetails: output.kubernetesWorkloadDetails !== undefined && output.kubernetesWorkloadDetails !== null
|
|
5985
|
+
? deserializeAws_restJson1KubernetesWorkloadDetails(output.kubernetesWorkloadDetails, context)
|
|
5986
|
+
: undefined,
|
|
5987
|
+
};
|
|
5988
|
+
};
|
|
5989
|
+
const deserializeAws_restJson1KubernetesUserDetails = (output, context) => {
|
|
5990
|
+
return {
|
|
5991
|
+
Groups: output.groups !== undefined && output.groups !== null
|
|
5992
|
+
? deserializeAws_restJson1Groups(output.groups, context)
|
|
5993
|
+
: undefined,
|
|
5994
|
+
Uid: smithy_client_1.expectString(output.uid),
|
|
5995
|
+
Username: smithy_client_1.expectString(output.username),
|
|
5996
|
+
};
|
|
5997
|
+
};
|
|
5998
|
+
const deserializeAws_restJson1KubernetesWorkloadDetails = (output, context) => {
|
|
5999
|
+
return {
|
|
6000
|
+
Containers: output.containers !== undefined && output.containers !== null
|
|
6001
|
+
? deserializeAws_restJson1Containers(output.containers, context)
|
|
6002
|
+
: undefined,
|
|
6003
|
+
HostNetwork: smithy_client_1.expectBoolean(output.hostNetwork),
|
|
6004
|
+
Name: smithy_client_1.expectString(output.name),
|
|
6005
|
+
Namespace: smithy_client_1.expectString(output.namespace),
|
|
6006
|
+
Type: smithy_client_1.expectString(output.type),
|
|
6007
|
+
Uid: smithy_client_1.expectString(output.uid),
|
|
6008
|
+
Volumes: output.volumes !== undefined && output.volumes !== null
|
|
6009
|
+
? deserializeAws_restJson1Volumes(output.volumes, context)
|
|
6010
|
+
: undefined,
|
|
6011
|
+
};
|
|
6012
|
+
};
|
|
5857
6013
|
const deserializeAws_restJson1LocalIpDetails = (output, context) => {
|
|
5858
6014
|
return {
|
|
5859
6015
|
IpAddressV4: smithy_client_1.expectString(output.ipAddressV4),
|
|
@@ -5991,11 +6147,26 @@ const deserializeAws_restJson1Organization = (output, context) => {
|
|
|
5991
6147
|
};
|
|
5992
6148
|
const deserializeAws_restJson1OrganizationDataSourceConfigurationsResult = (output, context) => {
|
|
5993
6149
|
return {
|
|
6150
|
+
Kubernetes: output.kubernetes !== undefined && output.kubernetes !== null
|
|
6151
|
+
? deserializeAws_restJson1OrganizationKubernetesConfigurationResult(output.kubernetes, context)
|
|
6152
|
+
: undefined,
|
|
5994
6153
|
S3Logs: output.s3Logs !== undefined && output.s3Logs !== null
|
|
5995
6154
|
? deserializeAws_restJson1OrganizationS3LogsConfigurationResult(output.s3Logs, context)
|
|
5996
6155
|
: undefined,
|
|
5997
6156
|
};
|
|
5998
6157
|
};
|
|
6158
|
+
const deserializeAws_restJson1OrganizationKubernetesAuditLogsConfigurationResult = (output, context) => {
|
|
6159
|
+
return {
|
|
6160
|
+
AutoEnable: smithy_client_1.expectBoolean(output.autoEnable),
|
|
6161
|
+
};
|
|
6162
|
+
};
|
|
6163
|
+
const deserializeAws_restJson1OrganizationKubernetesConfigurationResult = (output, context) => {
|
|
6164
|
+
return {
|
|
6165
|
+
AuditLogs: output.auditLogs !== undefined && output.auditLogs !== null
|
|
6166
|
+
? deserializeAws_restJson1OrganizationKubernetesAuditLogsConfigurationResult(output.auditLogs, context)
|
|
6167
|
+
: undefined,
|
|
6168
|
+
};
|
|
6169
|
+
};
|
|
5999
6170
|
const deserializeAws_restJson1OrganizationS3LogsConfigurationResult = (output, context) => {
|
|
6000
6171
|
return {
|
|
6001
6172
|
AutoEnable: smithy_client_1.expectBoolean(output.autoEnable),
|
|
@@ -6121,9 +6292,15 @@ const deserializeAws_restJson1Resource = (output, context) => {
|
|
|
6121
6292
|
AccessKeyDetails: output.accessKeyDetails !== undefined && output.accessKeyDetails !== null
|
|
6122
6293
|
? deserializeAws_restJson1AccessKeyDetails(output.accessKeyDetails, context)
|
|
6123
6294
|
: undefined,
|
|
6295
|
+
EksClusterDetails: output.eksClusterDetails !== undefined && output.eksClusterDetails !== null
|
|
6296
|
+
? deserializeAws_restJson1EksClusterDetails(output.eksClusterDetails, context)
|
|
6297
|
+
: undefined,
|
|
6124
6298
|
InstanceDetails: output.instanceDetails !== undefined && output.instanceDetails !== null
|
|
6125
6299
|
? deserializeAws_restJson1InstanceDetails(output.instanceDetails, context)
|
|
6126
6300
|
: undefined,
|
|
6301
|
+
KubernetesDetails: output.kubernetesDetails !== undefined && output.kubernetesDetails !== null
|
|
6302
|
+
? deserializeAws_restJson1KubernetesDetails(output.kubernetesDetails, context)
|
|
6303
|
+
: undefined,
|
|
6127
6304
|
ResourceType: smithy_client_1.expectString(output.resourceType),
|
|
6128
6305
|
S3BucketDetails: output.s3BucketDetails !== undefined && output.s3BucketDetails !== null
|
|
6129
6306
|
? deserializeAws_restJson1S3BucketDetails(output.s3BucketDetails, context)
|
|
@@ -6167,6 +6344,11 @@ const deserializeAws_restJson1S3LogsConfigurationResult = (output, context) => {
|
|
|
6167
6344
|
Status: smithy_client_1.expectString(output.status),
|
|
6168
6345
|
};
|
|
6169
6346
|
};
|
|
6347
|
+
const deserializeAws_restJson1SecurityContext = (output, context) => {
|
|
6348
|
+
return {
|
|
6349
|
+
Privileged: smithy_client_1.expectBoolean(output.privileged),
|
|
6350
|
+
};
|
|
6351
|
+
};
|
|
6170
6352
|
const deserializeAws_restJson1SecurityGroup = (output, context) => {
|
|
6171
6353
|
return {
|
|
6172
6354
|
GroupId: smithy_client_1.expectString(output.groupId),
|
|
@@ -6201,6 +6383,16 @@ const deserializeAws_restJson1Service = (output, context) => {
|
|
|
6201
6383
|
UserFeedback: smithy_client_1.expectString(output.userFeedback),
|
|
6202
6384
|
};
|
|
6203
6385
|
};
|
|
6386
|
+
const deserializeAws_restJson1SourceIps = (output, context) => {
|
|
6387
|
+
return (output || [])
|
|
6388
|
+
.filter((e) => e != null)
|
|
6389
|
+
.map((entry) => {
|
|
6390
|
+
if (entry === null) {
|
|
6391
|
+
return null;
|
|
6392
|
+
}
|
|
6393
|
+
return smithy_client_1.expectString(entry);
|
|
6394
|
+
});
|
|
6395
|
+
};
|
|
6204
6396
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
6205
6397
|
return {
|
|
6206
6398
|
Key: smithy_client_1.expectString(output.key),
|
|
@@ -6358,6 +6550,40 @@ const deserializeAws_restJson1UsageStatistics = (output, context) => {
|
|
|
6358
6550
|
: undefined,
|
|
6359
6551
|
};
|
|
6360
6552
|
};
|
|
6553
|
+
const deserializeAws_restJson1Volume = (output, context) => {
|
|
6554
|
+
return {
|
|
6555
|
+
HostPath: output.hostPath !== undefined && output.hostPath !== null
|
|
6556
|
+
? deserializeAws_restJson1HostPath(output.hostPath, context)
|
|
6557
|
+
: undefined,
|
|
6558
|
+
Name: smithy_client_1.expectString(output.name),
|
|
6559
|
+
};
|
|
6560
|
+
};
|
|
6561
|
+
const deserializeAws_restJson1VolumeMount = (output, context) => {
|
|
6562
|
+
return {
|
|
6563
|
+
MountPath: smithy_client_1.expectString(output.mountPath),
|
|
6564
|
+
Name: smithy_client_1.expectString(output.name),
|
|
6565
|
+
};
|
|
6566
|
+
};
|
|
6567
|
+
const deserializeAws_restJson1VolumeMounts = (output, context) => {
|
|
6568
|
+
return (output || [])
|
|
6569
|
+
.filter((e) => e != null)
|
|
6570
|
+
.map((entry) => {
|
|
6571
|
+
if (entry === null) {
|
|
6572
|
+
return null;
|
|
6573
|
+
}
|
|
6574
|
+
return deserializeAws_restJson1VolumeMount(entry, context);
|
|
6575
|
+
});
|
|
6576
|
+
};
|
|
6577
|
+
const deserializeAws_restJson1Volumes = (output, context) => {
|
|
6578
|
+
return (output || [])
|
|
6579
|
+
.filter((e) => e != null)
|
|
6580
|
+
.map((entry) => {
|
|
6581
|
+
if (entry === null) {
|
|
6582
|
+
return null;
|
|
6583
|
+
}
|
|
6584
|
+
return deserializeAws_restJson1Volume(entry, context);
|
|
6585
|
+
});
|
|
6586
|
+
};
|
|
6361
6587
|
const deserializeMetadata = (output) => {
|
|
6362
6588
|
var _a;
|
|
6363
6589
|
return ({
|