Skip to content

Commit f4bf23d

Browse files
author
AWS
committed
AWS SecurityHub Update: Adding StandardsManagedBy field to DescribeStandards API response
1 parent 3a36881 commit f4bf23d

File tree

4 files changed

+78
-2
lines changed

4 files changed

+78
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS SecurityHub",
4+
"contributor": "",
5+
"description": "Adding StandardsManagedBy field to DescribeStandards API response"
6+
}

services/securityhub/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"parameters": {
44
"Region": {
55
"builtIn": "AWS::Region",
6-
"required": false,
6+
"required": true,
77
"documentation": "The AWS region used to dispatch the request.",
88
"type": "String"
99
},

services/securityhub/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,58 @@
156156
"Region": "us-gov-east-1"
157157
}
158158
},
159+
{
160+
"documentation": "For region me-central-1 with FIPS enabled and DualStack enabled",
161+
"expect": {
162+
"endpoint": {
163+
"url": "https://securityhub-fips.me-central-1.api.aws"
164+
}
165+
},
166+
"params": {
167+
"UseDualStack": true,
168+
"UseFIPS": true,
169+
"Region": "me-central-1"
170+
}
171+
},
172+
{
173+
"documentation": "For region me-central-1 with FIPS enabled and DualStack disabled",
174+
"expect": {
175+
"endpoint": {
176+
"url": "https://securityhub-fips.me-central-1.amazonaws.com"
177+
}
178+
},
179+
"params": {
180+
"UseDualStack": false,
181+
"UseFIPS": true,
182+
"Region": "me-central-1"
183+
}
184+
},
185+
{
186+
"documentation": "For region me-central-1 with FIPS disabled and DualStack enabled",
187+
"expect": {
188+
"endpoint": {
189+
"url": "https://securityhub.me-central-1.api.aws"
190+
}
191+
},
192+
"params": {
193+
"UseDualStack": true,
194+
"UseFIPS": false,
195+
"Region": "me-central-1"
196+
}
197+
},
198+
{
199+
"documentation": "For region me-central-1 with FIPS disabled and DualStack disabled",
200+
"expect": {
201+
"endpoint": {
202+
"url": "https://securityhub.me-central-1.amazonaws.com"
203+
}
204+
},
205+
"params": {
206+
"UseDualStack": false,
207+
"UseFIPS": false,
208+
"Region": "me-central-1"
209+
}
210+
},
159211
{
160212
"documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled",
161213
"expect": {

services/securityhub/src/main/resources/codegen-resources/service-2.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15208,9 +15208,13 @@
1520815208
"EnabledByDefault":{
1520915209
"shape":"Boolean",
1521015210
"documentation":"<p>Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.</p> <p>When Security Hub is enabled using the <code>EnableSecurityHub</code> API operation, the standard is enabled by default unless <code>EnableDefaultStandards</code> is set to <code>false</code>.</p>"
15211+
},
15212+
"StandardsManagedBy":{
15213+
"shape":"StandardsManagedBy",
15214+
"documentation":"<p>Provides details about the management of a standard. </p>"
1521115215
}
1521215216
},
15213-
"documentation":"<p>Provides information about a specific standard.</p>"
15217+
"documentation":"<p>Provides information about a specific security standard.</p>"
1521415218
},
1521515219
"Standards":{
1521615220
"type":"list",
@@ -15271,6 +15275,20 @@
1527115275
"key":{"shape":"NonEmptyString"},
1527215276
"value":{"shape":"NonEmptyString"}
1527315277
},
15278+
"StandardsManagedBy":{
15279+
"type":"structure",
15280+
"members":{
15281+
"Company":{
15282+
"shape":"NonEmptyString",
15283+
"documentation":"<p>An identifier for the company that manages a specific security standard. For existing standards, the value is equal to <code>Amazon Web Services</code>.</p>"
15284+
},
15285+
"Product":{
15286+
"shape":"NonEmptyString",
15287+
"documentation":"<p>An identifier for the product that manages a specific security standard. For existing standards, the value is equal to the Amazon Web Services service that manages the standard.</p>"
15288+
}
15289+
},
15290+
"documentation":"<p>Provides details about the management of a security standard.</p>"
15291+
},
1527415292
"StandardsStatus":{
1527515293
"type":"string",
1527615294
"enum":[

0 commit comments

Comments
 (0)