@aws-sdk/client-guardduty 3.445.0 → 3.446.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/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/protocols/Aws_restJson1.js +123 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +123 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +68 -0
- package/dist-types/commands/ListMembersCommand.d.ts +2 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +1 -1
- package/dist-types/commands/StartMalwareScanCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +271 -173
- package/dist-types/models/models_1.d.ts +178 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPublishingDestinationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThreatIntelSetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMalwareScanCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +65 -42
- package/dist-types/ts3.4/models/models_1.d.ts +45 -0
- package/package.json +1 -1
|
@@ -11,7 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../GuardDutyClient";
|
|
14
|
-
import { ListMembersRequest
|
|
14
|
+
import { ListMembersRequest } from "../models/models_0";
|
|
15
|
+
import { ListMembersResponse } from "../models/models_1";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
17
|
export interface ListMembersCommandInput extends ListMembersRequest {}
|
|
17
18
|
export interface ListMembersCommandOutput
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListOrganizationAdminAccountsRequest,
|
|
16
16
|
ListOrganizationAdminAccountsResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface ListOrganizationAdminAccountsCommandInput
|
|
20
20
|
extends ListOrganizationAdminAccountsRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListPublishingDestinationsRequest,
|
|
16
16
|
ListPublishingDestinationsResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface ListPublishingDestinationsCommandInput
|
|
20
20
|
extends ListPublishingDestinationsRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListTagsForResourceRequest,
|
|
16
16
|
ListTagsForResourceResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface ListTagsForResourceCommandInput
|
|
20
20
|
extends ListTagsForResourceRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ListThreatIntelSetsRequest,
|
|
16
16
|
ListThreatIntelSetsResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface ListThreatIntelSetsCommandInput
|
|
20
20
|
extends ListThreatIntelSetsRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
StartMalwareScanRequest,
|
|
16
16
|
StartMalwareScanResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface StartMalwareScanCommandInput extends StartMalwareScanRequest {}
|
|
20
20
|
export interface StartMalwareScanCommandOutput
|
|
@@ -157,6 +157,28 @@ export interface KubernetesApiCallAction {
|
|
|
157
157
|
RemoteIpDetails?: RemoteIpDetails;
|
|
158
158
|
StatusCode?: number;
|
|
159
159
|
Parameters?: string;
|
|
160
|
+
Resource?: string;
|
|
161
|
+
Subresource?: string;
|
|
162
|
+
Namespace?: string;
|
|
163
|
+
ResourceName?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface KubernetesPermissionCheckedDetails {
|
|
166
|
+
Verb?: string;
|
|
167
|
+
Resource?: string;
|
|
168
|
+
Namespace?: string;
|
|
169
|
+
Allowed?: boolean;
|
|
170
|
+
}
|
|
171
|
+
export interface KubernetesRoleBindingDetails {
|
|
172
|
+
Kind?: string;
|
|
173
|
+
Name?: string;
|
|
174
|
+
Uid?: string;
|
|
175
|
+
RoleRefName?: string;
|
|
176
|
+
RoleRefKind?: string;
|
|
177
|
+
}
|
|
178
|
+
export interface KubernetesRoleDetails {
|
|
179
|
+
Kind?: string;
|
|
180
|
+
Name?: string;
|
|
181
|
+
Uid?: string;
|
|
160
182
|
}
|
|
161
183
|
export interface LocalIpDetails {
|
|
162
184
|
IpAddressV4?: string;
|
|
@@ -205,6 +227,9 @@ export interface Action {
|
|
|
205
227
|
PortProbeAction?: PortProbeAction;
|
|
206
228
|
KubernetesApiCallAction?: KubernetesApiCallAction;
|
|
207
229
|
RdsLoginAttemptAction?: RdsLoginAttemptAction;
|
|
230
|
+
KubernetesPermissionCheckedDetails?: KubernetesPermissionCheckedDetails;
|
|
231
|
+
KubernetesRoleBindingDetails?: KubernetesRoleBindingDetails;
|
|
232
|
+
KubernetesRoleDetails?: KubernetesRoleDetails;
|
|
208
233
|
}
|
|
209
234
|
export interface AddonDetails {
|
|
210
235
|
AddonVersion?: string;
|
|
@@ -225,6 +250,33 @@ export interface Administrator {
|
|
|
225
250
|
RelationshipStatus?: string;
|
|
226
251
|
InvitedAt?: string;
|
|
227
252
|
}
|
|
253
|
+
export interface Observations {
|
|
254
|
+
Text?: string[];
|
|
255
|
+
}
|
|
256
|
+
export declare const ProfileSubtype: {
|
|
257
|
+
readonly FREQUENT: "FREQUENT";
|
|
258
|
+
readonly INFREQUENT: "INFREQUENT";
|
|
259
|
+
readonly RARE: "RARE";
|
|
260
|
+
readonly UNSEEN: "UNSEEN";
|
|
261
|
+
};
|
|
262
|
+
export type ProfileSubtype =
|
|
263
|
+
(typeof ProfileSubtype)[keyof typeof ProfileSubtype];
|
|
264
|
+
export declare const ProfileType: {
|
|
265
|
+
readonly FREQUENCY: "FREQUENCY";
|
|
266
|
+
};
|
|
267
|
+
export type ProfileType = (typeof ProfileType)[keyof typeof ProfileType];
|
|
268
|
+
export interface AnomalyObject {
|
|
269
|
+
ProfileType?: ProfileType;
|
|
270
|
+
ProfileSubtype?: ProfileSubtype;
|
|
271
|
+
Observations?: Observations;
|
|
272
|
+
}
|
|
273
|
+
export interface AnomalyUnusual {
|
|
274
|
+
Behavior?: Record<string, Record<string, AnomalyObject>>;
|
|
275
|
+
}
|
|
276
|
+
export interface Anomaly {
|
|
277
|
+
Profiles?: Record<string, Record<string, AnomalyObject[]>>;
|
|
278
|
+
Unusual?: AnomalyUnusual;
|
|
279
|
+
}
|
|
228
280
|
export interface ArchiveFindingsRequest {
|
|
229
281
|
DetectorId: string | undefined;
|
|
230
282
|
FindingIds: string[] | undefined;
|
|
@@ -278,6 +330,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
278
330
|
}
|
|
279
331
|
export interface SecurityContext {
|
|
280
332
|
Privileged?: boolean;
|
|
333
|
+
AllowPrivilegeEscalation?: boolean;
|
|
281
334
|
}
|
|
282
335
|
export interface VolumeMount {
|
|
283
336
|
Name?: string;
|
|
@@ -819,6 +872,9 @@ export interface Destination {
|
|
|
819
872
|
DestinationType: DestinationType | undefined;
|
|
820
873
|
Status: PublishingStatus | undefined;
|
|
821
874
|
}
|
|
875
|
+
export interface Detection {
|
|
876
|
+
Anomaly?: Anomaly;
|
|
877
|
+
}
|
|
822
878
|
export interface DetectorAdditionalConfigurationResult {
|
|
823
879
|
Name?: FeatureAdditionalConfiguration;
|
|
824
880
|
Status?: FeatureStatus;
|
|
@@ -1024,11 +1080,16 @@ export interface InstanceDetails {
|
|
|
1024
1080
|
ProductCodes?: ProductCode[];
|
|
1025
1081
|
Tags?: Tag[];
|
|
1026
1082
|
}
|
|
1083
|
+
export interface ImpersonatedUser {
|
|
1084
|
+
Username?: string;
|
|
1085
|
+
Groups?: string[];
|
|
1086
|
+
}
|
|
1027
1087
|
export interface KubernetesUserDetails {
|
|
1028
1088
|
Username?: string;
|
|
1029
1089
|
Uid?: string;
|
|
1030
1090
|
Groups?: string[];
|
|
1031
1091
|
SessionName?: string[];
|
|
1092
|
+
ImpersonatedUser?: ImpersonatedUser;
|
|
1032
1093
|
}
|
|
1033
1094
|
export interface KubernetesWorkloadDetails {
|
|
1034
1095
|
Name?: string;
|
|
@@ -1038,6 +1099,9 @@ export interface KubernetesWorkloadDetails {
|
|
|
1038
1099
|
HostNetwork?: boolean;
|
|
1039
1100
|
Containers?: Container[];
|
|
1040
1101
|
Volumes?: Volume[];
|
|
1102
|
+
ServiceAccountName?: string;
|
|
1103
|
+
HostIPC?: boolean;
|
|
1104
|
+
HostPID?: boolean;
|
|
1041
1105
|
}
|
|
1042
1106
|
export interface KubernetesDetails {
|
|
1043
1107
|
KubernetesUserDetails?: KubernetesUserDetails;
|
|
@@ -1180,6 +1244,7 @@ export interface Service {
|
|
|
1180
1244
|
FeatureName?: string;
|
|
1181
1245
|
EbsVolumeScanDetails?: EbsVolumeScanDetails;
|
|
1182
1246
|
RuntimeDetails?: RuntimeDetails;
|
|
1247
|
+
Detection?: Detection;
|
|
1183
1248
|
}
|
|
1184
1249
|
export interface Finding {
|
|
1185
1250
|
AccountId: string | undefined;
|
|
@@ -1536,45 +1601,3 @@ export interface ListMembersRequest {
|
|
|
1536
1601
|
NextToken?: string;
|
|
1537
1602
|
OnlyAssociated?: string;
|
|
1538
1603
|
}
|
|
1539
|
-
export interface ListMembersResponse {
|
|
1540
|
-
Members?: Member[];
|
|
1541
|
-
NextToken?: string;
|
|
1542
|
-
}
|
|
1543
|
-
export interface ListOrganizationAdminAccountsRequest {
|
|
1544
|
-
MaxResults?: number;
|
|
1545
|
-
NextToken?: string;
|
|
1546
|
-
}
|
|
1547
|
-
export interface ListOrganizationAdminAccountsResponse {
|
|
1548
|
-
AdminAccounts?: AdminAccount[];
|
|
1549
|
-
NextToken?: string;
|
|
1550
|
-
}
|
|
1551
|
-
export interface ListPublishingDestinationsRequest {
|
|
1552
|
-
DetectorId: string | undefined;
|
|
1553
|
-
MaxResults?: number;
|
|
1554
|
-
NextToken?: string;
|
|
1555
|
-
}
|
|
1556
|
-
export interface ListPublishingDestinationsResponse {
|
|
1557
|
-
Destinations: Destination[] | undefined;
|
|
1558
|
-
NextToken?: string;
|
|
1559
|
-
}
|
|
1560
|
-
export interface ListTagsForResourceRequest {
|
|
1561
|
-
ResourceArn: string | undefined;
|
|
1562
|
-
}
|
|
1563
|
-
export interface ListTagsForResourceResponse {
|
|
1564
|
-
Tags?: Record<string, string>;
|
|
1565
|
-
}
|
|
1566
|
-
export interface ListThreatIntelSetsRequest {
|
|
1567
|
-
DetectorId: string | undefined;
|
|
1568
|
-
MaxResults?: number;
|
|
1569
|
-
NextToken?: string;
|
|
1570
|
-
}
|
|
1571
|
-
export interface ListThreatIntelSetsResponse {
|
|
1572
|
-
ThreatIntelSetIds: string[] | undefined;
|
|
1573
|
-
NextToken?: string;
|
|
1574
|
-
}
|
|
1575
|
-
export interface StartMalwareScanRequest {
|
|
1576
|
-
ResourceArn: string | undefined;
|
|
1577
|
-
}
|
|
1578
|
-
export interface StartMalwareScanResponse {
|
|
1579
|
-
ScanId?: string;
|
|
1580
|
-
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AdminAccount,
|
|
2
3
|
AutoEnableMembers,
|
|
3
4
|
DataSourceConfigurations,
|
|
5
|
+
Destination,
|
|
4
6
|
DestinationProperties,
|
|
5
7
|
DetectorFeatureConfiguration,
|
|
6
8
|
EbsSnapshotPreservation,
|
|
@@ -9,12 +11,55 @@ import {
|
|
|
9
11
|
FilterAction,
|
|
10
12
|
FindingCriteria,
|
|
11
13
|
FindingPublishingFrequency,
|
|
14
|
+
Member,
|
|
12
15
|
OrgFeature,
|
|
13
16
|
OrgFeatureAdditionalConfiguration,
|
|
14
17
|
OrgFeatureStatus,
|
|
15
18
|
ScanResourceCriteria,
|
|
16
19
|
UnprocessedAccount,
|
|
17
20
|
} from "./models_0";
|
|
21
|
+
export interface ListMembersResponse {
|
|
22
|
+
Members?: Member[];
|
|
23
|
+
NextToken?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ListOrganizationAdminAccountsRequest {
|
|
26
|
+
MaxResults?: number;
|
|
27
|
+
NextToken?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ListOrganizationAdminAccountsResponse {
|
|
30
|
+
AdminAccounts?: AdminAccount[];
|
|
31
|
+
NextToken?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ListPublishingDestinationsRequest {
|
|
34
|
+
DetectorId: string | undefined;
|
|
35
|
+
MaxResults?: number;
|
|
36
|
+
NextToken?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface ListPublishingDestinationsResponse {
|
|
39
|
+
Destinations: Destination[] | undefined;
|
|
40
|
+
NextToken?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ListTagsForResourceRequest {
|
|
43
|
+
ResourceArn: string | undefined;
|
|
44
|
+
}
|
|
45
|
+
export interface ListTagsForResourceResponse {
|
|
46
|
+
Tags?: Record<string, string>;
|
|
47
|
+
}
|
|
48
|
+
export interface ListThreatIntelSetsRequest {
|
|
49
|
+
DetectorId: string | undefined;
|
|
50
|
+
MaxResults?: number;
|
|
51
|
+
NextToken?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface ListThreatIntelSetsResponse {
|
|
54
|
+
ThreatIntelSetIds: string[] | undefined;
|
|
55
|
+
NextToken?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface StartMalwareScanRequest {
|
|
58
|
+
ResourceArn: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface StartMalwareScanResponse {
|
|
61
|
+
ScanId?: string;
|
|
62
|
+
}
|
|
18
63
|
export interface StartMonitoringMembersRequest {
|
|
19
64
|
DetectorId: string | undefined;
|
|
20
65
|
AccountIds: string[] | undefined;
|
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.446.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",
|