@aws-sdk/client-guardduty 3.864.0 → 3.868.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 +80 -0
- package/dist-cjs/index.js +532 -6
- package/dist-es/GuardDuty.js +20 -0
- package/dist-es/commands/CreateThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/CreateTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/DeleteThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/DeleteTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/GetThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/GetTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/ListThreatEntitySetsCommand.js +22 -0
- package/dist-es/commands/ListTrustedEntitySetsCommand.js +22 -0
- package/dist-es/commands/UpdateThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/UpdateTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +16 -3
- package/dist-es/models/models_1.js +21 -0
- package/dist-es/pagination/ListThreatEntitySetsPaginator.js +4 -0
- package/dist-es/pagination/ListTrustedEntitySetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +284 -0
- package/dist-types/GuardDuty.d.ts +70 -0
- package/dist-types/GuardDutyClient.d.ts +12 -2
- package/dist-types/commands/CreateThreatEntitySetCommand.d.ts +91 -0
- package/dist-types/commands/CreateTrustedEntitySetCommand.d.ts +92 -0
- package/dist-types/commands/DeleteThreatEntitySetCommand.d.ts +78 -0
- package/dist-types/commands/DeleteTrustedEntitySetCommand.d.ts +78 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +1 -2
- package/dist-types/commands/GetThreatEntitySetCommand.d.ts +89 -0
- package/dist-types/commands/GetTrustedEntitySetCommand.d.ts +89 -0
- package/dist-types/commands/ListThreatEntitySetsCommand.d.ts +85 -0
- package/dist-types/commands/ListTrustedEntitySetsCommand.d.ts +85 -0
- package/dist-types/commands/UpdateThreatEntitySetCommand.d.ts +81 -0
- package/dist-types/commands/UpdateTrustedEntitySetCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +200 -200
- package/dist-types/models/models_1.d.ts +548 -1
- package/dist-types/pagination/ListThreatEntitySetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrustedEntitySetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +170 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/CreateThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListThreatEntitySetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTrustedEntitySetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -49
- package/dist-types/ts3.4/models/models_1.d.ts +144 -1
- package/dist-types/ts3.4/pagination/ListThreatEntitySetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrustedEntitySetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GuardDutyClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GuardDutyClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateThreatEntitySetRequest,
|
|
10
|
+
UpdateThreatEntitySetResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateThreatEntitySetCommandInput
|
|
15
|
+
extends UpdateThreatEntitySetRequest {}
|
|
16
|
+
export interface UpdateThreatEntitySetCommandOutput
|
|
17
|
+
extends UpdateThreatEntitySetResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateThreatEntitySetCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateThreatEntitySetCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateThreatEntitySetCommandInput,
|
|
24
|
+
UpdateThreatEntitySetCommandOutput,
|
|
25
|
+
GuardDutyClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateThreatEntitySetCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateThreatEntitySetCommandInput,
|
|
33
|
+
UpdateThreatEntitySetCommandOutput,
|
|
34
|
+
GuardDutyClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateThreatEntitySetCommand extends UpdateThreatEntitySetCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateThreatEntitySetRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateThreatEntitySetCommandInput;
|
|
48
|
+
output: UpdateThreatEntitySetCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GuardDutyClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../GuardDutyClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateTrustedEntitySetRequest,
|
|
10
|
+
UpdateTrustedEntitySetResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateTrustedEntitySetCommandInput
|
|
15
|
+
extends UpdateTrustedEntitySetRequest {}
|
|
16
|
+
export interface UpdateTrustedEntitySetCommandOutput
|
|
17
|
+
extends UpdateTrustedEntitySetResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateTrustedEntitySetCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateTrustedEntitySetCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateTrustedEntitySetCommandInput,
|
|
24
|
+
UpdateTrustedEntitySetCommandOutput,
|
|
25
|
+
GuardDutyClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateTrustedEntitySetCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateTrustedEntitySetCommandInput,
|
|
33
|
+
UpdateTrustedEntitySetCommandOutput,
|
|
34
|
+
GuardDutyClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateTrustedEntitySetCommand extends UpdateTrustedEntitySetCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateTrustedEntitySetRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateTrustedEntitySetCommandInput;
|
|
48
|
+
output: UpdateTrustedEntitySetCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -8,7 +8,9 @@ export * from "./CreateMalwareProtectionPlanCommand";
|
|
|
8
8
|
export * from "./CreateMembersCommand";
|
|
9
9
|
export * from "./CreatePublishingDestinationCommand";
|
|
10
10
|
export * from "./CreateSampleFindingsCommand";
|
|
11
|
+
export * from "./CreateThreatEntitySetCommand";
|
|
11
12
|
export * from "./CreateThreatIntelSetCommand";
|
|
13
|
+
export * from "./CreateTrustedEntitySetCommand";
|
|
12
14
|
export * from "./DeclineInvitationsCommand";
|
|
13
15
|
export * from "./DeleteDetectorCommand";
|
|
14
16
|
export * from "./DeleteFilterCommand";
|
|
@@ -17,7 +19,9 @@ export * from "./DeleteInvitationsCommand";
|
|
|
17
19
|
export * from "./DeleteMalwareProtectionPlanCommand";
|
|
18
20
|
export * from "./DeleteMembersCommand";
|
|
19
21
|
export * from "./DeletePublishingDestinationCommand";
|
|
22
|
+
export * from "./DeleteThreatEntitySetCommand";
|
|
20
23
|
export * from "./DeleteThreatIntelSetCommand";
|
|
24
|
+
export * from "./DeleteTrustedEntitySetCommand";
|
|
21
25
|
export * from "./DescribeMalwareScansCommand";
|
|
22
26
|
export * from "./DescribeOrganizationConfigurationCommand";
|
|
23
27
|
export * from "./DescribePublishingDestinationCommand";
|
|
@@ -41,7 +45,9 @@ export * from "./GetMemberDetectorsCommand";
|
|
|
41
45
|
export * from "./GetMembersCommand";
|
|
42
46
|
export * from "./GetOrganizationStatisticsCommand";
|
|
43
47
|
export * from "./GetRemainingFreeTrialDaysCommand";
|
|
48
|
+
export * from "./GetThreatEntitySetCommand";
|
|
44
49
|
export * from "./GetThreatIntelSetCommand";
|
|
50
|
+
export * from "./GetTrustedEntitySetCommand";
|
|
45
51
|
export * from "./GetUsageStatisticsCommand";
|
|
46
52
|
export * from "./InviteMembersCommand";
|
|
47
53
|
export * from "./ListCoverageCommand";
|
|
@@ -55,7 +61,9 @@ export * from "./ListMembersCommand";
|
|
|
55
61
|
export * from "./ListOrganizationAdminAccountsCommand";
|
|
56
62
|
export * from "./ListPublishingDestinationsCommand";
|
|
57
63
|
export * from "./ListTagsForResourceCommand";
|
|
64
|
+
export * from "./ListThreatEntitySetsCommand";
|
|
58
65
|
export * from "./ListThreatIntelSetsCommand";
|
|
66
|
+
export * from "./ListTrustedEntitySetsCommand";
|
|
59
67
|
export * from "./StartMalwareScanCommand";
|
|
60
68
|
export * from "./StartMonitoringMembersCommand";
|
|
61
69
|
export * from "./StopMonitoringMembersCommand";
|
|
@@ -71,4 +79,6 @@ export * from "./UpdateMalwareScanSettingsCommand";
|
|
|
71
79
|
export * from "./UpdateMemberDetectorsCommand";
|
|
72
80
|
export * from "./UpdateOrganizationConfigurationCommand";
|
|
73
81
|
export * from "./UpdatePublishingDestinationCommand";
|
|
82
|
+
export * from "./UpdateThreatEntitySetCommand";
|
|
74
83
|
export * from "./UpdateThreatIntelSetCommand";
|
|
84
|
+
export * from "./UpdateTrustedEntitySetCommand";
|
|
@@ -726,6 +726,29 @@ export interface CreateSampleFindingsRequest {
|
|
|
726
726
|
FindingTypes?: string[] | undefined;
|
|
727
727
|
}
|
|
728
728
|
export interface CreateSampleFindingsResponse {}
|
|
729
|
+
export declare const ThreatEntitySetFormat: {
|
|
730
|
+
readonly ALIEN_VAULT: "ALIEN_VAULT";
|
|
731
|
+
readonly FIRE_EYE: "FIRE_EYE";
|
|
732
|
+
readonly OTX_CSV: "OTX_CSV";
|
|
733
|
+
readonly PROOF_POINT: "PROOF_POINT";
|
|
734
|
+
readonly STIX: "STIX";
|
|
735
|
+
readonly TXT: "TXT";
|
|
736
|
+
};
|
|
737
|
+
export type ThreatEntitySetFormat =
|
|
738
|
+
(typeof ThreatEntitySetFormat)[keyof typeof ThreatEntitySetFormat];
|
|
739
|
+
export interface CreateThreatEntitySetRequest {
|
|
740
|
+
DetectorId: string | undefined;
|
|
741
|
+
Name: string | undefined;
|
|
742
|
+
Format: ThreatEntitySetFormat | undefined;
|
|
743
|
+
Location: string | undefined;
|
|
744
|
+
ExpectedBucketOwner?: string | undefined;
|
|
745
|
+
Activate: boolean | undefined;
|
|
746
|
+
ClientToken?: string | undefined;
|
|
747
|
+
Tags?: Record<string, string> | undefined;
|
|
748
|
+
}
|
|
749
|
+
export interface CreateThreatEntitySetResponse {
|
|
750
|
+
ThreatEntitySetId: string | undefined;
|
|
751
|
+
}
|
|
729
752
|
export declare const ThreatIntelSetFormat: {
|
|
730
753
|
readonly ALIEN_VAULT: "ALIEN_VAULT";
|
|
731
754
|
readonly FIRE_EYE: "FIRE_EYE";
|
|
@@ -749,6 +772,29 @@ export interface CreateThreatIntelSetRequest {
|
|
|
749
772
|
export interface CreateThreatIntelSetResponse {
|
|
750
773
|
ThreatIntelSetId: string | undefined;
|
|
751
774
|
}
|
|
775
|
+
export declare const TrustedEntitySetFormat: {
|
|
776
|
+
readonly ALIEN_VAULT: "ALIEN_VAULT";
|
|
777
|
+
readonly FIRE_EYE: "FIRE_EYE";
|
|
778
|
+
readonly OTX_CSV: "OTX_CSV";
|
|
779
|
+
readonly PROOF_POINT: "PROOF_POINT";
|
|
780
|
+
readonly STIX: "STIX";
|
|
781
|
+
readonly TXT: "TXT";
|
|
782
|
+
};
|
|
783
|
+
export type TrustedEntitySetFormat =
|
|
784
|
+
(typeof TrustedEntitySetFormat)[keyof typeof TrustedEntitySetFormat];
|
|
785
|
+
export interface CreateTrustedEntitySetRequest {
|
|
786
|
+
DetectorId: string | undefined;
|
|
787
|
+
Name: string | undefined;
|
|
788
|
+
Format: TrustedEntitySetFormat | undefined;
|
|
789
|
+
Location: string | undefined;
|
|
790
|
+
ExpectedBucketOwner?: string | undefined;
|
|
791
|
+
Activate: boolean | undefined;
|
|
792
|
+
ClientToken?: string | undefined;
|
|
793
|
+
Tags?: Record<string, string> | undefined;
|
|
794
|
+
}
|
|
795
|
+
export interface CreateTrustedEntitySetResponse {
|
|
796
|
+
TrustedEntitySetId: string | undefined;
|
|
797
|
+
}
|
|
752
798
|
export declare const CriterionKey: {
|
|
753
799
|
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
754
800
|
readonly EC2_INSTANCE_ARN: "EC2_INSTANCE_ARN";
|
|
@@ -851,11 +897,21 @@ export interface DeletePublishingDestinationRequest {
|
|
|
851
897
|
DestinationId: string | undefined;
|
|
852
898
|
}
|
|
853
899
|
export interface DeletePublishingDestinationResponse {}
|
|
900
|
+
export interface DeleteThreatEntitySetRequest {
|
|
901
|
+
DetectorId: string | undefined;
|
|
902
|
+
ThreatEntitySetId: string | undefined;
|
|
903
|
+
}
|
|
904
|
+
export interface DeleteThreatEntitySetResponse {}
|
|
854
905
|
export interface DeleteThreatIntelSetRequest {
|
|
855
906
|
DetectorId: string | undefined;
|
|
856
907
|
ThreatIntelSetId: string | undefined;
|
|
857
908
|
}
|
|
858
909
|
export interface DeleteThreatIntelSetResponse {}
|
|
910
|
+
export interface DeleteTrustedEntitySetRequest {
|
|
911
|
+
DetectorId: string | undefined;
|
|
912
|
+
TrustedEntitySetId: string | undefined;
|
|
913
|
+
}
|
|
914
|
+
export interface DeleteTrustedEntitySetResponse {}
|
|
859
915
|
export interface FilterCondition {
|
|
860
916
|
EqualsValue?: string | undefined;
|
|
861
917
|
GreaterThan?: number | undefined;
|
|
@@ -1693,55 +1749,6 @@ export interface FindingStatistics {
|
|
|
1693
1749
|
GroupedByResource?: ResourceStatistics[] | undefined;
|
|
1694
1750
|
GroupedBySeverity?: SeverityStatistics[] | undefined;
|
|
1695
1751
|
}
|
|
1696
|
-
export declare const FindingStatisticType: {
|
|
1697
|
-
readonly COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY";
|
|
1698
|
-
};
|
|
1699
|
-
export type FindingStatisticType =
|
|
1700
|
-
(typeof FindingStatisticType)[keyof typeof FindingStatisticType];
|
|
1701
|
-
export interface GetAdministratorAccountRequest {
|
|
1702
|
-
DetectorId: string | undefined;
|
|
1703
|
-
}
|
|
1704
|
-
export interface GetAdministratorAccountResponse {
|
|
1705
|
-
Administrator: Administrator | undefined;
|
|
1706
|
-
}
|
|
1707
|
-
export interface GetCoverageStatisticsRequest {
|
|
1708
|
-
DetectorId: string | undefined;
|
|
1709
|
-
FilterCriteria?: CoverageFilterCriteria | undefined;
|
|
1710
|
-
StatisticsType: CoverageStatisticsType[] | undefined;
|
|
1711
|
-
}
|
|
1712
|
-
export interface GetCoverageStatisticsResponse {
|
|
1713
|
-
CoverageStatistics?: CoverageStatistics | undefined;
|
|
1714
|
-
}
|
|
1715
|
-
export interface GetDetectorRequest {
|
|
1716
|
-
DetectorId: string | undefined;
|
|
1717
|
-
}
|
|
1718
|
-
export interface GetDetectorResponse {
|
|
1719
|
-
CreatedAt?: string | undefined;
|
|
1720
|
-
FindingPublishingFrequency?: FindingPublishingFrequency | undefined;
|
|
1721
|
-
ServiceRole: string | undefined;
|
|
1722
|
-
Status: DetectorStatus | undefined;
|
|
1723
|
-
UpdatedAt?: string | undefined;
|
|
1724
|
-
DataSources?: DataSourceConfigurationsResult | undefined;
|
|
1725
|
-
Tags?: Record<string, string> | undefined;
|
|
1726
|
-
Features?: DetectorFeatureConfigurationResult[] | undefined;
|
|
1727
|
-
}
|
|
1728
|
-
export interface GetFilterRequest {
|
|
1729
|
-
DetectorId: string | undefined;
|
|
1730
|
-
FilterName: string | undefined;
|
|
1731
|
-
}
|
|
1732
|
-
export interface GetFilterResponse {
|
|
1733
|
-
Name: string | undefined;
|
|
1734
|
-
Description?: string | undefined;
|
|
1735
|
-
Action: FilterAction | undefined;
|
|
1736
|
-
Rank?: number | undefined;
|
|
1737
|
-
FindingCriteria: FindingCriteria | undefined;
|
|
1738
|
-
Tags?: Record<string, string> | undefined;
|
|
1739
|
-
}
|
|
1740
|
-
export interface GetFindingsRequest {
|
|
1741
|
-
DetectorId: string | undefined;
|
|
1742
|
-
FindingIds: string[] | undefined;
|
|
1743
|
-
SortCriteria?: SortCriteria | undefined;
|
|
1744
|
-
}
|
|
1745
1752
|
export declare const AccountDetailFilterSensitiveLog: (
|
|
1746
1753
|
obj: AccountDetail
|
|
1747
1754
|
) => any;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AccountFreeTrialInfo,
|
|
3
3
|
AdminAccount,
|
|
4
|
+
Administrator,
|
|
4
5
|
AutoEnableMembers,
|
|
5
6
|
CoverageFilterCriteria,
|
|
6
7
|
CoverageResource,
|
|
7
8
|
CoverageSortCriteria,
|
|
9
|
+
CoverageStatistics,
|
|
10
|
+
CoverageStatisticsType,
|
|
8
11
|
CreateProtectedResource,
|
|
9
12
|
DataSource,
|
|
10
13
|
DataSourceConfigurations,
|
|
@@ -12,6 +15,8 @@ import {
|
|
|
12
15
|
Destination,
|
|
13
16
|
DestinationProperties,
|
|
14
17
|
DetectorFeatureConfiguration,
|
|
18
|
+
DetectorFeatureConfigurationResult,
|
|
19
|
+
DetectorStatus,
|
|
15
20
|
EbsSnapshotPreservation,
|
|
16
21
|
FeatureStatus,
|
|
17
22
|
Feedback,
|
|
@@ -20,7 +25,6 @@ import {
|
|
|
20
25
|
FindingCriteria,
|
|
21
26
|
FindingPublishingFrequency,
|
|
22
27
|
FindingStatistics,
|
|
23
|
-
FindingStatisticType,
|
|
24
28
|
IpSetFormat,
|
|
25
29
|
MalwareProtectionPlanActions,
|
|
26
30
|
OrderBy,
|
|
@@ -28,9 +32,60 @@ import {
|
|
|
28
32
|
OrgFeatureAdditionalConfiguration,
|
|
29
33
|
OrgFeatureStatus,
|
|
30
34
|
SortCriteria,
|
|
35
|
+
ThreatEntitySetFormat,
|
|
31
36
|
ThreatIntelSetFormat,
|
|
37
|
+
TrustedEntitySetFormat,
|
|
32
38
|
UnprocessedAccount,
|
|
33
39
|
} from "./models_0";
|
|
40
|
+
export declare const FindingStatisticType: {
|
|
41
|
+
readonly COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY";
|
|
42
|
+
};
|
|
43
|
+
export type FindingStatisticType =
|
|
44
|
+
(typeof FindingStatisticType)[keyof typeof FindingStatisticType];
|
|
45
|
+
export interface GetAdministratorAccountRequest {
|
|
46
|
+
DetectorId: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface GetAdministratorAccountResponse {
|
|
49
|
+
Administrator: Administrator | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface GetCoverageStatisticsRequest {
|
|
52
|
+
DetectorId: string | undefined;
|
|
53
|
+
FilterCriteria?: CoverageFilterCriteria | undefined;
|
|
54
|
+
StatisticsType: CoverageStatisticsType[] | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface GetCoverageStatisticsResponse {
|
|
57
|
+
CoverageStatistics?: CoverageStatistics | undefined;
|
|
58
|
+
}
|
|
59
|
+
export interface GetDetectorRequest {
|
|
60
|
+
DetectorId: string | undefined;
|
|
61
|
+
}
|
|
62
|
+
export interface GetDetectorResponse {
|
|
63
|
+
CreatedAt?: string | undefined;
|
|
64
|
+
FindingPublishingFrequency?: FindingPublishingFrequency | undefined;
|
|
65
|
+
ServiceRole: string | undefined;
|
|
66
|
+
Status: DetectorStatus | undefined;
|
|
67
|
+
UpdatedAt?: string | undefined;
|
|
68
|
+
DataSources?: DataSourceConfigurationsResult | undefined;
|
|
69
|
+
Tags?: Record<string, string> | undefined;
|
|
70
|
+
Features?: DetectorFeatureConfigurationResult[] | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface GetFilterRequest {
|
|
73
|
+
DetectorId: string | undefined;
|
|
74
|
+
FilterName: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface GetFilterResponse {
|
|
77
|
+
Name: string | undefined;
|
|
78
|
+
Description?: string | undefined;
|
|
79
|
+
Action: FilterAction | undefined;
|
|
80
|
+
Rank?: number | undefined;
|
|
81
|
+
FindingCriteria: FindingCriteria | undefined;
|
|
82
|
+
Tags?: Record<string, string> | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface GetFindingsRequest {
|
|
85
|
+
DetectorId: string | undefined;
|
|
86
|
+
FindingIds: string[] | undefined;
|
|
87
|
+
SortCriteria?: SortCriteria | undefined;
|
|
88
|
+
}
|
|
34
89
|
export interface GetFindingsResponse {
|
|
35
90
|
Findings: Finding[] | undefined;
|
|
36
91
|
}
|
|
@@ -214,6 +269,32 @@ export interface GetRemainingFreeTrialDaysResponse {
|
|
|
214
269
|
Accounts?: AccountFreeTrialInfo[] | undefined;
|
|
215
270
|
UnprocessedAccounts?: UnprocessedAccount[] | undefined;
|
|
216
271
|
}
|
|
272
|
+
export interface GetThreatEntitySetRequest {
|
|
273
|
+
DetectorId: string | undefined;
|
|
274
|
+
ThreatEntitySetId: string | undefined;
|
|
275
|
+
}
|
|
276
|
+
export declare const ThreatEntitySetStatus: {
|
|
277
|
+
readonly ACTIVATING: "ACTIVATING";
|
|
278
|
+
readonly ACTIVE: "ACTIVE";
|
|
279
|
+
readonly DEACTIVATING: "DEACTIVATING";
|
|
280
|
+
readonly DELETED: "DELETED";
|
|
281
|
+
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
282
|
+
readonly ERROR: "ERROR";
|
|
283
|
+
readonly INACTIVE: "INACTIVE";
|
|
284
|
+
};
|
|
285
|
+
export type ThreatEntitySetStatus =
|
|
286
|
+
(typeof ThreatEntitySetStatus)[keyof typeof ThreatEntitySetStatus];
|
|
287
|
+
export interface GetThreatEntitySetResponse {
|
|
288
|
+
Name: string | undefined;
|
|
289
|
+
Format: ThreatEntitySetFormat | undefined;
|
|
290
|
+
Location: string | undefined;
|
|
291
|
+
ExpectedBucketOwner?: string | undefined;
|
|
292
|
+
Status: ThreatEntitySetStatus | undefined;
|
|
293
|
+
Tags?: Record<string, string> | undefined;
|
|
294
|
+
CreatedAt?: Date | undefined;
|
|
295
|
+
UpdatedAt?: Date | undefined;
|
|
296
|
+
ErrorDetails?: string | undefined;
|
|
297
|
+
}
|
|
217
298
|
export interface GetThreatIntelSetRequest {
|
|
218
299
|
DetectorId: string | undefined;
|
|
219
300
|
ThreatIntelSetId: string | undefined;
|
|
@@ -237,6 +318,32 @@ export interface GetThreatIntelSetResponse {
|
|
|
237
318
|
Tags?: Record<string, string> | undefined;
|
|
238
319
|
ExpectedBucketOwner?: string | undefined;
|
|
239
320
|
}
|
|
321
|
+
export interface GetTrustedEntitySetRequest {
|
|
322
|
+
DetectorId: string | undefined;
|
|
323
|
+
TrustedEntitySetId: string | undefined;
|
|
324
|
+
}
|
|
325
|
+
export declare const TrustedEntitySetStatus: {
|
|
326
|
+
readonly ACTIVATING: "ACTIVATING";
|
|
327
|
+
readonly ACTIVE: "ACTIVE";
|
|
328
|
+
readonly DEACTIVATING: "DEACTIVATING";
|
|
329
|
+
readonly DELETED: "DELETED";
|
|
330
|
+
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
331
|
+
readonly ERROR: "ERROR";
|
|
332
|
+
readonly INACTIVE: "INACTIVE";
|
|
333
|
+
};
|
|
334
|
+
export type TrustedEntitySetStatus =
|
|
335
|
+
(typeof TrustedEntitySetStatus)[keyof typeof TrustedEntitySetStatus];
|
|
336
|
+
export interface GetTrustedEntitySetResponse {
|
|
337
|
+
Name: string | undefined;
|
|
338
|
+
Format: TrustedEntitySetFormat | undefined;
|
|
339
|
+
Location: string | undefined;
|
|
340
|
+
ExpectedBucketOwner?: string | undefined;
|
|
341
|
+
Status: TrustedEntitySetStatus | undefined;
|
|
342
|
+
Tags?: Record<string, string> | undefined;
|
|
343
|
+
CreatedAt?: Date | undefined;
|
|
344
|
+
UpdatedAt?: Date | undefined;
|
|
345
|
+
ErrorDetails?: string | undefined;
|
|
346
|
+
}
|
|
240
347
|
export declare const UsageFeature: {
|
|
241
348
|
readonly CLOUD_TRAIL: "CLOUD_TRAIL";
|
|
242
349
|
readonly DNS_LOGS: "DNS_LOGS";
|
|
@@ -431,6 +538,15 @@ export interface ListTagsForResourceRequest {
|
|
|
431
538
|
export interface ListTagsForResourceResponse {
|
|
432
539
|
Tags?: Record<string, string> | undefined;
|
|
433
540
|
}
|
|
541
|
+
export interface ListThreatEntitySetsRequest {
|
|
542
|
+
DetectorId: string | undefined;
|
|
543
|
+
MaxResults?: number | undefined;
|
|
544
|
+
NextToken?: string | undefined;
|
|
545
|
+
}
|
|
546
|
+
export interface ListThreatEntitySetsResponse {
|
|
547
|
+
ThreatEntitySetIds: string[] | undefined;
|
|
548
|
+
NextToken?: string | undefined;
|
|
549
|
+
}
|
|
434
550
|
export interface ListThreatIntelSetsRequest {
|
|
435
551
|
DetectorId: string | undefined;
|
|
436
552
|
MaxResults?: number | undefined;
|
|
@@ -440,6 +556,15 @@ export interface ListThreatIntelSetsResponse {
|
|
|
440
556
|
ThreatIntelSetIds: string[] | undefined;
|
|
441
557
|
NextToken?: string | undefined;
|
|
442
558
|
}
|
|
559
|
+
export interface ListTrustedEntitySetsRequest {
|
|
560
|
+
DetectorId: string | undefined;
|
|
561
|
+
MaxResults?: number | undefined;
|
|
562
|
+
NextToken?: string | undefined;
|
|
563
|
+
}
|
|
564
|
+
export interface ListTrustedEntitySetsResponse {
|
|
565
|
+
TrustedEntitySetIds: string[] | undefined;
|
|
566
|
+
NextToken?: string | undefined;
|
|
567
|
+
}
|
|
443
568
|
export interface StartMalwareScanRequest {
|
|
444
569
|
ResourceArn: string | undefined;
|
|
445
570
|
}
|
|
@@ -594,6 +719,15 @@ export interface UpdatePublishingDestinationRequest {
|
|
|
594
719
|
DestinationProperties?: DestinationProperties | undefined;
|
|
595
720
|
}
|
|
596
721
|
export interface UpdatePublishingDestinationResponse {}
|
|
722
|
+
export interface UpdateThreatEntitySetRequest {
|
|
723
|
+
DetectorId: string | undefined;
|
|
724
|
+
ThreatEntitySetId: string | undefined;
|
|
725
|
+
Name?: string | undefined;
|
|
726
|
+
Location?: string | undefined;
|
|
727
|
+
ExpectedBucketOwner?: string | undefined;
|
|
728
|
+
Activate?: boolean | undefined;
|
|
729
|
+
}
|
|
730
|
+
export interface UpdateThreatEntitySetResponse {}
|
|
597
731
|
export interface UpdateThreatIntelSetRequest {
|
|
598
732
|
DetectorId: string | undefined;
|
|
599
733
|
ThreatIntelSetId: string | undefined;
|
|
@@ -603,6 +737,15 @@ export interface UpdateThreatIntelSetRequest {
|
|
|
603
737
|
ExpectedBucketOwner?: string | undefined;
|
|
604
738
|
}
|
|
605
739
|
export interface UpdateThreatIntelSetResponse {}
|
|
740
|
+
export interface UpdateTrustedEntitySetRequest {
|
|
741
|
+
DetectorId: string | undefined;
|
|
742
|
+
TrustedEntitySetId: string | undefined;
|
|
743
|
+
Name?: string | undefined;
|
|
744
|
+
Location?: string | undefined;
|
|
745
|
+
ExpectedBucketOwner?: string | undefined;
|
|
746
|
+
Activate?: boolean | undefined;
|
|
747
|
+
}
|
|
748
|
+
export interface UpdateTrustedEntitySetResponse {}
|
|
606
749
|
export declare const GetFindingsResponseFilterSensitiveLog: (
|
|
607
750
|
obj: GetFindingsResponse
|
|
608
751
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListThreatEntitySetsCommandInput,
|
|
4
|
+
ListThreatEntitySetsCommandOutput,
|
|
5
|
+
} from "../commands/ListThreatEntitySetsCommand";
|
|
6
|
+
import { GuardDutyPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListThreatEntitySets: (
|
|
8
|
+
config: GuardDutyPaginationConfiguration,
|
|
9
|
+
input: ListThreatEntitySetsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListThreatEntitySetsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTrustedEntitySetsCommandInput,
|
|
4
|
+
ListTrustedEntitySetsCommandOutput,
|
|
5
|
+
} from "../commands/ListTrustedEntitySetsCommand";
|
|
6
|
+
import { GuardDutyPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTrustedEntitySets: (
|
|
8
|
+
config: GuardDutyPaginationConfiguration,
|
|
9
|
+
input: ListTrustedEntitySetsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTrustedEntitySetsCommandOutput>;
|
|
@@ -11,4 +11,6 @@ export * from "./ListInvitationsPaginator";
|
|
|
11
11
|
export * from "./ListMembersPaginator";
|
|
12
12
|
export * from "./ListOrganizationAdminAccountsPaginator";
|
|
13
13
|
export * from "./ListPublishingDestinationsPaginator";
|
|
14
|
+
export * from "./ListThreatEntitySetsPaginator";
|
|
14
15
|
export * from "./ListThreatIntelSetsPaginator";
|
|
16
|
+
export * from "./ListTrustedEntitySetsPaginator";
|