@aws-sdk/client-securityhub 3.451.0 → 3.458.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 +83 -67
- package/dist-cjs/SecurityHub.js +4 -0
- package/dist-cjs/commands/GetSecurityControlDefinitionCommand.js +51 -0
- package/dist-cjs/commands/UpdateSecurityControlCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_2.js +71 -1
- package/dist-cjs/protocols/Aws_restJson1.js +349 -5
- package/dist-es/SecurityHub.js +4 -0
- package/dist-es/commands/GetSecurityControlDefinitionCommand.js +47 -0
- package/dist-es/commands/UpdateSecurityControlCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_2.js +69 -0
- package/dist-es/protocols/Aws_restJson1.js +343 -3
- package/dist-types/SecurityHub.d.ts +14 -0
- package/dist-types/SecurityHubClient.d.ts +4 -2
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +4 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +23 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +9 -3
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +4 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +4 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +14 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +23 -3
- package/dist-types/commands/GetInsightsCommand.d.ts +14 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +158 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +59 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +14 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +14 -0
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +118 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +15 -1
- package/dist-types/models/models_1.d.ts +29 -37
- package/dist-types/models/models_2.d.ts +987 -147
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -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/GetSecurityControlDefinitionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +5 -6
- package/dist-types/ts3.4/models/models_2.d.ts +361 -15
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +3 -3
|
@@ -124,6 +124,8 @@ export interface BatchGetAutomationRulesCommandOutput extends BatchGetAutomation
|
|
|
124
124
|
* // { // NumberFilter
|
|
125
125
|
* // Gte: Number("double"),
|
|
126
126
|
* // Lte: Number("double"),
|
|
127
|
+
* // Gt: Number("double"),
|
|
128
|
+
* // Lt: Number("double"),
|
|
127
129
|
* // Eq: Number("double"),
|
|
128
130
|
* // },
|
|
129
131
|
* // ],
|
|
@@ -131,6 +133,8 @@ export interface BatchGetAutomationRulesCommandOutput extends BatchGetAutomation
|
|
|
131
133
|
* // {
|
|
132
134
|
* // Gte: Number("double"),
|
|
133
135
|
* // Lte: Number("double"),
|
|
136
|
+
* // Gt: Number("double"),
|
|
137
|
+
* // Lt: Number("double"),
|
|
134
138
|
* // Eq: Number("double"),
|
|
135
139
|
* // },
|
|
136
140
|
* // ],
|
|
@@ -49,6 +49,29 @@ export interface BatchGetSecurityControlsCommandOutput extends BatchGetSecurityC
|
|
|
49
49
|
* // RemediationUrl: "STRING_VALUE", // required
|
|
50
50
|
* // SeverityRating: "LOW" || "MEDIUM" || "HIGH" || "CRITICAL", // required
|
|
51
51
|
* // SecurityControlStatus: "ENABLED" || "DISABLED", // required
|
|
52
|
+
* // UpdateStatus: "READY" || "UPDATING",
|
|
53
|
+
* // Parameters: { // Parameters
|
|
54
|
+
* // "<keys>": { // ParameterConfiguration
|
|
55
|
+
* // ValueType: "DEFAULT" || "CUSTOM", // required
|
|
56
|
+
* // Value: { // ParameterValue Union: only one key present
|
|
57
|
+
* // Integer: Number("int"),
|
|
58
|
+
* // IntegerList: [ // IntegerList
|
|
59
|
+
* // Number("int"),
|
|
60
|
+
* // ],
|
|
61
|
+
* // Double: Number("double"),
|
|
62
|
+
* // String: "STRING_VALUE",
|
|
63
|
+
* // StringList: [ // StringList
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // Boolean: true || false,
|
|
67
|
+
* // Enum: "STRING_VALUE",
|
|
68
|
+
* // EnumList: [
|
|
69
|
+
* // "STRING_VALUE",
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // LastUpdateReason: "STRING_VALUE",
|
|
52
75
|
* // },
|
|
53
76
|
* // ],
|
|
54
77
|
* // UnprocessedIds: [ // UnprocessedSecurityControls
|
|
@@ -3991,6 +3991,14 @@ export interface BatchImportFindingsCommandOutput extends BatchImportFindingsRes
|
|
|
3991
3991
|
* StandardsId: "STRING_VALUE",
|
|
3992
3992
|
* },
|
|
3993
3993
|
* ],
|
|
3994
|
+
* SecurityControlParameters: [ // SecurityControlParametersList
|
|
3995
|
+
* { // SecurityControlParameter
|
|
3996
|
+
* Name: "STRING_VALUE",
|
|
3997
|
+
* Value: [
|
|
3998
|
+
* "STRING_VALUE",
|
|
3999
|
+
* ],
|
|
4000
|
+
* },
|
|
4001
|
+
* ],
|
|
3994
4002
|
* },
|
|
3995
4003
|
* VerificationState: "UNKNOWN" || "TRUE_POSITIVE" || "FALSE_POSITIVE" || "BENIGN_POSITIVE",
|
|
3996
4004
|
* WorkflowState: "NEW" || "ASSIGNED" || "IN_PROGRESS" || "DEFERRED" || "RESOLVED",
|
|
@@ -4055,9 +4063,7 @@ export interface BatchImportFindingsCommandOutput extends BatchImportFindingsRes
|
|
|
4055
4063
|
* ExploitAvailable: "YES" || "NO",
|
|
4056
4064
|
* CodeVulnerabilities: [ // VulnerabilityCodeVulnerabilitiesList
|
|
4057
4065
|
* { // VulnerabilityCodeVulnerabilities
|
|
4058
|
-
* Cwes:
|
|
4059
|
-
* "STRING_VALUE",
|
|
4060
|
-
* ],
|
|
4066
|
+
* Cwes: "<TypeList>",
|
|
4061
4067
|
* FilePath: { // CodeVulnerabilitiesFilePath
|
|
4062
4068
|
* EndLine: Number("int"),
|
|
4063
4069
|
* FileName: "STRING_VALUE",
|
|
@@ -117,6 +117,8 @@ export interface BatchUpdateAutomationRulesCommandOutput extends BatchUpdateAuto
|
|
|
117
117
|
* { // NumberFilter
|
|
118
118
|
* Gte: Number("double"),
|
|
119
119
|
* Lte: Number("double"),
|
|
120
|
+
* Gt: Number("double"),
|
|
121
|
+
* Lt: Number("double"),
|
|
120
122
|
* Eq: Number("double"),
|
|
121
123
|
* },
|
|
122
124
|
* ],
|
|
@@ -124,6 +126,8 @@ export interface BatchUpdateAutomationRulesCommandOutput extends BatchUpdateAuto
|
|
|
124
126
|
* {
|
|
125
127
|
* Gte: Number("double"),
|
|
126
128
|
* Lte: Number("double"),
|
|
129
|
+
* Gt: Number("double"),
|
|
130
|
+
* Lt: Number("double"),
|
|
127
131
|
* Eq: Number("double"),
|
|
128
132
|
* },
|
|
129
133
|
* ],
|
|
@@ -116,6 +116,8 @@ export interface CreateAutomationRuleCommandOutput extends CreateAutomationRuleR
|
|
|
116
116
|
* { // NumberFilter
|
|
117
117
|
* Gte: Number("double"),
|
|
118
118
|
* Lte: Number("double"),
|
|
119
|
+
* Gt: Number("double"),
|
|
120
|
+
* Lt: Number("double"),
|
|
119
121
|
* Eq: Number("double"),
|
|
120
122
|
* },
|
|
121
123
|
* ],
|
|
@@ -123,6 +125,8 @@ export interface CreateAutomationRuleCommandOutput extends CreateAutomationRuleR
|
|
|
123
125
|
* {
|
|
124
126
|
* Gte: Number("double"),
|
|
125
127
|
* Lte: Number("double"),
|
|
128
|
+
* Gt: Number("double"),
|
|
129
|
+
* Lt: Number("double"),
|
|
126
130
|
* Eq: Number("double"),
|
|
127
131
|
* },
|
|
128
132
|
* ],
|
|
@@ -111,6 +111,8 @@ export interface CreateInsightCommandOutput extends CreateInsightResponse, __Met
|
|
|
111
111
|
* { // NumberFilter
|
|
112
112
|
* Gte: Number("double"),
|
|
113
113
|
* Lte: Number("double"),
|
|
114
|
+
* Gt: Number("double"),
|
|
115
|
+
* Lt: Number("double"),
|
|
114
116
|
* Eq: Number("double"),
|
|
115
117
|
* },
|
|
116
118
|
* ],
|
|
@@ -118,6 +120,8 @@ export interface CreateInsightCommandOutput extends CreateInsightResponse, __Met
|
|
|
118
120
|
* {
|
|
119
121
|
* Gte: Number("double"),
|
|
120
122
|
* Lte: Number("double"),
|
|
123
|
+
* Gt: Number("double"),
|
|
124
|
+
* Lt: Number("double"),
|
|
121
125
|
* Eq: Number("double"),
|
|
122
126
|
* },
|
|
123
127
|
* ],
|
|
@@ -126,6 +130,8 @@ export interface CreateInsightCommandOutput extends CreateInsightResponse, __Met
|
|
|
126
130
|
* {
|
|
127
131
|
* Gte: Number("double"),
|
|
128
132
|
* Lte: Number("double"),
|
|
133
|
+
* Gt: Number("double"),
|
|
134
|
+
* Lt: Number("double"),
|
|
129
135
|
* Eq: Number("double"),
|
|
130
136
|
* },
|
|
131
137
|
* ],
|
|
@@ -133,6 +139,8 @@ export interface CreateInsightCommandOutput extends CreateInsightResponse, __Met
|
|
|
133
139
|
* {
|
|
134
140
|
* Gte: Number("double"),
|
|
135
141
|
* Lte: Number("double"),
|
|
142
|
+
* Gt: Number("double"),
|
|
143
|
+
* Lt: Number("double"),
|
|
136
144
|
* Eq: Number("double"),
|
|
137
145
|
* },
|
|
138
146
|
* ],
|
|
@@ -176,6 +184,8 @@ export interface CreateInsightCommandOutput extends CreateInsightResponse, __Met
|
|
|
176
184
|
* {
|
|
177
185
|
* Gte: Number("double"),
|
|
178
186
|
* Lte: Number("double"),
|
|
187
|
+
* Gt: Number("double"),
|
|
188
|
+
* Lt: Number("double"),
|
|
179
189
|
* Eq: Number("double"),
|
|
180
190
|
* },
|
|
181
191
|
* ],
|
|
@@ -285,6 +295,10 @@ export interface CreateInsightCommandOutput extends CreateInsightResponse, __Met
|
|
|
285
295
|
* ],
|
|
286
296
|
* ComplianceSecurityControlId: "<StringFilterList>",
|
|
287
297
|
* ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
298
|
+
* VulnerabilitiesExploitAvailable: "<StringFilterList>",
|
|
299
|
+
* VulnerabilitiesFixAvailable: "<StringFilterList>",
|
|
300
|
+
* ComplianceSecurityControlParametersName: "<StringFilterList>",
|
|
301
|
+
* ComplianceSecurityControlParametersValue: "<StringFilterList>",
|
|
288
302
|
* },
|
|
289
303
|
* GroupByAttribute: "STRING_VALUE", // required
|
|
290
304
|
* };
|
|
@@ -108,6 +108,8 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
108
108
|
* { // NumberFilter
|
|
109
109
|
* Gte: Number("double"),
|
|
110
110
|
* Lte: Number("double"),
|
|
111
|
+
* Gt: Number("double"),
|
|
112
|
+
* Lt: Number("double"),
|
|
111
113
|
* Eq: Number("double"),
|
|
112
114
|
* },
|
|
113
115
|
* ],
|
|
@@ -115,6 +117,8 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
115
117
|
* {
|
|
116
118
|
* Gte: Number("double"),
|
|
117
119
|
* Lte: Number("double"),
|
|
120
|
+
* Gt: Number("double"),
|
|
121
|
+
* Lt: Number("double"),
|
|
118
122
|
* Eq: Number("double"),
|
|
119
123
|
* },
|
|
120
124
|
* ],
|
|
@@ -123,6 +127,8 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
123
127
|
* {
|
|
124
128
|
* Gte: Number("double"),
|
|
125
129
|
* Lte: Number("double"),
|
|
130
|
+
* Gt: Number("double"),
|
|
131
|
+
* Lt: Number("double"),
|
|
126
132
|
* Eq: Number("double"),
|
|
127
133
|
* },
|
|
128
134
|
* ],
|
|
@@ -130,6 +136,8 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
130
136
|
* {
|
|
131
137
|
* Gte: Number("double"),
|
|
132
138
|
* Lte: Number("double"),
|
|
139
|
+
* Gt: Number("double"),
|
|
140
|
+
* Lt: Number("double"),
|
|
133
141
|
* Eq: Number("double"),
|
|
134
142
|
* },
|
|
135
143
|
* ],
|
|
@@ -173,6 +181,8 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
173
181
|
* {
|
|
174
182
|
* Gte: Number("double"),
|
|
175
183
|
* Lte: Number("double"),
|
|
184
|
+
* Gt: Number("double"),
|
|
185
|
+
* Lt: Number("double"),
|
|
176
186
|
* Eq: Number("double"),
|
|
177
187
|
* },
|
|
178
188
|
* ],
|
|
@@ -282,6 +292,10 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
282
292
|
* ],
|
|
283
293
|
* ComplianceSecurityControlId: "<StringFilterList>",
|
|
284
294
|
* ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
295
|
+
* VulnerabilitiesExploitAvailable: "<StringFilterList>",
|
|
296
|
+
* VulnerabilitiesFixAvailable: "<StringFilterList>",
|
|
297
|
+
* ComplianceSecurityControlParametersName: "<StringFilterList>",
|
|
298
|
+
* ComplianceSecurityControlParametersValue: "<StringFilterList>",
|
|
285
299
|
* },
|
|
286
300
|
* SortCriteria: [ // SortCriteria
|
|
287
301
|
* { // SortCriterion
|
|
@@ -4181,6 +4195,14 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
4181
4195
|
* // StandardsId: "STRING_VALUE",
|
|
4182
4196
|
* // },
|
|
4183
4197
|
* // ],
|
|
4198
|
+
* // SecurityControlParameters: [ // SecurityControlParametersList
|
|
4199
|
+
* // { // SecurityControlParameter
|
|
4200
|
+
* // Name: "STRING_VALUE",
|
|
4201
|
+
* // Value: [
|
|
4202
|
+
* // "STRING_VALUE",
|
|
4203
|
+
* // ],
|
|
4204
|
+
* // },
|
|
4205
|
+
* // ],
|
|
4184
4206
|
* // },
|
|
4185
4207
|
* // VerificationState: "UNKNOWN" || "TRUE_POSITIVE" || "FALSE_POSITIVE" || "BENIGN_POSITIVE",
|
|
4186
4208
|
* // WorkflowState: "NEW" || "ASSIGNED" || "IN_PROGRESS" || "DEFERRED" || "RESOLVED",
|
|
@@ -4245,9 +4267,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
4245
4267
|
* // ExploitAvailable: "YES" || "NO",
|
|
4246
4268
|
* // CodeVulnerabilities: [ // VulnerabilityCodeVulnerabilitiesList
|
|
4247
4269
|
* // { // VulnerabilityCodeVulnerabilities
|
|
4248
|
-
* // Cwes:
|
|
4249
|
-
* // "STRING_VALUE",
|
|
4250
|
-
* // ],
|
|
4270
|
+
* // Cwes: "<TypeList>",
|
|
4251
4271
|
* // FilePath: { // CodeVulnerabilitiesFilePath
|
|
4252
4272
|
* // EndLine: Number("int"),
|
|
4253
4273
|
* // FileName: "STRING_VALUE",
|
|
@@ -120,6 +120,8 @@ export interface GetInsightsCommandOutput extends GetInsightsResponse, __Metadat
|
|
|
120
120
|
* // { // NumberFilter
|
|
121
121
|
* // Gte: Number("double"),
|
|
122
122
|
* // Lte: Number("double"),
|
|
123
|
+
* // Gt: Number("double"),
|
|
124
|
+
* // Lt: Number("double"),
|
|
123
125
|
* // Eq: Number("double"),
|
|
124
126
|
* // },
|
|
125
127
|
* // ],
|
|
@@ -127,6 +129,8 @@ export interface GetInsightsCommandOutput extends GetInsightsResponse, __Metadat
|
|
|
127
129
|
* // {
|
|
128
130
|
* // Gte: Number("double"),
|
|
129
131
|
* // Lte: Number("double"),
|
|
132
|
+
* // Gt: Number("double"),
|
|
133
|
+
* // Lt: Number("double"),
|
|
130
134
|
* // Eq: Number("double"),
|
|
131
135
|
* // },
|
|
132
136
|
* // ],
|
|
@@ -135,6 +139,8 @@ export interface GetInsightsCommandOutput extends GetInsightsResponse, __Metadat
|
|
|
135
139
|
* // {
|
|
136
140
|
* // Gte: Number("double"),
|
|
137
141
|
* // Lte: Number("double"),
|
|
142
|
+
* // Gt: Number("double"),
|
|
143
|
+
* // Lt: Number("double"),
|
|
138
144
|
* // Eq: Number("double"),
|
|
139
145
|
* // },
|
|
140
146
|
* // ],
|
|
@@ -142,6 +148,8 @@ export interface GetInsightsCommandOutput extends GetInsightsResponse, __Metadat
|
|
|
142
148
|
* // {
|
|
143
149
|
* // Gte: Number("double"),
|
|
144
150
|
* // Lte: Number("double"),
|
|
151
|
+
* // Gt: Number("double"),
|
|
152
|
+
* // Lt: Number("double"),
|
|
145
153
|
* // Eq: Number("double"),
|
|
146
154
|
* // },
|
|
147
155
|
* // ],
|
|
@@ -185,6 +193,8 @@ export interface GetInsightsCommandOutput extends GetInsightsResponse, __Metadat
|
|
|
185
193
|
* // {
|
|
186
194
|
* // Gte: Number("double"),
|
|
187
195
|
* // Lte: Number("double"),
|
|
196
|
+
* // Gt: Number("double"),
|
|
197
|
+
* // Lt: Number("double"),
|
|
188
198
|
* // Eq: Number("double"),
|
|
189
199
|
* // },
|
|
190
200
|
* // ],
|
|
@@ -294,6 +304,10 @@ export interface GetInsightsCommandOutput extends GetInsightsResponse, __Metadat
|
|
|
294
304
|
* // ],
|
|
295
305
|
* // ComplianceSecurityControlId: "<StringFilterList>",
|
|
296
306
|
* // ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
307
|
+
* // VulnerabilitiesExploitAvailable: "<StringFilterList>",
|
|
308
|
+
* // VulnerabilitiesFixAvailable: "<StringFilterList>",
|
|
309
|
+
* // ComplianceSecurityControlParametersName: "<StringFilterList>",
|
|
310
|
+
* // ComplianceSecurityControlParametersValue: "<StringFilterList>",
|
|
297
311
|
* // },
|
|
298
312
|
* // GroupByAttribute: "STRING_VALUE", // required
|
|
299
313
|
* // },
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GetSecurityControlDefinitionRequest, GetSecurityControlDefinitionResponse } from "../models/models_2";
|
|
5
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSecurityControlDefinitionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSecurityControlDefinitionCommandInput extends GetSecurityControlDefinitionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSecurityControlDefinitionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSecurityControlDefinitionCommandOutput extends GetSecurityControlDefinitionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Retrieves the definition of a security control. The definition includes the control title, description, Region availability, parameter definitions, and other details.
|
|
28
|
+
* </p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { SecurityHubClient, GetSecurityControlDefinitionCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
33
|
+
* // const { SecurityHubClient, GetSecurityControlDefinitionCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
34
|
+
* const client = new SecurityHubClient(config);
|
|
35
|
+
* const input = { // GetSecurityControlDefinitionRequest
|
|
36
|
+
* SecurityControlId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new GetSecurityControlDefinitionCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // GetSecurityControlDefinitionResponse
|
|
41
|
+
* // SecurityControlDefinition: { // SecurityControlDefinition
|
|
42
|
+
* // SecurityControlId: "STRING_VALUE", // required
|
|
43
|
+
* // Title: "STRING_VALUE", // required
|
|
44
|
+
* // Description: "STRING_VALUE", // required
|
|
45
|
+
* // RemediationUrl: "STRING_VALUE", // required
|
|
46
|
+
* // SeverityRating: "LOW" || "MEDIUM" || "HIGH" || "CRITICAL", // required
|
|
47
|
+
* // CurrentRegionAvailability: "AVAILABLE" || "UNAVAILABLE", // required
|
|
48
|
+
* // CustomizableProperties: [ // CustomizableProperties
|
|
49
|
+
* // "Parameters",
|
|
50
|
+
* // ],
|
|
51
|
+
* // ParameterDefinitions: { // ParameterDefinitions
|
|
52
|
+
* // "<keys>": { // ParameterDefinition
|
|
53
|
+
* // Description: "STRING_VALUE", // required
|
|
54
|
+
* // ConfigurationOptions: { // ConfigurationOptions Union: only one key present
|
|
55
|
+
* // Integer: { // IntegerConfigurationOptions
|
|
56
|
+
* // DefaultValue: Number("int"),
|
|
57
|
+
* // Min: Number("int"),
|
|
58
|
+
* // Max: Number("int"),
|
|
59
|
+
* // },
|
|
60
|
+
* // IntegerList: { // IntegerListConfigurationOptions
|
|
61
|
+
* // DefaultValue: [ // IntegerList
|
|
62
|
+
* // Number("int"),
|
|
63
|
+
* // ],
|
|
64
|
+
* // Min: Number("int"),
|
|
65
|
+
* // Max: Number("int"),
|
|
66
|
+
* // MaxItems: Number("int"),
|
|
67
|
+
* // },
|
|
68
|
+
* // Double: { // DoubleConfigurationOptions
|
|
69
|
+
* // DefaultValue: Number("double"),
|
|
70
|
+
* // Min: Number("double"),
|
|
71
|
+
* // Max: Number("double"),
|
|
72
|
+
* // },
|
|
73
|
+
* // String: { // StringConfigurationOptions
|
|
74
|
+
* // DefaultValue: "STRING_VALUE",
|
|
75
|
+
* // Re2Expression: "STRING_VALUE",
|
|
76
|
+
* // ExpressionDescription: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // StringList: { // StringListConfigurationOptions
|
|
79
|
+
* // DefaultValue: [ // StringList
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
82
|
+
* // Re2Expression: "STRING_VALUE",
|
|
83
|
+
* // MaxItems: Number("int"),
|
|
84
|
+
* // ExpressionDescription: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // Boolean: { // BooleanConfigurationOptions
|
|
87
|
+
* // DefaultValue: true || false,
|
|
88
|
+
* // },
|
|
89
|
+
* // Enum: { // EnumConfigurationOptions
|
|
90
|
+
* // DefaultValue: "STRING_VALUE",
|
|
91
|
+
* // AllowedValues: [
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // },
|
|
95
|
+
* // EnumList: { // EnumListConfigurationOptions
|
|
96
|
+
* // DefaultValue: [
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // MaxItems: Number("int"),
|
|
100
|
+
* // AllowedValues: [
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // };
|
|
109
|
+
*
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* @param GetSecurityControlDefinitionCommandInput - {@link GetSecurityControlDefinitionCommandInput}
|
|
113
|
+
* @returns {@link GetSecurityControlDefinitionCommandOutput}
|
|
114
|
+
* @see {@link GetSecurityControlDefinitionCommandInput} for command's `input` shape.
|
|
115
|
+
* @see {@link GetSecurityControlDefinitionCommandOutput} for command's `response` shape.
|
|
116
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link InternalException} (server fault)
|
|
119
|
+
* <p>Internal server error.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link InvalidAccessException} (client fault)
|
|
122
|
+
* <p>The account doesn't have permission to perform this action.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
125
|
+
* <p>The request was rejected because you supplied an invalid or out-of-range value for an
|
|
126
|
+
* input parameter.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
129
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
130
|
+
* account or throttling limits. The error code describes the limit exceeded.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
133
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link SecurityHubServiceException}
|
|
136
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
export declare class GetSecurityControlDefinitionCommand extends $Command<GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput, SecurityHubClientResolvedConfig> {
|
|
140
|
+
readonly input: GetSecurityControlDefinitionCommandInput;
|
|
141
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
constructor(input: GetSecurityControlDefinitionCommandInput);
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
*/
|
|
149
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput>;
|
|
150
|
+
/**
|
|
151
|
+
* @internal
|
|
152
|
+
*/
|
|
153
|
+
private serialize;
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
private deserialize;
|
|
158
|
+
}
|
|
@@ -48,6 +48,65 @@ export interface ListSecurityControlDefinitionsCommandOutput extends ListSecurit
|
|
|
48
48
|
* // RemediationUrl: "STRING_VALUE", // required
|
|
49
49
|
* // SeverityRating: "LOW" || "MEDIUM" || "HIGH" || "CRITICAL", // required
|
|
50
50
|
* // CurrentRegionAvailability: "AVAILABLE" || "UNAVAILABLE", // required
|
|
51
|
+
* // CustomizableProperties: [ // CustomizableProperties
|
|
52
|
+
* // "Parameters",
|
|
53
|
+
* // ],
|
|
54
|
+
* // ParameterDefinitions: { // ParameterDefinitions
|
|
55
|
+
* // "<keys>": { // ParameterDefinition
|
|
56
|
+
* // Description: "STRING_VALUE", // required
|
|
57
|
+
* // ConfigurationOptions: { // ConfigurationOptions Union: only one key present
|
|
58
|
+
* // Integer: { // IntegerConfigurationOptions
|
|
59
|
+
* // DefaultValue: Number("int"),
|
|
60
|
+
* // Min: Number("int"),
|
|
61
|
+
* // Max: Number("int"),
|
|
62
|
+
* // },
|
|
63
|
+
* // IntegerList: { // IntegerListConfigurationOptions
|
|
64
|
+
* // DefaultValue: [ // IntegerList
|
|
65
|
+
* // Number("int"),
|
|
66
|
+
* // ],
|
|
67
|
+
* // Min: Number("int"),
|
|
68
|
+
* // Max: Number("int"),
|
|
69
|
+
* // MaxItems: Number("int"),
|
|
70
|
+
* // },
|
|
71
|
+
* // Double: { // DoubleConfigurationOptions
|
|
72
|
+
* // DefaultValue: Number("double"),
|
|
73
|
+
* // Min: Number("double"),
|
|
74
|
+
* // Max: Number("double"),
|
|
75
|
+
* // },
|
|
76
|
+
* // String: { // StringConfigurationOptions
|
|
77
|
+
* // DefaultValue: "STRING_VALUE",
|
|
78
|
+
* // Re2Expression: "STRING_VALUE",
|
|
79
|
+
* // ExpressionDescription: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // StringList: { // StringListConfigurationOptions
|
|
82
|
+
* // DefaultValue: [ // StringList
|
|
83
|
+
* // "STRING_VALUE",
|
|
84
|
+
* // ],
|
|
85
|
+
* // Re2Expression: "STRING_VALUE",
|
|
86
|
+
* // MaxItems: Number("int"),
|
|
87
|
+
* // ExpressionDescription: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // Boolean: { // BooleanConfigurationOptions
|
|
90
|
+
* // DefaultValue: true || false,
|
|
91
|
+
* // },
|
|
92
|
+
* // Enum: { // EnumConfigurationOptions
|
|
93
|
+
* // DefaultValue: "STRING_VALUE",
|
|
94
|
+
* // AllowedValues: [
|
|
95
|
+
* // "STRING_VALUE",
|
|
96
|
+
* // ],
|
|
97
|
+
* // },
|
|
98
|
+
* // EnumList: { // EnumListConfigurationOptions
|
|
99
|
+
* // DefaultValue: [
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // MaxItems: Number("int"),
|
|
103
|
+
* // AllowedValues: [
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
51
110
|
* // },
|
|
52
111
|
* // ],
|
|
53
112
|
* // NextToken: "STRING_VALUE",
|
|
@@ -112,6 +112,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
112
112
|
* { // NumberFilter
|
|
113
113
|
* Gte: Number("double"),
|
|
114
114
|
* Lte: Number("double"),
|
|
115
|
+
* Gt: Number("double"),
|
|
116
|
+
* Lt: Number("double"),
|
|
115
117
|
* Eq: Number("double"),
|
|
116
118
|
* },
|
|
117
119
|
* ],
|
|
@@ -119,6 +121,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
119
121
|
* {
|
|
120
122
|
* Gte: Number("double"),
|
|
121
123
|
* Lte: Number("double"),
|
|
124
|
+
* Gt: Number("double"),
|
|
125
|
+
* Lt: Number("double"),
|
|
122
126
|
* Eq: Number("double"),
|
|
123
127
|
* },
|
|
124
128
|
* ],
|
|
@@ -127,6 +131,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
127
131
|
* {
|
|
128
132
|
* Gte: Number("double"),
|
|
129
133
|
* Lte: Number("double"),
|
|
134
|
+
* Gt: Number("double"),
|
|
135
|
+
* Lt: Number("double"),
|
|
130
136
|
* Eq: Number("double"),
|
|
131
137
|
* },
|
|
132
138
|
* ],
|
|
@@ -134,6 +140,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
134
140
|
* {
|
|
135
141
|
* Gte: Number("double"),
|
|
136
142
|
* Lte: Number("double"),
|
|
143
|
+
* Gt: Number("double"),
|
|
144
|
+
* Lt: Number("double"),
|
|
137
145
|
* Eq: Number("double"),
|
|
138
146
|
* },
|
|
139
147
|
* ],
|
|
@@ -177,6 +185,8 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
177
185
|
* {
|
|
178
186
|
* Gte: Number("double"),
|
|
179
187
|
* Lte: Number("double"),
|
|
188
|
+
* Gt: Number("double"),
|
|
189
|
+
* Lt: Number("double"),
|
|
180
190
|
* Eq: Number("double"),
|
|
181
191
|
* },
|
|
182
192
|
* ],
|
|
@@ -286,6 +296,10 @@ export interface UpdateFindingsCommandOutput extends UpdateFindingsResponse, __M
|
|
|
286
296
|
* ],
|
|
287
297
|
* ComplianceSecurityControlId: "<StringFilterList>",
|
|
288
298
|
* ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
299
|
+
* VulnerabilitiesExploitAvailable: "<StringFilterList>",
|
|
300
|
+
* VulnerabilitiesFixAvailable: "<StringFilterList>",
|
|
301
|
+
* ComplianceSecurityControlParametersName: "<StringFilterList>",
|
|
302
|
+
* ComplianceSecurityControlParametersValue: "<StringFilterList>",
|
|
289
303
|
* },
|
|
290
304
|
* Note: { // NoteUpdate
|
|
291
305
|
* Text: "STRING_VALUE", // required
|
|
@@ -109,6 +109,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
109
109
|
* { // NumberFilter
|
|
110
110
|
* Gte: Number("double"),
|
|
111
111
|
* Lte: Number("double"),
|
|
112
|
+
* Gt: Number("double"),
|
|
113
|
+
* Lt: Number("double"),
|
|
112
114
|
* Eq: Number("double"),
|
|
113
115
|
* },
|
|
114
116
|
* ],
|
|
@@ -116,6 +118,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
116
118
|
* {
|
|
117
119
|
* Gte: Number("double"),
|
|
118
120
|
* Lte: Number("double"),
|
|
121
|
+
* Gt: Number("double"),
|
|
122
|
+
* Lt: Number("double"),
|
|
119
123
|
* Eq: Number("double"),
|
|
120
124
|
* },
|
|
121
125
|
* ],
|
|
@@ -124,6 +128,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
124
128
|
* {
|
|
125
129
|
* Gte: Number("double"),
|
|
126
130
|
* Lte: Number("double"),
|
|
131
|
+
* Gt: Number("double"),
|
|
132
|
+
* Lt: Number("double"),
|
|
127
133
|
* Eq: Number("double"),
|
|
128
134
|
* },
|
|
129
135
|
* ],
|
|
@@ -131,6 +137,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
131
137
|
* {
|
|
132
138
|
* Gte: Number("double"),
|
|
133
139
|
* Lte: Number("double"),
|
|
140
|
+
* Gt: Number("double"),
|
|
141
|
+
* Lt: Number("double"),
|
|
134
142
|
* Eq: Number("double"),
|
|
135
143
|
* },
|
|
136
144
|
* ],
|
|
@@ -174,6 +182,8 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
174
182
|
* {
|
|
175
183
|
* Gte: Number("double"),
|
|
176
184
|
* Lte: Number("double"),
|
|
185
|
+
* Gt: Number("double"),
|
|
186
|
+
* Lt: Number("double"),
|
|
177
187
|
* Eq: Number("double"),
|
|
178
188
|
* },
|
|
179
189
|
* ],
|
|
@@ -283,6 +293,10 @@ export interface UpdateInsightCommandOutput extends UpdateInsightResponse, __Met
|
|
|
283
293
|
* ],
|
|
284
294
|
* ComplianceSecurityControlId: "<StringFilterList>",
|
|
285
295
|
* ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
296
|
+
* VulnerabilitiesExploitAvailable: "<StringFilterList>",
|
|
297
|
+
* VulnerabilitiesFixAvailable: "<StringFilterList>",
|
|
298
|
+
* ComplianceSecurityControlParametersName: "<StringFilterList>",
|
|
299
|
+
* ComplianceSecurityControlParametersValue: "<StringFilterList>",
|
|
286
300
|
* },
|
|
287
301
|
* GroupByAttribute: "STRING_VALUE",
|
|
288
302
|
* };
|