@aws-sdk/client-securityhub 3.1091.0 → 3.1092.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1090.0";
72
+ var version = "3.1091.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -104,7 +104,9 @@ declare const BatchDisableStandardsCommand_base: {
104
104
  * {
105
105
  * StandardsSubscriptions: [
106
106
  * {
107
+ * Provider: "AWS",
107
108
  * StandardsArn: "arn:aws:securityhub:eu-central-1::standards/pci-dss/v/3.2.1",
109
+ * StandardsControlsUpdatable: "NOT_READY_FOR_UPDATES",
108
110
  * StandardsInput: { /* empty *\/ },
109
111
  * StandardsStatus: "DELETING",
110
112
  * StandardsSubscriptionArn: "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
@@ -112,7 +112,9 @@ declare const BatchEnableStandardsCommand_base: {
112
112
  * {
113
113
  * StandardsSubscriptions: [
114
114
  * {
115
+ * Provider: "AWS",
115
116
  * StandardsArn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
117
+ * StandardsControlsUpdatable: "NOT_READY_FOR_UPDATES",
116
118
  * StandardsInput: { /* empty *\/ },
117
119
  * StandardsStatus: "PENDING",
118
120
  * StandardsSubscriptionArn: "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
@@ -138,6 +138,7 @@ declare const BatchGetSecurityControlsCommand_base: {
138
138
  * ValueType: "DEFAULT"
139
139
  * }
140
140
  * },
141
+ * Provider: "AWS",
141
142
  * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
142
143
  * SecurityControlArn: "arn:aws:securityhub:us-west-2:123456789012:security-control/ACM.1",
143
144
  * SecurityControlId: "ACM.1",
@@ -157,6 +158,7 @@ declare const BatchGetSecurityControlsCommand_base: {
157
158
  * ValueType: "CUSTOM"
158
159
  * }
159
160
  * },
161
+ * Provider: "AWS",
160
162
  * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
161
163
  * SecurityControlArn: "arn:aws:securityhub:us-west-2:123456789012:security-control/APIGateway.1",
162
164
  * SecurityControlId: "APIGateway.1",
@@ -82,6 +82,35 @@ declare const DescribeStandardsCommand_base: {
82
82
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
83
83
  *
84
84
  *
85
+ * @example To get available Azure security standards
86
+ * ```javascript
87
+ * // The following example returns a list of available security standards from a specified provider.
88
+ * const input = {
89
+ * Providers: [
90
+ * "Azure"
91
+ * ]
92
+ * };
93
+ * const command = new DescribeStandardsCommand(input);
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * {
97
+ * Standards: [
98
+ * {
99
+ * Description: "The Center for Internet Security (CIS) Microsoft Azure Foundations Benchmark v4.0.0 is a set of security configuration best practices for Azure. This Security Hub standard automatically checks your compliance readiness against a subset of CIS requirements.",
100
+ * EnabledByDefault: false,
101
+ * Name: "CIS Azure Foundations Benchmark v4.0.0",
102
+ * Provider: "Azure",
103
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/cis-azure-foundations-benchmark/v/4.0.0",
104
+ * StandardsManagedBy: {
105
+ * Company: "AWS",
106
+ * Product: "Security Hub"
107
+ * }
108
+ * }
109
+ * ]
110
+ * }
111
+ * *\/
112
+ * ```
113
+ *
85
114
  * @example To get available Security Hub standards
86
115
  * ```javascript
87
116
  * // The following example returns a list of available security standards in Security Hub.
@@ -95,25 +124,56 @@ declare const DescribeStandardsCommand_base: {
95
124
  * Description: "The AWS Foundational Security Best Practices standard is a set of automated security checks that detect when AWS accounts and deployed resources do not align to security best practices. The standard is defined by AWS security experts. This curated set of controls helps improve your security posture in AWS, and cover AWS's most popular and foundational services.",
96
125
  * EnabledByDefault: true,
97
126
  * Name: "AWS Foundational Security Best Practices v1.0.0",
98
- * StandardsArn: "arn:aws:securityhub:us-west-1::standards/aws-foundational-security-best-practices/v/1.0.0"
127
+ * Provider: "AWS",
128
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/aws-foundational-security-best-practices/v/1.0.0",
129
+ * StandardsManagedBy: {
130
+ * Company: "AWS",
131
+ * Product: "Security Hub"
132
+ * }
99
133
  * },
100
134
  * {
101
135
  * Description: "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.2.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
102
136
  * EnabledByDefault: true,
103
137
  * Name: "CIS AWS Foundations Benchmark v1.2.0",
104
- * StandardsArn: "arn:aws:securityhub:us-west-1::ruleset/cis-aws-foundations-benchmark/v/1.2.0"
138
+ * Provider: "AWS",
139
+ * StandardsArn: "arn:aws:securityhub:us-west-1::ruleset/cis-aws-foundations-benchmark/v/1.2.0",
140
+ * StandardsManagedBy: {
141
+ * Company: "AWS",
142
+ * Product: "Security Hub"
143
+ * }
105
144
  * },
106
145
  * {
107
146
  * Description: "The Center for Internet Security (CIS) AWS Foundations Benchmark v1.4.0 is a set of security configuration best practices for AWS. This Security Hub standard automatically checks for your compliance readiness against a subset of CIS requirements.",
108
147
  * EnabledByDefault: false,
109
148
  * Name: "CIS AWS Foundations Benchmark v1.4.0",
110
- * StandardsArn: "arn:aws::securityhub:us-west-1::standards/cis-aws-foundations-benchmark/v/1.4.0"
149
+ * Provider: "AWS",
150
+ * StandardsArn: "arn:aws::securityhub:us-west-1::standards/cis-aws-foundations-benchmark/v/1.4.0",
151
+ * StandardsManagedBy: {
152
+ * Company: "AWS",
153
+ * Product: "Security Hub"
154
+ * }
111
155
  * },
112
156
  * {
113
157
  * Description: "The Payment Card Industry Data Security Standard (PCI DSS) v3.2.1 is an information security standard for entities that store, process, and/or transmit cardholder data. This Security Hub standard automatically checks for your compliance readiness against a subset of PCI DSS requirements.",
114
158
  * EnabledByDefault: false,
115
159
  * Name: "PCI DSS v3.2.1",
116
- * StandardsArn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1"
160
+ * Provider: "AWS",
161
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
162
+ * StandardsManagedBy: {
163
+ * Company: "AWS",
164
+ * Product: "Security Hub"
165
+ * }
166
+ * },
167
+ * {
168
+ * Description: "The Center for Internet Security (CIS) Microsoft Azure Foundations Benchmark v4.0.0 is a set of security configuration best practices for Azure. This Security Hub standard automatically checks your compliance readiness against a subset of CIS requirements.",
169
+ * EnabledByDefault: false,
170
+ * Name: "CIS Azure Foundations Benchmark v4.0.0",
171
+ * Provider: "Azure",
172
+ * StandardsArn: "arn:aws:securityhub:us-west-1::standards/cis-azure-foundations-benchmark/v/4.0.0",
173
+ * StandardsManagedBy: {
174
+ * Company: "AWS",
175
+ * Product: "Security Hub"
176
+ * }
117
177
  * }
118
178
  * ]
119
179
  * }
@@ -104,6 +104,7 @@ declare const GetEnabledStandardsCommand_base: {
104
104
  * {
105
105
  * StandardsSubscriptions: [
106
106
  * {
107
+ * Provider: "AWS",
107
108
  * StandardsArn: "arn:aws:securityhub:us-west-1::standards/pci-dss/v/3.2.1",
108
109
  * StandardsInput: { /* empty *\/ },
109
110
  * StandardsStatus: "READY",
@@ -165,6 +165,7 @@ declare const GetSecurityControlDefinitionCommand_base: {
165
165
  * Description: "Number of days the EC2 instance is allowed to be in a stopped state before generating a failed finding"
166
166
  * }
167
167
  * },
168
+ * Provider: "AWS",
168
169
  * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/EC2.4/remediation",
169
170
  * SecurityControlId: "EC2.4",
170
171
  * SeverityRating: "MEDIUM",
@@ -145,6 +145,56 @@ declare const ListSecurityControlDefinitionsCommand_base: {
145
145
  * <p>Base exception class for all service exceptions from SecurityHub service.</p>
146
146
  *
147
147
  *
148
+ * @example To list Azure security control definitions
149
+ * ```javascript
150
+ * // The following example lists security control definitions for a specified provider.
151
+ * const input = {
152
+ * MaxResults: 3,
153
+ * Providers: [
154
+ * "Azure"
155
+ * ]
156
+ * };
157
+ * const command = new ListSecurityControlDefinitionsCommand(input);
158
+ * const response = await client.send(command);
159
+ * /* response is
160
+ * {
161
+ * NextToken: "U2FsdGVkX1...",
162
+ * SecurityControlDefinitions: [
163
+ * {
164
+ * CurrentRegionAvailability: "AVAILABLE",
165
+ * CustomizableProperties: [],
166
+ * Description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
167
+ * Provider: "Azure",
168
+ * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/Azure.App.1/remediation",
169
+ * SecurityControlId: "Azure.App.1",
170
+ * SeverityRating: "MEDIUM",
171
+ * Title: "Azure Container Apps with managed identity enabled should follow least privilege"
172
+ * },
173
+ * {
174
+ * CurrentRegionAvailability: "AVAILABLE",
175
+ * CustomizableProperties: [],
176
+ * Description: "This control checks whether an Azure Container App passes Azure SDK credentials as plain-text container environment variables. The control fails if any container (including initContainers) defines AZURE_CLIENT_SECRET, AZURE_CLIENT_CERTIFICATE_PASSWORD, or AZURE_PASSWORD as a plain-text environment variable instead of referencing a secret via secretRef.",
177
+ * Provider: "Azure",
178
+ * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/Azure.App.2/remediation",
179
+ * SecurityControlId: "Azure.App.2",
180
+ * SeverityRating: "CRITICAL",
181
+ * Title: "Azure Container Apps should not pass Azure SDK credentials as environment variables"
182
+ * },
183
+ * {
184
+ * CurrentRegionAvailability: "AVAILABLE",
185
+ * CustomizableProperties: [],
186
+ * Description: "This control checks whether Azure Container Apps have external ingress configured. The control fails if the Container App ingress is set to accept traffic from anywhere (external).",
187
+ * Provider: "Azure",
188
+ * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/Azure.App.3/remediation",
189
+ * SecurityControlId: "Azure.App.3",
190
+ * SeverityRating: "HIGH",
191
+ * Title: "Azure Container Apps should not have external ingress enabled"
192
+ * }
193
+ * ]
194
+ * }
195
+ * *\/
196
+ * ```
197
+ *
148
198
  * @example To list security controls that apply to a standard
149
199
  * ```javascript
150
200
  * // The following example lists security controls that apply to a specified Security Hub standard.
@@ -165,6 +215,7 @@ declare const ListSecurityControlDefinitionsCommand_base: {
165
215
  * "Parameters"
166
216
  * ],
167
217
  * Description: "This AWS control checks whether ACM Certificates in your account are marked for expiration within a specified time period. Certificates provided by ACM are automatically renewed. ACM does not automatically renew certificates that you import.",
218
+ * Provider: "AWS",
168
219
  * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
169
220
  * SecurityControlId: "ACM.1",
170
221
  * SeverityRating: "MEDIUM",
@@ -176,6 +227,7 @@ declare const ListSecurityControlDefinitionsCommand_base: {
176
227
  * "Parameters"
177
228
  * ],
178
229
  * Description: "This control checks whether all stages of Amazon API Gateway REST and WebSocket APIs have logging enabled. The control fails if logging is not enabled for all methods of a stage or if loggingLevel is neither ERROR nor INFO.",
230
+ * Provider: "AWS",
179
231
  * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
180
232
  * SecurityControlId: "APIGateway.1",
181
233
  * SeverityRating: "MEDIUM",
@@ -184,10 +236,21 @@ declare const ListSecurityControlDefinitionsCommand_base: {
184
236
  * {
185
237
  * CurrentRegionAvailability: "AVAILABLE",
186
238
  * Description: "This control checks whether Amazon API Gateway REST API stages have SSL certificates configured that backend systems can use to authenticate that incoming requests are from the API Gateway.",
239
+ * Provider: "AWS",
187
240
  * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/APIGateway.2/remediation",
188
241
  * SecurityControlId: "APIGateway.2",
189
242
  * SeverityRating: "MEDIUM",
190
243
  * Title: "API Gateway REST API stages should be configured to use SSL certificates for backend authentication"
244
+ * },
245
+ * {
246
+ * CurrentRegionAvailability: "AVAILABLE",
247
+ * CustomizableProperties: [],
248
+ * Description: "This control checks whether Azure Container Apps have managed identity enabled. The control fails if the Container App has a system-assigned or user-assigned managed identity enabled.",
249
+ * Provider: "Azure",
250
+ * RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/Azure.App.1/remediation",
251
+ * SecurityControlId: "Azure.App.1",
252
+ * SeverityRating: "MEDIUM",
253
+ * Title: "Azure Container Apps with managed identity enabled should follow least privilege"
191
254
  * }
192
255
  * ]
193
256
  * }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
- "version": "3.1091.0",
3
+ "version": "3.1092.0",
4
4
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-securityhub",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.975.3",
50
- "@aws-sdk/credential-provider-node": "^3.972.70",
49
+ "@aws-sdk/core": "^3.976.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.71",
51
51
  "@aws-sdk/types": "^3.974.2",
52
52
  "@smithy/core": "^3.29.4",
53
53
  "@smithy/fetch-http-handler": "^5.6.6",