Skip to content

Commit 1f0e50e

Browse files
author
AWS
committed
AWS SecurityHub Update: Added UpdateSecurityHubConfiguration API. Security Hub now allows customers to choose whether to automatically enable new controls that are added to an existing standard that the customer enabled. For example, if you enabled Foundational Security Best Practices for an account, you can automatically enable new controls as we add them to that standard. By default, new controls are enabled.
1 parent 37179c2 commit 1f0e50e

File tree

2 files changed

+45
-5
lines changed

2 files changed

+45
-5
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS SecurityHub",
4+
"description": "Added UpdateSecurityHubConfiguration API. Security Hub now allows customers to choose whether to automatically enable new controls that are added to an existing standard that the customer enabled. For example, if you enabled Foundational Security Best Practices for an account, you can automatically enable new controls as we add them to that standard. By default, new controls are enabled."
5+
}

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

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,23 @@
684684
],
685685
"documentation":"<p>Updates the Security Hub insight identified by the specified insight ARN.</p>"
686686
},
687+
"UpdateSecurityHubConfiguration":{
688+
"name":"UpdateSecurityHubConfiguration",
689+
"http":{
690+
"method":"PATCH",
691+
"requestUri":"/accounts"
692+
},
693+
"input":{"shape":"UpdateSecurityHubConfigurationRequest"},
694+
"output":{"shape":"UpdateSecurityHubConfigurationResponse"},
695+
"errors":[
696+
{"shape":"InternalException"},
697+
{"shape":"InvalidInputException"},
698+
{"shape":"InvalidAccessException"},
699+
{"shape":"LimitExceededException"},
700+
{"shape":"ResourceNotFoundException"}
701+
],
702+
"documentation":"<p>Updates configuration options for Security Hub.</p>"
703+
},
687704
"UpdateStandardsControl":{
688705
"name":"UpdateStandardsControl",
689706
"http":{
@@ -2515,7 +2532,7 @@
25152532
},
25162533
"WorkflowState":{
25172534
"shape":"StringFilterList",
2518-
"documentation":"<p>The workflow state of a finding.</p>"
2535+
"documentation":"<p>The workflow state of a finding.</p> <p>Note that this field is deprecated. To search for a finding based on its workflow status, use <code>WorkflowStatus</code>.</p>"
25192536
},
25202537
"WorkflowStatus":{
25212538
"shape":"StringFilterList",
@@ -3231,6 +3248,10 @@
32313248
"SubscribedAt":{
32323249
"shape":"NonEmptyString",
32333250
"documentation":"<p>The date and time when Security Hub was enabled in the account.</p>"
3251+
},
3252+
"AutoEnableControls":{
3253+
"shape":"Boolean",
3254+
"documentation":"<p>Whether to automatically enable new controls when they are added to standards that are enabled.</p> <p>If set to <code>true</code>, then new controls for enabled standards are enabled automatically. If set to <code>false</code>, then new controls are not enabled.</p>"
32343255
}
32353256
}
32363257
},
@@ -3461,7 +3482,7 @@
34613482
"members":{
34623483
"Filters":{
34633484
"shape":"AwsSecurityFindingFilters",
3464-
"documentation":"<p>The finding attributes used to define a condition to filter the returned findings.</p>"
3485+
"documentation":"<p>The finding attributes used to define a condition to filter the returned findings.</p> <p>Note that in the available filter fields, <code>WorkflowState</code> is deprecated. To search for a finding based on its workflow status, use <code>WorkflowStatus</code>.</p>"
34653486
},
34663487
"SortCriteria":{
34673488
"shape":"SortCriteria",
@@ -4647,18 +4668,18 @@
46474668
},
46484669
"Label":{
46494670
"shape":"SeverityLabel",
4650-
"documentation":"<p>The severity value of the finding. The allowed values are the following.</p> <ul> <li> <p> <code>INFORMATIONAL</code> - No issue was found.</p> </li> <li> <p> <code>LOW</code> - The issue does not require action on its own.</p> </li> <li> <p> <code>MEDIUM</code> - The issue must be addressed but not urgently.</p> </li> <li> <p> <code>HIGH</code> - The issue must be addressed as a priority.</p> </li> <li> <p> <code>CRITICAL</code> - The issue must be remediated immediately to avoid it escalating.</p> </li> </ul>"
4671+
"documentation":"<p>The severity value of the finding. The allowed values are the following.</p> <ul> <li> <p> <code>INFORMATIONAL</code> - No issue was found.</p> </li> <li> <p> <code>LOW</code> - The issue does not require action on its own.</p> </li> <li> <p> <code>MEDIUM</code> - The issue must be addressed but not urgently.</p> </li> <li> <p> <code>HIGH</code> - The issue must be addressed as a priority.</p> </li> <li> <p> <code>CRITICAL</code> - The issue must be remediated immediately to avoid it escalating.</p> </li> </ul> <p>If you provide <code>Normalized</code> and do not provide <code>Label</code>, then <code>Label</code> is set automatically as follows. </p> <ul> <li> <p>0 - <code>INFORMATIONAL</code> </p> </li> <li> <p>1–39 - <code>LOW</code> </p> </li> <li> <p>40–69 - <code>MEDIUM</code> </p> </li> <li> <p>70–89 - <code>HIGH</code> </p> </li> <li> <p>90–100 - <code>CRITICAL</code> </p> </li> </ul>"
46514672
},
46524673
"Normalized":{
46534674
"shape":"Integer",
4654-
"documentation":"<p>Deprecated. This attribute is being deprecated. Instead of providing <code>Normalized</code>, provide <code>Label</code>.</p> <p>If you provide <code>Normalized</code> and do not provide <code>Label</code>, <code>Label</code> is set automatically as follows. </p> <ul> <li> <p>0 - <code>INFORMATIONAL</code> </p> </li> <li> <p>1–39 - <code>LOW</code> </p> </li> <li> <p>40–69 - <code>MEDIUM</code> </p> </li> <li> <p>70–89 - <code>HIGH</code> </p> </li> <li> <p>90–100 - <code>CRITICAL</code> </p> </li> </ul>"
4675+
"documentation":"<p>Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of providing <code>Normalized</code>, provide <code>Label</code>.</p> <p>If you provide <code>Label</code> and do not provide <code>Normalized</code>, then <code>Normalized</code> is set automatically as follows.</p> <ul> <li> <p> <code>INFORMATIONAL</code> - 0</p> </li> <li> <p> <code>LOW</code> - 1</p> </li> <li> <p> <code>MEDIUM</code> - 40</p> </li> <li> <p> <code>HIGH</code> - 70</p> </li> <li> <p> <code>CRITICAL</code> - 90</p> </li> </ul>"
46554676
},
46564677
"Original":{
46574678
"shape":"NonEmptyString",
46584679
"documentation":"<p>The native severity from the finding product that generated the finding.</p>"
46594680
}
46604681
},
4661-
"documentation":"<p>The severity of the finding.</p>"
4682+
"documentation":"<p>The severity of the finding.</p> <p>The finding provider can provide the initial severity, but cannot update it after that. The severity can only be updated by a master account. It cannot be updated by a member account.</p> <p>The finding must have either <code>Label</code> or <code>Normalized</code> populated. If only one of these attributes is populated, then Security Hub automatically populates the other one. If neither attribute is populated, then the finding is invalid. <code>Label</code> is the preferred attribute.</p>"
46624683
},
46634684
"SeverityLabel":{
46644685
"type":"string",
@@ -5169,6 +5190,20 @@
51695190
"members":{
51705191
}
51715192
},
5193+
"UpdateSecurityHubConfigurationRequest":{
5194+
"type":"structure",
5195+
"members":{
5196+
"AutoEnableControls":{
5197+
"shape":"Boolean",
5198+
"documentation":"<p>Whether to automatically enable new controls when they are added to standards that are enabled.</p> <p>By default, this is set to <code>true</code>, and new controls are enabled automatically. To not automatically enable new controls, set this to <code>false</code>. </p>"
5199+
}
5200+
}
5201+
},
5202+
"UpdateSecurityHubConfigurationResponse":{
5203+
"type":"structure",
5204+
"members":{
5205+
}
5206+
},
51725207
"UpdateStandardsControlRequest":{
51735208
"type":"structure",
51745209
"required":["StandardsControlArn"],

0 commit comments

Comments
 (0)