@aws-sdk/client-securityhub 3.458.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.
- package/README.md +80 -0
- package/dist-cjs/SecurityHub.js +20 -0
- package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
- package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
- package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
- package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
- package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
- package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
- package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/models/models_2.js +34 -1
- package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +943 -35
- package/dist-es/SecurityHub.js +20 -0
- package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
- package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
- package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
- package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
- package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
- package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
- package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/models/models_2.js +33 -0
- package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
- package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +920 -33
- package/dist-types/SecurityHub.d.ts +70 -0
- package/dist-types/SecurityHubClient.d.ts +12 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +128 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +22 -2
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +4 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +189 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +98 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -2
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +107 -0
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +143 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +7 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +35 -0
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +104 -0
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +110 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -0
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +108 -0
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +102 -0
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +191 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +23 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +86 -192
- package/dist-types/models/models_1.d.ts +192 -49
- package/dist-types/models/models_2.d.ts +1180 -37
- package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +200 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -26
- package/dist-types/ts3.4/models/models_1.d.ts +32 -9
- package/dist-types/ts3.4/models/models_2.d.ts +243 -4
- package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +1 -1
|
@@ -1,4 +1,195 @@
|
|
|
1
|
-
import { AssociatedStandard, AvailabilityZone, AwsEcsContainerDetails, RelatedFinding, SeverityLabel } from "./models_0";
|
|
1
|
+
import { AssociatedStandard, AvailabilityZone, AwsEcsContainerDetails, AwsEcsTaskDefinitionContainerDefinitionsDetails, AwsEcsTaskDefinitionInferenceAcceleratorsDetails, AwsEcsTaskDefinitionPlacementConstraintsDetails, AwsEcsTaskDefinitionProxyConfigurationDetails, AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails, AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails, RelatedFinding, SeverityLabel } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
* <p>Information about a bind mount host volume.</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface AwsEcsTaskDefinitionVolumesHostDetails {
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>The path on the host container instance that is presented to the container.</p>
|
|
10
|
+
*/
|
|
11
|
+
SourcePath?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* <p>A data volume to mount from another container.</p>
|
|
16
|
+
*/
|
|
17
|
+
export interface AwsEcsTaskDefinitionVolumesDetails {
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* <p>Information about a Docker volume.</p>
|
|
21
|
+
*/
|
|
22
|
+
DockerVolumeConfiguration?: AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* <p>Information about the Amazon Elastic File System file system that is used for task storage.</p>
|
|
26
|
+
*/
|
|
27
|
+
EfsVolumeConfiguration?: AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* <p>Information about a bind mount host volume.</p>
|
|
31
|
+
*/
|
|
32
|
+
Host?: AwsEcsTaskDefinitionVolumesHostDetails;
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
* <p>The name of the data volume.</p>
|
|
36
|
+
*/
|
|
37
|
+
Name?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* <p>Details about a task definition. A task definition describes the container and volume definitions
|
|
42
|
+
* of an Amazon Elastic Container Service task.</p>
|
|
43
|
+
*/
|
|
44
|
+
export interface AwsEcsTaskDefinitionDetails {
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* <p>The container definitions that describe the containers that make up the task.</p>
|
|
48
|
+
*/
|
|
49
|
+
ContainerDefinitions?: AwsEcsTaskDefinitionContainerDefinitionsDetails[];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* <p>The number of CPU units used by the task.Valid values are as follows:</p>
|
|
53
|
+
* <ul>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>
|
|
56
|
+
* <code>256 (.25 vCPU)</code>
|
|
57
|
+
* </p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>
|
|
61
|
+
* <code>512 (.5 vCPU)</code>
|
|
62
|
+
* </p>
|
|
63
|
+
* </li>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>
|
|
66
|
+
* <code>1024 (1 vCPU)</code>
|
|
67
|
+
* </p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>
|
|
71
|
+
* <code>2048 (2 vCPU)</code>
|
|
72
|
+
* </p>
|
|
73
|
+
* </li>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>
|
|
76
|
+
* <code>4096 (4 vCPU)</code>
|
|
77
|
+
* </p>
|
|
78
|
+
* </li>
|
|
79
|
+
* </ul>
|
|
80
|
+
*/
|
|
81
|
+
Cpu?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* <p>The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.</p>
|
|
85
|
+
*/
|
|
86
|
+
ExecutionRoleArn?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* <p>The name of a family that this task definition is registered to.</p>
|
|
90
|
+
*/
|
|
91
|
+
Family?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
* <p>The Elastic Inference accelerators to use for the containers in the task.</p>
|
|
95
|
+
*/
|
|
96
|
+
InferenceAccelerators?: AwsEcsTaskDefinitionInferenceAcceleratorsDetails[];
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
* <p>The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows:</p>
|
|
100
|
+
* <ul>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>
|
|
103
|
+
* <code>host</code>
|
|
104
|
+
* </p>
|
|
105
|
+
* </li>
|
|
106
|
+
* <li>
|
|
107
|
+
* <p>
|
|
108
|
+
* <code>none</code>
|
|
109
|
+
* </p>
|
|
110
|
+
* </li>
|
|
111
|
+
* <li>
|
|
112
|
+
* <p>
|
|
113
|
+
* <code>task</code>
|
|
114
|
+
* </p>
|
|
115
|
+
* </li>
|
|
116
|
+
* </ul>
|
|
117
|
+
*/
|
|
118
|
+
IpcMode?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* <p>The amount (in MiB) of memory used by the task. </p>
|
|
122
|
+
* <p>For tasks that are hosted on Amazon EC2, you can provide a task-level memory value or a container-level memory value.
|
|
123
|
+
* For tasks that are hosted on Fargate, you must use one of the <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size">specified values</a> in the <i>
|
|
124
|
+
* <i>Amazon Elastic Container Service Developer Guide</i>
|
|
125
|
+
* </i>, which determines your range of supported values for the <code>Cpu</code> and <code>Memory</code> parameters.</p>
|
|
126
|
+
*/
|
|
127
|
+
Memory?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
* <p>The Docker networking mode to use for the containers in the task. Valid values are as follows:</p>
|
|
131
|
+
* <ul>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>
|
|
134
|
+
* <code>awsvpc</code>
|
|
135
|
+
* </p>
|
|
136
|
+
* </li>
|
|
137
|
+
* <li>
|
|
138
|
+
* <p>
|
|
139
|
+
* <code>bridge</code>
|
|
140
|
+
* </p>
|
|
141
|
+
* </li>
|
|
142
|
+
* <li>
|
|
143
|
+
* <p>
|
|
144
|
+
* <code>host</code>
|
|
145
|
+
* </p>
|
|
146
|
+
* </li>
|
|
147
|
+
* <li>
|
|
148
|
+
* <p>
|
|
149
|
+
* <code>none</code>
|
|
150
|
+
* </p>
|
|
151
|
+
* </li>
|
|
152
|
+
* </ul>
|
|
153
|
+
*/
|
|
154
|
+
NetworkMode?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
* <p>The process namespace to use for the containers in the task. Valid values are <code>host</code> or <code>task</code>.</p>
|
|
158
|
+
*/
|
|
159
|
+
PidMode?: string;
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* <p>The placement constraint objects to use for tasks.</p>
|
|
163
|
+
*/
|
|
164
|
+
PlacementConstraints?: AwsEcsTaskDefinitionPlacementConstraintsDetails[];
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
* <p>The configuration details for the App Mesh proxy.</p>
|
|
168
|
+
*/
|
|
169
|
+
ProxyConfiguration?: AwsEcsTaskDefinitionProxyConfigurationDetails;
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* <p>The task launch types that the task definition was validated against.</p>
|
|
173
|
+
*/
|
|
174
|
+
RequiresCompatibilities?: string[];
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* <p>The short name or ARN of the IAM role that grants containers in the task permission to call Amazon Web Services API operations on your behalf.</p>
|
|
178
|
+
*/
|
|
179
|
+
TaskRoleArn?: string;
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* <p>The data volume definitions for the task.</p>
|
|
183
|
+
*/
|
|
184
|
+
Volumes?: AwsEcsTaskDefinitionVolumesDetails[];
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* <p>
|
|
188
|
+
* The status of the task definition.
|
|
189
|
+
* </p>
|
|
190
|
+
*/
|
|
191
|
+
Status?: string;
|
|
192
|
+
}
|
|
2
193
|
/**
|
|
3
194
|
* @public
|
|
4
195
|
* <p>Provides details on a container instance bind mount host volume.
|
|
@@ -9403,51 +9594,3 @@ export interface AwsWafv2CustomResponseDetails {
|
|
|
9403
9594
|
*/
|
|
9404
9595
|
ResponseHeaders?: AwsWafv2CustomHttpHeader[];
|
|
9405
9596
|
}
|
|
9406
|
-
/**
|
|
9407
|
-
* @public
|
|
9408
|
-
* <p>
|
|
9409
|
-
* Specifies that WAF should block the request and optionally defines additional custom handling for the response to the web request.
|
|
9410
|
-
* </p>
|
|
9411
|
-
*/
|
|
9412
|
-
export interface AwsWafv2ActionBlockDetails {
|
|
9413
|
-
/**
|
|
9414
|
-
* @public
|
|
9415
|
-
* <p>
|
|
9416
|
-
* Defines a custom response for the web request. For information, see
|
|
9417
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the <i>WAF Developer Guide.</i>.
|
|
9418
|
-
* </p>
|
|
9419
|
-
*/
|
|
9420
|
-
CustomResponse?: AwsWafv2CustomResponseDetails;
|
|
9421
|
-
}
|
|
9422
|
-
/**
|
|
9423
|
-
* @public
|
|
9424
|
-
* <p>
|
|
9425
|
-
* Specifies that WAF should run a CAPTCHA check against the request.
|
|
9426
|
-
* </p>
|
|
9427
|
-
*/
|
|
9428
|
-
export interface AwsWafv2RulesActionCaptchaDetails {
|
|
9429
|
-
/**
|
|
9430
|
-
* @public
|
|
9431
|
-
* <p>
|
|
9432
|
-
* Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired. For more information,
|
|
9433
|
-
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the <i>WAF Developer Guide.</i>.
|
|
9434
|
-
* </p>
|
|
9435
|
-
*/
|
|
9436
|
-
CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
|
|
9437
|
-
}
|
|
9438
|
-
/**
|
|
9439
|
-
* @public
|
|
9440
|
-
* <p>
|
|
9441
|
-
* Specifies that WAF should count the request.
|
|
9442
|
-
* </p>
|
|
9443
|
-
*/
|
|
9444
|
-
export interface AwsWafv2RulesActionCountDetails {
|
|
9445
|
-
/**
|
|
9446
|
-
* @public
|
|
9447
|
-
* <p>
|
|
9448
|
-
* Defines custom handling for the web request. For more information,
|
|
9449
|
-
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the <i>WAF Developer Guide.</i>.
|
|
9450
|
-
* </p>
|
|
9451
|
-
*/
|
|
9452
|
-
CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
|
|
9453
|
-
}
|