{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-get-code-security-integration-response-schema.json",
  "title": "GetCodeSecurityIntegrationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-codesecurity-api-openapi.yml#/components/schemas/GetCodeSecurityIntegrationResponse",
  "type": "object",
  "properties": {
    "integrationArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the code security integration."
    },
    "name": {
      "type": "string",
      "description": "The name of the code security integration."
    },
    "type": {
      "type": "string",
      "enum": [
        "GITLAB_SELF_MANAGED",
        "GITHUB"
      ],
      "description": "The type of repository provider for the integration."
    },
    "status": {
      "type": "string",
      "enum": [
        "PENDING",
        "IN_PROGRESS",
        "ACTIVE",
        "INACTIVE",
        "DISABLING"
      ],
      "description": "The current status of the code security integration."
    },
    "statusReason": {
      "type": "string",
      "description": "The reason for the current status of the code security integration."
    },
    "createdOn": {
      "type": "string",
      "description": "The timestamp when the code security integration was created."
    },
    "lastUpdateOn": {
      "type": "string",
      "description": "The timestamp when the code security integration was last updated."
    },
    "authorizationUrl": {
      "type": "string",
      "description": "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."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags associated with the code security integration."
    }
  },
  "required": [
    "integrationArn",
    "name",
    "type",
    "status",
    "statusReason",
    "createdOn",
    "lastUpdateOn"
  ]
}