Inspector2 / Client / get_ec2_deep_inspection_configuration

get_ec2_deep_inspection_configuration#

Inspector2.Client.get_ec2_deep_inspection_configuration()#

Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.

See also: AWS API Documentation

Request Syntax

response = client.get_ec2_deep_inspection_configuration()
Return type:

dict

Returns:

Response Syntax

{
    'errorMessage': 'string',
    'orgPackagePaths': [
        'string',
    ],
    'packagePaths': [
        'string',
    ],
    'status': 'ACTIVATED'|'DEACTIVATED'|'PENDING'|'FAILED'
}

Response Structure

  • (dict) –

    • errorMessage (string) –

      An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.

    • orgPackagePaths (list) –

      The Amazon Inspector deep inspection custom paths for your organization.

      • (string) –

    • packagePaths (list) –

      The Amazon Inspector deep inspection custom paths for your account.

      • (string) –

    • status (string) –

      The activation status of Amazon Inspector deep inspection in your account.

Exceptions

  • Inspector2.Client.exceptions.AccessDeniedException

  • Inspector2.Client.exceptions.ResourceNotFoundException

  • Inspector2.Client.exceptions.ThrottlingException

  • Inspector2.Client.exceptions.InternalServerException