2020/07/28 - AWS SecurityHub - 1 new1 updated api methods
Changes Update securityhub client to latest version
Updates configuration options for Security Hub.
See also: AWS API Documentation
Request Syntax
client.update_security_hub_configuration( AutoEnableControls=True|False )
boolean
Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.
dict
Response Syntax
{}
Response Structure
(dict) --
{'AutoEnableControls': 'boolean'}
Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub.
See also: AWS API Documentation
Request Syntax
client.describe_hub( HubArn='string' )
string
The ARN of the Hub resource to retrieve.
dict
Response Syntax
{ 'HubArn': 'string', 'SubscribedAt': 'string', 'AutoEnableControls': True|False }
Response Structure
(dict) --
HubArn (string) --
The ARN of the Hub resource that was retrieved.
SubscribedAt (string) --
The date and time when Security Hub was enabled in the account.
AutoEnableControls (boolean) --
Whether to automatically enable new controls when they are added to standards that are enabled.
If set to true, then new controls for enabled standards are enabled automatically. If set to false, then new controls are not enabled.