Inspector2 / Client / get_code_security_integration

get_code_security_integration

Inspector2.Client.get_code_security_integration(**kwargs)

Retrieves information about a code security integration.

See also: AWS API Documentation

Request Syntax

response = client.get_code_security_integration(
    integrationArn='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • integrationArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the code security integration to retrieve.

  • tags (dict) –

    The tags associated with the code security integration.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'authorizationUrl': 'string',
    'createdOn': datetime(2015, 1, 1),
    'integrationArn': 'string',
    'lastUpdateOn': datetime(2015, 1, 1),
    'name': 'string',
    'status': 'PENDING'|'IN_PROGRESS'|'ACTIVE'|'INACTIVE'|'DISABLING',
    'statusReason': 'string',
    'tags': {
        'string': 'string'
    },
    'type': 'GITLAB_SELF_MANAGED'|'GITHUB'
}

Response Structure

  • (dict) –

    • authorizationUrl (string) –

      The URL used to authorize the integration with the repository provider. This is only returned if reauthorization is required to fix a connection issue. Otherwise, it is null.

    • createdOn (datetime) –

      The timestamp when the code security integration was created.

    • integrationArn (string) –

      The Amazon Resource Name (ARN) of the code security integration.

    • lastUpdateOn (datetime) –

      The timestamp when the code security integration was last updated.

    • name (string) –

      The name of the code security integration.

    • status (string) –

      The current status of the code security integration.

    • statusReason (string) –

      The reason for the current status of the code security integration.

    • tags (dict) –

      The tags associated with the code security integration.

      • (string) –

        • (string) –

    • type (string) –

      The type of repository provider for the integration.

Exceptions