SecurityHub / Client / describe_security_hub_v2

describe_security_hub_v2

SecurityHub.Client.describe_security_hub_v2()

Returns details about the service resource in your account.

See also: AWS API Documentation

Request Syntax

response = client.describe_security_hub_v2()
Return type:

dict

Returns:

Response Syntax

{
    'HubV2Arn': 'string',
    'SubscribedAt': 'string',
    'Features': {
        'string': {
            'FeatureStatus': 'ENABLED'|'DISABLED',
            'UpdatedAt': datetime(2015, 1, 1)
        }
    }
}

Response Structure

  • (dict) –

    • HubV2Arn (string) –

      The ARN of the service resource.

    • SubscribedAt (string) –

      The date and time when the service was enabled in the account.

    • Features (dict) –

      A map of opt-in features and their current status and metadata for the account in the current Region.

      • (string) –

        The name of a feature, used as a key in the features map.

        • (dict) –

          Contains the status and metadata for an opt-in feature.

          • FeatureStatus (string) –

            The current enablement status of the feature. Valid values: ENABLED | DISABLED.

          • UpdatedAt (datetime) –

            The date and time when the feature status was last updated.

Exceptions

  • SecurityHub.Client.exceptions.InternalServerException

  • SecurityHub.Client.exceptions.ThrottlingException

  • SecurityHub.Client.exceptions.ResourceNotFoundException

  • SecurityHub.Client.exceptions.ValidationException