@aws-sdk/client-guardduty 3.451.0 → 3.458.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/README.md +71 -70
- package/dist-cjs/models/models_0.js +18 -0
- package/dist-cjs/protocols/Aws_restJson1.js +35 -0
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/protocols/Aws_restJson1.js +35 -0
- package/dist-types/GuardDuty.d.ts +3 -2
- package/dist-types/GuardDutyClient.d.ts +3 -2
- package/dist-types/commands/CreateDetectorCommand.d.ts +2 -2
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetDetectorCommand.d.ts +2 -2
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +2 -2
- package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +1 -1
- package/dist-types/commands/GetUsageStatisticsCommand.d.ts +2 -2
- package/dist-types/commands/ListCoverageCommand.d.ts +26 -4
- package/dist-types/commands/ListIPSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +2 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -2
- package/dist-types/commands/UpdateDetectorCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -2
- package/dist-types/index.d.ts +3 -2
- package/dist-types/models/models_0.d.ts +172 -117
- package/dist-types/models/models_1.d.ts +117 -0
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +43 -25
- package/dist-types/ts3.4/models/models_1.d.ts +25 -0
- package/package.json +3 -3
|
@@ -74,8 +74,10 @@ export declare const FreeTrialFeatureResult: {
|
|
|
74
74
|
readonly CLOUD_TRAIL: "CLOUD_TRAIL";
|
|
75
75
|
readonly DNS_LOGS: "DNS_LOGS";
|
|
76
76
|
readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
|
|
77
|
+
readonly EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING";
|
|
77
78
|
readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
|
|
78
79
|
readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
|
|
80
|
+
readonly FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING";
|
|
79
81
|
readonly FLOW_LOGS: "FLOW_LOGS";
|
|
80
82
|
readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
|
|
81
83
|
readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
|
|
@@ -250,6 +252,9 @@ export interface Administrator {
|
|
|
250
252
|
RelationshipStatus?: string;
|
|
251
253
|
InvitedAt?: string;
|
|
252
254
|
}
|
|
255
|
+
export interface AgentDetails {
|
|
256
|
+
Version?: string;
|
|
257
|
+
}
|
|
253
258
|
export interface Observations {
|
|
254
259
|
Text?: string[];
|
|
255
260
|
}
|
|
@@ -345,6 +350,10 @@ export interface Container {
|
|
|
345
350
|
VolumeMounts?: VolumeMount[];
|
|
346
351
|
SecurityContext?: SecurityContext;
|
|
347
352
|
}
|
|
353
|
+
export interface ContainerInstanceDetails {
|
|
354
|
+
CoveredContainerInstances?: number;
|
|
355
|
+
CompatibleContainerInstances?: number;
|
|
356
|
+
}
|
|
348
357
|
export declare const CoverageStatus: {
|
|
349
358
|
readonly HEALTHY: "HEALTHY";
|
|
350
359
|
readonly UNHEALTHY: "UNHEALTHY";
|
|
@@ -352,15 +361,34 @@ export declare const CoverageStatus: {
|
|
|
352
361
|
export type CoverageStatus =
|
|
353
362
|
(typeof CoverageStatus)[keyof typeof CoverageStatus];
|
|
354
363
|
export declare const ResourceType: {
|
|
364
|
+
readonly EC2: "EC2";
|
|
365
|
+
readonly ECS: "ECS";
|
|
355
366
|
readonly EKS: "EKS";
|
|
356
367
|
};
|
|
357
368
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
358
369
|
export declare const ManagementType: {
|
|
359
370
|
readonly AUTO_MANAGED: "AUTO_MANAGED";
|
|
371
|
+
readonly DISABLED: "DISABLED";
|
|
360
372
|
readonly MANUAL: "MANUAL";
|
|
361
373
|
};
|
|
362
374
|
export type ManagementType =
|
|
363
375
|
(typeof ManagementType)[keyof typeof ManagementType];
|
|
376
|
+
export interface CoverageEc2InstanceDetails {
|
|
377
|
+
InstanceId?: string;
|
|
378
|
+
InstanceType?: string;
|
|
379
|
+
ClusterArn?: string;
|
|
380
|
+
AgentDetails?: AgentDetails;
|
|
381
|
+
ManagementType?: ManagementType;
|
|
382
|
+
}
|
|
383
|
+
export interface FargateDetails {
|
|
384
|
+
Issues?: string[];
|
|
385
|
+
ManagementType?: ManagementType;
|
|
386
|
+
}
|
|
387
|
+
export interface CoverageEcsClusterDetails {
|
|
388
|
+
ClusterName?: string;
|
|
389
|
+
FargateDetails?: FargateDetails;
|
|
390
|
+
ContainerInstanceDetails?: ContainerInstanceDetails;
|
|
391
|
+
}
|
|
364
392
|
export interface CoverageEksClusterDetails {
|
|
365
393
|
ClusterName?: string;
|
|
366
394
|
CoveredNodes?: number;
|
|
@@ -375,9 +403,13 @@ export interface CoverageFilterCondition {
|
|
|
375
403
|
export declare const CoverageFilterCriterionKey: {
|
|
376
404
|
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
377
405
|
readonly ADDON_VERSION: "ADDON_VERSION";
|
|
406
|
+
readonly AGENT_VERSION: "AGENT_VERSION";
|
|
407
|
+
readonly CLUSTER_ARN: "CLUSTER_ARN";
|
|
378
408
|
readonly CLUSTER_NAME: "CLUSTER_NAME";
|
|
379
409
|
readonly COVERAGE_STATUS: "COVERAGE_STATUS";
|
|
410
|
+
readonly ECS_CLUSTER_NAME: "ECS_CLUSTER_NAME";
|
|
380
411
|
readonly EKS_CLUSTER_NAME: "EKS_CLUSTER_NAME";
|
|
412
|
+
readonly INSTANCE_ID: "INSTANCE_ID";
|
|
381
413
|
readonly MANAGEMENT_TYPE: "MANAGEMENT_TYPE";
|
|
382
414
|
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
383
415
|
};
|
|
@@ -393,6 +425,8 @@ export interface CoverageFilterCriteria {
|
|
|
393
425
|
export interface CoverageResourceDetails {
|
|
394
426
|
EksClusterDetails?: CoverageEksClusterDetails;
|
|
395
427
|
ResourceType?: ResourceType;
|
|
428
|
+
EcsClusterDetails?: CoverageEcsClusterDetails;
|
|
429
|
+
Ec2InstanceDetails?: CoverageEc2InstanceDetails;
|
|
396
430
|
}
|
|
397
431
|
export interface CoverageResource {
|
|
398
432
|
ResourceId?: string;
|
|
@@ -408,7 +442,9 @@ export declare const CoverageSortKey: {
|
|
|
408
442
|
readonly ADDON_VERSION: "ADDON_VERSION";
|
|
409
443
|
readonly CLUSTER_NAME: "CLUSTER_NAME";
|
|
410
444
|
readonly COVERAGE_STATUS: "COVERAGE_STATUS";
|
|
445
|
+
readonly ECS_CLUSTER_NAME: "ECS_CLUSTER_NAME";
|
|
411
446
|
readonly EKS_CLUSTER_NAME: "EKS_CLUSTER_NAME";
|
|
447
|
+
readonly INSTANCE_ID: "INSTANCE_ID";
|
|
412
448
|
readonly ISSUE: "ISSUE";
|
|
413
449
|
readonly UPDATED_AT: "UPDATED_AT";
|
|
414
450
|
};
|
|
@@ -454,6 +490,7 @@ export interface DataSourceConfigurations {
|
|
|
454
490
|
MalwareProtection?: MalwareProtectionConfiguration;
|
|
455
491
|
}
|
|
456
492
|
export declare const FeatureAdditionalConfiguration: {
|
|
493
|
+
readonly ECS_FARGATE_AGENT_MANAGEMENT: "ECS_FARGATE_AGENT_MANAGEMENT";
|
|
457
494
|
readonly EKS_ADDON_MANAGEMENT: "EKS_ADDON_MANAGEMENT";
|
|
458
495
|
};
|
|
459
496
|
export type FeatureAdditionalConfiguration =
|
|
@@ -473,6 +510,7 @@ export declare const DetectorFeature: {
|
|
|
473
510
|
readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
|
|
474
511
|
readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
|
|
475
512
|
readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
|
|
513
|
+
readonly RUNTIME_MONITORING: "RUNTIME_MONITORING";
|
|
476
514
|
readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
|
|
477
515
|
};
|
|
478
516
|
export type DetectorFeature =
|
|
@@ -818,6 +856,7 @@ export declare const OrgFeatureStatus: {
|
|
|
818
856
|
export type OrgFeatureStatus =
|
|
819
857
|
(typeof OrgFeatureStatus)[keyof typeof OrgFeatureStatus];
|
|
820
858
|
export declare const OrgFeatureAdditionalConfiguration: {
|
|
859
|
+
readonly ECS_FARGATE_AGENT_MANAGEMENT: "ECS_FARGATE_AGENT_MANAGEMENT";
|
|
821
860
|
readonly EKS_ADDON_MANAGEMENT: "EKS_ADDON_MANAGEMENT";
|
|
822
861
|
};
|
|
823
862
|
export type OrgFeatureAdditionalConfiguration =
|
|
@@ -832,6 +871,7 @@ export declare const OrgFeature: {
|
|
|
832
871
|
readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
|
|
833
872
|
readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
|
|
834
873
|
readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
|
|
874
|
+
readonly RUNTIME_MONITORING: "RUNTIME_MONITORING";
|
|
835
875
|
readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
|
|
836
876
|
};
|
|
837
877
|
export type OrgFeature = (typeof OrgFeature)[keyof typeof OrgFeature];
|
|
@@ -889,6 +929,7 @@ export declare const DetectorFeatureResult: {
|
|
|
889
929
|
readonly FLOW_LOGS: "FLOW_LOGS";
|
|
890
930
|
readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
|
|
891
931
|
readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
|
|
932
|
+
readonly RUNTIME_MONITORING: "RUNTIME_MONITORING";
|
|
892
933
|
readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
|
|
893
934
|
};
|
|
894
935
|
export type DetectorFeatureResult =
|
|
@@ -1462,8 +1503,10 @@ export declare const UsageFeature: {
|
|
|
1462
1503
|
readonly CLOUD_TRAIL: "CLOUD_TRAIL";
|
|
1463
1504
|
readonly DNS_LOGS: "DNS_LOGS";
|
|
1464
1505
|
readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
|
|
1506
|
+
readonly EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING";
|
|
1465
1507
|
readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
|
|
1466
1508
|
readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
|
|
1509
|
+
readonly FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING";
|
|
1467
1510
|
readonly FLOW_LOGS: "FLOW_LOGS";
|
|
1468
1511
|
readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
|
|
1469
1512
|
readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
|
|
@@ -1576,28 +1619,3 @@ export interface ListInvitationsRequest {
|
|
|
1576
1619
|
MaxResults?: number;
|
|
1577
1620
|
NextToken?: string;
|
|
1578
1621
|
}
|
|
1579
|
-
export interface Invitation {
|
|
1580
|
-
AccountId?: string;
|
|
1581
|
-
InvitationId?: string;
|
|
1582
|
-
RelationshipStatus?: string;
|
|
1583
|
-
InvitedAt?: string;
|
|
1584
|
-
}
|
|
1585
|
-
export interface ListInvitationsResponse {
|
|
1586
|
-
Invitations?: Invitation[];
|
|
1587
|
-
NextToken?: string;
|
|
1588
|
-
}
|
|
1589
|
-
export interface ListIPSetsRequest {
|
|
1590
|
-
DetectorId: string | undefined;
|
|
1591
|
-
MaxResults?: number;
|
|
1592
|
-
NextToken?: string;
|
|
1593
|
-
}
|
|
1594
|
-
export interface ListIPSetsResponse {
|
|
1595
|
-
IpSetIds: string[] | undefined;
|
|
1596
|
-
NextToken?: string;
|
|
1597
|
-
}
|
|
1598
|
-
export interface ListMembersRequest {
|
|
1599
|
-
DetectorId: string | undefined;
|
|
1600
|
-
MaxResults?: number;
|
|
1601
|
-
NextToken?: string;
|
|
1602
|
-
OnlyAssociated?: string;
|
|
1603
|
-
}
|
|
@@ -18,6 +18,31 @@ import {
|
|
|
18
18
|
ScanResourceCriteria,
|
|
19
19
|
UnprocessedAccount,
|
|
20
20
|
} from "./models_0";
|
|
21
|
+
export interface Invitation {
|
|
22
|
+
AccountId?: string;
|
|
23
|
+
InvitationId?: string;
|
|
24
|
+
RelationshipStatus?: string;
|
|
25
|
+
InvitedAt?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ListInvitationsResponse {
|
|
28
|
+
Invitations?: Invitation[];
|
|
29
|
+
NextToken?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ListIPSetsRequest {
|
|
32
|
+
DetectorId: string | undefined;
|
|
33
|
+
MaxResults?: number;
|
|
34
|
+
NextToken?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface ListIPSetsResponse {
|
|
37
|
+
IpSetIds: string[] | undefined;
|
|
38
|
+
NextToken?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ListMembersRequest {
|
|
41
|
+
DetectorId: string | undefined;
|
|
42
|
+
MaxResults?: number;
|
|
43
|
+
NextToken?: string;
|
|
44
|
+
OnlyAssociated?: string;
|
|
45
|
+
}
|
|
21
46
|
export interface ListMembersResponse {
|
|
22
47
|
Members?: Member[];
|
|
23
48
|
NextToken?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
"version": "3.458.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.458.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.458.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|