@aws-sdk/client-securityhub 3.454.0 → 3.459.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.
Files changed (109) hide show
  1. package/README.md +163 -67
  2. package/dist-cjs/SecurityHub.js +24 -0
  3. package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
  4. package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
  6. package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
  7. package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
  8. package/dist-cjs/commands/GetSecurityControlDefinitionCommand.js +51 -0
  9. package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
  10. package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
  11. package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
  12. package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateSecurityControlCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/models/models_0.js +10 -1
  17. package/dist-cjs/models/models_2.js +104 -1
  18. package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
  20. package/dist-cjs/pagination/index.js +2 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +1283 -31
  22. package/dist-es/SecurityHub.js +24 -0
  23. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
  24. package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
  25. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
  26. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
  27. package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
  28. package/dist-es/commands/GetSecurityControlDefinitionCommand.js +47 -0
  29. package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
  30. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
  31. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
  32. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
  33. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
  34. package/dist-es/commands/UpdateSecurityControlCommand.js +47 -0
  35. package/dist-es/commands/index.js +12 -0
  36. package/dist-es/models/models_0.js +9 -0
  37. package/dist-es/models/models_2.js +102 -0
  38. package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
  39. package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/protocols/Aws_restJson1.js +1258 -31
  42. package/dist-types/SecurityHub.d.ts +84 -0
  43. package/dist-types/SecurityHubClient.d.ts +14 -2
  44. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
  45. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
  46. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +7 -0
  47. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +128 -0
  48. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +45 -2
  49. package/dist-types/commands/BatchImportFindingsCommand.d.ts +13 -3
  50. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +7 -0
  51. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
  52. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +7 -0
  53. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +189 -0
  54. package/dist-types/commands/CreateInsightCommand.d.ts +17 -0
  55. package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
  56. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +98 -0
  57. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -2
  58. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  59. package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
  60. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
  61. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  62. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +107 -0
  63. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +143 -0
  64. package/dist-types/commands/GetFindingsCommand.d.ts +30 -3
  65. package/dist-types/commands/GetInsightsCommand.d.ts +17 -0
  66. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +193 -0
  67. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +104 -0
  68. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +110 -0
  69. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +65 -0
  70. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +108 -0
  71. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +102 -0
  72. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +191 -0
  73. package/dist-types/commands/UpdateFindingsCommand.d.ts +17 -0
  74. package/dist-types/commands/UpdateInsightCommand.d.ts +17 -0
  75. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
  76. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +141 -0
  77. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
  78. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
  79. package/dist-types/commands/index.d.ts +12 -0
  80. package/dist-types/models/models_0.d.ts +101 -193
  81. package/dist-types/models/models_1.d.ts +221 -86
  82. package/dist-types/models/models_2.d.ts +2377 -394
  83. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/index.d.ts +2 -0
  86. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  87. package/dist-types/ts3.4/SecurityHub.d.ts +234 -0
  88. package/dist-types/ts3.4/SecurityHubClient.d.ts +72 -0
  89. package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
  90. package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
  96. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +42 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +23 -26
  103. package/dist-types/ts3.4/models/models_1.d.ts +37 -15
  104. package/dist-types/ts3.4/models/models_2.d.ts +602 -17
  105. package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  108. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  109. package/package.json +3 -3
