@aws-sdk/client-securityhub 3.936.0 → 3.939.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 +226 -0
- package/dist-es/SecurityHub.js +4 -0
- package/dist-es/commands/GetFindingsTrendsV2Command.js +16 -0
- package/dist-es/commands/GetResourcesTrendsV2Command.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +23 -0
- package/dist-es/pagination/GetFindingsTrendsV2Paginator.js +4 -0
- package/dist-es/pagination/GetResourcesTrendsV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/schemas/schemas_0.js +166 -0
- package/dist-types/SecurityHub.d.ts +14 -0
- package/dist-types/SecurityHubClient.d.ts +4 -2
- package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +1 -1
- package/dist-types/commands/CreateConnectorV2Command.d.ts +1 -1
- package/dist-types/commands/CreateTicketV2Command.d.ts +1 -1
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +1 -1
- package/dist-types/commands/GetConnectorV2Command.d.ts +1 -1
- package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +144 -0
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +137 -0
- package/dist-types/commands/ListConnectorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +47 -0
- package/dist-types/models/models_2.d.ts +184 -191
- package/dist-types/models/models_3.d.ts +326 -2
- package/dist-types/pagination/GetFindingsTrendsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetResourcesTrendsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +34 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetFindingsTrendsV2Command.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetResourcesTrendsV2Command.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +29 -0
- package/dist-types/ts3.4/models/models_2.d.ts +48 -52
- package/dist-types/ts3.4/models/models_3.d.ts +92 -1
- package/dist-types/ts3.4/pagination/GetFindingsTrendsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetResourcesTrendsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +2 -2
|
@@ -1,6 +1,196 @@
|
|
|
1
|
-
import { AllowedOperators, AutoEnableStandards, ControlFindingGenerator, ControlStatus, GroupByField, RecordState, ResourceGroupByField, RuleStatusV2, SortOrder } from "./enums";
|
|
1
|
+
import { AllowedOperators, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ControlFindingGenerator, ControlStatus, GroupByField, RecordState, ResourceGroupByField, RuleStatusV2, SortOrder, TargetType } from "./enums";
|
|
2
2
|
import { AutomationRulesActionV2, NoteUpdate } from "./models_0";
|
|
3
|
-
import { AwsSecurityFindingFilters, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy,
|
|
3
|
+
import { AwsSecurityFindingFilters, FindingsTrendsStringFilter, JiraCloudUpdateConfiguration, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, SortCriterion, StandardsControlAssociationSummary, Target } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ListStandardsControlAssociationsResponse {
|
|
8
|
+
/**
|
|
9
|
+
* <p> An array that provides the enablement status and other details for each security
|
|
10
|
+
* control that applies to each enabled standard. </p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
StandardsControlAssociationSummaries: StandardsControlAssociationSummary[] | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p> A pagination parameter that's included in the response only if it was included in the
|
|
16
|
+
* request. </p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
NextToken?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface ListTagsForResourceRequest {
|
|
25
|
+
/**
|
|
26
|
+
* <p>The ARN of the resource to retrieve tags for.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
ResourceArn: string | undefined;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface ListTagsForResourceResponse {
|
|
35
|
+
/**
|
|
36
|
+
* <p>The tags associated with a resource.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
Tags?: Record<string, string> | undefined;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>The parameters required to update the configuration of an integration provider.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export type ProviderUpdateConfiguration = ProviderUpdateConfiguration.JiraCloudMember | ProviderUpdateConfiguration.$UnknownMember;
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare namespace ProviderUpdateConfiguration {
|
|
50
|
+
/**
|
|
51
|
+
* <p>The parameters required to update the configuration for a Jira Cloud integration.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
interface JiraCloudMember {
|
|
55
|
+
JiraCloud: JiraCloudUpdateConfiguration;
|
|
56
|
+
$unknown?: never;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
interface $UnknownMember {
|
|
62
|
+
JiraCloud?: never;
|
|
63
|
+
$unknown: [string, any];
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated unused in schema-serde mode.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
interface Visitor<T> {
|
|
70
|
+
JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
|
|
71
|
+
_: (name: string, value: any) => T;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export interface StartConfigurationPolicyAssociationRequest {
|
|
78
|
+
/**
|
|
79
|
+
* <p>
|
|
80
|
+
* The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a
|
|
81
|
+
* configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration.
|
|
82
|
+
* </p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
ConfigurationPolicyIdentifier: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>
|
|
88
|
+
* The identifier of the target account, organizational unit, or the root to associate with the specified configuration.
|
|
89
|
+
* </p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
Target: Target | undefined;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export interface StartConfigurationPolicyAssociationResponse {
|
|
98
|
+
/**
|
|
99
|
+
* <p>
|
|
100
|
+
* The UUID of the configuration policy.
|
|
101
|
+
* </p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
ConfigurationPolicyId?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* <p>
|
|
107
|
+
* The identifier of the target account, organizational unit, or the organization root with which the configuration is associated.
|
|
108
|
+
* </p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
TargetId?: string | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* <p>
|
|
114
|
+
* Indicates whether the target is an Amazon Web Services account, organizational unit, or the organization root.
|
|
115
|
+
* </p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
TargetType?: TargetType | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>
|
|
121
|
+
* Indicates whether the association between the specified target and the configuration was directly applied by the
|
|
122
|
+
* Security Hub delegated administrator or inherited from a parent.
|
|
123
|
+
* </p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
AssociationType?: AssociationType | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* <p>
|
|
129
|
+
* The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
|
|
130
|
+
* </p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
UpdatedAt?: Date | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* <p>
|
|
136
|
+
* The current status of the association between the specified target and the configuration.
|
|
137
|
+
* </p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
AssociationStatus?: ConfigurationPolicyAssociationStatus | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* <p>
|
|
143
|
+
* An explanation for a <code>FAILED</code> value for <code>AssociationStatus</code>.
|
|
144
|
+
* </p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
AssociationStatusMessage?: string | undefined;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export interface StartConfigurationPolicyDisassociationRequest {
|
|
153
|
+
/**
|
|
154
|
+
* <p>
|
|
155
|
+
* The identifier of the target account, organizational unit, or the root to disassociate from the specified configuration.
|
|
156
|
+
* </p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
Target?: Target | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>
|
|
162
|
+
* The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a
|
|
163
|
+
* configuration policy, or a value of <code>SELF_MANAGED_SECURITY_HUB</code> for a self-managed configuration.
|
|
164
|
+
* </p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
ConfigurationPolicyIdentifier: string | undefined;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
export interface StartConfigurationPolicyDisassociationResponse {
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export interface TagResourceRequest {
|
|
178
|
+
/**
|
|
179
|
+
* <p>The ARN of the resource to apply the tags to.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
ResourceArn: string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* <p>The tags to add to the resource. You can add up to 50 tags at a time. The tag keys can be no longer than 128 characters. The tag values can be no longer than 256 characters.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
Tags: Record<string, string> | undefined;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export interface TagResourceResponse {
|
|
193
|
+
}
|
|
4
194
|
/**
|
|
5
195
|
* @public
|
|
6
196
|
*/
|
|
@@ -543,6 +733,27 @@ export interface CompositeFilter {
|
|
|
543
733
|
*/
|
|
544
734
|
Operator?: AllowedOperators | undefined;
|
|
545
735
|
}
|
|
736
|
+
/**
|
|
737
|
+
* <p>A filter structure that contains a logical combination of string filters and nested composite filters for findings trend data.</p>
|
|
738
|
+
* @public
|
|
739
|
+
*/
|
|
740
|
+
export interface FindingsTrendsCompositeFilter {
|
|
741
|
+
/**
|
|
742
|
+
* <p>A list of string filters that apply to findings trend data fields.</p>
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
745
|
+
StringFilters?: FindingsTrendsStringFilter[] | undefined;
|
|
746
|
+
/**
|
|
747
|
+
* <p>A list of nested composite filters that you can use to create complex filter conditions for findings trend data.</p>
|
|
748
|
+
* @public
|
|
749
|
+
*/
|
|
750
|
+
NestedCompositeFilters?: FindingsTrendsCompositeFilter[] | undefined;
|
|
751
|
+
/**
|
|
752
|
+
* <p>The logical operator (AND, OR) to apply between the string filters and nested composite filters.</p>
|
|
753
|
+
* @public
|
|
754
|
+
*/
|
|
755
|
+
Operator?: AllowedOperators | undefined;
|
|
756
|
+
}
|
|
546
757
|
/**
|
|
547
758
|
* <p>Enables the creation of criteria for Amazon Web Services resources in Security Hub.</p>
|
|
548
759
|
* @public
|
|
@@ -584,6 +795,43 @@ export interface ResourcesCompositeFilter {
|
|
|
584
795
|
*/
|
|
585
796
|
Operator?: AllowedOperators | undefined;
|
|
586
797
|
}
|
|
798
|
+
/**
|
|
799
|
+
* <p>A filter structure that contains a logical combination of string filters and nested composite filters for resources trend data.</p>
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
export interface ResourcesTrendsCompositeFilter {
|
|
803
|
+
/**
|
|
804
|
+
* <p>A list of string filters that apply to resources trend data fields.</p>
|
|
805
|
+
* @public
|
|
806
|
+
*/
|
|
807
|
+
StringFilters?: ResourcesTrendsStringFilter[] | undefined;
|
|
808
|
+
/**
|
|
809
|
+
* <p>A list of nested composite filters that you can use to create complex filter conditions for resources trend data.</p>
|
|
810
|
+
* @public
|
|
811
|
+
*/
|
|
812
|
+
NestedCompositeFilters?: ResourcesTrendsCompositeFilter[] | undefined;
|
|
813
|
+
/**
|
|
814
|
+
* <p>The logical operator (AND, OR) to apply between the string filters and nested composite filters.</p>
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
817
|
+
Operator?: AllowedOperators | undefined;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* <p>The structure that defines filters to apply to findings trend data queries.</p>
|
|
821
|
+
* @public
|
|
822
|
+
*/
|
|
823
|
+
export interface FindingsTrendsFilters {
|
|
824
|
+
/**
|
|
825
|
+
* <p>A list of composite filters to apply to the findings trend data.</p>
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
828
|
+
CompositeFilters?: FindingsTrendsCompositeFilter[] | undefined;
|
|
829
|
+
/**
|
|
830
|
+
* <p>The logical operator (AND, OR) to apply between multiple composite filters.</p>
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
CompositeOperator?: AllowedOperators | undefined;
|
|
834
|
+
}
|
|
587
835
|
/**
|
|
588
836
|
* <p>Specifies the filtering criteria for security findings using OCSF.</p>
|
|
589
837
|
* @public
|
|
@@ -616,6 +864,22 @@ export interface ResourcesFilters {
|
|
|
616
864
|
*/
|
|
617
865
|
CompositeOperator?: AllowedOperators | undefined;
|
|
618
866
|
}
|
|
867
|
+
/**
|
|
868
|
+
* <p>The structure that defines filters to apply to resources trend data queries.</p>
|
|
869
|
+
* @public
|
|
870
|
+
*/
|
|
871
|
+
export interface ResourcesTrendsFilters {
|
|
872
|
+
/**
|
|
873
|
+
* <p>A list of composite filters to apply to the resources trend data.</p>
|
|
874
|
+
* @public
|
|
875
|
+
*/
|
|
876
|
+
CompositeFilters?: ResourcesTrendsCompositeFilter[] | undefined;
|
|
877
|
+
/**
|
|
878
|
+
* <p>The logical operator (AND, OR) to apply between multiple composite filters.</p>
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
CompositeOperator?: AllowedOperators | undefined;
|
|
882
|
+
}
|
|
619
883
|
/**
|
|
620
884
|
* <p>Defines the parameters and conditions used to evaluate and filter security findings.</p>
|
|
621
885
|
* @public
|
|
@@ -649,6 +913,36 @@ export declare namespace Criteria {
|
|
|
649
913
|
_: (name: string, value: any) => T;
|
|
650
914
|
}
|
|
651
915
|
}
|
|
916
|
+
/**
|
|
917
|
+
* @public
|
|
918
|
+
*/
|
|
919
|
+
export interface GetFindingsTrendsV2Request {
|
|
920
|
+
/**
|
|
921
|
+
* <p>The filters to apply to the findings trend data.</p>
|
|
922
|
+
* @public
|
|
923
|
+
*/
|
|
924
|
+
Filters?: FindingsTrendsFilters | undefined;
|
|
925
|
+
/**
|
|
926
|
+
* <p>The starting timestamp for the time period to analyze findings trends, in ISO 8601 format.</p>
|
|
927
|
+
* @public
|
|
928
|
+
*/
|
|
929
|
+
StartTime: Date | undefined;
|
|
930
|
+
/**
|
|
931
|
+
* <p>The ending timestamp for the time period to analyze findings trends, in ISO 8601 format.</p>
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
EndTime: Date | undefined;
|
|
935
|
+
/**
|
|
936
|
+
* <p>The token to use for paginating results. This value is returned in the response if more results are available.</p>
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
NextToken?: string | undefined;
|
|
940
|
+
/**
|
|
941
|
+
* <p>The maximum number of trend data points to return in a single response.</p>
|
|
942
|
+
* @public
|
|
943
|
+
*/
|
|
944
|
+
MaxResults?: number | undefined;
|
|
945
|
+
}
|
|
652
946
|
/**
|
|
653
947
|
* @public
|
|
654
948
|
*/
|
|
@@ -679,6 +973,36 @@ export interface GetFindingsV2Request {
|
|
|
679
973
|
*/
|
|
680
974
|
MaxResults?: number | undefined;
|
|
681
975
|
}
|
|
976
|
+
/**
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
export interface GetResourcesTrendsV2Request {
|
|
980
|
+
/**
|
|
981
|
+
* <p>The filters to apply to the resources trend data.</p>
|
|
982
|
+
* @public
|
|
983
|
+
*/
|
|
984
|
+
Filters?: ResourcesTrendsFilters | undefined;
|
|
985
|
+
/**
|
|
986
|
+
* <p>The starting timestamp for the time period to analyze resources trends, in ISO 8601 format.</p>
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
989
|
+
StartTime: Date | undefined;
|
|
990
|
+
/**
|
|
991
|
+
* <p>The ending timestamp for the time period to analyze resources trends, in ISO 8601 format.</p>
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
994
|
+
EndTime: Date | undefined;
|
|
995
|
+
/**
|
|
996
|
+
* <p>The token to use for paginating results. This value is returned in the response if more results are available.</p>
|
|
997
|
+
* @public
|
|
998
|
+
*/
|
|
999
|
+
NextToken?: string | undefined;
|
|
1000
|
+
/**
|
|
1001
|
+
* <p>The maximum number of trend data points to return in a single response.</p>
|
|
1002
|
+
* @public
|
|
1003
|
+
*/
|
|
1004
|
+
MaxResults?: number | undefined;
|
|
1005
|
+
}
|
|
682
1006
|
/**
|
|
683
1007
|
* @public
|
|
684
1008
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetFindingsTrendsV2CommandInput, GetFindingsTrendsV2CommandOutput } from "../commands/GetFindingsTrendsV2Command";
|
|
3
|
+
import { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetFindingsTrendsV2: (config: SecurityHubPaginationConfiguration, input: GetFindingsTrendsV2CommandInput, ...rest: any[]) => Paginator<GetFindingsTrendsV2CommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetResourcesTrendsV2CommandInput, GetResourcesTrendsV2CommandOutput } from "../commands/GetResourcesTrendsV2Command";
|
|
3
|
+
import { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetResourcesTrendsV2: (config: SecurityHubPaginationConfiguration, input: GetResourcesTrendsV2CommandInput, ...rest: any[]) => Paginator<GetResourcesTrendsV2CommandOutput>;
|
|
@@ -6,9 +6,11 @@ export * from "./DescribeStandardsPaginator";
|
|
|
6
6
|
export * from "./GetEnabledStandardsPaginator";
|
|
7
7
|
export * from "./GetFindingHistoryPaginator";
|
|
8
8
|
export * from "./GetFindingsPaginator";
|
|
9
|
+
export * from "./GetFindingsTrendsV2Paginator";
|
|
9
10
|
export * from "./GetFindingsV2Paginator";
|
|
10
|
-
export * from "./GetInsightsPaginator";
|
|
11
11
|
export * from "./Interfaces";
|
|
12
|
+
export * from "./GetInsightsPaginator";
|
|
13
|
+
export * from "./GetResourcesTrendsV2Paginator";
|
|
12
14
|
export * from "./GetResourcesV2Paginator";
|
|
13
15
|
export * from "./ListAggregatorsV2Paginator";
|
|
14
16
|
export * from "./ListConfigurationPoliciesPaginator";
|
|
@@ -673,6 +673,9 @@ export declare var FindingHistoryUpdate: StaticStructureSchema;
|
|
|
673
673
|
export declare var FindingHistoryUpdateSource: StaticStructureSchema;
|
|
674
674
|
export declare var FindingProviderFields: StaticStructureSchema;
|
|
675
675
|
export declare var FindingProviderSeverity: StaticStructureSchema;
|
|
676
|
+
export declare var FindingsTrendsCompositeFilter: StaticStructureSchema;
|
|
677
|
+
export declare var FindingsTrendsFilters: StaticStructureSchema;
|
|
678
|
+
export declare var FindingsTrendsStringFilter: StaticStructureSchema;
|
|
676
679
|
export declare var FirewallPolicyDetails: StaticStructureSchema;
|
|
677
680
|
export declare var FirewallPolicyStatefulRuleGroupReferencesDetails: StaticStructureSchema;
|
|
678
681
|
export declare var FirewallPolicyStatelessCustomActionsDetails: StaticStructureSchema;
|
|
@@ -701,6 +704,8 @@ export declare var GetFindingsRequest: StaticStructureSchema;
|
|
|
701
704
|
export declare var GetFindingsResponse: StaticStructureSchema;
|
|
702
705
|
export declare var GetFindingStatisticsV2Request: StaticStructureSchema;
|
|
703
706
|
export declare var GetFindingStatisticsV2Response: StaticStructureSchema;
|
|
707
|
+
export declare var GetFindingsTrendsV2Request: StaticStructureSchema;
|
|
708
|
+
export declare var GetFindingsTrendsV2Response: StaticStructureSchema;
|
|
704
709
|
export declare var GetFindingsV2Request: StaticStructureSchema;
|
|
705
710
|
export declare var GetFindingsV2Response: StaticStructureSchema;
|
|
706
711
|
export declare var GetInsightResultsRequest: StaticStructureSchema;
|
|
@@ -715,6 +720,8 @@ export declare var GetMembersRequest: StaticStructureSchema;
|
|
|
715
720
|
export declare var GetMembersResponse: StaticStructureSchema;
|
|
716
721
|
export declare var GetResourcesStatisticsV2Request: StaticStructureSchema;
|
|
717
722
|
export declare var GetResourcesStatisticsV2Response: StaticStructureSchema;
|
|
723
|
+
export declare var GetResourcesTrendsV2Request: StaticStructureSchema;
|
|
724
|
+
export declare var GetResourcesTrendsV2Response: StaticStructureSchema;
|
|
718
725
|
export declare var GetResourcesV2Request: StaticStructureSchema;
|
|
719
726
|
export declare var GetResourcesV2Response: StaticStructureSchema;
|
|
720
727
|
export declare var GetSecurityControlDefinitionRequest: StaticStructureSchema;
|
|
@@ -827,12 +834,18 @@ export declare var ResourceInUseException: StaticErrorSchema;
|
|
|
827
834
|
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
828
835
|
export declare var ResourceResult: StaticStructureSchema;
|
|
829
836
|
export declare var ResourcesCompositeFilter: StaticStructureSchema;
|
|
837
|
+
export declare var ResourcesCount: StaticStructureSchema;
|
|
830
838
|
export declare var ResourcesDateFilter: StaticStructureSchema;
|
|
831
839
|
export declare var ResourceSeverityBreakdown: StaticStructureSchema;
|
|
832
840
|
export declare var ResourcesFilters: StaticStructureSchema;
|
|
833
841
|
export declare var ResourcesMapFilter: StaticStructureSchema;
|
|
834
842
|
export declare var ResourcesNumberFilter: StaticStructureSchema;
|
|
835
843
|
export declare var ResourcesStringFilter: StaticStructureSchema;
|
|
844
|
+
export declare var ResourcesTrendsCompositeFilter: StaticStructureSchema;
|
|
845
|
+
export declare var ResourcesTrendsFilters: StaticStructureSchema;
|
|
846
|
+
export declare var ResourcesTrendsMetricsResult: StaticStructureSchema;
|
|
847
|
+
export declare var ResourcesTrendsStringFilter: StaticStructureSchema;
|
|
848
|
+
export declare var ResourcesTrendsValues: StaticStructureSchema;
|
|
836
849
|
export declare var ResourceTag: StaticStructureSchema;
|
|
837
850
|
export declare var Result: StaticStructureSchema;
|
|
838
851
|
export declare var RouteSetDetails: StaticStructureSchema;
|
|
@@ -867,6 +880,7 @@ export declare var Sequence: StaticStructureSchema;
|
|
|
867
880
|
export declare var ServiceNowDetail: StaticStructureSchema;
|
|
868
881
|
export declare var ServiceNowProviderConfiguration: StaticStructureSchema;
|
|
869
882
|
export declare var Severity: StaticStructureSchema;
|
|
883
|
+
export declare var SeverityTrendsCount: StaticStructureSchema;
|
|
870
884
|
export declare var SeverityUpdate: StaticStructureSchema;
|
|
871
885
|
export declare var Signal: StaticStructureSchema;
|
|
872
886
|
export declare var SoftwarePackage: StaticStructureSchema;
|
|
@@ -897,6 +911,8 @@ export declare var TagResourceResponse: StaticStructureSchema;
|
|
|
897
911
|
export declare var Threat: StaticStructureSchema;
|
|
898
912
|
export declare var ThreatIntelIndicator: StaticStructureSchema;
|
|
899
913
|
export declare var ThrottlingException: StaticErrorSchema;
|
|
914
|
+
export declare var TrendsMetricsResult: StaticStructureSchema;
|
|
915
|
+
export declare var TrendsValues: StaticStructureSchema;
|
|
900
916
|
export declare var UnprocessedAutomationRule: StaticStructureSchema;
|
|
901
917
|
export declare var UnprocessedConfigurationPolicyAssociation: StaticStructureSchema;
|
|
902
918
|
export declare var UnprocessedSecurityControl: StaticStructureSchema;
|
|
@@ -1137,6 +1153,8 @@ export declare var FilePathList: StaticListSchema;
|
|
|
1137
1153
|
export declare var FindingAggregatorList: StaticListSchema;
|
|
1138
1154
|
export declare var FindingHistoryRecordList: StaticListSchema;
|
|
1139
1155
|
export declare var FindingHistoryUpdatesList: StaticListSchema;
|
|
1156
|
+
export declare var FindingsTrendsCompositeFilterList: StaticListSchema;
|
|
1157
|
+
export declare var FindingsTrendsStringFilterList: StaticListSchema;
|
|
1140
1158
|
export declare var FirewallPolicyStatefulRuleGroupReferencesList: StaticListSchema;
|
|
1141
1159
|
export declare var FirewallPolicyStatelessCustomActionsList: StaticListSchema;
|
|
1142
1160
|
export declare var FirewallPolicyStatelessRuleGroupReferencesList: StaticListSchema;
|
|
@@ -1190,6 +1208,9 @@ export declare var ResourcesDateFilterList: StaticListSchema;
|
|
|
1190
1208
|
export declare var ResourcesMapFilterList: StaticListSchema;
|
|
1191
1209
|
export declare var ResourcesNumberFilterList: StaticListSchema;
|
|
1192
1210
|
export declare var ResourcesStringFilterList: StaticListSchema;
|
|
1211
|
+
export declare var ResourcesTrendsCompositeFilterList: StaticListSchema;
|
|
1212
|
+
export declare var ResourcesTrendsMetrics: StaticListSchema;
|
|
1213
|
+
export declare var ResourcesTrendsStringFilterList: StaticListSchema;
|
|
1193
1214
|
export declare var ResourceTagList: StaticListSchema;
|
|
1194
1215
|
export declare var ResultList: StaticListSchema;
|
|
1195
1216
|
export declare var RouteSetList: StaticListSchema;
|
|
@@ -1231,6 +1252,7 @@ export declare var StringList: number;
|
|
|
1231
1252
|
export declare var TagKeyList: number;
|
|
1232
1253
|
export declare var ThreatIntelIndicatorList: StaticListSchema;
|
|
1233
1254
|
export declare var ThreatList: StaticListSchema;
|
|
1255
|
+
export declare var TrendsMetrics: StaticListSchema;
|
|
1234
1256
|
export declare var TypeList: number;
|
|
1235
1257
|
export declare var UnprocessedAutomationRulesList: StaticListSchema;
|
|
1236
1258
|
export declare var UnprocessedConfigurationPolicyAssociationList: StaticListSchema;
|
|
@@ -1322,6 +1344,7 @@ export declare var GetFindingAggregator: StaticOperationSchema;
|
|
|
1322
1344
|
export declare var GetFindingHistory: StaticOperationSchema;
|
|
1323
1345
|
export declare var GetFindings: StaticOperationSchema;
|
|
1324
1346
|
export declare var GetFindingStatisticsV2: StaticOperationSchema;
|
|
1347
|
+
export declare var GetFindingsTrendsV2: StaticOperationSchema;
|
|
1325
1348
|
export declare var GetFindingsV2: StaticOperationSchema;
|
|
1326
1349
|
export declare var GetInsightResults: StaticOperationSchema;
|
|
1327
1350
|
export declare var GetInsights: StaticOperationSchema;
|
|
@@ -1329,6 +1352,7 @@ export declare var GetInvitationsCount: StaticOperationSchema;
|
|
|
1329
1352
|
export declare var GetMasterAccount: StaticOperationSchema;
|
|
1330
1353
|
export declare var GetMembers: StaticOperationSchema;
|
|
1331
1354
|
export declare var GetResourcesStatisticsV2: StaticOperationSchema;
|
|
1355
|
+
export declare var GetResourcesTrendsV2: StaticOperationSchema;
|
|
1332
1356
|
export declare var GetResourcesV2: StaticOperationSchema;
|
|
1333
1357
|
export declare var GetSecurityControlDefinition: StaticOperationSchema;
|
|
1334
1358
|
export declare var InviteMembers: StaticOperationSchema;
|
|
@@ -259,6 +259,10 @@ import {
|
|
|
259
259
|
GetFindingStatisticsV2CommandInput,
|
|
260
260
|
GetFindingStatisticsV2CommandOutput,
|
|
261
261
|
} from "./commands/GetFindingStatisticsV2Command";
|
|
262
|
+
import {
|
|
263
|
+
GetFindingsTrendsV2CommandInput,
|
|
264
|
+
GetFindingsTrendsV2CommandOutput,
|
|
265
|
+
} from "./commands/GetFindingsTrendsV2Command";
|
|
262
266
|
import {
|
|
263
267
|
GetFindingsV2CommandInput,
|
|
264
268
|
GetFindingsV2CommandOutput,
|
|
@@ -287,6 +291,10 @@ import {
|
|
|
287
291
|
GetResourcesStatisticsV2CommandInput,
|
|
288
292
|
GetResourcesStatisticsV2CommandOutput,
|
|
289
293
|
} from "./commands/GetResourcesStatisticsV2Command";
|
|
294
|
+
import {
|
|
295
|
+
GetResourcesTrendsV2CommandInput,
|
|
296
|
+
GetResourcesTrendsV2CommandOutput,
|
|
297
|
+
} from "./commands/GetResourcesTrendsV2Command";
|
|
290
298
|
import {
|
|
291
299
|
GetResourcesV2CommandInput,
|
|
292
300
|
GetResourcesV2CommandOutput,
|
|
@@ -1319,6 +1327,19 @@ export interface SecurityHub {
|
|
|
1319
1327
|
options: __HttpHandlerOptions,
|
|
1320
1328
|
cb: (err: any, data?: GetFindingStatisticsV2CommandOutput) => void
|
|
1321
1329
|
): void;
|
|
1330
|
+
getFindingsTrendsV2(
|
|
1331
|
+
args: GetFindingsTrendsV2CommandInput,
|
|
1332
|
+
options?: __HttpHandlerOptions
|
|
1333
|
+
): Promise<GetFindingsTrendsV2CommandOutput>;
|
|
1334
|
+
getFindingsTrendsV2(
|
|
1335
|
+
args: GetFindingsTrendsV2CommandInput,
|
|
1336
|
+
cb: (err: any, data?: GetFindingsTrendsV2CommandOutput) => void
|
|
1337
|
+
): void;
|
|
1338
|
+
getFindingsTrendsV2(
|
|
1339
|
+
args: GetFindingsTrendsV2CommandInput,
|
|
1340
|
+
options: __HttpHandlerOptions,
|
|
1341
|
+
cb: (err: any, data?: GetFindingsTrendsV2CommandOutput) => void
|
|
1342
|
+
): void;
|
|
1322
1343
|
getFindingsV2(): Promise<GetFindingsV2CommandOutput>;
|
|
1323
1344
|
getFindingsV2(
|
|
1324
1345
|
args: GetFindingsV2CommandInput,
|
|
@@ -1414,6 +1435,19 @@ export interface SecurityHub {
|
|
|
1414
1435
|
options: __HttpHandlerOptions,
|
|
1415
1436
|
cb: (err: any, data?: GetResourcesStatisticsV2CommandOutput) => void
|
|
1416
1437
|
): void;
|
|
1438
|
+
getResourcesTrendsV2(
|
|
1439
|
+
args: GetResourcesTrendsV2CommandInput,
|
|
1440
|
+
options?: __HttpHandlerOptions
|
|
1441
|
+
): Promise<GetResourcesTrendsV2CommandOutput>;
|
|
1442
|
+
getResourcesTrendsV2(
|
|
1443
|
+
args: GetResourcesTrendsV2CommandInput,
|
|
1444
|
+
cb: (err: any, data?: GetResourcesTrendsV2CommandOutput) => void
|
|
1445
|
+
): void;
|
|
1446
|
+
getResourcesTrendsV2(
|
|
1447
|
+
args: GetResourcesTrendsV2CommandInput,
|
|
1448
|
+
options: __HttpHandlerOptions,
|
|
1449
|
+
cb: (err: any, data?: GetResourcesTrendsV2CommandOutput) => void
|
|
1450
|
+
): void;
|
|
1417
1451
|
getResourcesV2(): Promise<GetResourcesV2CommandOutput>;
|
|
1418
1452
|
getResourcesV2(
|
|
1419
1453
|
args: GetResourcesV2CommandInput,
|
|
@@ -308,6 +308,10 @@ import {
|
|
|
308
308
|
GetFindingStatisticsV2CommandInput,
|
|
309
309
|
GetFindingStatisticsV2CommandOutput,
|
|
310
310
|
} from "./commands/GetFindingStatisticsV2Command";
|
|
311
|
+
import {
|
|
312
|
+
GetFindingsTrendsV2CommandInput,
|
|
313
|
+
GetFindingsTrendsV2CommandOutput,
|
|
314
|
+
} from "./commands/GetFindingsTrendsV2Command";
|
|
311
315
|
import {
|
|
312
316
|
GetFindingsV2CommandInput,
|
|
313
317
|
GetFindingsV2CommandOutput,
|
|
@@ -336,6 +340,10 @@ import {
|
|
|
336
340
|
GetResourcesStatisticsV2CommandInput,
|
|
337
341
|
GetResourcesStatisticsV2CommandOutput,
|
|
338
342
|
} from "./commands/GetResourcesStatisticsV2Command";
|
|
343
|
+
import {
|
|
344
|
+
GetResourcesTrendsV2CommandInput,
|
|
345
|
+
GetResourcesTrendsV2CommandOutput,
|
|
346
|
+
} from "./commands/GetResourcesTrendsV2Command";
|
|
339
347
|
import {
|
|
340
348
|
GetResourcesV2CommandInput,
|
|
341
349
|
GetResourcesV2CommandOutput,
|
|
@@ -541,6 +549,7 @@ export type ServiceInputTypes =
|
|
|
541
549
|
| GetFindingHistoryCommandInput
|
|
542
550
|
| GetFindingStatisticsV2CommandInput
|
|
543
551
|
| GetFindingsCommandInput
|
|
552
|
+
| GetFindingsTrendsV2CommandInput
|
|
544
553
|
| GetFindingsV2CommandInput
|
|
545
554
|
| GetInsightResultsCommandInput
|
|
546
555
|
| GetInsightsCommandInput
|
|
@@ -548,6 +557,7 @@ export type ServiceInputTypes =
|
|
|
548
557
|
| GetMasterAccountCommandInput
|
|
549
558
|
| GetMembersCommandInput
|
|
550
559
|
| GetResourcesStatisticsV2CommandInput
|
|
560
|
+
| GetResourcesTrendsV2CommandInput
|
|
551
561
|
| GetResourcesV2CommandInput
|
|
552
562
|
| GetSecurityControlDefinitionCommandInput
|
|
553
563
|
| InviteMembersCommandInput
|
|
@@ -647,6 +657,7 @@ export type ServiceOutputTypes =
|
|
|
647
657
|
| GetFindingHistoryCommandOutput
|
|
648
658
|
| GetFindingStatisticsV2CommandOutput
|
|
649
659
|
| GetFindingsCommandOutput
|
|
660
|
+
| GetFindingsTrendsV2CommandOutput
|
|
650
661
|
| GetFindingsV2CommandOutput
|
|
651
662
|
| GetInsightResultsCommandOutput
|
|
652
663
|
| GetInsightsCommandOutput
|
|
@@ -654,6 +665,7 @@ export type ServiceOutputTypes =
|
|
|
654
665
|
| GetMasterAccountCommandOutput
|
|
655
666
|
| GetMembersCommandOutput
|
|
656
667
|
| GetResourcesStatisticsV2CommandOutput
|
|
668
|
+
| GetResourcesTrendsV2CommandOutput
|
|
657
669
|
| GetResourcesV2CommandOutput
|
|
658
670
|
| GetSecurityControlDefinitionCommandOutput
|
|
659
671
|
| InviteMembersCommandOutput
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetFindingsTrendsV2Response } from "../models/models_2";
|
|
4
|
+
import { GetFindingsTrendsV2Request } from "../models/models_3";
|
|
5
|
+
import {
|
|
6
|
+
SecurityHubClientResolvedConfig,
|
|
7
|
+
ServiceInputTypes,
|
|
8
|
+
ServiceOutputTypes,
|
|
9
|
+
} from "../SecurityHubClient";
|
|
10
|
+
export { __MetadataBearer };
|
|
11
|
+
export { $Command };
|
|
12
|
+
export interface GetFindingsTrendsV2CommandInput
|
|
13
|
+
extends GetFindingsTrendsV2Request {}
|
|
14
|
+
export interface GetFindingsTrendsV2CommandOutput
|
|
15
|
+
extends GetFindingsTrendsV2Response,
|
|
16
|
+
__MetadataBearer {}
|
|
17
|
+
declare const GetFindingsTrendsV2Command_base: {
|
|
18
|
+
new (
|
|
19
|
+
input: GetFindingsTrendsV2CommandInput
|
|
20
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
21
|
+
GetFindingsTrendsV2CommandInput,
|
|
22
|
+
GetFindingsTrendsV2CommandOutput,
|
|
23
|
+
SecurityHubClientResolvedConfig,
|
|
24
|
+
ServiceInputTypes,
|
|
25
|
+
ServiceOutputTypes
|
|
26
|
+
>;
|
|
27
|
+
new (
|
|
28
|
+
input: GetFindingsTrendsV2CommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
GetFindingsTrendsV2CommandInput,
|
|
31
|
+
GetFindingsTrendsV2CommandOutput,
|
|
32
|
+
SecurityHubClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
36
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
37
|
+
};
|
|
38
|
+
export declare class GetFindingsTrendsV2Command extends GetFindingsTrendsV2Command_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: GetFindingsTrendsV2Request;
|
|
42
|
+
output: GetFindingsTrendsV2Response;
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: GetFindingsTrendsV2CommandInput;
|
|
46
|
+
output: GetFindingsTrendsV2CommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|