@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
@@ -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.
@@ -7427,6 +7618,28 @@ export interface AwsSecretsManagerSecretDetails {
7427
7618
  */
7428
7619
  Description?: string;
7429
7620
  }
7621
+ /**
7622
+ * @public
7623
+ * <p>
7624
+ * A parameter that a security control accepts.
7625
+ * </p>
7626
+ */
7627
+ export interface SecurityControlParameter {
7628
+ /**
7629
+ * @public
7630
+ * <p>
7631
+ * The name of a
7632
+ * </p>
7633
+ */
7634
+ Name?: string;
7635
+ /**
7636
+ * @public
7637
+ * <p>
7638
+ * The current value of a control parameter.
7639
+ * </p>
7640
+ */
7641
+ Value?: string[];
7642
+ }
7430
7643
  /**
7431
7644
  * @public
7432
7645
  * @enum
@@ -7527,6 +7740,13 @@ export interface Compliance {
7527
7740
  * </p>
7528
7741
  */
7529
7742
  AssociatedStandards?: AssociatedStandard[];
7743
+ /**
7744
+ * @public
7745
+ * <p>
7746
+ * An object that includes security control parameter names and values.
7747
+ * </p>
7748
+ */
7749
+ SecurityControlParameters?: SecurityControlParameter[];
7530
7750
  }
7531
7751
  /**
7532
7752
  * @public
@@ -9374,88 +9594,3 @@ export interface AwsWafv2CustomResponseDetails {
9374
9594
  */
9375
9595
  ResponseHeaders?: AwsWafv2CustomHttpHeader[];
9376
9596
  }
9377
- /**
9378
- * @public
9379
- * <p>
9380
- * Specifies that WAF should block the request and optionally defines additional custom handling for the response to the web request.
9381
- * </p>
9382
- */
9383
- export interface AwsWafv2ActionBlockDetails {
9384
- /**
9385
- * @public
9386
- * <p>
9387
- * Defines a custom response for the web request. For information, see
9388
- * <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>.
9389
- * </p>
9390
- */
9391
- CustomResponse?: AwsWafv2CustomResponseDetails;
9392
- }
9393
- /**
9394
- * @public
9395
- * <p>
9396
- * Specifies that WAF should run a CAPTCHA check against the request.
9397
- * </p>
9398
- */
9399
- export interface AwsWafv2RulesActionCaptchaDetails {
9400
- /**
9401
- * @public
9402
- * <p>
9403
- * 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,
9404
- * 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>.
9405
- * </p>
9406
- */
9407
- CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
9408
- }
9409
- /**
9410
- * @public
9411
- * <p>
9412
- * Specifies that WAF should count the request.
9413
- * </p>
9414
- */
9415
- export interface AwsWafv2RulesActionCountDetails {
9416
- /**
9417
- * @public
9418
- * <p>
9419
- * Defines custom handling for the web request. For more information,
9420
- * 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>.
9421
- * </p>
9422
- */
9423
- CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
9424
- }
9425
- /**
9426
- * @public
9427
- * <p>
9428
- * The action that WAF should take on a web request when it matches a rule's statement.
9429
- * Settings at the web ACL level can override the rule action setting.
9430
- * </p>
9431
- */
9432
- export interface AwsWafv2RulesActionDetails {
9433
- /**
9434
- * @public
9435
- * <p>
9436
- * Instructs WAF to allow the web request.
9437
- * </p>
9438
- */
9439
- Allow?: AwsWafv2ActionAllowDetails;
9440
- /**
9441
- * @public
9442
- * <p>
9443
- * Instructs WAF to block the web request.
9444
- * </p>
9445
- */
9446
- Block?: AwsWafv2ActionBlockDetails;
9447
- /**
9448
- * @public
9449
- * <p>
9450
- * Instructs WAF to run a CAPTCHA check against the web request.
9451
- * </p>
9452
- */
9453
- Captcha?: AwsWafv2RulesActionCaptchaDetails;
9454
- /**
9455
- * @public
9456
- * <p>
9457
- * Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.
9458
- * </p>
9459
- */
9460
- Count?: AwsWafv2RulesActionCountDetails;
9461
- }