@aws-sdk/client-securityhub 3.1080.0 → 3.1082.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 +49 -0
- package/dist-cjs/index.js +459 -51
- package/dist-es/SecurityHub.js +14 -0
- package/dist-es/commands/CreateConnectorCommand.js +4 -0
- package/dist-es/commands/DeleteConnectorCommand.js +4 -0
- package/dist-es/commands/DisableSecurityHubFeatureV2Command.js +4 -0
- package/dist-es/commands/EnableSecurityHubFeatureV2Command.js +4 -0
- package/dist-es/commands/GetConnectorCommand.js +4 -0
- package/dist-es/commands/ListConnectorsCommand.js +4 -0
- package/dist-es/commands/UpdateConnectorCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +96 -0
- package/dist-es/schemas/schemas_0.js +284 -50
- package/dist-types/SecurityHub.d.ts +50 -0
- package/dist-types/SecurityHubClient.d.ts +9 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +2 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +1 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +11 -1
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/CreateConnectorCommand.d.ts +151 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +14 -1
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +111 -0
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +4 -2
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +6 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
- package/dist-types/commands/DisableSecurityHubFeatureV2Command.d.ts +88 -0
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +1 -1
- package/dist-types/commands/EnableSecurityHubFeatureV2Command.d.ts +88 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/GetConnectorCommand.d.ts +165 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +21 -1
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +5 -1
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetFindingsCommand.d.ts +14 -1
- package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +2 -2
- package/dist-types/commands/GetFindingsV2Command.d.ts +2 -2
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +2 -2
- package/dist-types/commands/GetResourcesV2Command.d.ts +10 -4
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsCommand.d.ts +155 -0
- package/dist-types/commands/ListConnectorsV2Command.d.ts +34 -5
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/UpdateConnectorCommand.d.ts +144 -0
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +16 -2
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +184 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/models/models_2.d.ts +889 -635
- package/dist-types/models/models_3.d.ts +625 -4
- package/dist-types/schemas/schemas_0.d.ts +36 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +120 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSecurityHubFeatureV2Command.d.ts +44 -0
- package/dist-types/ts3.4/commands/EnableSecurityHubFeatureV2Command.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +115 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_2.d.ts +250 -152
- package/dist-types/ts3.4/models/models_3.d.ts +173 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +8 -8
|
@@ -1,6 +1,563 @@
|
|
|
1
|
-
import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ControlFindingGenerator, ControlStatus, GroupByField, RecordState, ResourceGroupByField, RuleStatusV2, SecurityHubFeature, SortOrder, TargetType } from "./enums";
|
|
2
|
-
import type { AdminAccount, AutomationRulesActionV2, NoteUpdate } from "./models_0";
|
|
3
|
-
import type { AwsSecurityFindingFilters, FindingScopes, FindingsTrendsStringFilter,
|
|
1
|
+
import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, EnablementStatus, GroupByField, RecordState, RegionAvailabilityStatus, ResourceGroupByField, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
|
|
2
|
+
import type { AdminAccount, AggregatorV2, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, NoteUpdate } from "./models_0";
|
|
3
|
+
import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CspmConnectorSummary, CspmProviderUpdateConfiguration, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourceScopes, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, Result, SortCriterion, Target } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface GetSecurityControlDefinitionRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>
|
|
10
|
+
* The ID of the security control to retrieve the definition for. This field doesn’t accept an Amazon Resource Name (ARN).
|
|
11
|
+
* </p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
SecurityControlId: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>
|
|
18
|
+
* An object that describes a security control parameter and the options for customizing it.
|
|
19
|
+
* </p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface ParameterDefinition {
|
|
23
|
+
/**
|
|
24
|
+
* <p>
|
|
25
|
+
* Description of a control parameter.
|
|
26
|
+
* </p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
Description: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>
|
|
32
|
+
* The options for customizing a control parameter. Customization options vary based on the data type of the parameter.
|
|
33
|
+
* </p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
ConfigurationOptions: ConfigurationOptions | undefined;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>
|
|
40
|
+
* Provides metadata for a security control, including its unique standard-agnostic identifier, title, description,
|
|
41
|
+
* severity, availability in Amazon Web Services Regions, and a link to remediation steps.
|
|
42
|
+
* </p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface SecurityControlDefinition {
|
|
46
|
+
/**
|
|
47
|
+
* <p>
|
|
48
|
+
* The unique identifier of a security control across standards. Values for this field typically consist of an
|
|
49
|
+
* Amazon Web Services service name and a number (for example, APIGateway.3). This parameter differs from
|
|
50
|
+
* <code>SecurityControlArn</code>, which is a unique Amazon Resource Name (ARN) assigned to a control. The
|
|
51
|
+
* ARN references the security control ID (for example, arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).
|
|
52
|
+
* </p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
SecurityControlId: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>
|
|
58
|
+
* The title of a security control.
|
|
59
|
+
* </p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
Title: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* <p> The description of a security control across standards. This typically summarizes how
|
|
65
|
+
* Security Hub CSPM evaluates the control and the conditions under which it produces a
|
|
66
|
+
* failed finding. This parameter doesn't reference a specific standard. </p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
Description: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>
|
|
72
|
+
* A link to Security Hub CSPM documentation that explains how to remediate a failed finding for a security control.
|
|
73
|
+
* </p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
RemediationUrl: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>
|
|
79
|
+
* The severity of a security control. For more information about how Security Hub CSPM determines control severity,
|
|
80
|
+
* see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/controls-findings-create-update.html#control-findings-severity">Assigning severity to control findings</a> in the
|
|
81
|
+
* <i>Security Hub CSPM User Guide</i>.
|
|
82
|
+
* </p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
SeverityRating: SeverityRating | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>
|
|
88
|
+
* Specifies whether a security control is available in the current Amazon Web Services Region.
|
|
89
|
+
* </p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
CurrentRegionAvailability: RegionAvailabilityStatus | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>
|
|
95
|
+
* Security control properties that you can customize. Currently, only parameter customization is supported for select
|
|
96
|
+
* controls. An empty array is returned for controls that don’t support custom properties.
|
|
97
|
+
* </p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
CustomizableProperties?: SecurityControlProperty[] | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>
|
|
103
|
+
* An object that provides a security control parameter name, description, and the options for customizing it. This
|
|
104
|
+
* object is excluded for a control that doesn't support custom parameters.
|
|
105
|
+
* </p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
ParameterDefinitions?: Record<string, ParameterDefinition> | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The cloud provider whose resources the security control evaluates. For example, <code>AWS</code> or <code>Azure</code>.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
Provider?: SecurityControlsProvider | undefined;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export interface GetSecurityControlDefinitionResponse {
|
|
119
|
+
/**
|
|
120
|
+
* <p>
|
|
121
|
+
* Provides metadata for a security control, including its unique standard-agnostic identifier, title, description,
|
|
122
|
+
* severity, availability in Amazon Web Services Regions, and a link to remediation steps.
|
|
123
|
+
* </p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
SecurityControlDefinition: SecurityControlDefinition | undefined;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export interface InviteMembersRequest {
|
|
132
|
+
/**
|
|
133
|
+
* <p>The list of account IDs of the Amazon Web Services accounts to invite to Security Hub CSPM as members. </p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
AccountIds: string[] | undefined;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export interface InviteMembersResponse {
|
|
142
|
+
/**
|
|
143
|
+
* <p>The list of Amazon Web Services accounts that could not be processed. For each account, the list
|
|
144
|
+
* includes the account ID and the email address.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
UnprocessedAccounts?: Result[] | undefined;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* <p>The parameters used to modify an existing Jira Cloud integration.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export interface JiraCloudUpdateConfiguration {
|
|
154
|
+
/**
|
|
155
|
+
* <p>The project key for a JiraCloud instance.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
ProjectKey?: string | undefined;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export interface ListAggregatorsV2Request {
|
|
164
|
+
/**
|
|
165
|
+
* <p>The token required for pagination.
|
|
166
|
+
* On your first call, set the value of this parameter to <code>NULL</code>.
|
|
167
|
+
* For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
NextToken?: string | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* <p>The maximum number of results to return.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
MaxResults?: number | undefined;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export interface ListAggregatorsV2Response {
|
|
181
|
+
/**
|
|
182
|
+
* <p>An array of aggregators.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
AggregatorsV2?: AggregatorV2[] | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* <p>The pagination token to use to request the next page of results.
|
|
188
|
+
* Otherwise, this parameter is null.</p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
NextToken?: string | undefined;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
export interface ListAutomationRulesRequest {
|
|
197
|
+
/**
|
|
198
|
+
* <p>
|
|
199
|
+
* A token to specify where to start paginating the response. This is the <code>NextToken</code>
|
|
200
|
+
* from a previously truncated response. On your first call to the <code>ListAutomationRules</code>
|
|
201
|
+
* API, set the value of this parameter to <code>NULL</code>.
|
|
202
|
+
* </p>
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
NextToken?: string | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* <p> The maximum number of rules to return in the response. This currently ranges from 1 to
|
|
208
|
+
* 100. </p>
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
MaxResults?: number | undefined;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
export interface ListAutomationRulesResponse {
|
|
217
|
+
/**
|
|
218
|
+
* <p>
|
|
219
|
+
* Metadata for rules in the calling account. The response includes rules with a
|
|
220
|
+
* <code>RuleStatus</code> of <code>ENABLED</code> and <code>DISABLED</code>.
|
|
221
|
+
* </p>
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
AutomationRulesMetadata?: AutomationRulesMetadata[] | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>
|
|
227
|
+
* A pagination token for the response.
|
|
228
|
+
* </p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
NextToken?: string | undefined;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
export interface ListAutomationRulesV2Request {
|
|
237
|
+
/**
|
|
238
|
+
* <p>The token required for pagination.
|
|
239
|
+
* On your first call, set the value of this parameter to <code>NULL</code>.
|
|
240
|
+
* For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.</p>
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
NextToken?: string | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* <p>The maximum number of results to return.</p>
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
MaxResults?: number | undefined;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
export interface ListAutomationRulesV2Response {
|
|
254
|
+
/**
|
|
255
|
+
* <p>An array of automation rules.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
Rules?: AutomationRulesMetadataV2[] | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* <p>The pagination token to use to request the next page of results.
|
|
261
|
+
* Otherwise, this parameter is null.</p>
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
NextToken?: string | undefined;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
export interface ListConfigurationPoliciesRequest {
|
|
270
|
+
/**
|
|
271
|
+
* <p>
|
|
272
|
+
* The NextToken value that's returned from a previous paginated <code>ListConfigurationPolicies</code> request where
|
|
273
|
+
* <code>MaxResults</code> was used but the results exceeded the value of that parameter. Pagination continues from the
|
|
274
|
+
* <code>MaxResults</code> was used but the results exceeded the value of that parameter. Pagination continues from the
|
|
275
|
+
* end of the previous response that returned the <code>NextToken</code> value. This value is <code>null</code> when
|
|
276
|
+
* there are no more results to return.
|
|
277
|
+
* </p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
NextToken?: string | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* <p>
|
|
283
|
+
* The maximum number of results that's returned by <code>ListConfigurationPolicies</code> in each page of the response.
|
|
284
|
+
* When this parameter is used, <code>ListConfigurationPolicies</code> returns the specified number of results in a
|
|
285
|
+
* single page and a <code>NextToken</code> response element. You can see the remaining results of the initial request
|
|
286
|
+
* by sending another <code>ListConfigurationPolicies</code> request with the returned <code>NextToken</code> value. A
|
|
287
|
+
* valid range for <code>MaxResults</code> is between 1 and 100.
|
|
288
|
+
* </p>
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
MaxResults?: number | undefined;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
export interface ListConfigurationPoliciesResponse {
|
|
297
|
+
/**
|
|
298
|
+
* <p>
|
|
299
|
+
* Provides metadata for each of your configuration policies.
|
|
300
|
+
* </p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
ConfigurationPolicySummaries?: ConfigurationPolicySummary[] | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* <p>
|
|
306
|
+
* The <code>NextToken</code> value to include in the next <code>ListConfigurationPolicies</code> request. When the
|
|
307
|
+
* results of a <code>ListConfigurationPolicies</code> request exceed <code>MaxResults</code>, this value can be used to
|
|
308
|
+
* retrieve the next page of results. This value is <code>null</code> when there are no more results to return.
|
|
309
|
+
* </p>
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
NextToken?: string | undefined;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
export interface ListConfigurationPolicyAssociationsRequest {
|
|
318
|
+
/**
|
|
319
|
+
* <p>
|
|
320
|
+
* The <code>NextToken</code> value that's returned from a previous paginated <code>ListConfigurationPolicyAssociations</code>
|
|
321
|
+
* request where <code>MaxResults</code> was used but the results exceeded the value of that parameter. Pagination
|
|
322
|
+
* continues from the end of the previous response that returned the <code>NextToken</code> value. This value is <code>null</code>
|
|
323
|
+
* when there are no more results to return.
|
|
324
|
+
* </p>
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
NextToken?: string | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* <p>
|
|
330
|
+
* The maximum number of results that's returned by <code>ListConfigurationPolicies</code> in each page of the response.
|
|
331
|
+
* When this parameter is used, <code>ListConfigurationPolicyAssociations</code> returns the specified number of results
|
|
332
|
+
* in a single page and a <code>NextToken</code> response element. You can see the remaining results of the initial
|
|
333
|
+
* request by sending another <code>ListConfigurationPolicyAssociations</code> request with the returned <code>NextToken</code>
|
|
334
|
+
* value. A valid range for <code>MaxResults</code> is between 1 and 100.
|
|
335
|
+
* </p>
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
MaxResults?: number | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* <p>
|
|
341
|
+
* Options for filtering the <code>ListConfigurationPolicyAssociations</code> response. You can filter by the Amazon Resource Name (ARN) or
|
|
342
|
+
* universally unique identifier (UUID) of a configuration, <code>AssociationType</code>, or <code>AssociationStatus</code>.
|
|
343
|
+
* </p>
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
Filters?: AssociationFilters | undefined;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
export interface ListConfigurationPolicyAssociationsResponse {
|
|
352
|
+
/**
|
|
353
|
+
* <p>
|
|
354
|
+
* An object that contains the details of each configuration policy association that’s returned in a
|
|
355
|
+
* <code>ListConfigurationPolicyAssociations</code> request.
|
|
356
|
+
* </p>
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
ConfigurationPolicyAssociationSummaries?: ConfigurationPolicyAssociationSummary[] | undefined;
|
|
360
|
+
/**
|
|
361
|
+
* <p>
|
|
362
|
+
* The <code>NextToken</code> value to include in the next <code>ListConfigurationPolicyAssociations</code> request. When
|
|
363
|
+
* the results of a <code>ListConfigurationPolicyAssociations</code> request exceed <code>MaxResults</code>, this value
|
|
364
|
+
* can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.
|
|
365
|
+
* </p>
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
NextToken?: string | undefined;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export interface ListConnectorsRequest {
|
|
374
|
+
/**
|
|
375
|
+
* <p>The pagination token to request the next page of results.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
NextToken?: string | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* <p>The maximum number of results to return.</p>
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
MaxResults?: number | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* <p>The name of the cloud provider to filter connectors by.</p>
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
ProviderName?: CspmConnectorProviderName | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* <p>The connectivity status to filter connectors by.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
ConnectorStatus?: CspmConnectorStatus | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* <p>The enablement status to filter connectors by.</p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
EnablementStatus?: CspmEnablementStatus | undefined;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
export interface ListConnectorsResponse {
|
|
404
|
+
/**
|
|
405
|
+
* <p>The pagination token to use to request the next page of results. If there are no additional results, this value is null.</p>
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
NextToken?: string | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* <p>An array of connector summaries.</p>
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
Connectors: CspmConnectorSummary[] | undefined;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
export interface ListConnectorsV2Request {
|
|
419
|
+
/**
|
|
420
|
+
* <p>The pagination token per the Amazon Web Services Pagination standard</p>
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
NextToken?: string | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* <p>The maximum number of results to be returned.</p>
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
428
|
+
MaxResults?: number | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* <p>The name of the third-party provider.</p>
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
ProviderName?: ConnectorProviderName | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* <p>The status for the connectorV2.</p>
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
ConnectorStatus?: ConnectorStatus | undefined;
|
|
439
|
+
/**
|
|
440
|
+
* <p>The enablement status to filter connectors by.</p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
EnablementStatus?: EnablementStatus | undefined;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
export interface ListConnectorsV2Response {
|
|
449
|
+
/**
|
|
450
|
+
* <p>The pagination token to use to request the next page of results.
|
|
451
|
+
* Otherwise, this parameter is null.</p>
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
NextToken?: string | undefined;
|
|
455
|
+
/**
|
|
456
|
+
* <p>An array of connectorV2 summaries.</p>
|
|
457
|
+
* @public
|
|
458
|
+
*/
|
|
459
|
+
Connectors: ConnectorSummary[] | undefined;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
export interface ListEnabledProductsForImportRequest {
|
|
465
|
+
/**
|
|
466
|
+
* <p>The token that is required for pagination. On your first call to the
|
|
467
|
+
* <code>ListEnabledProductsForImport</code> operation, set the value of this parameter to
|
|
468
|
+
* <code>NULL</code>.</p>
|
|
469
|
+
* <p>For subsequent calls to the operation, to continue listing data, set the value of this
|
|
470
|
+
* parameter to the value returned from the previous response.</p>
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
NextToken?: string | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* <p>The maximum number of items to return in the response.</p>
|
|
476
|
+
* @public
|
|
477
|
+
*/
|
|
478
|
+
MaxResults?: number | undefined;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
export interface ListEnabledProductsForImportResponse {
|
|
484
|
+
/**
|
|
485
|
+
* <p>The list of ARNs for the resources that represent your subscriptions to products. </p>
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
ProductSubscriptions?: string[] | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* <p>The pagination token to use to request the next page of results.</p>
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
NextToken?: string | undefined;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
export interface ListFindingAggregatorsRequest {
|
|
499
|
+
/**
|
|
500
|
+
* <p>The token returned with the previous set of results. Identifies the next set of results to return.</p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
NextToken?: string | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* <p>The maximum number of results to return. This operation currently only returns a single result.</p>
|
|
506
|
+
* @public
|
|
507
|
+
*/
|
|
508
|
+
MaxResults?: number | undefined;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
export interface ListFindingAggregatorsResponse {
|
|
514
|
+
/**
|
|
515
|
+
* <p>The list of finding aggregators. This operation currently only returns a single result.</p>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
FindingAggregators?: FindingAggregator[] | undefined;
|
|
519
|
+
/**
|
|
520
|
+
* <p>If there are more results, this is the token to provide in the next call to <code>ListFindingAggregators</code>.</p>
|
|
521
|
+
* <p>This operation currently only returns a single result.
|
|
522
|
+
* </p>
|
|
523
|
+
* @public
|
|
524
|
+
*/
|
|
525
|
+
NextToken?: string | undefined;
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
export interface ListInvitationsRequest {
|
|
531
|
+
/**
|
|
532
|
+
* <p>The maximum number of items to return in the response. </p>
|
|
533
|
+
* @public
|
|
534
|
+
*/
|
|
535
|
+
MaxResults?: number | undefined;
|
|
536
|
+
/**
|
|
537
|
+
* <p>The token that is required for pagination. On your first call to the
|
|
538
|
+
* <code>ListInvitations</code> operation, set the value of this parameter to
|
|
539
|
+
* <code>NULL</code>.</p>
|
|
540
|
+
* <p>For subsequent calls to the operation, to continue listing data, set the value of this
|
|
541
|
+
* parameter to the value returned from the previous response.</p>
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
NextToken?: string | undefined;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
export interface ListInvitationsResponse {
|
|
550
|
+
/**
|
|
551
|
+
* <p>The details of the invitations returned by the operation.</p>
|
|
552
|
+
* @public
|
|
553
|
+
*/
|
|
554
|
+
Invitations?: Invitation[] | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* <p>The pagination token to use to request the next page of results.</p>
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
NextToken?: string | undefined;
|
|
560
|
+
}
|
|
4
561
|
/**
|
|
5
562
|
* @public
|
|
6
563
|
*/
|
|
@@ -117,6 +674,11 @@ export interface ListSecurityControlDefinitionsRequest {
|
|
|
117
674
|
* @public
|
|
118
675
|
*/
|
|
119
676
|
MaxResults?: number | undefined;
|
|
677
|
+
/**
|
|
678
|
+
* <p>A list of cloud providers to filter the security control definitions by. For example, specify <code>Azure</code> to return only controls that evaluate Azure resources.</p>
|
|
679
|
+
* @public
|
|
680
|
+
*/
|
|
681
|
+
Providers?: SecurityControlsProvider[] | undefined;
|
|
120
682
|
}
|
|
121
683
|
/**
|
|
122
684
|
* @public
|
|
@@ -287,7 +849,7 @@ export interface ServiceNowUpdateConfiguration {
|
|
|
287
849
|
* <p>The parameters required to update the configuration of an integration provider.</p>
|
|
288
850
|
* @public
|
|
289
851
|
*/
|
|
290
|
-
export type ProviderUpdateConfiguration = ProviderUpdateConfiguration.JiraCloudMember | ProviderUpdateConfiguration.ServiceNowMember | ProviderUpdateConfiguration.$UnknownMember;
|
|
852
|
+
export type ProviderUpdateConfiguration = ProviderUpdateConfiguration.AzureMember | ProviderUpdateConfiguration.JiraCloudMember | ProviderUpdateConfiguration.ServiceNowMember | ProviderUpdateConfiguration.$UnknownMember;
|
|
291
853
|
/**
|
|
292
854
|
* @public
|
|
293
855
|
*/
|
|
@@ -299,6 +861,7 @@ export declare namespace ProviderUpdateConfiguration {
|
|
|
299
861
|
interface JiraCloudMember {
|
|
300
862
|
JiraCloud: JiraCloudUpdateConfiguration;
|
|
301
863
|
ServiceNow?: never;
|
|
864
|
+
Azure?: never;
|
|
302
865
|
$unknown?: never;
|
|
303
866
|
}
|
|
304
867
|
/**
|
|
@@ -308,6 +871,17 @@ export declare namespace ProviderUpdateConfiguration {
|
|
|
308
871
|
interface ServiceNowMember {
|
|
309
872
|
JiraCloud?: never;
|
|
310
873
|
ServiceNow: ServiceNowUpdateConfiguration;
|
|
874
|
+
Azure?: never;
|
|
875
|
+
$unknown?: never;
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* <p>The parameters required to update the configuration for a Microsoft Azure CSPM integration.</p>
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
interface AzureMember {
|
|
882
|
+
JiraCloud?: never;
|
|
883
|
+
ServiceNow?: never;
|
|
884
|
+
Azure: AzureUpdateConfiguration;
|
|
311
885
|
$unknown?: never;
|
|
312
886
|
}
|
|
313
887
|
/**
|
|
@@ -316,6 +890,7 @@ export declare namespace ProviderUpdateConfiguration {
|
|
|
316
890
|
interface $UnknownMember {
|
|
317
891
|
JiraCloud?: never;
|
|
318
892
|
ServiceNow?: never;
|
|
893
|
+
Azure?: never;
|
|
319
894
|
$unknown: [string, any];
|
|
320
895
|
}
|
|
321
896
|
/**
|
|
@@ -325,6 +900,7 @@ export declare namespace ProviderUpdateConfiguration {
|
|
|
325
900
|
interface Visitor<T> {
|
|
326
901
|
JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
|
|
327
902
|
ServiceNow: (value: ServiceNowUpdateConfiguration) => T;
|
|
903
|
+
Azure: (value: AzureUpdateConfiguration) => T;
|
|
328
904
|
_: (name: string, value: any) => T;
|
|
329
905
|
}
|
|
330
906
|
}
|
|
@@ -678,6 +1254,41 @@ export interface UpdateConfigurationPolicyResponse {
|
|
|
678
1254
|
*/
|
|
679
1255
|
ConfigurationPolicy?: Policy | undefined;
|
|
680
1256
|
}
|
|
1257
|
+
/**
|
|
1258
|
+
* @public
|
|
1259
|
+
*/
|
|
1260
|
+
export interface UpdateConnectorRequest {
|
|
1261
|
+
/**
|
|
1262
|
+
* <p>The unique identifier of the connector to update.</p>
|
|
1263
|
+
* @public
|
|
1264
|
+
*/
|
|
1265
|
+
ConnectorId: string | undefined;
|
|
1266
|
+
/**
|
|
1267
|
+
* <p>The updated description of the connector.</p>
|
|
1268
|
+
* @public
|
|
1269
|
+
*/
|
|
1270
|
+
Description?: string | undefined;
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>The updated cloud provider configuration for the connector.</p>
|
|
1273
|
+
* @public
|
|
1274
|
+
*/
|
|
1275
|
+
Provider?: CspmProviderUpdateConfiguration | undefined;
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* @public
|
|
1279
|
+
*/
|
|
1280
|
+
export interface UpdateConnectorResponse {
|
|
1281
|
+
/**
|
|
1282
|
+
* <p>The connectivity status of the connector after the update.</p>
|
|
1283
|
+
* @public
|
|
1284
|
+
*/
|
|
1285
|
+
ConnectorStatus?: CspmConnectorStatus | undefined;
|
|
1286
|
+
/**
|
|
1287
|
+
* <p>The enablement status of the connector after the update.</p>
|
|
1288
|
+
* @public
|
|
1289
|
+
*/
|
|
1290
|
+
EnablementStatus?: CspmEnablementStatus | undefined;
|
|
1291
|
+
}
|
|
681
1292
|
/**
|
|
682
1293
|
* @public
|
|
683
1294
|
*/
|
|
@@ -702,6 +1313,16 @@ export interface UpdateConnectorV2Request {
|
|
|
702
1313
|
* @public
|
|
703
1314
|
*/
|
|
704
1315
|
export interface UpdateConnectorV2Response {
|
|
1316
|
+
/**
|
|
1317
|
+
* <p>The status of the connector after the update.</p>
|
|
1318
|
+
* @public
|
|
1319
|
+
*/
|
|
1320
|
+
ConnectorStatus?: ConnectorStatus | undefined;
|
|
1321
|
+
/**
|
|
1322
|
+
* <p>The enablement status of the connector after the update.</p>
|
|
1323
|
+
* @public
|
|
1324
|
+
*/
|
|
1325
|
+
EnablementStatus?: EnablementStatus | undefined;
|
|
705
1326
|
}
|
|
706
1327
|
/**
|
|
707
1328
|
* @public
|