@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
|
@@ -63,6 +63,10 @@ export var DnsRequestAction;
|
|
|
63
63
|
(function (DnsRequestAction) {
|
|
64
64
|
DnsRequestAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
65
|
})(DnsRequestAction || (DnsRequestAction = {}));
|
|
66
|
+
export var KubernetesApiCallAction;
|
|
67
|
+
(function (KubernetesApiCallAction) {
|
|
68
|
+
KubernetesApiCallAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
+
})(KubernetesApiCallAction || (KubernetesApiCallAction = {}));
|
|
66
70
|
export var LocalIpDetails;
|
|
67
71
|
(function (LocalIpDetails) {
|
|
68
72
|
LocalIpDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -129,6 +133,26 @@ export var Condition;
|
|
|
129
133
|
(function (Condition) {
|
|
130
134
|
Condition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
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 = {}));
|
|
132
156
|
export var S3LogsConfiguration;
|
|
133
157
|
(function (S3LogsConfiguration) {
|
|
134
158
|
S3LogsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -243,6 +267,7 @@ export var DataSource;
|
|
|
243
267
|
DataSource["CLOUD_TRAIL"] = "CLOUD_TRAIL";
|
|
244
268
|
DataSource["DNS_LOGS"] = "DNS_LOGS";
|
|
245
269
|
DataSource["FLOW_LOGS"] = "FLOW_LOGS";
|
|
270
|
+
DataSource["KUBERNETES_AUDIT_LOGS"] = "KUBERNETES_AUDIT_LOGS";
|
|
246
271
|
DataSource["S3_LOGS"] = "S3_LOGS";
|
|
247
272
|
})(DataSource || (DataSource = {}));
|
|
248
273
|
export var DNSLogsConfigurationResult;
|
|
@@ -253,6 +278,14 @@ export var FlowLogsConfigurationResult;
|
|
|
253
278
|
(function (FlowLogsConfigurationResult) {
|
|
254
279
|
FlowLogsConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
255
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 = {}));
|
|
256
289
|
export var S3LogsConfigurationResult;
|
|
257
290
|
(function (S3LogsConfigurationResult) {
|
|
258
291
|
S3LogsConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -333,6 +366,14 @@ export var DescribeOrganizationConfigurationRequest;
|
|
|
333
366
|
(function (DescribeOrganizationConfigurationRequest) {
|
|
334
367
|
DescribeOrganizationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
335
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 = {}));
|
|
336
377
|
export var OrganizationS3LogsConfigurationResult;
|
|
337
378
|
(function (OrganizationS3LogsConfigurationResult) {
|
|
338
379
|
OrganizationS3LogsConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -393,6 +434,14 @@ export var DisassociateMembersResponse;
|
|
|
393
434
|
(function (DisassociateMembersResponse) {
|
|
394
435
|
DisassociateMembersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
395
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 = {}));
|
|
396
445
|
export var EnableOrganizationAdminAccountRequest;
|
|
397
446
|
(function (EnableOrganizationAdminAccountRequest) {
|
|
398
447
|
EnableOrganizationAdminAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -434,14 +483,30 @@ export var ProductCode;
|
|
|
434
483
|
(function (ProductCode) {
|
|
435
484
|
ProductCode.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
436
485
|
})(ProductCode || (ProductCode = {}));
|
|
437
|
-
export var Tag;
|
|
438
|
-
(function (Tag) {
|
|
439
|
-
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
440
|
-
})(Tag || (Tag = {}));
|
|
441
486
|
export var InstanceDetails;
|
|
442
487
|
(function (InstanceDetails) {
|
|
443
488
|
InstanceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
444
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 = {}));
|
|
445
510
|
export var Owner;
|
|
446
511
|
(function (Owner) {
|
|
447
512
|
Owner.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -810,6 +875,14 @@ export var UpdateMemberDetectorsResponse;
|
|
|
810
875
|
(function (UpdateMemberDetectorsResponse) {
|
|
811
876
|
UpdateMemberDetectorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
812
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 = {}));
|
|
813
886
|
export var OrganizationS3LogsConfiguration;
|
|
814
887
|
(function (OrganizationS3LogsConfiguration) {
|
|
815
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.
|
|
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.
|
|
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,
|
|
@@ -6407,6 +6434,7 @@ var deserializeAws_restJson1AwsApiCallAction = function (output, context) {
|
|
|
6407
6434
|
? deserializeAws_restJson1RemoteIpDetails(output.remoteIpDetails, context)
|
|
6408
6435
|
: undefined,
|
|
6409
6436
|
ServiceName: __expectString(output.serviceName),
|
|
6437
|
+
UserAgent: __expectString(output.userAgent),
|
|
6410
6438
|
};
|
|
6411
6439
|
};
|
|
6412
6440
|
var deserializeAws_restJson1BlockPublicAccess = function (output, context) {
|
|
@@ -6466,6 +6494,31 @@ var deserializeAws_restJson1Condition = function (output, context) {
|
|
|
6466
6494
|
: undefined,
|
|
6467
6495
|
};
|
|
6468
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
|
+
};
|
|
6469
6522
|
var deserializeAws_restJson1CountBySeverity = function (output, context) {
|
|
6470
6523
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
6471
6524
|
var _b;
|
|
@@ -6503,6 +6556,9 @@ var deserializeAws_restJson1DataSourceConfigurationsResult = function (output, c
|
|
|
6503
6556
|
FlowLogs: output.flowLogs !== undefined && output.flowLogs !== null
|
|
6504
6557
|
? deserializeAws_restJson1FlowLogsConfigurationResult(output.flowLogs, context)
|
|
6505
6558
|
: undefined,
|
|
6559
|
+
Kubernetes: output.kubernetes !== undefined && output.kubernetes !== null
|
|
6560
|
+
? deserializeAws_restJson1KubernetesConfigurationResult(output.kubernetes, context)
|
|
6561
|
+
: undefined,
|
|
6506
6562
|
S3Logs: output.s3Logs !== undefined && output.s3Logs !== null
|
|
6507
6563
|
? deserializeAws_restJson1S3LogsConfigurationResult(output.s3Logs, context)
|
|
6508
6564
|
: undefined,
|
|
@@ -6562,6 +6618,20 @@ var deserializeAws_restJson1DomainDetails = function (output, context) {
|
|
|
6562
6618
|
Domain: __expectString(output.domain),
|
|
6563
6619
|
};
|
|
6564
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
|
+
};
|
|
6565
6635
|
var deserializeAws_restJson1Eq = function (output, context) {
|
|
6566
6636
|
return (output || [])
|
|
6567
6637
|
.filter(function (e) { return e != null; })
|
|
@@ -6667,6 +6737,21 @@ var deserializeAws_restJson1GeoLocation = function (output, context) {
|
|
|
6667
6737
|
Lon: __limitedParseDouble(output.lon),
|
|
6668
6738
|
};
|
|
6669
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
|
+
};
|
|
6670
6755
|
var deserializeAws_restJson1IamInstanceProfile = function (output, context) {
|
|
6671
6756
|
return {
|
|
6672
6757
|
Arn: __expectString(output.arn),
|
|
@@ -6736,6 +6821,67 @@ var deserializeAws_restJson1Ipv6Addresses = function (output, context) {
|
|
|
6736
6821
|
return __expectString(entry);
|
|
6737
6822
|
});
|
|
6738
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
|
+
};
|
|
6739
6885
|
var deserializeAws_restJson1LocalIpDetails = function (output, context) {
|
|
6740
6886
|
return {
|
|
6741
6887
|
IpAddressV4: __expectString(output.ipAddressV4),
|
|
@@ -6873,11 +7019,26 @@ var deserializeAws_restJson1Organization = function (output, context) {
|
|
|
6873
7019
|
};
|
|
6874
7020
|
var deserializeAws_restJson1OrganizationDataSourceConfigurationsResult = function (output, context) {
|
|
6875
7021
|
return {
|
|
7022
|
+
Kubernetes: output.kubernetes !== undefined && output.kubernetes !== null
|
|
7023
|
+
? deserializeAws_restJson1OrganizationKubernetesConfigurationResult(output.kubernetes, context)
|
|
7024
|
+
: undefined,
|
|
6876
7025
|
S3Logs: output.s3Logs !== undefined && output.s3Logs !== null
|
|
6877
7026
|
? deserializeAws_restJson1OrganizationS3LogsConfigurationResult(output.s3Logs, context)
|
|
6878
7027
|
: undefined,
|
|
6879
7028
|
};
|
|
6880
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
|
+
};
|
|
6881
7042
|
var deserializeAws_restJson1OrganizationS3LogsConfigurationResult = function (output, context) {
|
|
6882
7043
|
return {
|
|
6883
7044
|
AutoEnable: __expectBoolean(output.autoEnable),
|
|
@@ -7003,9 +7164,15 @@ var deserializeAws_restJson1Resource = function (output, context) {
|
|
|
7003
7164
|
AccessKeyDetails: output.accessKeyDetails !== undefined && output.accessKeyDetails !== null
|
|
7004
7165
|
? deserializeAws_restJson1AccessKeyDetails(output.accessKeyDetails, context)
|
|
7005
7166
|
: undefined,
|
|
7167
|
+
EksClusterDetails: output.eksClusterDetails !== undefined && output.eksClusterDetails !== null
|
|
7168
|
+
? deserializeAws_restJson1EksClusterDetails(output.eksClusterDetails, context)
|
|
7169
|
+
: undefined,
|
|
7006
7170
|
InstanceDetails: output.instanceDetails !== undefined && output.instanceDetails !== null
|
|
7007
7171
|
? deserializeAws_restJson1InstanceDetails(output.instanceDetails, context)
|
|
7008
7172
|
: undefined,
|
|
7173
|
+
KubernetesDetails: output.kubernetesDetails !== undefined && output.kubernetesDetails !== null
|
|
7174
|
+
? deserializeAws_restJson1KubernetesDetails(output.kubernetesDetails, context)
|
|
7175
|
+
: undefined,
|
|
7009
7176
|
ResourceType: __expectString(output.resourceType),
|
|
7010
7177
|
S3BucketDetails: output.s3BucketDetails !== undefined && output.s3BucketDetails !== null
|
|
7011
7178
|
? deserializeAws_restJson1S3BucketDetails(output.s3BucketDetails, context)
|
|
@@ -7049,6 +7216,11 @@ var deserializeAws_restJson1S3LogsConfigurationResult = function (output, contex
|
|
|
7049
7216
|
Status: __expectString(output.status),
|
|
7050
7217
|
};
|
|
7051
7218
|
};
|
|
7219
|
+
var deserializeAws_restJson1SecurityContext = function (output, context) {
|
|
7220
|
+
return {
|
|
7221
|
+
Privileged: __expectBoolean(output.privileged),
|
|
7222
|
+
};
|
|
7223
|
+
};
|
|
7052
7224
|
var deserializeAws_restJson1SecurityGroup = function (output, context) {
|
|
7053
7225
|
return {
|
|
7054
7226
|
GroupId: __expectString(output.groupId),
|
|
@@ -7083,6 +7255,16 @@ var deserializeAws_restJson1Service = function (output, context) {
|
|
|
7083
7255
|
UserFeedback: __expectString(output.userFeedback),
|
|
7084
7256
|
};
|
|
7085
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
|
+
};
|
|
7086
7268
|
var deserializeAws_restJson1Tag = function (output, context) {
|
|
7087
7269
|
return {
|
|
7088
7270
|
Key: __expectString(output.key),
|
|
@@ -7239,6 +7421,40 @@ var deserializeAws_restJson1UsageStatistics = function (output, context) {
|
|
|
7239
7421
|
: undefined,
|
|
7240
7422
|
};
|
|
7241
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
|
+
};
|
|
7242
7458
|
var deserializeMetadata = function (output) {
|
|
7243
7459
|
var _a;
|
|
7244
7460
|
return ({
|