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
{ 'integrationArn': 'string', 'name': 'string', 'type': 'GITLAB_SELF_MANAGED'|'GITHUB'|'GITHUB_ENTERPRISE_SERVER', 'status': 'PENDING'|'IN_PROGRESS'|'ACTIVE'|'INACTIVE'|'DISABLING'|'ESTABLISHING_CONNECTION_IN_PROGRESS'|'ESTABLISHING_CONNECTION_COMPLETED'|'ESTABLISHING_CONNECTION_FAILED'|'PENDING_MANIFEST_CODE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED', 'statusReason': 'string', 'createdOn': datetime(2015, 1, 1), 'lastUpdateOn': datetime(2015, 1, 1), 'authorizationUrl': 'string', 'vpcConfiguration': { 'vpcId': 'string', 'vpcEndpointId': 'string', 'codeConnectionsHostArn': 'string', 'subnetIds': [ 'string', ], 'securityGroups': [ 'string', ], 'tlsCertificate': 'string' }, 'instanceUrl': 'string', 'tags': { 'string': 'string' } }
Response Structure
(dict) –
integrationArn (string) –
The Amazon Resource Name (ARN) of the code security integration.
name (string) –
The name of the code security integration.
type (string) –
The type of repository provider for the integration.
status (string) –
The current status of the code security integration.
statusReason (string) –
The reason for the current status of the code security integration.
createdOn (datetime) –
The timestamp when the code security integration was created.
lastUpdateOn (datetime) –
The timestamp when the code security integration was last updated.
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.
vpcConfiguration (dict) –
The VPC configuration associated with the integration, if it connects to a repository provider in a private network.
vpcId (string) –
The ID of the VPC that Amazon Inspector connects through to reach the repository provider.
vpcEndpointId (string) –
The ID of the VPC endpoint used for the connection.
codeConnectionsHostArn (string) –
The Amazon Resource Name (ARN) of the AWS CodeConnections host used for the connection.
subnetIds (list) –
The IDs of the subnets used for the connection.
(string) –
securityGroups (list) –
The IDs of the security groups used for the connection.
(string) –
tlsCertificate (string) –
The TLS certificate used to establish a trusted connection to the repository provider.
instanceUrl (string) –
The URL of the self-managed GitLab or GitHub Enterprise Server instance associated with the integration.
tags (dict) –
The tags associated with the code security integration.
(string) –
(string) –
Exceptions