@aws-sdk/client-securityhub 3.1144.0 → 3.1145.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 +14 -0
- package/dist-cjs/index.js +343 -32
- package/dist-es/SecurityHub.js +8 -0
- package/dist-es/commands/GetRemediationsV2Command.js +4 -0
- package/dist-es/commands/ListExposuresByRemediationV2Command.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +42 -0
- package/dist-es/pagination/GetRemediationsV2Paginator.js +4 -0
- package/dist-es/pagination/ListExposuresByRemediationV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +253 -31
- package/dist-types/SecurityHub.d.ts +29 -0
- package/dist-types/SecurityHubClient.d.ts +4 -2
- package/dist-types/commands/GetRemediationsV2Command.d.ts +218 -0
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +1 -2
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +1 -2
- package/dist-types/commands/ListExposuresByRemediationV2Command.d.ts +120 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +90 -0
- package/dist-types/models/models_0.d.ts +7 -2
- package/dist-types/models/models_2.d.ts +286 -137
- package/dist-types/models/models_3.d.ts +563 -3
- package/dist-types/pagination/GetRemediationsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListExposuresByRemediationV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +49 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetRemediationsV2Command.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetResourcesTrendsV2Command.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListExposuresByRemediationV2Command.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +49 -0
- package/dist-types/ts3.4/models/models_2.d.ts +84 -55
- package/dist-types/ts3.4/models/models_3.d.ts +134 -7
- package/dist-types/ts3.4/pagination/GetRemediationsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExposuresByRemediationV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +1 -1
|
@@ -1,7 +1,507 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, FreeTrialStatusValue, GroupByField, RecordState, RegionAvailabilityStatus, ResourceCategory, ResourceGroupByField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
|
|
3
|
-
import type { AccountFreeTrialStatus, AdminAccount, AggregatorV2, AIDetails, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, NoteUpdate } from "./models_0";
|
|
4
|
-
import type {
|
|
2
|
+
import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, FreeTrialStatusValue, GranularityField, GroupByField, RecordState, RegionAvailabilityStatus, RemediationPriority, RemediationStatus, ResourceCategory, ResourceGroupByField, ResourcesDateField, ResourcesMapField, ResourcesNumberField, ResourcesStringField, ResourcesTrendsStringField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
|
|
3
|
+
import type { AccountFreeTrialStatus, AdminAccount, AggregatorV2, AIDetails, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, DateFilter, MapFilter, NoteUpdate, NumberFilter, StringFilter } from "./models_0";
|
|
4
|
+
import type { AwsOrganizationScope } from "./models_1";
|
|
5
|
+
import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CspmConnectorSummary, CspmProviderUpdateConfiguration, ExposureFinding, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, GroupByResult, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, RemediationGuidance, Result, SortCriterion, Target } from "./models_2";
|
|
6
|
+
/**
|
|
7
|
+
* <p>The outcome from resolving the remediation target.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface RemediationOutcome {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The number of associated exposure findings that are resolved by remediating the target.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
ResolvedFindingsCount: number | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The number of associated exposure findings whose severity is reduced by remediating the target.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
SeverityReductionFindingsCount: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The number of associated exposure findings whose severity is unchanged by remediating the target.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
SeverityUnchangedCount: number | undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>A knowledge base article that provides additional guidance related to the remediation target.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface KbArticle {
|
|
32
|
+
/**
|
|
33
|
+
* <p>The title of the <code>KbArticle</code>.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
Title: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The URL of the <code>KbArticle</code>.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
Url: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>A summary of the remediation target.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export interface RemediationSummaryDetail {
|
|
48
|
+
/**
|
|
49
|
+
* <p>A summarized action to take for the remediation target.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
Action: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>A description of the remediation target.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
Description?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>Specifies whether the effect of this target is immediate.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
IsImmediate: boolean | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p>An array of steps to be taken after remediation.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
PostRemediationSteps?: string[] | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>An array of <code>KbArticle</code> objects.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
KbArticles?: KbArticle[] | undefined;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>Provides comprehensive details about a resource.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export interface RemediationResource {
|
|
79
|
+
/**
|
|
80
|
+
* <p>The Amazon Web Services account that recorded the resource data in Security Hub.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
AccountId: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The Amazon Web Services Region in which Security Hub recorded the resource data.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
Region: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The identifier of the cloud account that owns the resource. For Amazon Web Services resources, this is the Amazon Web Services account ID. For Azure resources, this is the Azure subscription ID.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
ResourceOwnerAccountId?: string | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The identifier of the cloud organization that owns the resource. For Amazon Web Services resources, this is the Organizations ID. For Azure resources, this is the Azure tenant ID.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
ResourceOwnerOrgId?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The type of the resource.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
Type: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The name of the resource.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
Name?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The unique identifier for a resource.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
Id: string | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>The global identifier used to identify a resource.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
ResourceGuid?: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The native cloud region where the resource is located. For Amazon Web Services, this is an Amazon Web Services Region (for example, <code>us-east-1</code>). For Azure resources, this is the Azure region (for example, <code>westus2</code>). This field is always included.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
ResourceRegion: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The cloud provider where the resource exists.</p>
|
|
126
|
+
* <ul>
|
|
127
|
+
* <li>
|
|
128
|
+
* <p>
|
|
129
|
+
* <code>AWS</code> specifies that the resource exists in Amazon Web Services.</p>
|
|
130
|
+
* </li>
|
|
131
|
+
* <li>
|
|
132
|
+
* <p>
|
|
133
|
+
* <code>Azure</code> specifies that the resource exists in Microsoft Azure.</p>
|
|
134
|
+
* </li>
|
|
135
|
+
* </ul>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
CloudProvider: CloudProviderName | undefined;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>The trait associated with the remediation target.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export interface RemediationTrait {
|
|
145
|
+
/**
|
|
146
|
+
* <p>The trait type.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
Type: string | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>The trait title.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
Title: string | undefined;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* <p>A remediation target.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export interface RemediationV2Item {
|
|
161
|
+
/**
|
|
162
|
+
* <p>The unique identifier (ID) of the remediation target.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
TargetUid: string | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* <p>The outcome of the remediation target's resolution.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
Outcome: RemediationOutcome | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* <p>The remediation target's priority. Valid values are <code>Critical</code>, <code>High</code>, <code>Medium</code>, and <code>Low</code>.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
Priority: RemediationPriority | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>A summary of the remediation target.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
RemediationSummary: RemediationSummaryDetail | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The remediation target's associated resource.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
Resource: RemediationResource | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* <p>The current status of the remediation target.</p>
|
|
188
|
+
* <ul>
|
|
189
|
+
* <li>
|
|
190
|
+
* <p>
|
|
191
|
+
* <code>New</code> specifies that the remediation target was newly identified.</p>
|
|
192
|
+
* </li>
|
|
193
|
+
* <li>
|
|
194
|
+
* <p>
|
|
195
|
+
* <code>Updated</code> specifies that the remediation target changed after it was identified.</p>
|
|
196
|
+
* </li>
|
|
197
|
+
* <li>
|
|
198
|
+
* <p>
|
|
199
|
+
* <code>Resolved</code> specifies that the remediation target is no longer present.</p>
|
|
200
|
+
* </li>
|
|
201
|
+
* </ul>
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
Status: RemediationStatus | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* <p>The trait associated with the remediation target.</p>
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
Trait: RemediationTrait | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* <p>The remediation target's guidance. Returned only when <code>ShowGuidance</code> is
|
|
212
|
+
* <code>true</code> in the request.</p>
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
Guidance?: RemediationGuidance | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* <p>The remediation target's last updated timestamp.</p>
|
|
218
|
+
* <p>For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see <a href="https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps">Timestamps</a>.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
UpdatedAt?: Date | undefined;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export interface GetRemediationsV2Response {
|
|
227
|
+
/**
|
|
228
|
+
* <p>An array of remediation targets returned by the operation.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
Items: RemediationV2Item[] | undefined;
|
|
232
|
+
/**
|
|
233
|
+
* <p>The pagination token to use to request the next page of results.
|
|
234
|
+
* Otherwise, this parameter is null.</p>
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
NextToken?: string | undefined;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* <p>Enables the filtering of Amazon Web Services resources based on date and timestamp attributes.</p>
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
export interface ResourcesDateFilter {
|
|
244
|
+
/**
|
|
245
|
+
* <p>The name of the field.</p>
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
FieldName?: ResourcesDateField | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* <p>A date filter for querying findings.</p>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
Filter?: DateFilter | undefined;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* <p>Enables filtering of Amazon Web Services resources based on key-value map attributes.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
export interface ResourcesMapFilter {
|
|
260
|
+
/**
|
|
261
|
+
* <p>The name of the field.</p>
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
FieldName?: ResourcesMapField | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* <p>A map filter for filtering Security Hub CSPM findings. Each map filter provides the field to check for, the
|
|
267
|
+
* value to check for, and the comparison operator.</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
Filter?: MapFilter | undefined;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* <p>Enables filtering of Amazon Web Services resources based on numerical values.</p>
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
export interface ResourcesNumberFilter {
|
|
277
|
+
/**
|
|
278
|
+
* <p>The name of the field.</p>
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
FieldName?: ResourcesNumberField | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* <p>A number filter for querying findings.</p>
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
286
|
+
Filter?: NumberFilter | undefined;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* <p>Enables filtering of Amazon Web Services resources based on string field values.</p>
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
export interface ResourcesStringFilter {
|
|
293
|
+
/**
|
|
294
|
+
* <p>The name of the field.</p>
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
FieldName?: ResourcesStringField | undefined;
|
|
298
|
+
/**
|
|
299
|
+
* <p>A string filter for filtering Security Hub CSPM findings.</p>
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
Filter?: StringFilter | undefined;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* <p>Defines the data boundary for a resources query. Scopes determine which organizational units or organizations to retrieve data from.</p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
export interface ResourceScopes {
|
|
309
|
+
/**
|
|
310
|
+
* <p>A list of Organizations scopes to include in the query results. Each entry in the list specifies an organization or organizational unit to include for the delegated administrator's account. If the list specifies multiple entries, the entries are combined using OR logic.</p>
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
AwsOrganizations?: AwsOrganizationScope[] | undefined;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
export interface GetResourcesStatisticsV2Response {
|
|
319
|
+
/**
|
|
320
|
+
* <p>The aggregated statistics about resources based on the specified grouping rule.</p>
|
|
321
|
+
* @public
|
|
322
|
+
*/
|
|
323
|
+
GroupByResults: GroupByResult[] | undefined;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* <p>A filter for string-based fields in resources trend data, such as resource type or account ID.</p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
export interface ResourcesTrendsStringFilter {
|
|
330
|
+
/**
|
|
331
|
+
* <p>The name of the resources field to filter on. You can specify one of the following fields.</p>
|
|
332
|
+
* <ul>
|
|
333
|
+
* <li>
|
|
334
|
+
* <p>
|
|
335
|
+
* <code>account_id</code> – The Amazon Web Services account ID that owns the resource.</p>
|
|
336
|
+
* </li>
|
|
337
|
+
* <li>
|
|
338
|
+
* <p>
|
|
339
|
+
* <code>region</code> – The Amazon Web Services Region of the resource.</p>
|
|
340
|
+
* </li>
|
|
341
|
+
* <li>
|
|
342
|
+
* <p>
|
|
343
|
+
* <code>resource_type</code> – The type of the resource.</p>
|
|
344
|
+
* </li>
|
|
345
|
+
* <li>
|
|
346
|
+
* <p>
|
|
347
|
+
* <code>resource_category</code> – The category of the resource.</p>
|
|
348
|
+
* </li>
|
|
349
|
+
* <li>
|
|
350
|
+
* <p>
|
|
351
|
+
* <code>resource_cloud_provider</code> – The cloud provider of the resource. Valid values are <code>AWS</code> and <code>Azure</code>.</p>
|
|
352
|
+
* </li>
|
|
353
|
+
* <li>
|
|
354
|
+
* <p>
|
|
355
|
+
* <code>resource_region</code> – The Region of the resource. For an Amazon Web Services resource, this is the Amazon Web Services Region. For an Azure resource, this is the Azure Region, such as <code>eastus</code>.</p>
|
|
356
|
+
* </li>
|
|
357
|
+
* <li>
|
|
358
|
+
* <p>
|
|
359
|
+
* <code>resource_owner_id</code> – The identifier of the account that owns the resource. For an Amazon Web Services resource, this is the Amazon Web Services account ID. For an Azure resource, this is the Azure subscription ID.</p>
|
|
360
|
+
* </li>
|
|
361
|
+
* <li>
|
|
362
|
+
* <p>
|
|
363
|
+
* <code>resource_owner_organization_id</code> – The identifier of the organization that owns the resource. For an Amazon Web Services resource, this is the Amazon Web Services organization ID. For an Azure resource, this is the Azure tenant ID.</p>
|
|
364
|
+
* </li>
|
|
365
|
+
* </ul>
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
FieldName?: ResourcesTrendsStringField | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* <p>A string filter for filtering Security Hub CSPM findings.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
Filter?: StringFilter | undefined;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* <p>Contains counts of resources for trend analysis.</p>
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
export interface ResourcesCount {
|
|
380
|
+
/**
|
|
381
|
+
* <p>The total count of all resources for the given time interval.</p>
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
AllResources: number | undefined;
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* <p>Contains the aggregated resource count values for a specific point in the resources trend timeline.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
export interface ResourcesTrendsValues {
|
|
391
|
+
/**
|
|
392
|
+
* <p>The resource count statistics for this data point in the trend timeline.</p>
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
395
|
+
ResourcesCount: ResourcesCount | undefined;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* <p>Contains the resource trend metrics data for a specific time point in the requested time period.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
export interface ResourcesTrendsMetricsResult {
|
|
402
|
+
/**
|
|
403
|
+
* <p>The timestamp for this data point in the resources trend metrics.</p>
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
Timestamp: Date | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* <p>The resource trend metric values associated with this timestamp, including resource counts.</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
TrendsValues: ResourcesTrendsValues | undefined;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
export interface GetResourcesTrendsV2Response {
|
|
417
|
+
/**
|
|
418
|
+
* <p>The time interval granularity for the returned trend data (such as DAILY or WEEKLY).</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
Granularity: GranularityField | undefined;
|
|
422
|
+
/**
|
|
423
|
+
* <p>The collection of time-series trend metrics, including counts of resources across the specified time period.</p>
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
TrendsMetrics: ResourcesTrendsMetricsResult[] | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* <p>The token to use for retrieving the next page of results, if more trend data is available.</p>
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
NextToken?: string | undefined;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* <p>A comprehensive distribution of security findings by severity level for Amazon Web Services resources.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
export interface ResourceSeverityBreakdown {
|
|
438
|
+
/**
|
|
439
|
+
* <p>The number of findings not in any of the severity categories.</p>
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
Other?: number | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* <p>The number of findings with a severity level of fatal.</p>
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
Fatal?: number | undefined;
|
|
448
|
+
/**
|
|
449
|
+
* <p>The number of findings with a severity level of critical.</p>
|
|
450
|
+
* @public
|
|
451
|
+
*/
|
|
452
|
+
Critical?: number | undefined;
|
|
453
|
+
/**
|
|
454
|
+
* <p>The number of findings with a severity level of high.</p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
High?: number | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* <p>The number of findings with a severity level of medium.</p>
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
Medium?: number | undefined;
|
|
463
|
+
/**
|
|
464
|
+
* <p>The number of findings with a severity level of low.</p>
|
|
465
|
+
* @public
|
|
466
|
+
*/
|
|
467
|
+
Low?: number | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* <p>The number of findings that provide security-related information.</p>
|
|
470
|
+
* @public
|
|
471
|
+
*/
|
|
472
|
+
Informational?: number | undefined;
|
|
473
|
+
/**
|
|
474
|
+
* <p>The number of findings with a severity level cannot be determined.</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
Unknown?: number | undefined;
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* <p>A list of summaries for all finding types on a resource.</p>
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
export interface ResourceFindingsSummary {
|
|
484
|
+
/**
|
|
485
|
+
* <p>The category or classification of the security finding.</p>
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
FindingType: string | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* <p>The name of the product associated with the security finding.</p>
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
ProductName: string | undefined;
|
|
494
|
+
/**
|
|
495
|
+
* <p>The total count of security findings.</p>
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
TotalFindings: number | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* <p>A breakdown of security findings by their severity levels.</p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
Severities?: ResourceSeverityBreakdown | undefined;
|
|
504
|
+
}
|
|
5
505
|
/**
|
|
6
506
|
* <p>Additional details about a resource that are specific to its category. For AI/ML resources and their host resources, this structure contains <code>AIDetails</code>.</p>
|
|
7
507
|
* @public
|
|
@@ -647,6 +1147,66 @@ export interface ListEnabledProductsForImportResponse {
|
|
|
647
1147
|
*/
|
|
648
1148
|
NextToken?: string | undefined;
|
|
649
1149
|
}
|
|
1150
|
+
/**
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
export interface ListExposuresByRemediationV2Request {
|
|
1154
|
+
/**
|
|
1155
|
+
* <p>The unique identifier (ID) of an existing remediation target to list exposure findings for.</p>
|
|
1156
|
+
* @public
|
|
1157
|
+
*/
|
|
1158
|
+
TargetUid: string | undefined;
|
|
1159
|
+
/**
|
|
1160
|
+
* <p>The maximum number of results to return. Valid range is 1-100. If you don't specify a value,
|
|
1161
|
+
* the operation returns up to 25 results.</p>
|
|
1162
|
+
* @public
|
|
1163
|
+
*/
|
|
1164
|
+
MaxResults?: number | undefined;
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>The token used to paginate the exposures list returned.
|
|
1167
|
+
* On your first call to <code>ListExposuresByRemediationV2</code>, omit this parameter or set it
|
|
1168
|
+
* to <code>NULL</code>. For subsequent calls, use the <code>NextToken</code> value returned in
|
|
1169
|
+
* the previous response to retrieve the next page of results.</p>
|
|
1170
|
+
* @public
|
|
1171
|
+
*/
|
|
1172
|
+
NextToken?: string | undefined;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* @public
|
|
1176
|
+
*/
|
|
1177
|
+
export interface ListExposuresByRemediationV2Response {
|
|
1178
|
+
/**
|
|
1179
|
+
* <p>An array of exposure findings returned by the operation.</p>
|
|
1180
|
+
* @public
|
|
1181
|
+
*/
|
|
1182
|
+
Items: ExposureFinding[] | undefined;
|
|
1183
|
+
/**
|
|
1184
|
+
* <p>The unique identifier (ID) of the remediation target that the exposure findings are associated with.</p>
|
|
1185
|
+
* @public
|
|
1186
|
+
*/
|
|
1187
|
+
TargetUid: string | undefined;
|
|
1188
|
+
/**
|
|
1189
|
+
* <p>Provides comprehensive details about a resource.</p>
|
|
1190
|
+
* @public
|
|
1191
|
+
*/
|
|
1192
|
+
Resource: RemediationResource | undefined;
|
|
1193
|
+
/**
|
|
1194
|
+
* <p>The total count of exposure findings associated with the remediation target.</p>
|
|
1195
|
+
* @public
|
|
1196
|
+
*/
|
|
1197
|
+
TotalCount: number | undefined;
|
|
1198
|
+
/**
|
|
1199
|
+
* <p>The specific trait associated with the remediation target.</p>
|
|
1200
|
+
* @public
|
|
1201
|
+
*/
|
|
1202
|
+
Trait: RemediationTrait | undefined;
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>The pagination token to use to request the next page of results.
|
|
1205
|
+
* Otherwise, this parameter is null.</p>
|
|
1206
|
+
* @public
|
|
1207
|
+
*/
|
|
1208
|
+
NextToken?: string | undefined;
|
|
1209
|
+
}
|
|
650
1210
|
/**
|
|
651
1211
|
* @public
|
|
652
1212
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetRemediationsV2CommandInput, GetRemediationsV2CommandOutput } from "../commands/GetRemediationsV2Command";
|
|
3
|
+
import type { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetRemediationsV2: (config: SecurityHubPaginationConfiguration, input: GetRemediationsV2CommandInput, ...rest: any[]) => Paginator<GetRemediationsV2CommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListExposuresByRemediationV2CommandInput, ListExposuresByRemediationV2CommandOutput } from "../commands/ListExposuresByRemediationV2Command";
|
|
3
|
+
import type { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListExposuresByRemediationV2: (config: SecurityHubPaginationConfiguration, input: ListExposuresByRemediationV2CommandInput, ...rest: any[]) => Paginator<ListExposuresByRemediationV2CommandOutput>;
|
|
@@ -11,12 +11,14 @@ export * from "./GetFindingsTrendsV2Paginator";
|
|
|
11
11
|
export * from "./GetFindingsV2Paginator";
|
|
12
12
|
export * from "./GetInsightsPaginator";
|
|
13
13
|
export * from "./GetRecommendedPolicyV2Paginator";
|
|
14
|
+
export * from "./GetRemediationsV2Paginator";
|
|
14
15
|
export * from "./GetResourcesTrendsV2Paginator";
|
|
15
16
|
export * from "./GetResourcesV2Paginator";
|
|
16
17
|
export * from "./ListAggregatorsV2Paginator";
|
|
17
18
|
export * from "./ListConfigurationPoliciesPaginator";
|
|
18
19
|
export * from "./ListConfigurationPolicyAssociationsPaginator";
|
|
19
20
|
export * from "./ListEnabledProductsForImportPaginator";
|
|
21
|
+
export * from "./ListExposuresByRemediationV2Paginator";
|
|
20
22
|
export * from "./ListFindingAggregatorsPaginator";
|
|
21
23
|
export * from "./ListFreeTrialStatusesV2Paginator";
|
|
22
24
|
export * from "./ListInvitationsPaginator";
|
|
@@ -701,6 +701,7 @@ export declare var EnableSecurityHubV2Request$: StaticStructureSchema;
|
|
|
701
701
|
export declare var EnableSecurityHubV2Response$: StaticStructureSchema;
|
|
702
702
|
export declare var EnumConfigurationOptions$: StaticStructureSchema;
|
|
703
703
|
export declare var EnumListConfigurationOptions$: StaticStructureSchema;
|
|
704
|
+
export declare var ExposureFinding$: StaticStructureSchema;
|
|
704
705
|
export declare var ExternalIntegrationConfiguration$: StaticStructureSchema;
|
|
705
706
|
export declare var FeatureDetail$: StaticStructureSchema;
|
|
706
707
|
export declare var FilePaths$: StaticStructureSchema;
|
|
@@ -763,6 +764,8 @@ export declare var GetMembersRequest$: StaticStructureSchema;
|
|
|
763
764
|
export declare var GetMembersResponse$: StaticStructureSchema;
|
|
764
765
|
export declare var GetRecommendedPolicyV2Request$: StaticStructureSchema;
|
|
765
766
|
export declare var GetRecommendedPolicyV2Response$: StaticStructureSchema;
|
|
767
|
+
export declare var GetRemediationsV2Request$: StaticStructureSchema;
|
|
768
|
+
export declare var GetRemediationsV2Response$: StaticStructureSchema;
|
|
766
769
|
export declare var GetResourcesStatisticsV2Request$: StaticStructureSchema;
|
|
767
770
|
export declare var GetResourcesStatisticsV2Response$: StaticStructureSchema;
|
|
768
771
|
export declare var GetResourcesTrendsV2Request$: StaticStructureSchema;
|
|
@@ -793,6 +796,7 @@ export declare var Ipv6CidrBlockAssociation$: StaticStructureSchema;
|
|
|
793
796
|
export declare var JiraCloudDetail$: StaticStructureSchema;
|
|
794
797
|
export declare var JiraCloudProviderConfiguration$: StaticStructureSchema;
|
|
795
798
|
export declare var JiraCloudUpdateConfiguration$: StaticStructureSchema;
|
|
799
|
+
export declare var KbArticle$: StaticStructureSchema;
|
|
796
800
|
export declare var KeywordFilter$: StaticStructureSchema;
|
|
797
801
|
export declare var ListAggregatorsV2Request$: StaticStructureSchema;
|
|
798
802
|
export declare var ListAggregatorsV2Response$: StaticStructureSchema;
|
|
@@ -810,6 +814,8 @@ export declare var ListConnectorsV2Request$: StaticStructureSchema;
|
|
|
810
814
|
export declare var ListConnectorsV2Response$: StaticStructureSchema;
|
|
811
815
|
export declare var ListEnabledProductsForImportRequest$: StaticStructureSchema;
|
|
812
816
|
export declare var ListEnabledProductsForImportResponse$: StaticStructureSchema;
|
|
817
|
+
export declare var ListExposuresByRemediationV2Request$: StaticStructureSchema;
|
|
818
|
+
export declare var ListExposuresByRemediationV2Response$: StaticStructureSchema;
|
|
813
819
|
export declare var ListFindingAggregatorsRequest$: StaticStructureSchema;
|
|
814
820
|
export declare var ListFindingAggregatorsResponse$: StaticStructureSchema;
|
|
815
821
|
export declare var ListFreeTrialStatusesV2Request$: StaticStructureSchema;
|
|
@@ -873,6 +879,22 @@ export declare var RegisterConnectorV2Request$: StaticStructureSchema;
|
|
|
873
879
|
export declare var RegisterConnectorV2Response$: StaticStructureSchema;
|
|
874
880
|
export declare var RelatedFinding$: StaticStructureSchema;
|
|
875
881
|
export declare var Remediation$: StaticStructureSchema;
|
|
882
|
+
export declare var RemediationCompositeFilter$: StaticStructureSchema;
|
|
883
|
+
export declare var RemediationFilters$: StaticStructureSchema;
|
|
884
|
+
export declare var RemediationGuidance$: StaticStructureSchema;
|
|
885
|
+
export declare var RemediationGuidanceContext$: StaticStructureSchema;
|
|
886
|
+
export declare var RemediationGuidanceExamples$: StaticStructureSchema;
|
|
887
|
+
export declare var RemediationGuidanceMetadata$: StaticStructureSchema;
|
|
888
|
+
export declare var RemediationGuidanceSpecification$: StaticStructureSchema;
|
|
889
|
+
export declare var RemediationOutcome$: StaticStructureSchema;
|
|
890
|
+
export declare var RemediationParameter$: StaticStructureSchema;
|
|
891
|
+
export declare var RemediationResource$: StaticStructureSchema;
|
|
892
|
+
export declare var RemediationStep$: StaticStructureSchema;
|
|
893
|
+
export declare var RemediationStringFilter$: StaticStructureSchema;
|
|
894
|
+
export declare var RemediationStringFilterCondition$: StaticStructureSchema;
|
|
895
|
+
export declare var RemediationSummaryDetail$: StaticStructureSchema;
|
|
896
|
+
export declare var RemediationTrait$: StaticStructureSchema;
|
|
897
|
+
export declare var RemediationV2Item$: StaticStructureSchema;
|
|
876
898
|
export declare var Resource$: StaticStructureSchema;
|
|
877
899
|
export declare var ResourceDetails$: StaticStructureSchema;
|
|
878
900
|
export declare var ResourceFindingsSummary$: StaticStructureSchema;
|
|
@@ -1101,6 +1123,7 @@ export declare var GetInvitationsCount$: StaticOperationSchema;
|
|
|
1101
1123
|
export declare var GetMasterAccount$: StaticOperationSchema;
|
|
1102
1124
|
export declare var GetMembers$: StaticOperationSchema;
|
|
1103
1125
|
export declare var GetRecommendedPolicyV2$: StaticOperationSchema;
|
|
1126
|
+
export declare var GetRemediationsV2$: StaticOperationSchema;
|
|
1104
1127
|
export declare var GetResourcesStatisticsV2$: StaticOperationSchema;
|
|
1105
1128
|
export declare var GetResourcesTrendsV2$: StaticOperationSchema;
|
|
1106
1129
|
export declare var GetResourcesV2$: StaticOperationSchema;
|
|
@@ -1114,6 +1137,7 @@ export declare var ListConfigurationPolicyAssociations$: StaticOperationSchema;
|
|
|
1114
1137
|
export declare var ListConnectors$: StaticOperationSchema;
|
|
1115
1138
|
export declare var ListConnectorsV2$: StaticOperationSchema;
|
|
1116
1139
|
export declare var ListEnabledProductsForImport$: StaticOperationSchema;
|
|
1140
|
+
export declare var ListExposuresByRemediationV2$: StaticOperationSchema;
|
|
1117
1141
|
export declare var ListFindingAggregators$: StaticOperationSchema;
|
|
1118
1142
|
export declare var ListFreeTrialStatusesV2$: StaticOperationSchema;
|
|
1119
1143
|
export declare var ListInvitations$: StaticOperationSchema;
|