SecurityHub / Client / enable_import_findings_for_product

enable_import_findings_for_product#

SecurityHub.Client.enable_import_findings_for_product(**kwargs)#

Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub.

When you enable a product integration, a permissions policy that grants permission for the product to send findings to Security Hub is applied.

See also: AWS API Documentation

Request Syntax

response = client.enable_import_findings_for_product(
    ProductArn='string'
)
Parameters:

ProductArn (string) –

[REQUIRED]

The ARN of the product to enable the integration for.

Return type:

dict

Returns:

Response Syntax

{
    'ProductSubscriptionArn': 'string'
}

Response Structure

  • (dict) –

    • ProductSubscriptionArn (string) –

      The ARN of your subscription to the product to enable integrations for.

Exceptions

  • SecurityHub.Client.exceptions.InternalException

  • SecurityHub.Client.exceptions.InvalidInputException

  • SecurityHub.Client.exceptions.InvalidAccessException

  • SecurityHub.Client.exceptions.ResourceConflictException

  • SecurityHub.Client.exceptions.LimitExceededException