@aws-sdk/client-securityhub 3.699.0 → 3.709.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 +140 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +136 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +81 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +81 -0
- package/dist-types/models/models_0.d.ts +146 -162
- package/dist-types/models/models_1.d.ts +1213 -1116
- package/dist-types/models/models_2.d.ts +473 -1
- package/dist-types/ts3.4/models/models_0.d.ts +28 -20
- package/dist-types/ts3.4/models/models_1.d.ts +82 -87
- package/dist-types/ts3.4/models/models_2.d.ts +85 -7
- package/package.json +35 -35
package/dist-cjs/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __export(src_exports, {
|
|
|
24
24
|
AcceptAdministratorInvitationCommand: () => AcceptAdministratorInvitationCommand,
|
|
25
25
|
AcceptInvitationCommand: () => AcceptInvitationCommand,
|
|
26
26
|
AccessDeniedException: () => AccessDeniedException,
|
|
27
|
+
ActorSessionMfaStatus: () => ActorSessionMfaStatus,
|
|
27
28
|
AdminStatus: () => AdminStatus,
|
|
28
29
|
AssociationStatus: () => AssociationStatus,
|
|
29
30
|
AssociationType: () => AssociationType,
|
|
@@ -45,6 +46,7 @@ __export(src_exports, {
|
|
|
45
46
|
ComplianceStatus: () => ComplianceStatus,
|
|
46
47
|
ConfigurationOptions: () => ConfigurationOptions,
|
|
47
48
|
ConfigurationPolicyAssociationStatus: () => ConfigurationPolicyAssociationStatus,
|
|
49
|
+
ConnectionDirection: () => ConnectionDirection,
|
|
48
50
|
ControlFindingGenerator: () => ControlFindingGenerator,
|
|
49
51
|
ControlStatus: () => ControlStatus,
|
|
50
52
|
CreateActionTargetCommand: () => CreateActionTargetCommand,
|
|
@@ -479,6 +481,10 @@ var WorkflowStatus = {
|
|
|
479
481
|
var AutomationRulesActionType = {
|
|
480
482
|
FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE"
|
|
481
483
|
};
|
|
484
|
+
var ActorSessionMfaStatus = {
|
|
485
|
+
DISABLED: "DISABLED",
|
|
486
|
+
ENABLED: "ENABLED"
|
|
487
|
+
};
|
|
482
488
|
var AdminStatus = {
|
|
483
489
|
DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
|
|
484
490
|
ENABLED: "ENABLED"
|
|
@@ -3461,6 +3467,7 @@ var se_AwsSecurityFinding = /* @__PURE__ */ __name((input, context) => {
|
|
|
3461
3467
|
CreatedAt: [],
|
|
3462
3468
|
Criticality: [],
|
|
3463
3469
|
Description: [],
|
|
3470
|
+
Detection: (_) => se_Detection(_, context),
|
|
3464
3471
|
FindingProviderFields: import_smithy_client._json,
|
|
3465
3472
|
FirstObservedAt: [],
|
|
3466
3473
|
GeneratorDetails: import_smithy_client._json,
|
|
@@ -3625,6 +3632,11 @@ var se_CvssList = /* @__PURE__ */ __name((input, context) => {
|
|
|
3625
3632
|
return se_Cvss(entry, context);
|
|
3626
3633
|
});
|
|
3627
3634
|
}, "se_CvssList");
|
|
3635
|
+
var se_Detection = /* @__PURE__ */ __name((input, context) => {
|
|
3636
|
+
return (0, import_smithy_client.take)(input, {
|
|
3637
|
+
Sequence: (_) => se_Sequence(_, context)
|
|
3638
|
+
});
|
|
3639
|
+
}, "se_Detection");
|
|
3628
3640
|
var se_GeoLocation = /* @__PURE__ */ __name((input, context) => {
|
|
3629
3641
|
return (0, import_smithy_client.take)(input, {
|
|
3630
3642
|
Lat: import_smithy_client.serializeFloat,
|
|
@@ -3641,6 +3653,30 @@ var se_NetworkConnectionAction = /* @__PURE__ */ __name((input, context) => {
|
|
|
3641
3653
|
RemotePortDetails: import_smithy_client._json
|
|
3642
3654
|
});
|
|
3643
3655
|
}, "se_NetworkConnectionAction");
|
|
3656
|
+
var se_NetworkEndpoint = /* @__PURE__ */ __name((input, context) => {
|
|
3657
|
+
return (0, import_smithy_client.take)(input, {
|
|
3658
|
+
AutonomousSystem: import_smithy_client._json,
|
|
3659
|
+
Connection: import_smithy_client._json,
|
|
3660
|
+
Domain: [],
|
|
3661
|
+
Id: [],
|
|
3662
|
+
Ip: [],
|
|
3663
|
+
Location: (_) => se_NetworkGeoLocation(_, context),
|
|
3664
|
+
Port: []
|
|
3665
|
+
});
|
|
3666
|
+
}, "se_NetworkEndpoint");
|
|
3667
|
+
var se_NetworkEndpointsList = /* @__PURE__ */ __name((input, context) => {
|
|
3668
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3669
|
+
return se_NetworkEndpoint(entry, context);
|
|
3670
|
+
});
|
|
3671
|
+
}, "se_NetworkEndpointsList");
|
|
3672
|
+
var se_NetworkGeoLocation = /* @__PURE__ */ __name((input, context) => {
|
|
3673
|
+
return (0, import_smithy_client.take)(input, {
|
|
3674
|
+
City: [],
|
|
3675
|
+
Country: [],
|
|
3676
|
+
Lat: import_smithy_client.serializeFloat,
|
|
3677
|
+
Lon: import_smithy_client.serializeFloat
|
|
3678
|
+
});
|
|
3679
|
+
}, "se_NetworkGeoLocation");
|
|
3644
3680
|
var se_NumberFilter = /* @__PURE__ */ __name((input, context) => {
|
|
3645
3681
|
return (0, import_smithy_client.take)(input, {
|
|
3646
3682
|
Eq: import_smithy_client.serializeFloat,
|
|
@@ -3854,6 +3890,15 @@ var se_SecurityHubPolicy = /* @__PURE__ */ __name((input, context) => {
|
|
|
3854
3890
|
ServiceEnabled: []
|
|
3855
3891
|
});
|
|
3856
3892
|
}, "se_SecurityHubPolicy");
|
|
3893
|
+
var se_Sequence = /* @__PURE__ */ __name((input, context) => {
|
|
3894
|
+
return (0, import_smithy_client.take)(input, {
|
|
3895
|
+
Actors: import_smithy_client._json,
|
|
3896
|
+
Endpoints: (_) => se_NetworkEndpointsList(_, context),
|
|
3897
|
+
SequenceIndicators: import_smithy_client._json,
|
|
3898
|
+
Signals: (_) => se_SignalsList(_, context),
|
|
3899
|
+
Uid: []
|
|
3900
|
+
});
|
|
3901
|
+
}, "se_Sequence");
|
|
3857
3902
|
var se_Severity = /* @__PURE__ */ __name((input, context) => {
|
|
3858
3903
|
return (0, import_smithy_client.take)(input, {
|
|
3859
3904
|
Label: [],
|
|
@@ -3869,6 +3914,30 @@ var se_SeverityUpdate = /* @__PURE__ */ __name((input, context) => {
|
|
|
3869
3914
|
Product: import_smithy_client.serializeFloat
|
|
3870
3915
|
});
|
|
3871
3916
|
}, "se_SeverityUpdate");
|
|
3917
|
+
var se_Signal = /* @__PURE__ */ __name((input, context) => {
|
|
3918
|
+
return (0, import_smithy_client.take)(input, {
|
|
3919
|
+
ActorIds: import_smithy_client._json,
|
|
3920
|
+
Count: [],
|
|
3921
|
+
CreatedAt: [],
|
|
3922
|
+
EndpointIds: import_smithy_client._json,
|
|
3923
|
+
FirstSeenAt: [],
|
|
3924
|
+
Id: [],
|
|
3925
|
+
LastSeenAt: [],
|
|
3926
|
+
Name: [],
|
|
3927
|
+
ProductArn: [],
|
|
3928
|
+
ResourceIds: import_smithy_client._json,
|
|
3929
|
+
Severity: import_smithy_client.serializeFloat,
|
|
3930
|
+
SignalIndicators: import_smithy_client._json,
|
|
3931
|
+
Title: [],
|
|
3932
|
+
Type: [],
|
|
3933
|
+
UpdatedAt: []
|
|
3934
|
+
});
|
|
3935
|
+
}, "se_Signal");
|
|
3936
|
+
var se_SignalsList = /* @__PURE__ */ __name((input, context) => {
|
|
3937
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3938
|
+
return se_Signal(entry, context);
|
|
3939
|
+
});
|
|
3940
|
+
}, "se_SignalsList");
|
|
3872
3941
|
var se_UpdateAutomationRulesRequestItem = /* @__PURE__ */ __name((input, context) => {
|
|
3873
3942
|
return (0, import_smithy_client.take)(input, {
|
|
3874
3943
|
Actions: (_) => se_ActionList(_, context),
|
|
@@ -4317,6 +4386,7 @@ var de_AwsSecurityFinding = /* @__PURE__ */ __name((output, context) => {
|
|
|
4317
4386
|
CreatedAt: import_smithy_client.expectString,
|
|
4318
4387
|
Criticality: import_smithy_client.expectInt32,
|
|
4319
4388
|
Description: import_smithy_client.expectString,
|
|
4389
|
+
Detection: (_) => de_Detection(_, context),
|
|
4320
4390
|
FindingProviderFields: import_smithy_client._json,
|
|
4321
4391
|
FirstObservedAt: import_smithy_client.expectString,
|
|
4322
4392
|
GeneratorDetails: import_smithy_client._json,
|
|
@@ -4565,6 +4635,11 @@ var de_CvssList = /* @__PURE__ */ __name((output, context) => {
|
|
|
4565
4635
|
});
|
|
4566
4636
|
return retVal;
|
|
4567
4637
|
}, "de_CvssList");
|
|
4638
|
+
var de_Detection = /* @__PURE__ */ __name((output, context) => {
|
|
4639
|
+
return (0, import_smithy_client.take)(output, {
|
|
4640
|
+
Sequence: (_) => de_Sequence(_, context)
|
|
4641
|
+
});
|
|
4642
|
+
}, "de_Detection");
|
|
4568
4643
|
var de_DoubleConfigurationOptions = /* @__PURE__ */ __name((output, context) => {
|
|
4569
4644
|
return (0, import_smithy_client.take)(output, {
|
|
4570
4645
|
DefaultValue: import_smithy_client.limitedParseDouble,
|
|
@@ -4649,6 +4724,31 @@ var de_NetworkConnectionAction = /* @__PURE__ */ __name((output, context) => {
|
|
|
4649
4724
|
RemotePortDetails: import_smithy_client._json
|
|
4650
4725
|
});
|
|
4651
4726
|
}, "de_NetworkConnectionAction");
|
|
4727
|
+
var de_NetworkEndpoint = /* @__PURE__ */ __name((output, context) => {
|
|
4728
|
+
return (0, import_smithy_client.take)(output, {
|
|
4729
|
+
AutonomousSystem: import_smithy_client._json,
|
|
4730
|
+
Connection: import_smithy_client._json,
|
|
4731
|
+
Domain: import_smithy_client.expectString,
|
|
4732
|
+
Id: import_smithy_client.expectString,
|
|
4733
|
+
Ip: import_smithy_client.expectString,
|
|
4734
|
+
Location: (_) => de_NetworkGeoLocation(_, context),
|
|
4735
|
+
Port: import_smithy_client.expectInt32
|
|
4736
|
+
});
|
|
4737
|
+
}, "de_NetworkEndpoint");
|
|
4738
|
+
var de_NetworkEndpointsList = /* @__PURE__ */ __name((output, context) => {
|
|
4739
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4740
|
+
return de_NetworkEndpoint(entry, context);
|
|
4741
|
+
});
|
|
4742
|
+
return retVal;
|
|
4743
|
+
}, "de_NetworkEndpointsList");
|
|
4744
|
+
var de_NetworkGeoLocation = /* @__PURE__ */ __name((output, context) => {
|
|
4745
|
+
return (0, import_smithy_client.take)(output, {
|
|
4746
|
+
City: import_smithy_client.expectString,
|
|
4747
|
+
Country: import_smithy_client.expectString,
|
|
4748
|
+
Lat: import_smithy_client.limitedParseDouble,
|
|
4749
|
+
Lon: import_smithy_client.limitedParseDouble
|
|
4750
|
+
});
|
|
4751
|
+
}, "de_NetworkGeoLocation");
|
|
4652
4752
|
var de_NumberFilter = /* @__PURE__ */ __name((output, context) => {
|
|
4653
4753
|
return (0, import_smithy_client.take)(output, {
|
|
4654
4754
|
Eq: import_smithy_client.limitedParseDouble,
|
|
@@ -4941,6 +5041,15 @@ var de_SecurityHubPolicy = /* @__PURE__ */ __name((output, context) => {
|
|
|
4941
5041
|
ServiceEnabled: import_smithy_client.expectBoolean
|
|
4942
5042
|
});
|
|
4943
5043
|
}, "de_SecurityHubPolicy");
|
|
5044
|
+
var de_Sequence = /* @__PURE__ */ __name((output, context) => {
|
|
5045
|
+
return (0, import_smithy_client.take)(output, {
|
|
5046
|
+
Actors: import_smithy_client._json,
|
|
5047
|
+
Endpoints: (_) => de_NetworkEndpointsList(_, context),
|
|
5048
|
+
SequenceIndicators: import_smithy_client._json,
|
|
5049
|
+
Signals: (_) => de_SignalsList(_, context),
|
|
5050
|
+
Uid: import_smithy_client.expectString
|
|
5051
|
+
});
|
|
5052
|
+
}, "de_Sequence");
|
|
4944
5053
|
var de_Severity = /* @__PURE__ */ __name((output, context) => {
|
|
4945
5054
|
return (0, import_smithy_client.take)(output, {
|
|
4946
5055
|
Label: import_smithy_client.expectString,
|
|
@@ -4956,6 +5065,31 @@ var de_SeverityUpdate = /* @__PURE__ */ __name((output, context) => {
|
|
|
4956
5065
|
Product: import_smithy_client.limitedParseDouble
|
|
4957
5066
|
});
|
|
4958
5067
|
}, "de_SeverityUpdate");
|
|
5068
|
+
var de_Signal = /* @__PURE__ */ __name((output, context) => {
|
|
5069
|
+
return (0, import_smithy_client.take)(output, {
|
|
5070
|
+
ActorIds: import_smithy_client._json,
|
|
5071
|
+
Count: import_smithy_client.expectInt32,
|
|
5072
|
+
CreatedAt: import_smithy_client.expectLong,
|
|
5073
|
+
EndpointIds: import_smithy_client._json,
|
|
5074
|
+
FirstSeenAt: import_smithy_client.expectLong,
|
|
5075
|
+
Id: import_smithy_client.expectString,
|
|
5076
|
+
LastSeenAt: import_smithy_client.expectLong,
|
|
5077
|
+
Name: import_smithy_client.expectString,
|
|
5078
|
+
ProductArn: import_smithy_client.expectString,
|
|
5079
|
+
ResourceIds: import_smithy_client._json,
|
|
5080
|
+
Severity: import_smithy_client.limitedParseDouble,
|
|
5081
|
+
SignalIndicators: import_smithy_client._json,
|
|
5082
|
+
Title: import_smithy_client.expectString,
|
|
5083
|
+
Type: import_smithy_client.expectString,
|
|
5084
|
+
UpdatedAt: import_smithy_client.expectLong
|
|
5085
|
+
});
|
|
5086
|
+
}, "de_Signal");
|
|
5087
|
+
var de_SignalsList = /* @__PURE__ */ __name((output, context) => {
|
|
5088
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
5089
|
+
return de_Signal(entry, context);
|
|
5090
|
+
});
|
|
5091
|
+
return retVal;
|
|
5092
|
+
}, "de_SignalsList");
|
|
4959
5093
|
var de_StandardsControl = /* @__PURE__ */ __name((output, context) => {
|
|
4960
5094
|
return (0, import_smithy_client.take)(output, {
|
|
4961
5095
|
ControlId: import_smithy_client.expectString,
|
|
@@ -6326,6 +6460,10 @@ var ComplianceStatus = {
|
|
|
6326
6460
|
PASSED: "PASSED",
|
|
6327
6461
|
WARNING: "WARNING"
|
|
6328
6462
|
};
|
|
6463
|
+
var ConnectionDirection = {
|
|
6464
|
+
INBOUND: "INBOUND",
|
|
6465
|
+
OUTBOUND: "OUTBOUND"
|
|
6466
|
+
};
|
|
6329
6467
|
var MalwareState = {
|
|
6330
6468
|
OBSERVED: "OBSERVED",
|
|
6331
6469
|
REMOVAL_FAILED: "REMOVAL_FAILED",
|
|
@@ -6470,6 +6608,7 @@ var RecordState = {
|
|
|
6470
6608
|
VerificationState,
|
|
6471
6609
|
WorkflowStatus,
|
|
6472
6610
|
AutomationRulesActionType,
|
|
6611
|
+
ActorSessionMfaStatus,
|
|
6473
6612
|
AdminStatus,
|
|
6474
6613
|
ConfigurationPolicyAssociationStatus,
|
|
6475
6614
|
AssociationType,
|
|
@@ -6482,6 +6621,7 @@ var RecordState = {
|
|
|
6482
6621
|
AwsIamAccessKeyStatus,
|
|
6483
6622
|
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName,
|
|
6484
6623
|
ComplianceStatus,
|
|
6624
|
+
ConnectionDirection,
|
|
6485
6625
|
MalwareState,
|
|
6486
6626
|
MalwareType,
|
|
6487
6627
|
NetworkDirection,
|
|
@@ -105,6 +105,10 @@ export const WorkflowStatus = {
|
|
|
105
105
|
export const AutomationRulesActionType = {
|
|
106
106
|
FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE",
|
|
107
107
|
};
|
|
108
|
+
export const ActorSessionMfaStatus = {
|
|
109
|
+
DISABLED: "DISABLED",
|
|
110
|
+
ENABLED: "ENABLED",
|
|
111
|
+
};
|
|
108
112
|
export const AdminStatus = {
|
|
109
113
|
DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
|
|
110
114
|
ENABLED: "ENABLED",
|
|
@@ -12,6 +12,10 @@ export const ComplianceStatus = {
|
|
|
12
12
|
PASSED: "PASSED",
|
|
13
13
|
WARNING: "WARNING",
|
|
14
14
|
};
|
|
15
|
+
export const ConnectionDirection = {
|
|
16
|
+
INBOUND: "INBOUND",
|
|
17
|
+
OUTBOUND: "OUTBOUND",
|
|
18
|
+
};
|
|
15
19
|
export const MalwareState = {
|
|
16
20
|
OBSERVED: "OBSERVED",
|
|
17
21
|
REMOVAL_FAILED: "REMOVAL_FAILED",
|
|
@@ -2631,6 +2631,7 @@ const se_AwsSecurityFinding = (input, context) => {
|
|
|
2631
2631
|
CreatedAt: [],
|
|
2632
2632
|
Criticality: [],
|
|
2633
2633
|
Description: [],
|
|
2634
|
+
Detection: (_) => se_Detection(_, context),
|
|
2634
2635
|
FindingProviderFields: _json,
|
|
2635
2636
|
FirstObservedAt: [],
|
|
2636
2637
|
GeneratorDetails: _json,
|
|
@@ -2799,6 +2800,11 @@ const se_CvssList = (input, context) => {
|
|
|
2799
2800
|
return se_Cvss(entry, context);
|
|
2800
2801
|
});
|
|
2801
2802
|
};
|
|
2803
|
+
const se_Detection = (input, context) => {
|
|
2804
|
+
return take(input, {
|
|
2805
|
+
Sequence: (_) => se_Sequence(_, context),
|
|
2806
|
+
});
|
|
2807
|
+
};
|
|
2802
2808
|
const se_GeoLocation = (input, context) => {
|
|
2803
2809
|
return take(input, {
|
|
2804
2810
|
Lat: __serializeFloat,
|
|
@@ -2815,6 +2821,32 @@ const se_NetworkConnectionAction = (input, context) => {
|
|
|
2815
2821
|
RemotePortDetails: _json,
|
|
2816
2822
|
});
|
|
2817
2823
|
};
|
|
2824
|
+
const se_NetworkEndpoint = (input, context) => {
|
|
2825
|
+
return take(input, {
|
|
2826
|
+
AutonomousSystem: _json,
|
|
2827
|
+
Connection: _json,
|
|
2828
|
+
Domain: [],
|
|
2829
|
+
Id: [],
|
|
2830
|
+
Ip: [],
|
|
2831
|
+
Location: (_) => se_NetworkGeoLocation(_, context),
|
|
2832
|
+
Port: [],
|
|
2833
|
+
});
|
|
2834
|
+
};
|
|
2835
|
+
const se_NetworkEndpointsList = (input, context) => {
|
|
2836
|
+
return input
|
|
2837
|
+
.filter((e) => e != null)
|
|
2838
|
+
.map((entry) => {
|
|
2839
|
+
return se_NetworkEndpoint(entry, context);
|
|
2840
|
+
});
|
|
2841
|
+
};
|
|
2842
|
+
const se_NetworkGeoLocation = (input, context) => {
|
|
2843
|
+
return take(input, {
|
|
2844
|
+
City: [],
|
|
2845
|
+
Country: [],
|
|
2846
|
+
Lat: __serializeFloat,
|
|
2847
|
+
Lon: __serializeFloat,
|
|
2848
|
+
});
|
|
2849
|
+
};
|
|
2818
2850
|
const se_NumberFilter = (input, context) => {
|
|
2819
2851
|
return take(input, {
|
|
2820
2852
|
Eq: __serializeFloat,
|
|
@@ -3036,6 +3068,15 @@ const se_SecurityHubPolicy = (input, context) => {
|
|
|
3036
3068
|
ServiceEnabled: [],
|
|
3037
3069
|
});
|
|
3038
3070
|
};
|
|
3071
|
+
const se_Sequence = (input, context) => {
|
|
3072
|
+
return take(input, {
|
|
3073
|
+
Actors: _json,
|
|
3074
|
+
Endpoints: (_) => se_NetworkEndpointsList(_, context),
|
|
3075
|
+
SequenceIndicators: _json,
|
|
3076
|
+
Signals: (_) => se_SignalsList(_, context),
|
|
3077
|
+
Uid: [],
|
|
3078
|
+
});
|
|
3079
|
+
};
|
|
3039
3080
|
const se_Severity = (input, context) => {
|
|
3040
3081
|
return take(input, {
|
|
3041
3082
|
Label: [],
|
|
@@ -3051,6 +3092,32 @@ const se_SeverityUpdate = (input, context) => {
|
|
|
3051
3092
|
Product: __serializeFloat,
|
|
3052
3093
|
});
|
|
3053
3094
|
};
|
|
3095
|
+
const se_Signal = (input, context) => {
|
|
3096
|
+
return take(input, {
|
|
3097
|
+
ActorIds: _json,
|
|
3098
|
+
Count: [],
|
|
3099
|
+
CreatedAt: [],
|
|
3100
|
+
EndpointIds: _json,
|
|
3101
|
+
FirstSeenAt: [],
|
|
3102
|
+
Id: [],
|
|
3103
|
+
LastSeenAt: [],
|
|
3104
|
+
Name: [],
|
|
3105
|
+
ProductArn: [],
|
|
3106
|
+
ResourceIds: _json,
|
|
3107
|
+
Severity: __serializeFloat,
|
|
3108
|
+
SignalIndicators: _json,
|
|
3109
|
+
Title: [],
|
|
3110
|
+
Type: [],
|
|
3111
|
+
UpdatedAt: [],
|
|
3112
|
+
});
|
|
3113
|
+
};
|
|
3114
|
+
const se_SignalsList = (input, context) => {
|
|
3115
|
+
return input
|
|
3116
|
+
.filter((e) => e != null)
|
|
3117
|
+
.map((entry) => {
|
|
3118
|
+
return se_Signal(entry, context);
|
|
3119
|
+
});
|
|
3120
|
+
};
|
|
3054
3121
|
const se_UpdateAutomationRulesRequestItem = (input, context) => {
|
|
3055
3122
|
return take(input, {
|
|
3056
3123
|
Actions: (_) => se_ActionList(_, context),
|
|
@@ -3511,6 +3578,7 @@ const de_AwsSecurityFinding = (output, context) => {
|
|
|
3511
3578
|
CreatedAt: __expectString,
|
|
3512
3579
|
Criticality: __expectInt32,
|
|
3513
3580
|
Description: __expectString,
|
|
3581
|
+
Detection: (_) => de_Detection(_, context),
|
|
3514
3582
|
FindingProviderFields: _json,
|
|
3515
3583
|
FirstObservedAt: __expectString,
|
|
3516
3584
|
GeneratorDetails: _json,
|
|
@@ -3769,6 +3837,11 @@ const de_CvssList = (output, context) => {
|
|
|
3769
3837
|
});
|
|
3770
3838
|
return retVal;
|
|
3771
3839
|
};
|
|
3840
|
+
const de_Detection = (output, context) => {
|
|
3841
|
+
return take(output, {
|
|
3842
|
+
Sequence: (_) => de_Sequence(_, context),
|
|
3843
|
+
});
|
|
3844
|
+
};
|
|
3772
3845
|
const de_DoubleConfigurationOptions = (output, context) => {
|
|
3773
3846
|
return take(output, {
|
|
3774
3847
|
DefaultValue: __limitedParseDouble,
|
|
@@ -3861,6 +3934,33 @@ const de_NetworkConnectionAction = (output, context) => {
|
|
|
3861
3934
|
RemotePortDetails: _json,
|
|
3862
3935
|
});
|
|
3863
3936
|
};
|
|
3937
|
+
const de_NetworkEndpoint = (output, context) => {
|
|
3938
|
+
return take(output, {
|
|
3939
|
+
AutonomousSystem: _json,
|
|
3940
|
+
Connection: _json,
|
|
3941
|
+
Domain: __expectString,
|
|
3942
|
+
Id: __expectString,
|
|
3943
|
+
Ip: __expectString,
|
|
3944
|
+
Location: (_) => de_NetworkGeoLocation(_, context),
|
|
3945
|
+
Port: __expectInt32,
|
|
3946
|
+
});
|
|
3947
|
+
};
|
|
3948
|
+
const de_NetworkEndpointsList = (output, context) => {
|
|
3949
|
+
const retVal = (output || [])
|
|
3950
|
+
.filter((e) => e != null)
|
|
3951
|
+
.map((entry) => {
|
|
3952
|
+
return de_NetworkEndpoint(entry, context);
|
|
3953
|
+
});
|
|
3954
|
+
return retVal;
|
|
3955
|
+
};
|
|
3956
|
+
const de_NetworkGeoLocation = (output, context) => {
|
|
3957
|
+
return take(output, {
|
|
3958
|
+
City: __expectString,
|
|
3959
|
+
Country: __expectString,
|
|
3960
|
+
Lat: __limitedParseDouble,
|
|
3961
|
+
Lon: __limitedParseDouble,
|
|
3962
|
+
});
|
|
3963
|
+
};
|
|
3864
3964
|
const de_NumberFilter = (output, context) => {
|
|
3865
3965
|
return take(output, {
|
|
3866
3966
|
Eq: __limitedParseDouble,
|
|
@@ -4165,6 +4265,15 @@ const de_SecurityHubPolicy = (output, context) => {
|
|
|
4165
4265
|
ServiceEnabled: __expectBoolean,
|
|
4166
4266
|
});
|
|
4167
4267
|
};
|
|
4268
|
+
const de_Sequence = (output, context) => {
|
|
4269
|
+
return take(output, {
|
|
4270
|
+
Actors: _json,
|
|
4271
|
+
Endpoints: (_) => de_NetworkEndpointsList(_, context),
|
|
4272
|
+
SequenceIndicators: _json,
|
|
4273
|
+
Signals: (_) => de_SignalsList(_, context),
|
|
4274
|
+
Uid: __expectString,
|
|
4275
|
+
});
|
|
4276
|
+
};
|
|
4168
4277
|
const de_Severity = (output, context) => {
|
|
4169
4278
|
return take(output, {
|
|
4170
4279
|
Label: __expectString,
|
|
@@ -4180,6 +4289,33 @@ const de_SeverityUpdate = (output, context) => {
|
|
|
4180
4289
|
Product: __limitedParseDouble,
|
|
4181
4290
|
});
|
|
4182
4291
|
};
|
|
4292
|
+
const de_Signal = (output, context) => {
|
|
4293
|
+
return take(output, {
|
|
4294
|
+
ActorIds: _json,
|
|
4295
|
+
Count: __expectInt32,
|
|
4296
|
+
CreatedAt: __expectLong,
|
|
4297
|
+
EndpointIds: _json,
|
|
4298
|
+
FirstSeenAt: __expectLong,
|
|
4299
|
+
Id: __expectString,
|
|
4300
|
+
LastSeenAt: __expectLong,
|
|
4301
|
+
Name: __expectString,
|
|
4302
|
+
ProductArn: __expectString,
|
|
4303
|
+
ResourceIds: _json,
|
|
4304
|
+
Severity: __limitedParseDouble,
|
|
4305
|
+
SignalIndicators: _json,
|
|
4306
|
+
Title: __expectString,
|
|
4307
|
+
Type: __expectString,
|
|
4308
|
+
UpdatedAt: __expectLong,
|
|
4309
|
+
});
|
|
4310
|
+
};
|
|
4311
|
+
const de_SignalsList = (output, context) => {
|
|
4312
|
+
const retVal = (output || [])
|
|
4313
|
+
.filter((e) => e != null)
|
|
4314
|
+
.map((entry) => {
|
|
4315
|
+
return de_Signal(entry, context);
|
|
4316
|
+
});
|
|
4317
|
+
return retVal;
|
|
4318
|
+
};
|
|
4183
4319
|
const de_StandardsControl = (output, context) => {
|
|
4184
4320
|
return take(output, {
|
|
4185
4321
|
ControlId: __expectString,
|
|
@@ -4290,6 +4290,87 @@ declare const BatchImportFindingsCommand_base: {
|
|
|
4290
4290
|
* },
|
|
4291
4291
|
* ProcessedAt: "STRING_VALUE",
|
|
4292
4292
|
* AwsAccountName: "STRING_VALUE",
|
|
4293
|
+
* Detection: { // Detection
|
|
4294
|
+
* Sequence: { // Sequence
|
|
4295
|
+
* Uid: "STRING_VALUE",
|
|
4296
|
+
* Actors: [ // ActorsList
|
|
4297
|
+
* { // Actor
|
|
4298
|
+
* Id: "STRING_VALUE",
|
|
4299
|
+
* User: { // ActorUser
|
|
4300
|
+
* Name: "STRING_VALUE",
|
|
4301
|
+
* Uid: "STRING_VALUE",
|
|
4302
|
+
* Type: "STRING_VALUE",
|
|
4303
|
+
* CredentialUid: "STRING_VALUE",
|
|
4304
|
+
* Account: { // UserAccount
|
|
4305
|
+
* Uid: "STRING_VALUE",
|
|
4306
|
+
* Name: "STRING_VALUE",
|
|
4307
|
+
* },
|
|
4308
|
+
* },
|
|
4309
|
+
* Session: { // ActorSession
|
|
4310
|
+
* Uid: "STRING_VALUE",
|
|
4311
|
+
* MfaStatus: "ENABLED" || "DISABLED",
|
|
4312
|
+
* CreatedTime: Number("long"),
|
|
4313
|
+
* Issuer: "STRING_VALUE",
|
|
4314
|
+
* },
|
|
4315
|
+
* },
|
|
4316
|
+
* ],
|
|
4317
|
+
* Endpoints: [ // NetworkEndpointsList
|
|
4318
|
+
* { // NetworkEndpoint
|
|
4319
|
+
* Id: "STRING_VALUE",
|
|
4320
|
+
* Ip: "STRING_VALUE",
|
|
4321
|
+
* Domain: "STRING_VALUE",
|
|
4322
|
+
* Port: Number("int"),
|
|
4323
|
+
* Location: { // NetworkGeoLocation
|
|
4324
|
+
* City: "STRING_VALUE",
|
|
4325
|
+
* Country: "STRING_VALUE",
|
|
4326
|
+
* Lat: Number("double"),
|
|
4327
|
+
* Lon: Number("double"),
|
|
4328
|
+
* },
|
|
4329
|
+
* AutonomousSystem: { // NetworkAutonomousSystem
|
|
4330
|
+
* Name: "STRING_VALUE",
|
|
4331
|
+
* Number: Number("int"),
|
|
4332
|
+
* },
|
|
4333
|
+
* Connection: { // NetworkConnection
|
|
4334
|
+
* Direction: "INBOUND" || "OUTBOUND",
|
|
4335
|
+
* },
|
|
4336
|
+
* },
|
|
4337
|
+
* ],
|
|
4338
|
+
* Signals: [ // SignalsList
|
|
4339
|
+
* { // Signal
|
|
4340
|
+
* Type: "STRING_VALUE",
|
|
4341
|
+
* Id: "STRING_VALUE",
|
|
4342
|
+
* Title: "STRING_VALUE",
|
|
4343
|
+
* ProductArn: "STRING_VALUE",
|
|
4344
|
+
* ResourceIds: "<NonEmptyStringList>",
|
|
4345
|
+
* SignalIndicators: [ // IndicatorsList
|
|
4346
|
+
* { // Indicator
|
|
4347
|
+
* Key: "STRING_VALUE",
|
|
4348
|
+
* Values: "<NonEmptyStringList>",
|
|
4349
|
+
* Title: "STRING_VALUE",
|
|
4350
|
+
* Type: "STRING_VALUE",
|
|
4351
|
+
* },
|
|
4352
|
+
* ],
|
|
4353
|
+
* Name: "STRING_VALUE",
|
|
4354
|
+
* CreatedAt: Number("long"),
|
|
4355
|
+
* UpdatedAt: Number("long"),
|
|
4356
|
+
* FirstSeenAt: Number("long"),
|
|
4357
|
+
* LastSeenAt: Number("long"),
|
|
4358
|
+
* Severity: Number("double"),
|
|
4359
|
+
* Count: Number("int"),
|
|
4360
|
+
* ActorIds: "<NonEmptyStringList>",
|
|
4361
|
+
* EndpointIds: "<NonEmptyStringList>",
|
|
4362
|
+
* },
|
|
4363
|
+
* ],
|
|
4364
|
+
* SequenceIndicators: [
|
|
4365
|
+
* {
|
|
4366
|
+
* Key: "STRING_VALUE",
|
|
4367
|
+
* Values: "<NonEmptyStringList>",
|
|
4368
|
+
* Title: "STRING_VALUE",
|
|
4369
|
+
* Type: "STRING_VALUE",
|
|
4370
|
+
* },
|
|
4371
|
+
* ],
|
|
4372
|
+
* },
|
|
4373
|
+
* },
|
|
4293
4374
|
* },
|
|
4294
4375
|
* ],
|
|
4295
4376
|
* };
|
|
@@ -4497,6 +4497,87 @@ declare const GetFindingsCommand_base: {
|
|
|
4497
4497
|
* // },
|
|
4498
4498
|
* // ProcessedAt: "STRING_VALUE",
|
|
4499
4499
|
* // AwsAccountName: "STRING_VALUE",
|
|
4500
|
+
* // Detection: { // Detection
|
|
4501
|
+
* // Sequence: { // Sequence
|
|
4502
|
+
* // Uid: "STRING_VALUE",
|
|
4503
|
+
* // Actors: [ // ActorsList
|
|
4504
|
+
* // { // Actor
|
|
4505
|
+
* // Id: "STRING_VALUE",
|
|
4506
|
+
* // User: { // ActorUser
|
|
4507
|
+
* // Name: "STRING_VALUE",
|
|
4508
|
+
* // Uid: "STRING_VALUE",
|
|
4509
|
+
* // Type: "STRING_VALUE",
|
|
4510
|
+
* // CredentialUid: "STRING_VALUE",
|
|
4511
|
+
* // Account: { // UserAccount
|
|
4512
|
+
* // Uid: "STRING_VALUE",
|
|
4513
|
+
* // Name: "STRING_VALUE",
|
|
4514
|
+
* // },
|
|
4515
|
+
* // },
|
|
4516
|
+
* // Session: { // ActorSession
|
|
4517
|
+
* // Uid: "STRING_VALUE",
|
|
4518
|
+
* // MfaStatus: "ENABLED" || "DISABLED",
|
|
4519
|
+
* // CreatedTime: Number("long"),
|
|
4520
|
+
* // Issuer: "STRING_VALUE",
|
|
4521
|
+
* // },
|
|
4522
|
+
* // },
|
|
4523
|
+
* // ],
|
|
4524
|
+
* // Endpoints: [ // NetworkEndpointsList
|
|
4525
|
+
* // { // NetworkEndpoint
|
|
4526
|
+
* // Id: "STRING_VALUE",
|
|
4527
|
+
* // Ip: "STRING_VALUE",
|
|
4528
|
+
* // Domain: "STRING_VALUE",
|
|
4529
|
+
* // Port: Number("int"),
|
|
4530
|
+
* // Location: { // NetworkGeoLocation
|
|
4531
|
+
* // City: "STRING_VALUE",
|
|
4532
|
+
* // Country: "STRING_VALUE",
|
|
4533
|
+
* // Lat: Number("double"),
|
|
4534
|
+
* // Lon: Number("double"),
|
|
4535
|
+
* // },
|
|
4536
|
+
* // AutonomousSystem: { // NetworkAutonomousSystem
|
|
4537
|
+
* // Name: "STRING_VALUE",
|
|
4538
|
+
* // Number: Number("int"),
|
|
4539
|
+
* // },
|
|
4540
|
+
* // Connection: { // NetworkConnection
|
|
4541
|
+
* // Direction: "INBOUND" || "OUTBOUND",
|
|
4542
|
+
* // },
|
|
4543
|
+
* // },
|
|
4544
|
+
* // ],
|
|
4545
|
+
* // Signals: [ // SignalsList
|
|
4546
|
+
* // { // Signal
|
|
4547
|
+
* // Type: "STRING_VALUE",
|
|
4548
|
+
* // Id: "STRING_VALUE",
|
|
4549
|
+
* // Title: "STRING_VALUE",
|
|
4550
|
+
* // ProductArn: "STRING_VALUE",
|
|
4551
|
+
* // ResourceIds: "<NonEmptyStringList>",
|
|
4552
|
+
* // SignalIndicators: [ // IndicatorsList
|
|
4553
|
+
* // { // Indicator
|
|
4554
|
+
* // Key: "STRING_VALUE",
|
|
4555
|
+
* // Values: "<NonEmptyStringList>",
|
|
4556
|
+
* // Title: "STRING_VALUE",
|
|
4557
|
+
* // Type: "STRING_VALUE",
|
|
4558
|
+
* // },
|
|
4559
|
+
* // ],
|
|
4560
|
+
* // Name: "STRING_VALUE",
|
|
4561
|
+
* // CreatedAt: Number("long"),
|
|
4562
|
+
* // UpdatedAt: Number("long"),
|
|
4563
|
+
* // FirstSeenAt: Number("long"),
|
|
4564
|
+
* // LastSeenAt: Number("long"),
|
|
4565
|
+
* // Severity: Number("double"),
|
|
4566
|
+
* // Count: Number("int"),
|
|
4567
|
+
* // ActorIds: "<NonEmptyStringList>",
|
|
4568
|
+
* // EndpointIds: "<NonEmptyStringList>",
|
|
4569
|
+
* // },
|
|
4570
|
+
* // ],
|
|
4571
|
+
* // SequenceIndicators: [
|
|
4572
|
+
* // {
|
|
4573
|
+
* // Key: "STRING_VALUE",
|
|
4574
|
+
* // Values: "<NonEmptyStringList>",
|
|
4575
|
+
* // Title: "STRING_VALUE",
|
|
4576
|
+
* // Type: "STRING_VALUE",
|
|
4577
|
+
* // },
|
|
4578
|
+
* // ],
|
|
4579
|
+
* // },
|
|
4580
|
+
* // },
|
|
4500
4581
|
* // },
|
|
4501
4582
|
* // ],
|
|
4502
4583
|
* // NextToken: "STRING_VALUE",
|