@aws-sdk/client-guardduty 3.934.0 → 3.935.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 +16 -0
- package/dist-cjs/index.js +1505 -525
- package/dist-es/GuardDuty.js +4 -0
- package/dist-es/commands/GetMalwareScanCommand.js +16 -0
- package/dist-es/commands/ListMalwareScansCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +445 -0
- package/dist-es/models/errors.js +81 -0
- package/dist-es/models/models_0.js +1 -383
- package/dist-es/models/models_1.js +1 -77
- package/dist-es/pagination/ListMalwareScansPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +942 -68
- package/dist-types/GuardDuty.d.ts +15 -0
- package/dist-types/GuardDutyClient.d.ts +4 -2
- package/dist-types/commands/DescribeMalwareScansCommand.d.ts +1 -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 +34 -1
- package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareScanCommand.d.ts +164 -0
- package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListMalwareScansCommand.d.ts +110 -0
- package/dist-types/commands/StartMalwareScanCommand.d.ts +14 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +973 -0
- package/dist-types/models/errors.d.ts +112 -0
- package/dist-types/models/models_0.d.ts +1178 -784
- package/dist-types/models/models_1.d.ts +169 -893
- package/dist-types/pagination/ListMalwareScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +30 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +35 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +12 -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 -1
- package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMalwareScansCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +554 -0
- package/dist-types/ts3.4/models/errors.d.ts +45 -0
- package/dist-types/ts3.4/models/models_0.d.ts +329 -423
- package/dist-types/ts3.4/models/models_1.d.ts +68 -285
- package/dist-types/ts3.4/pagination/ListMalwareScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
package/dist-es/GuardDuty.js
CHANGED
|
@@ -40,6 +40,7 @@ import { GetFindingsStatisticsCommand, } from "./commands/GetFindingsStatisticsC
|
|
|
40
40
|
import { GetInvitationsCountCommand, } from "./commands/GetInvitationsCountCommand";
|
|
41
41
|
import { GetIPSetCommand } from "./commands/GetIPSetCommand";
|
|
42
42
|
import { GetMalwareProtectionPlanCommand, } from "./commands/GetMalwareProtectionPlanCommand";
|
|
43
|
+
import { GetMalwareScanCommand, } from "./commands/GetMalwareScanCommand";
|
|
43
44
|
import { GetMalwareScanSettingsCommand, } from "./commands/GetMalwareScanSettingsCommand";
|
|
44
45
|
import { GetMasterAccountCommand, } from "./commands/GetMasterAccountCommand";
|
|
45
46
|
import { GetMemberDetectorsCommand, } from "./commands/GetMemberDetectorsCommand";
|
|
@@ -58,6 +59,7 @@ import { ListFindingsCommand, } from "./commands/ListFindingsCommand";
|
|
|
58
59
|
import { ListInvitationsCommand, } from "./commands/ListInvitationsCommand";
|
|
59
60
|
import { ListIPSetsCommand } from "./commands/ListIPSetsCommand";
|
|
60
61
|
import { ListMalwareProtectionPlansCommand, } from "./commands/ListMalwareProtectionPlansCommand";
|
|
62
|
+
import { ListMalwareScansCommand, } from "./commands/ListMalwareScansCommand";
|
|
61
63
|
import { ListMembersCommand } from "./commands/ListMembersCommand";
|
|
62
64
|
import { ListOrganizationAdminAccountsCommand, } from "./commands/ListOrganizationAdminAccountsCommand";
|
|
63
65
|
import { ListPublishingDestinationsCommand, } from "./commands/ListPublishingDestinationsCommand";
|
|
@@ -127,6 +129,7 @@ const commands = {
|
|
|
127
129
|
GetInvitationsCountCommand,
|
|
128
130
|
GetIPSetCommand,
|
|
129
131
|
GetMalwareProtectionPlanCommand,
|
|
132
|
+
GetMalwareScanCommand,
|
|
130
133
|
GetMalwareScanSettingsCommand,
|
|
131
134
|
GetMasterAccountCommand,
|
|
132
135
|
GetMemberDetectorsCommand,
|
|
@@ -145,6 +148,7 @@ const commands = {
|
|
|
145
148
|
ListInvitationsCommand,
|
|
146
149
|
ListIPSetsCommand,
|
|
147
150
|
ListMalwareProtectionPlansCommand,
|
|
151
|
+
ListMalwareScansCommand,
|
|
148
152
|
ListMembersCommand,
|
|
149
153
|
ListOrganizationAdminAccountsCommand,
|
|
150
154
|
ListPublishingDestinationsCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetMalwareScan } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetMalwareScanCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("GuardDutyAPIService", "GetMalwareScan", {})
|
|
13
|
+
.n("GuardDutyClient", "GetMalwareScanCommand")
|
|
14
|
+
.sc(GetMalwareScan)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListMalwareScans } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListMalwareScansCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("GuardDutyAPIService", "ListMalwareScans", {})
|
|
13
|
+
.n("GuardDutyClient", "ListMalwareScansCommand")
|
|
14
|
+
.sc(ListMalwareScans)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -39,6 +39,7 @@ export * from "./GetFindingsStatisticsCommand";
|
|
|
39
39
|
export * from "./GetIPSetCommand";
|
|
40
40
|
export * from "./GetInvitationsCountCommand";
|
|
41
41
|
export * from "./GetMalwareProtectionPlanCommand";
|
|
42
|
+
export * from "./GetMalwareScanCommand";
|
|
42
43
|
export * from "./GetMalwareScanSettingsCommand";
|
|
43
44
|
export * from "./GetMasterAccountCommand";
|
|
44
45
|
export * from "./GetMemberDetectorsCommand";
|
|
@@ -57,6 +58,7 @@ export * from "./ListFindingsCommand";
|
|
|
57
58
|
export * from "./ListIPSetsCommand";
|
|
58
59
|
export * from "./ListInvitationsCommand";
|
|
59
60
|
export * from "./ListMalwareProtectionPlansCommand";
|
|
61
|
+
export * from "./ListMalwareScansCommand";
|
|
60
62
|
export * from "./ListMembersCommand";
|
|
61
63
|
export * from "./ListOrganizationAdminAccountsCommand";
|
|
62
64
|
export * from "./ListPublishingDestinationsCommand";
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./GuardDutyClient";
|
|
|
2
2
|
export * from "./GuardDuty";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { GuardDutyServiceException } from "./models/GuardDutyServiceException";
|
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
export const FreeTrialFeatureResult = {
|
|
2
|
+
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
3
|
+
DNS_LOGS: "DNS_LOGS",
|
|
4
|
+
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
5
|
+
EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING",
|
|
6
|
+
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
7
|
+
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
8
|
+
FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING",
|
|
9
|
+
FLOW_LOGS: "FLOW_LOGS",
|
|
10
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
11
|
+
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
12
|
+
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
13
|
+
};
|
|
14
|
+
export const MfaStatus = {
|
|
15
|
+
DISABLED: "DISABLED",
|
|
16
|
+
ENABLED: "ENABLED",
|
|
17
|
+
};
|
|
18
|
+
export const AdminStatus = {
|
|
19
|
+
DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
|
|
20
|
+
ENABLED: "ENABLED",
|
|
21
|
+
};
|
|
22
|
+
export const ProfileSubtype = {
|
|
23
|
+
FREQUENT: "FREQUENT",
|
|
24
|
+
INFREQUENT: "INFREQUENT",
|
|
25
|
+
RARE: "RARE",
|
|
26
|
+
UNSEEN: "UNSEEN",
|
|
27
|
+
};
|
|
28
|
+
export const ProfileType = {
|
|
29
|
+
FREQUENCY: "FREQUENCY",
|
|
30
|
+
};
|
|
31
|
+
export const AutoEnableMembers = {
|
|
32
|
+
ALL: "ALL",
|
|
33
|
+
NEW: "NEW",
|
|
34
|
+
NONE: "NONE",
|
|
35
|
+
};
|
|
36
|
+
export const DataSourceStatus = {
|
|
37
|
+
DISABLED: "DISABLED",
|
|
38
|
+
ENABLED: "ENABLED",
|
|
39
|
+
};
|
|
40
|
+
export const ClusterStatus = {
|
|
41
|
+
ACTIVE: "ACTIVE",
|
|
42
|
+
CREATING: "CREATING",
|
|
43
|
+
DELETING: "DELETING",
|
|
44
|
+
FAILED: "FAILED",
|
|
45
|
+
PENDING: "PENDING",
|
|
46
|
+
UPDATING: "UPDATING",
|
|
47
|
+
};
|
|
48
|
+
export const CoverageStatus = {
|
|
49
|
+
HEALTHY: "HEALTHY",
|
|
50
|
+
UNHEALTHY: "UNHEALTHY",
|
|
51
|
+
};
|
|
52
|
+
export const ResourceType = {
|
|
53
|
+
EC2: "EC2",
|
|
54
|
+
ECS: "ECS",
|
|
55
|
+
EKS: "EKS",
|
|
56
|
+
};
|
|
57
|
+
export const ManagementType = {
|
|
58
|
+
AUTO_MANAGED: "AUTO_MANAGED",
|
|
59
|
+
DISABLED: "DISABLED",
|
|
60
|
+
MANUAL: "MANUAL",
|
|
61
|
+
};
|
|
62
|
+
export const CoverageFilterCriterionKey = {
|
|
63
|
+
ACCOUNT_ID: "ACCOUNT_ID",
|
|
64
|
+
ADDON_VERSION: "ADDON_VERSION",
|
|
65
|
+
AGENT_VERSION: "AGENT_VERSION",
|
|
66
|
+
CLUSTER_ARN: "CLUSTER_ARN",
|
|
67
|
+
CLUSTER_NAME: "CLUSTER_NAME",
|
|
68
|
+
COVERAGE_STATUS: "COVERAGE_STATUS",
|
|
69
|
+
ECS_CLUSTER_NAME: "ECS_CLUSTER_NAME",
|
|
70
|
+
EKS_CLUSTER_NAME: "EKS_CLUSTER_NAME",
|
|
71
|
+
INSTANCE_ID: "INSTANCE_ID",
|
|
72
|
+
MANAGEMENT_TYPE: "MANAGEMENT_TYPE",
|
|
73
|
+
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
74
|
+
};
|
|
75
|
+
export const CoverageSortKey = {
|
|
76
|
+
ACCOUNT_ID: "ACCOUNT_ID",
|
|
77
|
+
ADDON_VERSION: "ADDON_VERSION",
|
|
78
|
+
CLUSTER_NAME: "CLUSTER_NAME",
|
|
79
|
+
COVERAGE_STATUS: "COVERAGE_STATUS",
|
|
80
|
+
ECS_CLUSTER_NAME: "ECS_CLUSTER_NAME",
|
|
81
|
+
EKS_CLUSTER_NAME: "EKS_CLUSTER_NAME",
|
|
82
|
+
INSTANCE_ID: "INSTANCE_ID",
|
|
83
|
+
ISSUE: "ISSUE",
|
|
84
|
+
UPDATED_AT: "UPDATED_AT",
|
|
85
|
+
};
|
|
86
|
+
export const OrderBy = {
|
|
87
|
+
ASC: "ASC",
|
|
88
|
+
DESC: "DESC",
|
|
89
|
+
};
|
|
90
|
+
export const CoverageStatisticsType = {
|
|
91
|
+
COUNT_BY_COVERAGE_STATUS: "COUNT_BY_COVERAGE_STATUS",
|
|
92
|
+
COUNT_BY_RESOURCE_TYPE: "COUNT_BY_RESOURCE_TYPE",
|
|
93
|
+
};
|
|
94
|
+
export const FeatureAdditionalConfiguration = {
|
|
95
|
+
EC2_AGENT_MANAGEMENT: "EC2_AGENT_MANAGEMENT",
|
|
96
|
+
ECS_FARGATE_AGENT_MANAGEMENT: "ECS_FARGATE_AGENT_MANAGEMENT",
|
|
97
|
+
EKS_ADDON_MANAGEMENT: "EKS_ADDON_MANAGEMENT",
|
|
98
|
+
};
|
|
99
|
+
export const FeatureStatus = {
|
|
100
|
+
DISABLED: "DISABLED",
|
|
101
|
+
ENABLED: "ENABLED",
|
|
102
|
+
};
|
|
103
|
+
export const DetectorFeature = {
|
|
104
|
+
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
105
|
+
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
106
|
+
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
107
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
108
|
+
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
109
|
+
RUNTIME_MONITORING: "RUNTIME_MONITORING",
|
|
110
|
+
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
111
|
+
};
|
|
112
|
+
export const FindingPublishingFrequency = {
|
|
113
|
+
FIFTEEN_MINUTES: "FIFTEEN_MINUTES",
|
|
114
|
+
ONE_HOUR: "ONE_HOUR",
|
|
115
|
+
SIX_HOURS: "SIX_HOURS",
|
|
116
|
+
};
|
|
117
|
+
export const FilterAction = {
|
|
118
|
+
ARCHIVE: "ARCHIVE",
|
|
119
|
+
NOOP: "NOOP",
|
|
120
|
+
};
|
|
121
|
+
export const IpSetFormat = {
|
|
122
|
+
ALIEN_VAULT: "ALIEN_VAULT",
|
|
123
|
+
FIRE_EYE: "FIRE_EYE",
|
|
124
|
+
OTX_CSV: "OTX_CSV",
|
|
125
|
+
PROOF_POINT: "PROOF_POINT",
|
|
126
|
+
STIX: "STIX",
|
|
127
|
+
TXT: "TXT",
|
|
128
|
+
};
|
|
129
|
+
export const MalwareProtectionPlanTaggingActionStatus = {
|
|
130
|
+
DISABLED: "DISABLED",
|
|
131
|
+
ENABLED: "ENABLED",
|
|
132
|
+
};
|
|
133
|
+
export const DestinationType = {
|
|
134
|
+
S3: "S3",
|
|
135
|
+
};
|
|
136
|
+
export const ThreatEntitySetFormat = {
|
|
137
|
+
ALIEN_VAULT: "ALIEN_VAULT",
|
|
138
|
+
FIRE_EYE: "FIRE_EYE",
|
|
139
|
+
OTX_CSV: "OTX_CSV",
|
|
140
|
+
PROOF_POINT: "PROOF_POINT",
|
|
141
|
+
STIX: "STIX",
|
|
142
|
+
TXT: "TXT",
|
|
143
|
+
};
|
|
144
|
+
export const ThreatIntelSetFormat = {
|
|
145
|
+
ALIEN_VAULT: "ALIEN_VAULT",
|
|
146
|
+
FIRE_EYE: "FIRE_EYE",
|
|
147
|
+
OTX_CSV: "OTX_CSV",
|
|
148
|
+
PROOF_POINT: "PROOF_POINT",
|
|
149
|
+
STIX: "STIX",
|
|
150
|
+
TXT: "TXT",
|
|
151
|
+
};
|
|
152
|
+
export const TrustedEntitySetFormat = {
|
|
153
|
+
ALIEN_VAULT: "ALIEN_VAULT",
|
|
154
|
+
FIRE_EYE: "FIRE_EYE",
|
|
155
|
+
OTX_CSV: "OTX_CSV",
|
|
156
|
+
PROOF_POINT: "PROOF_POINT",
|
|
157
|
+
STIX: "STIX",
|
|
158
|
+
TXT: "TXT",
|
|
159
|
+
};
|
|
160
|
+
export const CriterionKey = {
|
|
161
|
+
ACCOUNT_ID: "ACCOUNT_ID",
|
|
162
|
+
EC2_INSTANCE_ARN: "EC2_INSTANCE_ARN",
|
|
163
|
+
GUARDDUTY_FINDING_ID: "GUARDDUTY_FINDING_ID",
|
|
164
|
+
SCAN_ID: "SCAN_ID",
|
|
165
|
+
SCAN_START_TIME: "SCAN_START_TIME",
|
|
166
|
+
SCAN_STATUS: "SCAN_STATUS",
|
|
167
|
+
SCAN_TYPE: "SCAN_TYPE",
|
|
168
|
+
};
|
|
169
|
+
export const DataSource = {
|
|
170
|
+
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
171
|
+
DNS_LOGS: "DNS_LOGS",
|
|
172
|
+
EC2_MALWARE_SCAN: "EC2_MALWARE_SCAN",
|
|
173
|
+
FLOW_LOGS: "FLOW_LOGS",
|
|
174
|
+
KUBERNETES_AUDIT_LOGS: "KUBERNETES_AUDIT_LOGS",
|
|
175
|
+
S3_LOGS: "S3_LOGS",
|
|
176
|
+
};
|
|
177
|
+
export const ScanResult = {
|
|
178
|
+
CLEAN: "CLEAN",
|
|
179
|
+
INFECTED: "INFECTED",
|
|
180
|
+
};
|
|
181
|
+
export const ScanStatus = {
|
|
182
|
+
COMPLETED: "COMPLETED",
|
|
183
|
+
FAILED: "FAILED",
|
|
184
|
+
RUNNING: "RUNNING",
|
|
185
|
+
SKIPPED: "SKIPPED",
|
|
186
|
+
};
|
|
187
|
+
export const ScanType = {
|
|
188
|
+
GUARDDUTY_INITIATED: "GUARDDUTY_INITIATED",
|
|
189
|
+
ON_DEMAND: "ON_DEMAND",
|
|
190
|
+
};
|
|
191
|
+
export const TriggerType = {
|
|
192
|
+
BACKUP: "BACKUP",
|
|
193
|
+
GUARDDUTY: "GUARDDUTY",
|
|
194
|
+
};
|
|
195
|
+
export const OrgFeatureStatus = {
|
|
196
|
+
ALL: "ALL",
|
|
197
|
+
NEW: "NEW",
|
|
198
|
+
NONE: "NONE",
|
|
199
|
+
};
|
|
200
|
+
export const OrgFeatureAdditionalConfiguration = {
|
|
201
|
+
EC2_AGENT_MANAGEMENT: "EC2_AGENT_MANAGEMENT",
|
|
202
|
+
ECS_FARGATE_AGENT_MANAGEMENT: "ECS_FARGATE_AGENT_MANAGEMENT",
|
|
203
|
+
EKS_ADDON_MANAGEMENT: "EKS_ADDON_MANAGEMENT",
|
|
204
|
+
};
|
|
205
|
+
export const OrgFeature = {
|
|
206
|
+
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
207
|
+
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
208
|
+
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
209
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
210
|
+
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
211
|
+
RUNTIME_MONITORING: "RUNTIME_MONITORING",
|
|
212
|
+
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
213
|
+
};
|
|
214
|
+
export const PublishingStatus = {
|
|
215
|
+
PENDING_VERIFICATION: "PENDING_VERIFICATION",
|
|
216
|
+
PUBLISHING: "PUBLISHING",
|
|
217
|
+
STOPPED: "STOPPED",
|
|
218
|
+
UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY: "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY",
|
|
219
|
+
};
|
|
220
|
+
export const NetworkDirection = {
|
|
221
|
+
INBOUND: "INBOUND",
|
|
222
|
+
OUTBOUND: "OUTBOUND",
|
|
223
|
+
};
|
|
224
|
+
export const KubernetesResourcesTypes = {
|
|
225
|
+
CRONJOBS: "CRONJOBS",
|
|
226
|
+
DAEMONSETS: "DAEMONSETS",
|
|
227
|
+
DEPLOYMENTS: "DEPLOYMENTS",
|
|
228
|
+
JOBS: "JOBS",
|
|
229
|
+
PODS: "PODS",
|
|
230
|
+
REPLICASETS: "REPLICASETS",
|
|
231
|
+
REPLICATIONCONTROLLERS: "REPLICATIONCONTROLLERS",
|
|
232
|
+
STATEFULSETS: "STATEFULSETS",
|
|
233
|
+
};
|
|
234
|
+
export const PublicAccessStatus = {
|
|
235
|
+
ALLOWED: "ALLOWED",
|
|
236
|
+
BLOCKED: "BLOCKED",
|
|
237
|
+
};
|
|
238
|
+
export const PublicAclIgnoreBehavior = {
|
|
239
|
+
IGNORED: "IGNORED",
|
|
240
|
+
NOT_IGNORED: "NOT_IGNORED",
|
|
241
|
+
};
|
|
242
|
+
export const PublicBucketRestrictBehavior = {
|
|
243
|
+
NOT_RESTRICTED: "NOT_RESTRICTED",
|
|
244
|
+
RESTRICTED: "RESTRICTED",
|
|
245
|
+
};
|
|
246
|
+
export const FindingResourceType = {
|
|
247
|
+
ACCESS_KEY: "ACCESS_KEY",
|
|
248
|
+
CONTAINER: "CONTAINER",
|
|
249
|
+
EC2_INSTANCE: "EC2_INSTANCE",
|
|
250
|
+
EC2_NETWORK_INTERFACE: "EC2_NETWORK_INTERFACE",
|
|
251
|
+
EKS_CLUSTER: "EKS_CLUSTER",
|
|
252
|
+
KUBERNETES_WORKLOAD: "KUBERNETES_WORKLOAD",
|
|
253
|
+
S3_BUCKET: "S3_BUCKET",
|
|
254
|
+
S3_OBJECT: "S3_OBJECT",
|
|
255
|
+
};
|
|
256
|
+
export const IndicatorType = {
|
|
257
|
+
ATTACK_TACTIC: "ATTACK_TACTIC",
|
|
258
|
+
ATTACK_TECHNIQUE: "ATTACK_TECHNIQUE",
|
|
259
|
+
CRYPTOMINING_DOMAIN: "CRYPTOMINING_DOMAIN",
|
|
260
|
+
CRYPTOMINING_IP: "CRYPTOMINING_IP",
|
|
261
|
+
CRYPTOMINING_PROCESS: "CRYPTOMINING_PROCESS",
|
|
262
|
+
HIGH_RISK_API: "HIGH_RISK_API",
|
|
263
|
+
MALICIOUS_DOMAIN: "MALICIOUS_DOMAIN",
|
|
264
|
+
MALICIOUS_IP: "MALICIOUS_IP",
|
|
265
|
+
MALICIOUS_PROCESS: "MALICIOUS_PROCESS",
|
|
266
|
+
SUSPICIOUS_NETWORK: "SUSPICIOUS_NETWORK",
|
|
267
|
+
SUSPICIOUS_PROCESS: "SUSPICIOUS_PROCESS",
|
|
268
|
+
SUSPICIOUS_USER_AGENT: "SUSPICIOUS_USER_AGENT",
|
|
269
|
+
TOR_IP: "TOR_IP",
|
|
270
|
+
UNUSUAL_API_FOR_ACCOUNT: "UNUSUAL_API_FOR_ACCOUNT",
|
|
271
|
+
UNUSUAL_ASN_FOR_ACCOUNT: "UNUSUAL_ASN_FOR_ACCOUNT",
|
|
272
|
+
UNUSUAL_ASN_FOR_USER: "UNUSUAL_ASN_FOR_USER",
|
|
273
|
+
};
|
|
274
|
+
export const SignalType = {
|
|
275
|
+
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
276
|
+
DNS_LOGS: "DNS_LOGS",
|
|
277
|
+
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
278
|
+
FINDING: "FINDING",
|
|
279
|
+
FLOW_LOGS: "FLOW_LOGS",
|
|
280
|
+
RUNTIME_MONITORING: "RUNTIME_MONITORING",
|
|
281
|
+
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
282
|
+
};
|
|
283
|
+
export const DetectionSource = {
|
|
284
|
+
AMAZON: "AMAZON",
|
|
285
|
+
BITDEFENDER: "BITDEFENDER",
|
|
286
|
+
};
|
|
287
|
+
export const DetectorFeatureResult = {
|
|
288
|
+
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
289
|
+
DNS_LOGS: "DNS_LOGS",
|
|
290
|
+
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
291
|
+
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
292
|
+
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
293
|
+
FLOW_LOGS: "FLOW_LOGS",
|
|
294
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
295
|
+
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
296
|
+
RUNTIME_MONITORING: "RUNTIME_MONITORING",
|
|
297
|
+
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
298
|
+
};
|
|
299
|
+
export const DetectorStatus = {
|
|
300
|
+
DISABLED: "DISABLED",
|
|
301
|
+
ENABLED: "ENABLED",
|
|
302
|
+
};
|
|
303
|
+
export const EbsSnapshotPreservation = {
|
|
304
|
+
NO_RETENTION: "NO_RETENTION",
|
|
305
|
+
RETENTION_WITH_FINDING: "RETENTION_WITH_FINDING",
|
|
306
|
+
};
|
|
307
|
+
export const Feedback = {
|
|
308
|
+
NOT_USEFUL: "NOT_USEFUL",
|
|
309
|
+
USEFUL: "USEFUL",
|
|
310
|
+
};
|
|
311
|
+
export const ScanCategory = {
|
|
312
|
+
FULL_SCAN: "FULL_SCAN",
|
|
313
|
+
INCREMENTAL_SCAN: "INCREMENTAL_SCAN",
|
|
314
|
+
};
|
|
315
|
+
export const MalwareProtectionScanType = {
|
|
316
|
+
BACKUP_INITIATED: "BACKUP_INITIATED",
|
|
317
|
+
GUARDDUTY_INITIATED: "GUARDDUTY_INITIATED",
|
|
318
|
+
ON_DEMAND: "ON_DEMAND",
|
|
319
|
+
};
|
|
320
|
+
export const FindingStatisticType = {
|
|
321
|
+
COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY",
|
|
322
|
+
};
|
|
323
|
+
export const GroupByType = {
|
|
324
|
+
ACCOUNT: "ACCOUNT",
|
|
325
|
+
DATE: "DATE",
|
|
326
|
+
FINDING_TYPE: "FINDING_TYPE",
|
|
327
|
+
RESOURCE: "RESOURCE",
|
|
328
|
+
SEVERITY: "SEVERITY",
|
|
329
|
+
};
|
|
330
|
+
export const IpSetStatus = {
|
|
331
|
+
ACTIVATING: "ACTIVATING",
|
|
332
|
+
ACTIVE: "ACTIVE",
|
|
333
|
+
DEACTIVATING: "DEACTIVATING",
|
|
334
|
+
DELETED: "DELETED",
|
|
335
|
+
DELETE_PENDING: "DELETE_PENDING",
|
|
336
|
+
ERROR: "ERROR",
|
|
337
|
+
INACTIVE: "INACTIVE",
|
|
338
|
+
};
|
|
339
|
+
export const MalwareProtectionPlanStatus = {
|
|
340
|
+
ACTIVE: "ACTIVE",
|
|
341
|
+
ERROR: "ERROR",
|
|
342
|
+
WARNING: "WARNING",
|
|
343
|
+
};
|
|
344
|
+
export const MalwareProtectionResourceType = {
|
|
345
|
+
EBS_RECOVERY_POINT: "EBS_RECOVERY_POINT",
|
|
346
|
+
EBS_SNAPSHOT: "EBS_SNAPSHOT",
|
|
347
|
+
EBS_VOLUME: "EBS_VOLUME",
|
|
348
|
+
EC2_AMI: "EC2_AMI",
|
|
349
|
+
EC2_INSTANCE: "EC2_INSTANCE",
|
|
350
|
+
EC2_RECOVERY_POINT: "EC2_RECOVERY_POINT",
|
|
351
|
+
S3_BUCKET: "S3_BUCKET",
|
|
352
|
+
S3_RECOVERY_POINT: "S3_RECOVERY_POINT",
|
|
353
|
+
};
|
|
354
|
+
export const MalwareProtectionScanStatus = {
|
|
355
|
+
COMPLETED: "COMPLETED",
|
|
356
|
+
COMPLETED_WITH_ISSUES: "COMPLETED_WITH_ISSUES",
|
|
357
|
+
FAILED: "FAILED",
|
|
358
|
+
RUNNING: "RUNNING",
|
|
359
|
+
SKIPPED: "SKIPPED",
|
|
360
|
+
};
|
|
361
|
+
export const ScanStatusReason = {
|
|
362
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
363
|
+
AMI_SNAPSHOT_LIMIT_EXCEEDED: "AMI_SNAPSHOT_LIMIT_EXCEEDED",
|
|
364
|
+
BASE_CREATED_AFTER_TARGET: "BASE_CREATED_AFTER_TARGET",
|
|
365
|
+
BASE_RESOURCE_NOT_SCANNED: "BASE_RESOURCE_NOT_SCANNED",
|
|
366
|
+
INCONSISTENT_SOURCE: "INCONSISTENT_SOURCE",
|
|
367
|
+
INCREMENTAL_NO_DIFFERENCE: "INCREMENTAL_NO_DIFFERENCE",
|
|
368
|
+
NO_EBS_VOLUMES_FOUND: "NO_EBS_VOLUMES_FOUND",
|
|
369
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
370
|
+
RESOURCE_UNAVAILABLE: "RESOURCE_UNAVAILABLE",
|
|
371
|
+
SNAPSHOT_SIZE_LIMIT_EXCEEDED: "SNAPSHOT_SIZE_LIMIT_EXCEEDED",
|
|
372
|
+
UNRELATED_RESOURCES: "UNRELATED_RESOURCES",
|
|
373
|
+
UNSUPPORTED_AMI: "UNSUPPORTED_AMI",
|
|
374
|
+
UNSUPPORTED_COMPOSITE_RECOVERY_POINT: "UNSUPPORTED_COMPOSITE_RECOVERY_POINT",
|
|
375
|
+
UNSUPPORTED_FOR_INCREMENTAL: "UNSUPPORTED_FOR_INCREMENTAL",
|
|
376
|
+
UNSUPPORTED_PRODUCT_CODE_TYPE: "UNSUPPORTED_PRODUCT_CODE_TYPE",
|
|
377
|
+
UNSUPPORTED_SNAPSHOT: "UNSUPPORTED_SNAPSHOT",
|
|
378
|
+
};
|
|
379
|
+
export const ScanResultStatus = {
|
|
380
|
+
NO_THREATS_FOUND: "NO_THREATS_FOUND",
|
|
381
|
+
THREATS_FOUND: "THREATS_FOUND",
|
|
382
|
+
};
|
|
383
|
+
export const ScanCriterionKey = {
|
|
384
|
+
EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG",
|
|
385
|
+
};
|
|
386
|
+
export const ThreatEntitySetStatus = {
|
|
387
|
+
ACTIVATING: "ACTIVATING",
|
|
388
|
+
ACTIVE: "ACTIVE",
|
|
389
|
+
DEACTIVATING: "DEACTIVATING",
|
|
390
|
+
DELETED: "DELETED",
|
|
391
|
+
DELETE_PENDING: "DELETE_PENDING",
|
|
392
|
+
ERROR: "ERROR",
|
|
393
|
+
INACTIVE: "INACTIVE",
|
|
394
|
+
};
|
|
395
|
+
export const ThreatIntelSetStatus = {
|
|
396
|
+
ACTIVATING: "ACTIVATING",
|
|
397
|
+
ACTIVE: "ACTIVE",
|
|
398
|
+
DEACTIVATING: "DEACTIVATING",
|
|
399
|
+
DELETED: "DELETED",
|
|
400
|
+
DELETE_PENDING: "DELETE_PENDING",
|
|
401
|
+
ERROR: "ERROR",
|
|
402
|
+
INACTIVE: "INACTIVE",
|
|
403
|
+
};
|
|
404
|
+
export const TrustedEntitySetStatus = {
|
|
405
|
+
ACTIVATING: "ACTIVATING",
|
|
406
|
+
ACTIVE: "ACTIVE",
|
|
407
|
+
DEACTIVATING: "DEACTIVATING",
|
|
408
|
+
DELETED: "DELETED",
|
|
409
|
+
DELETE_PENDING: "DELETE_PENDING",
|
|
410
|
+
ERROR: "ERROR",
|
|
411
|
+
INACTIVE: "INACTIVE",
|
|
412
|
+
};
|
|
413
|
+
export const UsageFeature = {
|
|
414
|
+
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
415
|
+
DNS_LOGS: "DNS_LOGS",
|
|
416
|
+
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
417
|
+
EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING",
|
|
418
|
+
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
419
|
+
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
420
|
+
FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING",
|
|
421
|
+
FLOW_LOGS: "FLOW_LOGS",
|
|
422
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
423
|
+
RDS_DBI_PROTECTION_PROVISIONED: "RDS_DBI_PROTECTION_PROVISIONED",
|
|
424
|
+
RDS_DBI_PROTECTION_SERVERLESS: "RDS_DBI_PROTECTION_SERVERLESS",
|
|
425
|
+
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
426
|
+
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
427
|
+
};
|
|
428
|
+
export const UsageStatisticType = {
|
|
429
|
+
SUM_BY_ACCOUNT: "SUM_BY_ACCOUNT",
|
|
430
|
+
SUM_BY_DATA_SOURCE: "SUM_BY_DATA_SOURCE",
|
|
431
|
+
SUM_BY_FEATURES: "SUM_BY_FEATURES",
|
|
432
|
+
SUM_BY_RESOURCE: "SUM_BY_RESOURCE",
|
|
433
|
+
TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE",
|
|
434
|
+
TOP_RESOURCES: "TOP_RESOURCES",
|
|
435
|
+
};
|
|
436
|
+
export const ListMalwareScansCriterionKey = {
|
|
437
|
+
ACCOUNT_ID: "ACCOUNT_ID",
|
|
438
|
+
GUARDDUTY_FINDING_ID: "GUARDDUTY_FINDING_ID",
|
|
439
|
+
RESOURCE_ARN: "RESOURCE_ARN",
|
|
440
|
+
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
441
|
+
SCAN_ID: "SCAN_ID",
|
|
442
|
+
SCAN_START_TIME: "SCAN_START_TIME",
|
|
443
|
+
SCAN_STATUS: "SCAN_STATUS",
|
|
444
|
+
SCAN_TYPE: "SCAN_TYPE",
|
|
445
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { GuardDutyServiceException as __BaseException } from "./GuardDutyServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
Type;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "BadRequestException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
this.Type = opts.Type;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class InternalServerErrorException extends __BaseException {
|
|
19
|
+
name = "InternalServerErrorException";
|
|
20
|
+
$fault = "server";
|
|
21
|
+
Message;
|
|
22
|
+
Type;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "InternalServerErrorException",
|
|
26
|
+
$fault: "server",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
30
|
+
this.Message = opts.Message;
|
|
31
|
+
this.Type = opts.Type;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class AccessDeniedException extends __BaseException {
|
|
35
|
+
name = "AccessDeniedException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Message;
|
|
38
|
+
Type;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "AccessDeniedException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
this.Type = opts.Type;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ConflictException extends __BaseException {
|
|
51
|
+
name = "ConflictException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
Type;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ConflictException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
62
|
+
this.Message = opts.Message;
|
|
63
|
+
this.Type = opts.Type;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
67
|
+
name = "ResourceNotFoundException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
Message;
|
|
70
|
+
Type;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ResourceNotFoundException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
78
|
+
this.Message = opts.Message;
|
|
79
|
+
this.Type = opts.Type;
|
|
80
|
+
}
|
|
81
|
+
}
|