@@ -0,0 +1,143 @@
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 { GetConfigurationPolicyRequest, GetConfigurationPolicyResponse } 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 GetConfigurationPolicyCommand}.
14
+ */
15
+ export interface GetConfigurationPolicyCommandInput extends GetConfigurationPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetConfigurationPolicyCommand}.
21
+ */
22
+ export interface GetConfigurationPolicyCommandOutput extends GetConfigurationPolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Provides information about a configuration policy. Only the Security Hub delegated administrator can invoke
28
+ * this operation from the home Region.
29
+ * </p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { SecurityHubClient, GetConfigurationPolicyCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
34
+ * // const { SecurityHubClient, GetConfigurationPolicyCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
35
+ * const client = new SecurityHubClient(config);
36
+ * const input = { // GetConfigurationPolicyRequest
37
+ * Identifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetConfigurationPolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetConfigurationPolicyResponse
42
+ * // Arn: "STRING_VALUE",
43
+ * // Id: "STRING_VALUE",
44
+ * // Name: "STRING_VALUE",
45
+ * // Description: "STRING_VALUE",
46
+ * // UpdatedAt: new Date("TIMESTAMP"),
47
+ * // CreatedAt: new Date("TIMESTAMP"),
48
+ * // ConfigurationPolicy: { // Policy Union: only one key present
49
+ * // SecurityHub: { // SecurityHubPolicy
50
+ * // ServiceEnabled: true || false,
51
+ * // EnabledStandardIdentifiers: [ // EnabledStandardIdentifierList
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // SecurityControlsConfiguration: { // SecurityControlsConfiguration
55
+ * // EnabledSecurityControlIdentifiers: [ // EnabledSecurityControlIdentifierList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // DisabledSecurityControlIdentifiers: [ // DisabledSecurityControlIdentifierList
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // SecurityControlCustomParameters: [ // SecurityControlCustomParametersList
62
+ * // { // SecurityControlCustomParameter
63
+ * // SecurityControlId: "STRING_VALUE",
64
+ * // Parameters: { // Parameters
65
+ * // "<keys>": { // ParameterConfiguration
66
+ * // ValueType: "DEFAULT" || "CUSTOM", // required
67
+ * // Value: { // ParameterValue Union: only one key present
68
+ * // Integer: Number("int"),
69
+ * // IntegerList: [ // IntegerList
70
+ * // Number("int"),
71
+ * // ],
72
+ * // Double: Number("double"),
73
+ * // String: "STRING_VALUE",
74
+ * // StringList: [ // StringList
75
+ * // "STRING_VALUE",
76
+ * // ],
77
+ * // Boolean: true || false,
78
+ * // Enum: "STRING_VALUE",
79
+ * // EnumList: [
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
83
+ * // },
84
+ * // },
85
+ * // },
86
+ * // ],
87
+ * // },
88
+ * // },
89
+ * // },
90
+ * // };
91
+ *
92
+ * ```
93
+ *
94
+ * @param GetConfigurationPolicyCommandInput - {@link GetConfigurationPolicyCommandInput}
95
+ * @returns {@link GetConfigurationPolicyCommandOutput}
96
+ * @see {@link GetConfigurationPolicyCommandInput} for command's `input` shape.
97
+ * @see {@link GetConfigurationPolicyCommandOutput} for command's `response` shape.
98
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
99
+ *
100
+ * @throws {@link AccessDeniedException} (client fault)
101
+ * <p>You don't have permission to perform the action specified in the request.</p>
102
+ *
103
+ * @throws {@link InternalException} (server fault)
104
+ * <p>Internal server error.</p>
105
+ *
106
+ * @throws {@link InvalidAccessException} (client fault)
107
+ * <p>The account doesn't have permission to perform this action.</p>
108
+ *
109
+ * @throws {@link InvalidInputException} (client fault)
110
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
111
+ * input parameter.</p>
112
+ *
113
+ * @throws {@link LimitExceededException} (client fault)
114
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
115
+ * account or throttling limits. The error code describes the limit exceeded.</p>
116
+ *
117
+ * @throws {@link ResourceNotFoundException} (client fault)
118
+ * <p>The request was rejected because we can't find the specified resource.</p>
119
+ *
120
+ * @throws {@link SecurityHubServiceException}
121
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
122
+ *
123
+ */
124
+ export declare class GetConfigurationPolicyCommand extends $Command<GetConfigurationPolicyCommandInput, GetConfigurationPolicyCommandOutput, SecurityHubClientResolvedConfig> {
125
+ readonly input: GetConfigurationPolicyCommandInput;
126
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
127
+ /**
128
+ * @public
129
+ */
130
+ constructor(input: GetConfigurationPolicyCommandInput);
131
+ /**
132
+ * @internal
133
+ */
134
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetConfigurationPolicyCommandInput, GetConfigurationPolicyCommandOutput>;
135
+ /**
136
+ * @internal
137
+ */
138
+ private serialize;
139
+ /**
140
+ * @internal
141
+ */
142
+ private deserialize;
143
+ }
@@ -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,13 @@ 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>",
299
+ * AwsAccountName: "<StringFilterList>",
300
+ * ResourceApplicationName: "<StringFilterList>",
301
+ * ResourceApplicationArn: "<StringFilterList>",
285
302
  * },
286
303
  * SortCriteria: [ // SortCriteria
287
304
  * { // SortCriterion
@@ -4162,6 +4179,8 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
4162
4179
  * // },
4163
4180
  * // },
4164
4181
  * // },
4182
+ * // ApplicationName: "STRING_VALUE",
4183
+ * // ApplicationArn: "STRING_VALUE",
4165
4184
  * // },
4166
4185
  * // ],
4167
4186
  * // Compliance: { // Compliance
@@ -4181,6 +4200,14 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
4181
4200
  * // StandardsId: "STRING_VALUE",
4182
4201
  * // },
4183
4202
  * // ],
4203
+ * // SecurityControlParameters: [ // SecurityControlParametersList
4204
+ * // { // SecurityControlParameter
4205
+ * // Name: "STRING_VALUE",
4206
+ * // Value: [
4207
+ * // "STRING_VALUE",
4208
+ * // ],
4209
+ * // },
4210
+ * // ],
4184
4211
  * // },
4185
4212
  * // VerificationState: "UNKNOWN" || "TRUE_POSITIVE" || "FALSE_POSITIVE" || "BENIGN_POSITIVE",
4186
4213
  * // WorkflowState: "NEW" || "ASSIGNED" || "IN_PROGRESS" || "DEFERRED" || "RESOLVED",
@@ -4245,9 +4272,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
4245
4272
  * // ExploitAvailable: "YES" || "NO",
4246
4273
  * // CodeVulnerabilities: [ // VulnerabilityCodeVulnerabilitiesList
4247
4274
  * // { // VulnerabilityCodeVulnerabilities
4248
- * // Cwes: [
4249
- * // "STRING_VALUE",
4250
- * // ],
4275
+ * // Cwes: "<TypeList>",
4251
4276
  * // FilePath: { // CodeVulnerabilitiesFilePath
4252
4277
  * // EndLine: Number("int"),
4253
4278
  * // FileName: "STRING_VALUE",
@@ -4399,6 +4424,8 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
4399
4424
  * // Description: "STRING_VALUE",
4400
4425
  * // Labels: "<TypeList>",
4401
4426
  * // },
4427
+ * // ProcessedAt: "STRING_VALUE",
4428
+ * // AwsAccountName: "STRING_VALUE",
4402
4429
  * // },
4403
4430
  * // ],
4404
4431
  * // NextToken: "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,13 @@ 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>",
311
+ * // AwsAccountName: "<StringFilterList>",
312
+ * // ResourceApplicationName: "<StringFilterList>",
313
+ * // ResourceApplicationArn: "<StringFilterList>",
297
314
  * // },
298
315
  * // GroupByAttribute: "STRING_VALUE", // required
299
316
  * // },
@@ -0,0 +1,193 @@
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
+ * @example To get the definition of a security control.
139
+ * ```javascript
140
+ * // The following example retrieves definition details for the specified security control.
141
+ * const input = {
142
+ * "SecurityControlId": "EC2.4"
143
+ * };
144
+ * const command = new GetSecurityControlDefinitionCommand(input);
145
+ * const response = await client.send(command);
146
+ * /* response ==
147
+ * {
148
+ * "SecurityControlDefinition": {
149
+ * "CurrentRegionAvailability": "AVAILABLE",
150
+ * "Description": "This control checks whether an Amazon EC2 instance has been stopped for longer than the allowed number of days. The control fails if an EC2 instance is stopped for longer than the maximum allowed time period. Unless you provide a custom parameter value for the maximum allowed time period, Security Hub uses a default value of 30 days.",
151
+ * "ParameterDefinitions": {
152
+ * "AllowedDays": {
153
+ * "ConfigurationOptions": {
154
+ * "Integer": {
155
+ * "DefaultValue": 30,
156
+ * "Max": 365,
157
+ * "Min": 1
158
+ * }
159
+ * },
160
+ * "Description": "Number of days the EC2 instance is allowed to be in a stopped state before generating a failed finding"
161
+ * }
162
+ * },
163
+ * "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/EC2.4/remediation",
164
+ * "SecurityControlId": "EC2.4",
165
+ * "SeverityRating": "MEDIUM",
166
+ * "Title": "Stopped Amazon EC2 instances should be removed after a specified time period"
167
+ * }
168
+ * }
169
+ * *\/
170
+ * // example id: to-get-the-definition-of-a-security-control-1699283789356
171
+ * ```
172
+ *
173
+ */
174
+ export declare class GetSecurityControlDefinitionCommand extends $Command<GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput, SecurityHubClientResolvedConfig> {
175
+ readonly input: GetSecurityControlDefinitionCommandInput;
176
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
177
+ /**
178
+ * @public
179
+ */
180
+ constructor(input: GetSecurityControlDefinitionCommandInput);
181
+ /**
182
+ * @internal
183
+ */
184
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput>;
185
+ /**
186
+ * @internal
187
+ */
188
+ private serialize;
189
+ /**
190
+ * @internal
191
+ */
192
+ private deserialize;
193
+ }
@@ -0,0 +1,104 @@
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 { ListConfigurationPoliciesRequest, ListConfigurationPoliciesResponse } 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 ListConfigurationPoliciesCommand}.
14
+ */
15
+ export interface ListConfigurationPoliciesCommandInput extends ListConfigurationPoliciesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListConfigurationPoliciesCommand}.
21
+ */
22
+ export interface ListConfigurationPoliciesCommandOutput extends ListConfigurationPoliciesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Lists the configuration policies that the Security Hub delegated administrator has created for your
28
+ * organization. Only the delegated administrator can invoke this operation from the home Region.
29
+ * </p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { SecurityHubClient, ListConfigurationPoliciesCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
34
+ * // const { SecurityHubClient, ListConfigurationPoliciesCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
35
+ * const client = new SecurityHubClient(config);
36
+ * const input = { // ListConfigurationPoliciesRequest
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * };
40
+ * const command = new ListConfigurationPoliciesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListConfigurationPoliciesResponse
43
+ * // ConfigurationPolicySummaries: [ // ConfigurationPolicySummaryList
44
+ * // { // ConfigurationPolicySummary
45
+ * // Arn: "STRING_VALUE",
46
+ * // Id: "STRING_VALUE",
47
+ * // Name: "STRING_VALUE",
48
+ * // Description: "STRING_VALUE",
49
+ * // UpdatedAt: new Date("TIMESTAMP"),
50
+ * // ServiceEnabled: true || false,
51
+ * // },
52
+ * // ],
53
+ * // NextToken: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListConfigurationPoliciesCommandInput - {@link ListConfigurationPoliciesCommandInput}
59
+ * @returns {@link ListConfigurationPoliciesCommandOutput}
60
+ * @see {@link ListConfigurationPoliciesCommandInput} for command's `input` shape.
61
+ * @see {@link ListConfigurationPoliciesCommandOutput} for command's `response` shape.
62
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You don't have permission to perform the action specified in the request.</p>
66
+ *
67
+ * @throws {@link InternalException} (server fault)
68
+ * <p>Internal server error.</p>
69
+ *
70
+ * @throws {@link InvalidAccessException} (client fault)
71
+ * <p>The account doesn't have permission to perform this action.</p>
72
+ *
73
+ * @throws {@link InvalidInputException} (client fault)
74
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
75
+ * input parameter.</p>
76
+ *
77
+ * @throws {@link LimitExceededException} (client fault)
78
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
79
+ * account or throttling limits. The error code describes the limit exceeded.</p>
80
+ *
81
+ * @throws {@link SecurityHubServiceException}
82
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
83
+ *
84
+ */
85
+ export declare class ListConfigurationPoliciesCommand extends $Command<ListConfigurationPoliciesCommandInput, ListConfigurationPoliciesCommandOutput, SecurityHubClientResolvedConfig> {
86
+ readonly input: ListConfigurationPoliciesCommandInput;
87
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
+ /**
89
+ * @public
90
+ */
91
+ constructor(input: ListConfigurationPoliciesCommandInput);
92
+ /**
93
+ * @internal
94
+ */
95
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListConfigurationPoliciesCommandInput, ListConfigurationPoliciesCommandOutput>;
96
+ /**
97
+ * @internal
98
+ */
99
+ private serialize;
100
+ /**
101
+ * @internal
102
+ */
103
+ private deserialize;
104
+ }