@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.
@@ -106,6 +106,17 @@ export declare namespace DomainDetails {
106
106
  const filterSensitiveLog: (obj: DomainDetails) => any;
107
107
  }
108
108
 
109
+ export interface RemoteAccountDetails {
110
+
111
+ AccountId?: string;
112
+
113
+ Affiliated?: boolean;
114
+ }
115
+ export declare namespace RemoteAccountDetails {
116
+
117
+ const filterSensitiveLog: (obj: RemoteAccountDetails) => any;
118
+ }
119
+
109
120
  export interface City {
110
121
 
111
122
  CityName?: string;
@@ -178,10 +189,13 @@ export interface AwsApiCallAction {
178
189
  DomainDetails?: DomainDetails;
179
190
 
180
191
  ErrorCode?: string;
192
+ UserAgent?: string;
181
193
 
182
194
  RemoteIpDetails?: RemoteIpDetails;
183
195
 
184
196
  ServiceName?: string;
197
+
198
+ RemoteAccountDetails?: RemoteAccountDetails;
185
199
  }
186
200
  export declare namespace AwsApiCallAction {
187
201
 
@@ -197,6 +211,27 @@ export declare namespace DnsRequestAction {
197
211
  const filterSensitiveLog: (obj: DnsRequestAction) => any;
198
212
  }
199
213
 
214
+ export interface KubernetesApiCallAction {
215
+
216
+ RequestUri?: string;
217
+
218
+ Verb?: string;
219
+
220
+ SourceIps?: string[];
221
+
222
+ UserAgent?: string;
223
+
224
+ RemoteIpDetails?: RemoteIpDetails;
225
+
226
+ StatusCode?: number;
227
+
228
+ Parameters?: string;
229
+ }
230
+ export declare namespace KubernetesApiCallAction {
231
+
232
+ const filterSensitiveLog: (obj: KubernetesApiCallAction) => any;
233
+ }
234
+
200
235
  export interface LocalIpDetails {
201
236
 
202
237
  IpAddressV4?: string;
@@ -284,6 +319,8 @@ export interface Action {
284
319
  NetworkConnectionAction?: NetworkConnectionAction;
285
320
 
286
321
  PortProbeAction?: PortProbeAction;
322
+
323
+ KubernetesApiCallAction?: KubernetesApiCallAction;
287
324
  }
288
325
  export declare namespace Action {
289
326
 
@@ -389,6 +426,65 @@ export declare namespace Condition {
389
426
  const filterSensitiveLog: (obj: Condition) => any;
390
427
  }
391
428
 
429
+ export interface SecurityContext {
430
+
431
+ Privileged?: boolean;
432
+ }
433
+ export declare namespace SecurityContext {
434
+
435
+ const filterSensitiveLog: (obj: SecurityContext) => any;
436
+ }
437
+
438
+ export interface VolumeMount {
439
+
440
+ Name?: string;
441
+
442
+ MountPath?: string;
443
+ }
444
+ export declare namespace VolumeMount {
445
+
446
+ const filterSensitiveLog: (obj: VolumeMount) => any;
447
+ }
448
+
449
+ export interface Container {
450
+
451
+ ContainerRuntime?: string;
452
+
453
+ Id?: string;
454
+
455
+ Name?: string;
456
+
457
+ Image?: string;
458
+
459
+ ImagePrefix?: string;
460
+
461
+ VolumeMounts?: VolumeMount[];
462
+
463
+ SecurityContext?: SecurityContext;
464
+ }
465
+ export declare namespace Container {
466
+
467
+ const filterSensitiveLog: (obj: Container) => any;
468
+ }
469
+
470
+ export interface KubernetesAuditLogsConfiguration {
471
+
472
+ Enable: boolean | undefined;
473
+ }
474
+ export declare namespace KubernetesAuditLogsConfiguration {
475
+
476
+ const filterSensitiveLog: (obj: KubernetesAuditLogsConfiguration) => any;
477
+ }
478
+
479
+ export interface KubernetesConfiguration {
480
+
481
+ AuditLogs: KubernetesAuditLogsConfiguration | undefined;
482
+ }
483
+ export declare namespace KubernetesConfiguration {
484
+
485
+ const filterSensitiveLog: (obj: KubernetesConfiguration) => any;
486
+ }
487
+
392
488
  export interface S3LogsConfiguration {
393
489
 
394
490
  Enable: boolean | undefined;
@@ -401,6 +497,8 @@ export declare namespace S3LogsConfiguration {
401
497
  export interface DataSourceConfigurations {
402
498
 
403
499
  S3Logs?: S3LogsConfiguration;
500
+
501
+ Kubernetes?: KubernetesConfiguration;
404
502
  }
405
503
  export declare namespace DataSourceConfigurations {
406
504
 
@@ -645,6 +743,7 @@ export declare enum DataSource {
645
743
  CLOUD_TRAIL = "CLOUD_TRAIL",
646
744
  DNS_LOGS = "DNS_LOGS",
647
745
  FLOW_LOGS = "FLOW_LOGS",
746
+ KUBERNETES_AUDIT_LOGS = "KUBERNETES_AUDIT_LOGS",
648
747
  S3_LOGS = "S3_LOGS"
649
748
  }
650
749
 
@@ -666,6 +765,24 @@ export declare namespace FlowLogsConfigurationResult {
666
765
  const filterSensitiveLog: (obj: FlowLogsConfigurationResult) => any;
667
766
  }
668
767
 
768
+ export interface KubernetesAuditLogsConfigurationResult {
769
+
770
+ Status: DataSourceStatus | string | undefined;
771
+ }
772
+ export declare namespace KubernetesAuditLogsConfigurationResult {
773
+
774
+ const filterSensitiveLog: (obj: KubernetesAuditLogsConfigurationResult) => any;
775
+ }
776
+
777
+ export interface KubernetesConfigurationResult {
778
+
779
+ AuditLogs: KubernetesAuditLogsConfigurationResult | undefined;
780
+ }
781
+ export declare namespace KubernetesConfigurationResult {
782
+
783
+ const filterSensitiveLog: (obj: KubernetesConfigurationResult) => any;
784
+ }
785
+
669
786
  export interface S3LogsConfigurationResult {
670
787
 
671
788
  Status: DataSourceStatus | string | undefined;
@@ -684,6 +801,8 @@ export interface DataSourceConfigurationsResult {
684
801
  FlowLogs: FlowLogsConfigurationResult | undefined;
685
802
 
686
803
  S3Logs: S3LogsConfigurationResult | undefined;
804
+
805
+ Kubernetes?: KubernetesConfigurationResult;
687
806
  }
688
807
  export declare namespace DataSourceConfigurationsResult {
689
808
 
@@ -837,6 +956,24 @@ export declare namespace DescribeOrganizationConfigurationRequest {
837
956
  const filterSensitiveLog: (obj: DescribeOrganizationConfigurationRequest) => any;
838
957
  }
839
958
 
959
+ export interface OrganizationKubernetesAuditLogsConfigurationResult {
960
+
961
+ AutoEnable: boolean | undefined;
962
+ }
963
+ export declare namespace OrganizationKubernetesAuditLogsConfigurationResult {
964
+
965
+ const filterSensitiveLog: (obj: OrganizationKubernetesAuditLogsConfigurationResult) => any;
966
+ }
967
+
968
+ export interface OrganizationKubernetesConfigurationResult {
969
+
970
+ AuditLogs: OrganizationKubernetesAuditLogsConfigurationResult | undefined;
971
+ }
972
+ export declare namespace OrganizationKubernetesConfigurationResult {
973
+
974
+ const filterSensitiveLog: (obj: OrganizationKubernetesConfigurationResult) => any;
975
+ }
976
+
840
977
  export interface OrganizationS3LogsConfigurationResult {
841
978
 
842
979
  AutoEnable: boolean | undefined;
@@ -849,6 +986,8 @@ export declare namespace OrganizationS3LogsConfigurationResult {
849
986
  export interface OrganizationDataSourceConfigurationsResult {
850
987
 
851
988
  S3Logs: OrganizationS3LogsConfigurationResult | undefined;
989
+
990
+ Kubernetes?: OrganizationKubernetesConfigurationResult;
852
991
  }
853
992
  export declare namespace OrganizationDataSourceConfigurationsResult {
854
993
 
@@ -961,6 +1100,36 @@ export declare namespace DisassociateMembersResponse {
961
1100
 
962
1101
  const filterSensitiveLog: (obj: DisassociateMembersResponse) => any;
963
1102
  }
1103
+
1104
+ export interface Tag {
1105
+
1106
+ Key?: string;
1107
+
1108
+ Value?: string;
1109
+ }
1110
+ export declare namespace Tag {
1111
+
1112
+ const filterSensitiveLog: (obj: Tag) => any;
1113
+ }
1114
+
1115
+ export interface EksClusterDetails {
1116
+
1117
+ Name?: string;
1118
+
1119
+ Arn?: string;
1120
+
1121
+ VpcId?: string;
1122
+
1123
+ Status?: string;
1124
+
1125
+ Tags?: Tag[];
1126
+
1127
+ CreatedAt?: Date;
1128
+ }
1129
+ export declare namespace EksClusterDetails {
1130
+
1131
+ const filterSensitiveLog: (obj: EksClusterDetails) => any;
1132
+ }
964
1133
  export interface EnableOrganizationAdminAccountRequest {
965
1134
 
966
1135
  AdminAccountId: string | undefined;
@@ -1071,17 +1240,6 @@ export declare namespace ProductCode {
1071
1240
  const filterSensitiveLog: (obj: ProductCode) => any;
1072
1241
  }
1073
1242
 
1074
- export interface Tag {
1075
-
1076
- Key?: string;
1077
-
1078
- Value?: string;
1079
- }
1080
- export declare namespace Tag {
1081
-
1082
- const filterSensitiveLog: (obj: Tag) => any;
1083
- }
1084
-
1085
1243
  export interface InstanceDetails {
1086
1244
 
1087
1245
  AvailabilityZone?: string;
@@ -1115,6 +1273,71 @@ export declare namespace InstanceDetails {
1115
1273
  const filterSensitiveLog: (obj: InstanceDetails) => any;
1116
1274
  }
1117
1275
 
1276
+ export interface KubernetesUserDetails {
1277
+
1278
+ Username?: string;
1279
+
1280
+ Uid?: string;
1281
+
1282
+ Groups?: string[];
1283
+ }
1284
+ export declare namespace KubernetesUserDetails {
1285
+
1286
+ const filterSensitiveLog: (obj: KubernetesUserDetails) => any;
1287
+ }
1288
+
1289
+ export interface HostPath {
1290
+
1291
+ Path?: string;
1292
+ }
1293
+ export declare namespace HostPath {
1294
+
1295
+ const filterSensitiveLog: (obj: HostPath) => any;
1296
+ }
1297
+
1298
+ export interface Volume {
1299
+
1300
+ Name?: string;
1301
+
1302
+ HostPath?: HostPath;
1303
+ }
1304
+ export declare namespace Volume {
1305
+
1306
+ const filterSensitiveLog: (obj: Volume) => any;
1307
+ }
1308
+
1309
+ export interface KubernetesWorkloadDetails {
1310
+
1311
+ Name?: string;
1312
+
1313
+ Type?: string;
1314
+
1315
+ Uid?: string;
1316
+
1317
+ Namespace?: string;
1318
+
1319
+ HostNetwork?: boolean;
1320
+
1321
+ Containers?: Container[];
1322
+
1323
+ Volumes?: Volume[];
1324
+ }
1325
+ export declare namespace KubernetesWorkloadDetails {
1326
+
1327
+ const filterSensitiveLog: (obj: KubernetesWorkloadDetails) => any;
1328
+ }
1329
+
1330
+ export interface KubernetesDetails {
1331
+
1332
+ KubernetesUserDetails?: KubernetesUserDetails;
1333
+
1334
+ KubernetesWorkloadDetails?: KubernetesWorkloadDetails;
1335
+ }
1336
+ export declare namespace KubernetesDetails {
1337
+
1338
+ const filterSensitiveLog: (obj: KubernetesDetails) => any;
1339
+ }
1340
+
1118
1341
  export interface Owner {
1119
1342
 
1120
1343
  Id?: string;
@@ -1177,6 +1400,10 @@ export interface Resource {
1177
1400
 
1178
1401
  InstanceDetails?: InstanceDetails;
1179
1402
 
1403
+ EksClusterDetails?: EksClusterDetails;
1404
+
1405
+ KubernetesDetails?: KubernetesDetails;
1406
+
1180
1407
  ResourceType?: string;
1181
1408
  }
1182
1409
  export declare namespace Resource {
@@ -2121,6 +2348,24 @@ export declare namespace UpdateMemberDetectorsResponse {
2121
2348
  const filterSensitiveLog: (obj: UpdateMemberDetectorsResponse) => any;
2122
2349
  }
2123
2350
 
2351
+ export interface OrganizationKubernetesAuditLogsConfiguration {
2352
+
2353
+ AutoEnable: boolean | undefined;
2354
+ }
2355
+ export declare namespace OrganizationKubernetesAuditLogsConfiguration {
2356
+
2357
+ const filterSensitiveLog: (obj: OrganizationKubernetesAuditLogsConfiguration) => any;
2358
+ }
2359
+
2360
+ export interface OrganizationKubernetesConfiguration {
2361
+
2362
+ AuditLogs: OrganizationKubernetesAuditLogsConfiguration | undefined;
2363
+ }
2364
+ export declare namespace OrganizationKubernetesConfiguration {
2365
+
2366
+ const filterSensitiveLog: (obj: OrganizationKubernetesConfiguration) => any;
2367
+ }
2368
+
2124
2369
  export interface OrganizationS3LogsConfiguration {
2125
2370
 
2126
2371
  AutoEnable: boolean | undefined;
@@ -2133,6 +2378,8 @@ export declare namespace OrganizationS3LogsConfiguration {
2133
2378
  export interface OrganizationDataSourceConfigurations {
2134
2379
 
2135
2380
  S3Logs?: OrganizationS3LogsConfiguration;
2381
+
2382
+ Kubernetes?: OrganizationKubernetesConfiguration;
2136
2383
  }
2137
2384
  export declare namespace OrganizationDataSourceConfigurations {
2138
2385
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-guardduty",
3
3
  "description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
4
- "version": "3.47.0",
4
+ "version": "3.49.0",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
@@ -18,43 +18,49 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.47.0",
22
- "@aws-sdk/config-resolver": "3.47.0",
23
- "@aws-sdk/credential-provider-node": "3.47.0",
24
- "@aws-sdk/fetch-http-handler": "3.47.0",
25
- "@aws-sdk/hash-node": "3.47.0",
26
- "@aws-sdk/invalid-dependency": "3.47.0",
27
- "@aws-sdk/middleware-content-length": "3.47.0",
28
- "@aws-sdk/middleware-host-header": "3.47.0",
29
- "@aws-sdk/middleware-logger": "3.47.0",
30
- "@aws-sdk/middleware-retry": "3.47.0",
31
- "@aws-sdk/middleware-serde": "3.47.0",
32
- "@aws-sdk/middleware-signing": "3.47.0",
33
- "@aws-sdk/middleware-stack": "3.47.0",
34
- "@aws-sdk/middleware-user-agent": "3.47.0",
35
- "@aws-sdk/node-config-provider": "3.47.0",
36
- "@aws-sdk/node-http-handler": "3.47.0",
37
- "@aws-sdk/protocol-http": "3.47.0",
38
- "@aws-sdk/smithy-client": "3.47.0",
39
- "@aws-sdk/types": "3.47.0",
40
- "@aws-sdk/url-parser": "3.47.0",
41
- "@aws-sdk/util-base64-browser": "3.47.0",
42
- "@aws-sdk/util-base64-node": "3.47.0",
43
- "@aws-sdk/util-body-length-browser": "3.47.0",
44
- "@aws-sdk/util-body-length-node": "3.47.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
- "@aws-sdk/util-user-agent-browser": "3.47.0",
48
- "@aws-sdk/util-user-agent-node": "3.47.0",
49
- "@aws-sdk/util-utf8-browser": "3.47.0",
50
- "@aws-sdk/util-utf8-node": "3.47.0",
21
+ "@aws-sdk/client-sts": "3.49.0",
22
+ "@aws-sdk/config-resolver": "3.49.0",
23
+ "@aws-sdk/credential-provider-node": "3.49.0",
24
+ "@aws-sdk/fetch-http-handler": "3.49.0",
25
+ "@aws-sdk/hash-node": "3.49.0",
26
+ "@aws-sdk/invalid-dependency": "3.49.0",
27
+ "@aws-sdk/middleware-content-length": "3.49.0",
28
+ "@aws-sdk/middleware-host-header": "3.49.0",
29
+ "@aws-sdk/middleware-logger": "3.49.0",
30
+ "@aws-sdk/middleware-retry": "3.49.0",
31
+ "@aws-sdk/middleware-serde": "3.49.0",
32
+ "@aws-sdk/middleware-signing": "3.49.0",
33
+ "@aws-sdk/middleware-stack": "3.49.0",
34
+ "@aws-sdk/middleware-user-agent": "3.49.0",
35
+ "@aws-sdk/node-config-provider": "3.49.0",
36
+ "@aws-sdk/node-http-handler": "3.49.0",
37
+ "@aws-sdk/protocol-http": "3.49.0",
38
+ "@aws-sdk/smithy-client": "3.49.0",
39
+ "@aws-sdk/types": "3.49.0",
40
+ "@aws-sdk/url-parser": "3.49.0",
41
+ "@aws-sdk/util-base64-browser": "3.49.0",
42
+ "@aws-sdk/util-base64-node": "3.49.0",
43
+ "@aws-sdk/util-body-length-browser": "3.49.0",
44
+ "@aws-sdk/util-body-length-node": "3.49.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.49.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.49.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.49.0",
48
+ "@aws-sdk/util-user-agent-node": "3.49.0",
49
+ "@aws-sdk/util-utf8-browser": "3.49.0",
50
+ "@aws-sdk/util-utf8-node": "3.49.0",
51
51
  "tslib": "^2.3.0",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.47.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.49.0",
56
+ "@tsconfig/recommended": "1.0.1",
56
57
  "@types/node": "^12.7.5",
57
- "@types/uuid": "^8.3.0"
58
+ "@types/uuid": "^8.3.0",
59
+ "concurrently": "7.0.0",
60
+ "downlevel-dts": "0.7.0",
61
+ "rimraf": "3.0.2",
62
+ "typedoc": "0.19.2",
63
+ "typescript": "~4.3.5"
58
64
  },
59
65
  "engines": {
60
66
  "node": ">=12.0.0"