@aws-sdk/client-guardduty 3.699.0 → 3.703.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/index.js +372 -71
- package/dist-es/commands/GetMembersCommand.js +1 -1
- package/dist-es/models/models_0.js +65 -25
- package/dist-es/models/models_1.js +26 -1
- package/dist-es/protocols/Aws_restJson1.js +219 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +172 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- 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/models/models_0.d.ts +1829 -1590
- package/dist-types/models/models_1.d.ts +569 -1
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- 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/models/models_0.d.ts +225 -164
- package/dist-types/ts3.4/models/models_1.d.ts +147 -3
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { GetMembersResponseFilterSensitiveLog } from "../models/
|
|
5
|
+
import { GetMembersResponseFilterSensitiveLog } from "../models/models_1";
|
|
6
6
|
import { de_GetMembersCommand, se_GetMembersCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class GetMembersCommand extends $Command
|
|
@@ -55,6 +55,10 @@ export const FreeTrialFeatureResult = {
|
|
|
55
55
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
56
56
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
57
57
|
};
|
|
58
|
+
export const MfaStatus = {
|
|
59
|
+
DISABLED: "DISABLED",
|
|
60
|
+
ENABLED: "ENABLED",
|
|
61
|
+
};
|
|
58
62
|
export const AdminStatus = {
|
|
59
63
|
DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
|
|
60
64
|
ENABLED: "ENABLED",
|
|
@@ -257,6 +261,46 @@ export const PublishingStatus = {
|
|
|
257
261
|
STOPPED: "STOPPED",
|
|
258
262
|
UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY: "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY",
|
|
259
263
|
};
|
|
264
|
+
export const NetworkDirection = {
|
|
265
|
+
INBOUND: "INBOUND",
|
|
266
|
+
OUTBOUND: "OUTBOUND",
|
|
267
|
+
};
|
|
268
|
+
export const PublicAccessStatus = {
|
|
269
|
+
ALLOWED: "ALLOWED",
|
|
270
|
+
BLOCKED: "BLOCKED",
|
|
271
|
+
};
|
|
272
|
+
export const PublicAclIgnoreBehavior = {
|
|
273
|
+
IGNORED: "IGNORED",
|
|
274
|
+
NOT_IGNORED: "NOT_IGNORED",
|
|
275
|
+
};
|
|
276
|
+
export const PublicBucketRestrictBehavior = {
|
|
277
|
+
NOT_RESTRICTED: "NOT_RESTRICTED",
|
|
278
|
+
RESTRICTED: "RESTRICTED",
|
|
279
|
+
};
|
|
280
|
+
export const FindingResourceType = {
|
|
281
|
+
ACCESS_KEY: "ACCESS_KEY",
|
|
282
|
+
EC2_INSTANCE: "EC2_INSTANCE",
|
|
283
|
+
EC2_NETWORK_INTERFACE: "EC2_NETWORK_INTERFACE",
|
|
284
|
+
S3_BUCKET: "S3_BUCKET",
|
|
285
|
+
S3_OBJECT: "S3_OBJECT",
|
|
286
|
+
};
|
|
287
|
+
export const IndicatorType = {
|
|
288
|
+
ATTACK_TACTIC: "ATTACK_TACTIC",
|
|
289
|
+
ATTACK_TECHNIQUE: "ATTACK_TECHNIQUE",
|
|
290
|
+
HIGH_RISK_API: "HIGH_RISK_API",
|
|
291
|
+
MALICIOUS_IP: "MALICIOUS_IP",
|
|
292
|
+
SUSPICIOUS_NETWORK: "SUSPICIOUS_NETWORK",
|
|
293
|
+
SUSPICIOUS_USER_AGENT: "SUSPICIOUS_USER_AGENT",
|
|
294
|
+
TOR_IP: "TOR_IP",
|
|
295
|
+
UNUSUAL_API_FOR_ACCOUNT: "UNUSUAL_API_FOR_ACCOUNT",
|
|
296
|
+
UNUSUAL_ASN_FOR_ACCOUNT: "UNUSUAL_ASN_FOR_ACCOUNT",
|
|
297
|
+
UNUSUAL_ASN_FOR_USER: "UNUSUAL_ASN_FOR_USER",
|
|
298
|
+
};
|
|
299
|
+
export const SignalType = {
|
|
300
|
+
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
301
|
+
FINDING: "FINDING",
|
|
302
|
+
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
303
|
+
};
|
|
260
304
|
export const DetectorFeatureResult = {
|
|
261
305
|
CLOUD_TRAIL: "CLOUD_TRAIL",
|
|
262
306
|
DNS_LOGS: "DNS_LOGS",
|
|
@@ -291,23 +335,6 @@ export const GroupByType = {
|
|
|
291
335
|
RESOURCE: "RESOURCE",
|
|
292
336
|
SEVERITY: "SEVERITY",
|
|
293
337
|
};
|
|
294
|
-
export const IpSetStatus = {
|
|
295
|
-
ACTIVATING: "ACTIVATING",
|
|
296
|
-
ACTIVE: "ACTIVE",
|
|
297
|
-
DEACTIVATING: "DEACTIVATING",
|
|
298
|
-
DELETED: "DELETED",
|
|
299
|
-
DELETE_PENDING: "DELETE_PENDING",
|
|
300
|
-
ERROR: "ERROR",
|
|
301
|
-
INACTIVE: "INACTIVE",
|
|
302
|
-
};
|
|
303
|
-
export const MalwareProtectionPlanStatus = {
|
|
304
|
-
ACTIVE: "ACTIVE",
|
|
305
|
-
ERROR: "ERROR",
|
|
306
|
-
WARNING: "WARNING",
|
|
307
|
-
};
|
|
308
|
-
export const ScanCriterionKey = {
|
|
309
|
-
EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG",
|
|
310
|
-
};
|
|
311
338
|
export const AccountDetailFilterSensitiveLog = (obj) => ({
|
|
312
339
|
...obj,
|
|
313
340
|
...(obj.Email && { Email: SENSITIVE_STRING }),
|
|
@@ -374,6 +401,27 @@ export const PrivateIpAddressDetailsFilterSensitiveLog = (obj) => ({
|
|
|
374
401
|
...obj,
|
|
375
402
|
...(obj.PrivateIpAddress && { PrivateIpAddress: SENSITIVE_STRING }),
|
|
376
403
|
});
|
|
404
|
+
export const Ec2NetworkInterfaceFilterSensitiveLog = (obj) => ({
|
|
405
|
+
...obj,
|
|
406
|
+
...(obj.PrivateIpAddresses && {
|
|
407
|
+
PrivateIpAddresses: obj.PrivateIpAddresses.map((item) => PrivateIpAddressDetailsFilterSensitiveLog(item)),
|
|
408
|
+
}),
|
|
409
|
+
});
|
|
410
|
+
export const ResourceDataFilterSensitiveLog = (obj) => ({
|
|
411
|
+
...obj,
|
|
412
|
+
...(obj.Ec2NetworkInterface && {
|
|
413
|
+
Ec2NetworkInterface: Ec2NetworkInterfaceFilterSensitiveLog(obj.Ec2NetworkInterface),
|
|
414
|
+
}),
|
|
415
|
+
});
|
|
416
|
+
export const ResourceV2FilterSensitiveLog = (obj) => ({
|
|
417
|
+
...obj,
|
|
418
|
+
});
|
|
419
|
+
export const SequenceFilterSensitiveLog = (obj) => ({
|
|
420
|
+
...obj,
|
|
421
|
+
});
|
|
422
|
+
export const DetectionFilterSensitiveLog = (obj) => ({
|
|
423
|
+
...obj,
|
|
424
|
+
});
|
|
377
425
|
export const NetworkInterfaceFilterSensitiveLog = (obj) => ({
|
|
378
426
|
...obj,
|
|
379
427
|
...(obj.PrivateIpAddress && { PrivateIpAddress: SENSITIVE_STRING }),
|
|
@@ -403,11 +451,3 @@ export const GetFindingsResponseFilterSensitiveLog = (obj) => ({
|
|
|
403
451
|
...obj,
|
|
404
452
|
...(obj.Findings && { Findings: obj.Findings.map((item) => FindingFilterSensitiveLog(item)) }),
|
|
405
453
|
});
|
|
406
|
-
export const MemberFilterSensitiveLog = (obj) => ({
|
|
407
|
-
...obj,
|
|
408
|
-
...(obj.Email && { Email: SENSITIVE_STRING }),
|
|
409
|
-
});
|
|
410
|
-
export const GetMembersResponseFilterSensitiveLog = (obj) => ({
|
|
411
|
-
...obj,
|
|
412
|
-
...(obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }),
|
|
413
|
-
});
|
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const IpSetStatus = {
|
|
3
|
+
ACTIVATING: "ACTIVATING",
|
|
4
|
+
ACTIVE: "ACTIVE",
|
|
5
|
+
DEACTIVATING: "DEACTIVATING",
|
|
6
|
+
DELETED: "DELETED",
|
|
7
|
+
DELETE_PENDING: "DELETE_PENDING",
|
|
8
|
+
ERROR: "ERROR",
|
|
9
|
+
INACTIVE: "INACTIVE",
|
|
10
|
+
};
|
|
11
|
+
export const MalwareProtectionPlanStatus = {
|
|
12
|
+
ACTIVE: "ACTIVE",
|
|
13
|
+
ERROR: "ERROR",
|
|
14
|
+
WARNING: "WARNING",
|
|
15
|
+
};
|
|
16
|
+
export const ScanCriterionKey = {
|
|
17
|
+
EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG",
|
|
18
|
+
};
|
|
2
19
|
export const ThreatIntelSetStatus = {
|
|
3
20
|
ACTIVATING: "ACTIVATING",
|
|
4
21
|
ACTIVE: "ACTIVE",
|
|
@@ -31,6 +48,14 @@ export const UsageStatisticType = {
|
|
|
31
48
|
TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE",
|
|
32
49
|
TOP_RESOURCES: "TOP_RESOURCES",
|
|
33
50
|
};
|
|
51
|
+
export const MemberFilterSensitiveLog = (obj) => ({
|
|
52
|
+
...obj,
|
|
53
|
+
...(obj.Email && { Email: SENSITIVE_STRING }),
|
|
54
|
+
});
|
|
55
|
+
export const GetMembersResponseFilterSensitiveLog = (obj) => ({
|
|
56
|
+
...obj,
|
|
57
|
+
...(obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }),
|
|
58
|
+
});
|
|
34
59
|
export const ListMembersResponseFilterSensitiveLog = (obj) => ({
|
|
35
60
|
...obj,
|
|
36
61
|
...(obj.Members && { Members: obj.Members.map((item) => MemberFilterSensitiveLog(item)) }),
|
|
@@ -2432,6 +2432,13 @@ const de_AccessControlList = (output, context) => {
|
|
|
2432
2432
|
AllowsPublicWriteAccess: [, __expectBoolean, `allowsPublicWriteAccess`],
|
|
2433
2433
|
});
|
|
2434
2434
|
};
|
|
2435
|
+
const de_AccessKey = (output, context) => {
|
|
2436
|
+
return take(output, {
|
|
2437
|
+
PrincipalId: [, __expectString, `principalId`],
|
|
2438
|
+
UserName: [, __expectString, `userName`],
|
|
2439
|
+
UserType: [, __expectString, `userType`],
|
|
2440
|
+
});
|
|
2441
|
+
};
|
|
2435
2442
|
const de_AccessKeyDetails = (output, context) => {
|
|
2436
2443
|
return take(output, {
|
|
2437
2444
|
AccessKeyId: [, __expectString, `accessKeyId`],
|
|
@@ -2440,6 +2447,12 @@ const de_AccessKeyDetails = (output, context) => {
|
|
|
2440
2447
|
UserType: [, __expectString, `userType`],
|
|
2441
2448
|
});
|
|
2442
2449
|
};
|
|
2450
|
+
const de_Account = (output, context) => {
|
|
2451
|
+
return take(output, {
|
|
2452
|
+
Name: [, __expectString, `account`],
|
|
2453
|
+
Uid: [, __expectString, `uid`],
|
|
2454
|
+
});
|
|
2455
|
+
};
|
|
2443
2456
|
const de_AccountFreeTrialInfo = (output, context) => {
|
|
2444
2457
|
return take(output, {
|
|
2445
2458
|
AccountId: [, __expectString, `accountId`],
|
|
@@ -2489,6 +2502,21 @@ const de_Action = (output, context) => {
|
|
|
2489
2502
|
RdsLoginAttemptAction: [, (_) => de_RdsLoginAttemptAction(_, context), `rdsLoginAttemptAction`],
|
|
2490
2503
|
});
|
|
2491
2504
|
};
|
|
2505
|
+
const de_Actor = (output, context) => {
|
|
2506
|
+
return take(output, {
|
|
2507
|
+
Id: [, __expectString, `id`],
|
|
2508
|
+
Session: [, (_) => de_Session(_, context), `session`],
|
|
2509
|
+
User: [, (_) => de_User(_, context), `user`],
|
|
2510
|
+
});
|
|
2511
|
+
};
|
|
2512
|
+
const de_Actors = (output, context) => {
|
|
2513
|
+
const retVal = (output || [])
|
|
2514
|
+
.filter((e) => e != null)
|
|
2515
|
+
.map((entry) => {
|
|
2516
|
+
return de_Actor(entry, context);
|
|
2517
|
+
});
|
|
2518
|
+
return retVal;
|
|
2519
|
+
};
|
|
2492
2520
|
const de_AddonDetails = (output, context) => {
|
|
2493
2521
|
return take(output, {
|
|
2494
2522
|
AddonStatus: [, __expectString, `addonStatus`],
|
|
@@ -2575,6 +2603,12 @@ const de_AnomalyUnusualBehaviorFeature = (output, context) => {
|
|
|
2575
2603
|
return acc;
|
|
2576
2604
|
}, {});
|
|
2577
2605
|
};
|
|
2606
|
+
const de_AutonomousSystem = (output, context) => {
|
|
2607
|
+
return take(output, {
|
|
2608
|
+
Name: [, __expectString, `name`],
|
|
2609
|
+
Number: [, __expectInt32, `number`],
|
|
2610
|
+
});
|
|
2611
|
+
};
|
|
2578
2612
|
const de_AwsApiCallAction = (output, context) => {
|
|
2579
2613
|
return take(output, {
|
|
2580
2614
|
AffectedResources: [, _json, `affectedResources`],
|
|
@@ -2816,6 +2850,7 @@ const de_Destinations = (output, context) => {
|
|
|
2816
2850
|
const de_Detection = (output, context) => {
|
|
2817
2851
|
return take(output, {
|
|
2818
2852
|
Anomaly: [, (_) => de_Anomaly(_, context), `anomaly`],
|
|
2853
|
+
Sequence: [, (_) => de_Sequence(_, context), `sequence`],
|
|
2819
2854
|
});
|
|
2820
2855
|
};
|
|
2821
2856
|
const de_DetectorAdditionalConfigurationResult = (output, context) => {
|
|
@@ -2894,6 +2929,29 @@ const de_EbsVolumesResult = (output, context) => {
|
|
|
2894
2929
|
Status: [, __expectString, `status`],
|
|
2895
2930
|
});
|
|
2896
2931
|
};
|
|
2932
|
+
const de_Ec2Instance = (output, context) => {
|
|
2933
|
+
return take(output, {
|
|
2934
|
+
AvailabilityZone: [, __expectString, `availabilityZone`],
|
|
2935
|
+
Ec2NetworkInterfaceUids: [, _json, `ec2NetworkInterfaceUids`],
|
|
2936
|
+
IamInstanceProfile: (_) => de_IamInstanceProfile(_, context),
|
|
2937
|
+
ImageDescription: [, __expectString, `imageDescription`],
|
|
2938
|
+
InstanceState: [, __expectString, `instanceState`],
|
|
2939
|
+
InstanceType: [, __expectString, `instanceType`],
|
|
2940
|
+
OutpostArn: [, __expectString, `outpostArn`],
|
|
2941
|
+
Platform: [, __expectString, `platform`],
|
|
2942
|
+
ProductCodes: [, (_) => de_ProductCodes(_, context), `productCodes`],
|
|
2943
|
+
});
|
|
2944
|
+
};
|
|
2945
|
+
const de_Ec2NetworkInterface = (output, context) => {
|
|
2946
|
+
return take(output, {
|
|
2947
|
+
Ipv6Addresses: [, _json, `ipv6Addresses`],
|
|
2948
|
+
PrivateIpAddresses: [, (_) => de_PrivateIpAddresses(_, context), `privateIpAddresses`],
|
|
2949
|
+
PublicIp: [, __expectString, `publicIp`],
|
|
2950
|
+
SecurityGroups: [, (_) => de_SecurityGroups(_, context), `securityGroups`],
|
|
2951
|
+
SubNetId: [, __expectString, `subNetId`],
|
|
2952
|
+
VpcId: [, __expectString, `vpcId`],
|
|
2953
|
+
});
|
|
2954
|
+
};
|
|
2897
2955
|
const de_EcsClusterDetails = (output, context) => {
|
|
2898
2956
|
return take(output, {
|
|
2899
2957
|
ActiveServicesCount: [, __expectInt32, `activeServicesCount`],
|
|
@@ -2954,6 +3012,7 @@ const de_Finding = (output, context) => {
|
|
|
2954
3012
|
return take(output, {
|
|
2955
3013
|
AccountId: [, __expectString, `accountId`],
|
|
2956
3014
|
Arn: [, __expectString, `arn`],
|
|
3015
|
+
AssociatedAttackSequenceArn: [, __expectString, `associatedAttackSequenceArn`],
|
|
2957
3016
|
Confidence: [, __limitedParseDouble, `confidence`],
|
|
2958
3017
|
CreatedAt: [, __expectString, `createdAt`],
|
|
2959
3018
|
Description: [, __expectString, `description`],
|
|
@@ -3088,6 +3147,21 @@ const de_ImpersonatedUser = (output, context) => {
|
|
|
3088
3147
|
Username: [, __expectString, `username`],
|
|
3089
3148
|
});
|
|
3090
3149
|
};
|
|
3150
|
+
const de_Indicator = (output, context) => {
|
|
3151
|
+
return take(output, {
|
|
3152
|
+
Key: [, __expectString, `key`],
|
|
3153
|
+
Title: [, __expectString, `title`],
|
|
3154
|
+
Values: [, _json, `values`],
|
|
3155
|
+
});
|
|
3156
|
+
};
|
|
3157
|
+
const de_Indicators = (output, context) => {
|
|
3158
|
+
const retVal = (output || [])
|
|
3159
|
+
.filter((e) => e != null)
|
|
3160
|
+
.map((entry) => {
|
|
3161
|
+
return de_Indicator(entry, context);
|
|
3162
|
+
});
|
|
3163
|
+
return retVal;
|
|
3164
|
+
};
|
|
3091
3165
|
const de_InstanceDetails = (output, context) => {
|
|
3092
3166
|
return take(output, {
|
|
3093
3167
|
AvailabilityZone: [, __expectString, `availabilityZone`],
|
|
@@ -3423,6 +3497,11 @@ const de_Members = (output, context) => {
|
|
|
3423
3497
|
});
|
|
3424
3498
|
return retVal;
|
|
3425
3499
|
};
|
|
3500
|
+
const de_NetworkConnection = (output, context) => {
|
|
3501
|
+
return take(output, {
|
|
3502
|
+
Direction: [, __expectString, `direction`],
|
|
3503
|
+
});
|
|
3504
|
+
};
|
|
3426
3505
|
const de_NetworkConnectionAction = (output, context) => {
|
|
3427
3506
|
return take(output, {
|
|
3428
3507
|
Blocked: [, __expectBoolean, `blocked`],
|
|
@@ -3435,6 +3514,33 @@ const de_NetworkConnectionAction = (output, context) => {
|
|
|
3435
3514
|
RemotePortDetails: [, (_) => de_RemotePortDetails(_, context), `remotePortDetails`],
|
|
3436
3515
|
});
|
|
3437
3516
|
};
|
|
3517
|
+
const de_NetworkEndpoint = (output, context) => {
|
|
3518
|
+
return take(output, {
|
|
3519
|
+
AutonomousSystem: [, (_) => de_AutonomousSystem(_, context), `autonomousSystem`],
|
|
3520
|
+
Connection: [, (_) => de_NetworkConnection(_, context), `connection`],
|
|
3521
|
+
Domain: [, __expectString, `domain`],
|
|
3522
|
+
Id: [, __expectString, `id`],
|
|
3523
|
+
Ip: [, __expectString, `ip`],
|
|
3524
|
+
Location: [, (_) => de_NetworkGeoLocation(_, context), `location`],
|
|
3525
|
+
Port: [, __expectInt32, `port`],
|
|
3526
|
+
});
|
|
3527
|
+
};
|
|
3528
|
+
const de_NetworkEndpoints = (output, context) => {
|
|
3529
|
+
const retVal = (output || [])
|
|
3530
|
+
.filter((e) => e != null)
|
|
3531
|
+
.map((entry) => {
|
|
3532
|
+
return de_NetworkEndpoint(entry, context);
|
|
3533
|
+
});
|
|
3534
|
+
return retVal;
|
|
3535
|
+
};
|
|
3536
|
+
const de_NetworkGeoLocation = (output, context) => {
|
|
3537
|
+
return take(output, {
|
|
3538
|
+
City: [, __expectString, `city`],
|
|
3539
|
+
Country: [, __expectString, `country`],
|
|
3540
|
+
Latitude: [, __limitedParseDouble, `lat`],
|
|
3541
|
+
Longitude: [, __limitedParseDouble, `lon`],
|
|
3542
|
+
});
|
|
3543
|
+
};
|
|
3438
3544
|
const de_NetworkInterface = (output, context) => {
|
|
3439
3545
|
return take(output, {
|
|
3440
3546
|
Ipv6Addresses: [, _json, `ipv6Addresses`],
|
|
@@ -3679,6 +3785,14 @@ const de_PublicAccess = (output, context) => {
|
|
|
3679
3785
|
PermissionConfiguration: [, (_) => de_PermissionConfiguration(_, context), `permissionConfiguration`],
|
|
3680
3786
|
});
|
|
3681
3787
|
};
|
|
3788
|
+
const de_PublicAccessConfiguration = (output, context) => {
|
|
3789
|
+
return take(output, {
|
|
3790
|
+
PublicAclAccess: [, __expectString, `publicAclAccess`],
|
|
3791
|
+
PublicAclIgnoreBehavior: [, __expectString, `publicAclIgnoreBehavior`],
|
|
3792
|
+
PublicBucketRestrictBehavior: [, __expectString, `publicBucketRestrictBehavior`],
|
|
3793
|
+
PublicPolicyAccess: [, __expectString, `publicPolicyAccess`],
|
|
3794
|
+
});
|
|
3795
|
+
};
|
|
3682
3796
|
const de_RdsDbInstanceDetails = (output, context) => {
|
|
3683
3797
|
return take(output, {
|
|
3684
3798
|
DbClusterIdentifier: [, __expectString, `dbClusterIdentifier`],
|
|
@@ -3754,11 +3868,28 @@ const de_Resource = (output, context) => {
|
|
|
3754
3868
|
S3BucketDetails: [, (_) => de_S3BucketDetails(_, context), `s3BucketDetails`],
|
|
3755
3869
|
});
|
|
3756
3870
|
};
|
|
3871
|
+
const de_ResourceData = (output, context) => {
|
|
3872
|
+
return take(output, {
|
|
3873
|
+
AccessKey: [, (_) => de_AccessKey(_, context), `accessKey`],
|
|
3874
|
+
Ec2Instance: [, (_) => de_Ec2Instance(_, context), `ec2Instance`],
|
|
3875
|
+
Ec2NetworkInterface: [, (_) => de_Ec2NetworkInterface(_, context), `ec2NetworkInterface`],
|
|
3876
|
+
S3Bucket: [, (_) => de_S3Bucket(_, context), `s3Bucket`],
|
|
3877
|
+
S3Object: [, (_) => de_S3Object(_, context), `s3Object`],
|
|
3878
|
+
});
|
|
3879
|
+
};
|
|
3757
3880
|
const de_ResourceDetails = (output, context) => {
|
|
3758
3881
|
return take(output, {
|
|
3759
3882
|
InstanceArn: [, __expectString, `instanceArn`],
|
|
3760
3883
|
});
|
|
3761
3884
|
};
|
|
3885
|
+
const de_Resources = (output, context) => {
|
|
3886
|
+
const retVal = (output || [])
|
|
3887
|
+
.filter((e) => e != null)
|
|
3888
|
+
.map((entry) => {
|
|
3889
|
+
return de_ResourceV2(entry, context);
|
|
3890
|
+
});
|
|
3891
|
+
return retVal;
|
|
3892
|
+
};
|
|
3762
3893
|
const de_ResourceStatistics = (output, context) => {
|
|
3763
3894
|
return take(output, {
|
|
3764
3895
|
AccountId: [, __expectString, `accountId`],
|
|
@@ -3768,6 +3899,19 @@ const de_ResourceStatistics = (output, context) => {
|
|
|
3768
3899
|
TotalFindings: [, __expectInt32, `totalFindings`],
|
|
3769
3900
|
});
|
|
3770
3901
|
};
|
|
3902
|
+
const de_ResourceV2 = (output, context) => {
|
|
3903
|
+
return take(output, {
|
|
3904
|
+
AccountId: [, __expectString, `accountId`],
|
|
3905
|
+
CloudPartition: [, __expectString, `cloudPartition`],
|
|
3906
|
+
Data: [, (_) => de_ResourceData(_, context), `data`],
|
|
3907
|
+
Name: [, __expectString, `name`],
|
|
3908
|
+
Region: [, __expectString, `region`],
|
|
3909
|
+
ResourceType: [, __expectString, `resourceType`],
|
|
3910
|
+
Service: [, __expectString, `service`],
|
|
3911
|
+
Tags: [, (_) => de_Tags(_, context), `tags`],
|
|
3912
|
+
Uid: [, __expectString, `uid`],
|
|
3913
|
+
});
|
|
3914
|
+
};
|
|
3771
3915
|
const de_RuntimeContext = (output, context) => {
|
|
3772
3916
|
return take(output, {
|
|
3773
3917
|
AddressFamily: [, __expectString, `addressFamily`],
|
|
@@ -3803,6 +3947,20 @@ const de_RuntimeDetails = (output, context) => {
|
|
|
3803
3947
|
Process: [, (_) => de_ProcessDetails(_, context), `process`],
|
|
3804
3948
|
});
|
|
3805
3949
|
};
|
|
3950
|
+
const de_S3Bucket = (output, context) => {
|
|
3951
|
+
return take(output, {
|
|
3952
|
+
AccountPublicAccess: [, (_) => de_PublicAccessConfiguration(_, context), `accountPublicAccess`],
|
|
3953
|
+
BucketPublicAccess: [, (_) => de_PublicAccessConfiguration(_, context), `bucketPublicAccess`],
|
|
3954
|
+
CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `createdAt`],
|
|
3955
|
+
EffectivePermission: [, __expectString, `effectivePermission`],
|
|
3956
|
+
EncryptionKeyArn: [, __expectString, `encryptionKeyArn`],
|
|
3957
|
+
EncryptionType: [, __expectString, `encryptionType`],
|
|
3958
|
+
OwnerId: [, __expectString, `ownerId`],
|
|
3959
|
+
PublicReadAccess: [, __expectString, `publicReadAccess`],
|
|
3960
|
+
PublicWriteAccess: [, __expectString, `publicWriteAccess`],
|
|
3961
|
+
S3ObjectUids: [, _json, `s3ObjectUids`],
|
|
3962
|
+
});
|
|
3963
|
+
};
|
|
3806
3964
|
const de_S3BucketDetail = (output, context) => {
|
|
3807
3965
|
return take(output, {
|
|
3808
3966
|
Arn: [, __expectString, `arn`],
|
|
@@ -3833,6 +3991,13 @@ const de_S3LogsConfigurationResult = (output, context) => {
|
|
|
3833
3991
|
Status: [, __expectString, `status`],
|
|
3834
3992
|
});
|
|
3835
3993
|
};
|
|
3994
|
+
const de_S3Object = (output, context) => {
|
|
3995
|
+
return take(output, {
|
|
3996
|
+
ETag: [, __expectString, `eTag`],
|
|
3997
|
+
Key: [, __expectString, `key`],
|
|
3998
|
+
VersionId: [, __expectString, `versionId`],
|
|
3999
|
+
});
|
|
4000
|
+
};
|
|
3836
4001
|
const de_S3ObjectDetail = (output, context) => {
|
|
3837
4002
|
return take(output, {
|
|
3838
4003
|
ETag: [, __expectString, `eTag`],
|
|
@@ -3976,6 +4141,17 @@ const de_SecurityGroups = (output, context) => {
|
|
|
3976
4141
|
});
|
|
3977
4142
|
return retVal;
|
|
3978
4143
|
};
|
|
4144
|
+
const de_Sequence = (output, context) => {
|
|
4145
|
+
return take(output, {
|
|
4146
|
+
Actors: [, (_) => de_Actors(_, context), `actors`],
|
|
4147
|
+
Description: [, __expectString, `description`],
|
|
4148
|
+
Endpoints: [, (_) => de_NetworkEndpoints(_, context), `endpoints`],
|
|
4149
|
+
Resources: [, (_) => de_Resources(_, context), `resources`],
|
|
4150
|
+
SequenceIndicators: [, (_) => de_Indicators(_, context), `sequenceIndicators`],
|
|
4151
|
+
Signals: [, (_) => de_Signals(_, context), `signals`],
|
|
4152
|
+
Uid: [, __expectString, `uid`],
|
|
4153
|
+
});
|
|
4154
|
+
};
|
|
3979
4155
|
const de_Service = (output, context) => {
|
|
3980
4156
|
return take(output, {
|
|
3981
4157
|
Action: [, (_) => de_Action(_, context), `action`],
|
|
@@ -4002,6 +4178,14 @@ const de_ServiceAdditionalInfo = (output, context) => {
|
|
|
4002
4178
|
Value: [, __expectString, `value`],
|
|
4003
4179
|
});
|
|
4004
4180
|
};
|
|
4181
|
+
const de_Session = (output, context) => {
|
|
4182
|
+
return take(output, {
|
|
4183
|
+
CreatedTime: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `createdTime`],
|
|
4184
|
+
Issuer: [, __expectString, `issuer`],
|
|
4185
|
+
MfaStatus: [, __expectString, `mfaStatus`],
|
|
4186
|
+
Uid: [, __expectString, `uid`],
|
|
4187
|
+
});
|
|
4188
|
+
};
|
|
4005
4189
|
const de_SeverityStatistics = (output, context) => {
|
|
4006
4190
|
return take(output, {
|
|
4007
4191
|
LastGeneratedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `lastGeneratedAt`],
|
|
@@ -4009,6 +4193,32 @@ const de_SeverityStatistics = (output, context) => {
|
|
|
4009
4193
|
TotalFindings: [, __expectInt32, `totalFindings`],
|
|
4010
4194
|
});
|
|
4011
4195
|
};
|
|
4196
|
+
const de_Signal = (output, context) => {
|
|
4197
|
+
return take(output, {
|
|
4198
|
+
ActorIds: [, _json, `actorIds`],
|
|
4199
|
+
Count: [, __expectInt32, `count`],
|
|
4200
|
+
CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `createdAt`],
|
|
4201
|
+
Description: [, __expectString, `description`],
|
|
4202
|
+
EndpointIds: [, _json, `endpointIds`],
|
|
4203
|
+
FirstSeenAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `firstSeenAt`],
|
|
4204
|
+
LastSeenAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `lastSeenAt`],
|
|
4205
|
+
Name: [, __expectString, `name`],
|
|
4206
|
+
ResourceUids: [, _json, `resourceUids`],
|
|
4207
|
+
Severity: [, __limitedParseDouble, `severity`],
|
|
4208
|
+
SignalIndicators: [, (_) => de_Indicators(_, context), `signalIndicators`],
|
|
4209
|
+
Type: [, __expectString, `type`],
|
|
4210
|
+
Uid: [, __expectString, `uid`],
|
|
4211
|
+
UpdatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `updatedAt`],
|
|
4212
|
+
});
|
|
4213
|
+
};
|
|
4214
|
+
const de_Signals = (output, context) => {
|
|
4215
|
+
const retVal = (output || [])
|
|
4216
|
+
.filter((e) => e != null)
|
|
4217
|
+
.map((entry) => {
|
|
4218
|
+
return de_Signal(entry, context);
|
|
4219
|
+
});
|
|
4220
|
+
return retVal;
|
|
4221
|
+
};
|
|
4012
4222
|
const de_Tag = (output, context) => {
|
|
4013
4223
|
return take(output, {
|
|
4014
4224
|
Key: [, __expectString, `key`],
|
|
@@ -4191,6 +4401,15 @@ const de_UsageTopAccountsResultList = (output, context) => {
|
|
|
4191
4401
|
});
|
|
4192
4402
|
return retVal;
|
|
4193
4403
|
};
|
|
4404
|
+
const de_User = (output, context) => {
|
|
4405
|
+
return take(output, {
|
|
4406
|
+
Account: [, (_) => de_Account(_, context), `account`],
|
|
4407
|
+
CredentialUid: [, __expectString, `credentialUid`],
|
|
4408
|
+
Name: [, __expectString, `name`],
|
|
4409
|
+
Type: [, __expectString, `type`],
|
|
4410
|
+
Uid: [, __expectString, `uid`],
|
|
4411
|
+
});
|
|
4412
|
+
};
|
|
4194
4413
|
const de_Volume = (output, context) => {
|
|
4195
4414
|
return take(output, {
|
|
4196
4415
|
HostPath: [, (_) => de_HostPath(_, context), `hostPath`],
|