openapi: 3.0.3
info:
  title: Graph API
  version: v1.0.0
  description: API for managing graph data
  x-sources:
    - clone-wars
    - cloud-city
    - comlink
    - coruscant
    - death-star
    - jalindi-station
    - jedi-order
    - rebel-base
    - tactical-droid
    - tactical-holomap
    - the-force
    - the-holonet
    - the-sith
servers: []
tags: []
paths:
  /graph/accounts:
    get:
      description: Lists all AWS account IDs that have graph data stored in S3
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetGraphAccountsListOutput'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: List Graph Account IDs
  /graph/all:
    get:
      description: Returns all nodes and relationships in the graph database
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAllGraphPathOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get All Graph Nodes and Relationships
  /graph/data/latest:
    get:
      description: Retrieves the latest consolidated graph data containing all AWS accounts from S3 storage
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetGraphDataLatestOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Latest Graph Data
  /graph/nodes:
    get:
      description: Retrieves nodes of a specific type and their related edges from the graph data stored in S3
      parameters:
        - in: query
          name: nodeType
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetNodesByTypeOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Nodes by Type
  /graph/nodes/search:
    get:
      description: Performs fuzzy search through node properties using natural language queries
      parameters:
        - in: query
          name: query
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsSearchNodesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Search Nodes
  /cspm/findings:
    get:
      description: Returns a filtered set of CSPM findings based on query parameters
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: Maximum number of findings to return
          in: query
          name: limit
          schema:
            description: Maximum number of findings to return
            nullable: true
            type: integer
        - description: Token for pagination
          in: query
          name: nextToken
          schema:
            description: Token for pagination
            nullable: true
            type: string
        - description: Sort order (asc or desc)
          in: query
          name: sort
          schema:
            description: Sort order (asc or desc)
            nullable: true
            type: string
        - description: Field to sort by (priority, time, severity)
          in: query
          name: sortBy
          schema:
            description: Field to sort by (priority, time, severity)
            nullable: true
            type: string
        - description: Filter by severity
          in: query
          name: severity
          schema:
            description: Filter by severity
            nullable: true
            type: string
        - description: Filter by status
          in: query
          name: status
          schema:
            description: Filter by status
            nullable: true
            type: string
        - description: Filter by account ID
          in: query
          name: accountId
          schema:
            description: Filter by account ID
            nullable: true
            type: string
        - description: Filter by region
          in: query
          name: region
          schema:
            description: Filter by region
            nullable: true
            type: string
        - description: Filter by resource type
          in: query
          name: resourceType
          schema:
            description: Filter by resource type
            nullable: true
            type: string
        - description: Filter by scan ID
          in: query
          name: scanId
          schema:
            description: Filter by scan ID
            nullable: true
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCSPMFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get CSPM Findings
  /cspm/findings/{findingId}:
    get:
      description: Returns a specific CSPM finding by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: ID of the CSPM finding
          in: path
          name: findingId
          required: true
          schema:
            description: ID of the CSPM finding
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCSPMFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get CSPM Finding
  /cspm/scans:
    get:
      description: Returns a list of CSPM scans
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: Maximum number of scans to return
          in: query
          name: limit
          schema:
            description: Maximum number of scans to return
            nullable: true
            type: integer
        - description: Token for pagination
          in: query
          name: nextToken
          schema:
            description: Token for pagination
            nullable: true
            type: string
        - description: Filter by scan status
          in: query
          name: status
          schema:
            description: Filter by scan status
            nullable: true
            type: string
        - description: Filter by account ID
          in: query
          name: accountId
          schema:
            description: Filter by account ID
            nullable: true
            type: string
        - description: Filter by region
          in: query
          name: region
          schema:
            description: Filter by region
            nullable: true
            type: string
        - description: Filter by scan type
          in: query
          name: scanType
          schema:
            description: Filter by scan type
            nullable: true
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCSPMScansOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get CSPM Scans
  /cspm/scans/{scanId}:
    get:
      description: Returns a specific CSPM scan by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: ID of the CSPM scan
          in: path
          name: scanId
          required: true
          schema:
            description: ID of the CSPM scan
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCSPMScanOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get CSPM Scan
  /core/bitbucket/descriptor:
    get:
      description: Bitbucket connect descriptor json for installing Nullify into a Bitbucket workspace
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostBitbucketConnectDescriptorOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Bitbucket Connect Descriptor
  /core/bitbucket/disabled:
    post:
      description: Callback endpoint for when the Bitbucket app is disabled
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostBitbucketDisabledInput'
      responses:
        '204':
          description: No Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Bitbucket App Disabled
  /core/bitbucket/enabled:
    post:
      description: Callback endpoint for when the Bitbucket app is enabled
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostBitbucketEnabledInput'
      responses:
        '204':
          description: No Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Bitbucket App Enabled
  /core/bitbucket/installed:
    post:
      description: Callback endpoint for when the Bitbucket app is installed
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostBitbucketInstalledInput'
      responses:
        '204':
          description: No Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Bitbucket App Installed
  /core/bitbucket/uninstalled:
    post:
      description: Callback endpoint for when the Bitbucket app is installed
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostBitbucketUninstalledInput'
      responses:
        '204':
          description: No Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Bitbucket App Uninstalled
  /core/jira/descriptor:
    get:
      description: Jira connect descriptor json for installing Nullify into a Jira workspace
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetJiraConnectDescriptorOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Jira Connect Descriptor
  /core/jira/installed:
    post:
      description: Callback endpoint for when the Jira app is installed
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostJiraInstalledInput'
      responses:
        '204':
          description: No Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Jira App Installed
  /core/jira/uninstalled:
    post:
      description: Callback endpoint for when the Jira app is uninstalled
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostJiraUninstalledInput'
      responses:
        '204':
          description: No Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Jira App Uninstalled
  /internal/bitbucket/ownerprovider:
    get:
      description: Internal endpoint for getting the Bitbucket Owner provider
      parameters:
        - in: query
          name: workspaceId
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBitbucketOwnerProviderOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Bitbucket Owner Provider
  /internal/installations:
    get:
      description: Internal endpoint for getting all installations on the stack
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetInstallationsInternalOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Installations Get Internal
  /internal/jira/ownerprovider:
    get:
      description: Internal endpoint for getting the Jira Owner provider
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetJiraOwnerProviderOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Jira Owner Provider
  /dast/bughunt/config:
    get:
      description: Retrieve the BugHunt config for the tenant, creating a default if none exists
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntConfigOutput'
          description: OK
      summary: Get BugHunt Config
    put:
      description: Create or update BugHunt config for the tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPutBugHuntConfigInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPutBugHuntConfigOutput'
          description: OK
      summary: Put BugHunt Config
  /dast/bughunt/findings:
    get:
      description: List all BugHunt findings
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntFindingsOutput'
          description: OK
      summary: Get BugHunt Findings
  /dast/bughunt/findings/{findingId}:
    get:
      description: Get a single BugHunt finding by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntFindingOutput'
          description: OK
      summary: Get BugHunt Finding
  /dast/bughunt/findings/{findingId}/allowlist:
    patch:
      description: Mark/unmark an BugHunt finding as allowlisted
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchBugHuntFindingAllowlistInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchBugHuntFindingAllowlistOutput'
          description: OK
      summary: Allowlist BugHunt Finding
  /dast/bughunt/findings/{findingId}/events:
    get:
      description: Get events for an BugHunt finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntFindingEventsOutput'
          description: OK
      summary: Get BugHunt Finding Events
  /dast/bughunt/findings/{findingId}/triage:
    get:
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntFindingTriageOutput'
          description: OK
      summary: Get Bug Hunt Finding Triage
  /dast/bughunt/scans:
    get:
      description: List BugHunt scans for tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntScansOutput'
          description: OK
      summary: Get BugHunt Scans
    post:
      description: Start a new BugHunt scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostBugHuntScanInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostBugHuntScanOutput'
          description: OK
      summary: Start BugHunt Scan
  /dast/bughunt/scans/{scanId}:
    get:
      description: Get BugHunt scan by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntScanOutput'
          description: OK
      summary: Get BugHunt Scan
  /dast/bughunt/scans/{scanId}/findings:
    get:
      description: Get findings for an BugHunt scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntScanFindingsOutput'
          description: OK
      summary: Get BugHunt Scan Findings
  /dast/bughunt/scans/{scanId}/logs:
    get:
      description: Returns the network logs for a specific bughunt sub-agent
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSubAgentNetworkLogOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get BugHunt Sub-Agent Network Log
  /dast/bughunt/scans/{scanId}/stop:
    post:
      description: Stop a running BugHunt scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsStopBugHuntScanOutput'
          description: OK
      summary: Stop BugHunt Scan
  /dast/bughunt/schedule:
    delete:
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteBugHuntScheduleDefaultOutput'
          description: OK
      summary: Delete Bug Hunt Schedule
    get:
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetBugHuntScheduleDefaultOutput'
          description: OK
      summary: Get Bug Hunt Schedule
    patch:
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchBugHuntScheduleDefaultInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchBugHuntScheduleDefaultOutput'
          description: OK
      summary: Patch Bug Hunt Schedule
    post:
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostBugHuntScheduleDefaultInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostBugHuntScheduleDefaultOutput'
          description: OK
      summary: Post Bug Hunt Schedule
  /dast/credentials:
    get:
      description: Get all credentials with optional context filtering
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCredentialsOutput'
          description: OK
      summary: Get All Credentials
      tags:
        - Credentials
        - Vault
    post:
      description: Create a new unified credential for BugHunt or Pentest
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCredentialInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCredentialOutput'
          description: OK
      summary: Create Credential
      tags:
        - Credentials
        - Vault
  /dast/credentials/{credentialId}:
    delete:
      description: Delete a credential
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: credentialId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteCredentialOutput'
          description: OK
      summary: Delete Credential
      tags:
        - Credentials
        - Vault
    get:
      description: Get a specific credential by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: credentialId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCredentialOutput'
          description: OK
      summary: Get Credential
      tags:
        - Credentials
        - Vault
    put:
      description: Update an existing credential
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: credentialId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPutCredentialInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPutCredentialOutput'
          description: OK
      summary: Update Credential
      tags:
        - Credentials
        - Vault
  /dast/credentials/{credentialId}/validate:
    post:
      description: Validate a credential by testing it against a service
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: credentialId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsValidateCredentialOutput'
          description: OK
      summary: Validate Credential
      tags:
        - Credentials
        - Validation
        - Vault
  /dast/integration/aws/scan/start:
    post:
      description: Triggers a scan for AWS integration resources
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsStartAWSIntegrationScanInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsStartAWSIntegrationScanOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
      summary: Start AWS Integration Scan
  /dast/integration/aws/scan/status:
    get:
      description: >-
        Returns the status and results of AWS integration scans. If scanID is provided, returns details for that
        specific scan. Otherwise, returns a list of all scans.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: scanId
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAWSIntegrationScanStatusOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get AWS Integration Scan Status
  /dast/integration/aws/schedule:
    delete:
      description: Deletes the schedule configuration for AWS integration scans
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteCloudIntegrationScheduleOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete AWS Integration Schedule
    get:
      description: Retrieves the schedule configuration for AWS integration scans
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsIntegrationSchedule'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get AWS Integration Schedule
    post:
      description: Creates or updates the schedule for AWS integration scans
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCloudIntegrationScheduleInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsIntegrationSchedule'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create/Update AWS Integration Schedule
  /dast/integration/aws/settings:
    get:
      description: Retrieve AWS integration settings for the tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAWSSettingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get AWS Integration Settings
    post:
      description: >-
        Create or update AWS integration settings including IAM role name, external ID, AWS accounts, and deployment
        preferences
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsUpsertAWSSettingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsUpsertAWSSettingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Upsert AWS Integration Settings
  /dast/integration/aws/validate-role:
    post:
      description: >-
        Validate if the specified AWS role can be successfully assumed across multiple accounts with the configured
        external ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsValidateAWSRoleInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsValidateAWSRoleOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Validate AWS Role Assumption
  /dast/inventory/cloud-accounts:
    get:
      description: Returns the list of all the hosts
      parameters:
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAssetInventoryCloudAccountsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
      summary: Get Asset Inventory Cloud Accounts
  /dast/inventory/endpoints:
    get:
      description: Returns the list of all HTTP endpoints in the asset inventory
      parameters:
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAssetInventoryEndpointsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Asset Inventory Endpoints
    post:
      description: Creates HTTP endpoints in the asset inventory
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAssetInventoryEndpointsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostAssetInventoryEndpointsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Asset Inventory Endpoints
  /dast/inventory/endpoints-by-host:
    get:
      description: Returns the list of all HTTP endpoints for a specific host in the asset inventory
      parameters:
        - in: query
          name: hostId
          schema:
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAssetInventoryEndpointsByHostOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Asset Inventory Endpoints by Host
  /dast/inventory/hosts:
    get:
      description: Returns the list of all the hosts
      parameters:
        - in: query
          name: includeArtifacts
          schema:
            type: boolean
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAssetInventoryHostsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Asset Inventory Hosts
    post:
      description: Register new hosts in the asset inventory
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAssetInventoryHostsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostAssetInventoryHostsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
      summary: Create Asset Inventory Hosts
  /dast/inventory/hosts-with-endpoints:
    get:
      description: Returns the list of all hosts with their corresponding endpoints in the asset inventory
      parameters:
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAssetInventoryHostsWithEndpointsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Asset Inventory Hosts with Endpoints
  /dast/inventory/triage:
    get:
      description: Returns the list of all the hosts, optionally filtered by repository name or API path
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: repo_name
          schema:
            type: string
        - in: query
          name: api_path
          schema:
            type: string
        - in: query
          name: host_name
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAssetInventoryTriageOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
      summary: Get Asset Inventory Triage
  /dast/pentest/applications:
    get:
      description: Get all pentest application configs for a tenant
      parameters:
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestAppConfigsOutput'
          description: OK
      summary: Get Pentest App Configs
      tags:
        - Applications
        - Vault
    post:
      description: Create a new application
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostPentestAppConfigInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostPentestAppConfigOutput'
          description: OK
      summary: Create Application
      tags:
        - Applications
        - Vault
  /dast/pentest/applications/{applicationId}:
    delete:
      description: Delete a pentest application config
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: applicationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeletePentestAppConfigOutput'
          description: OK
      summary: Delete Pentest App Config
      tags:
        - Applications
        - Vault
    get:
      description: Get a specific pentest application config by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: applicationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestAppConfigOutput'
          description: OK
      summary: Get Pentest App Config
      tags:
        - Applications
        - Vault
    put:
      description: Update an existing application
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: applicationId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPutPentestAppConfigInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPutPentestAppConfigOutput'
          description: OK
      summary: Update Application
      tags:
        - Applications
        - Vault
  /dast/pentest/findings:
    get:
      description: Returns the list of all pentest findings
      parameters:
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - in: query
          name: scanId
          schema:
            nullable: true
            type: string
        - in: query
          name: priorityLabel
          schema:
            nullable: true
            type: string
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isLatest
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isResolved
          schema:
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            type: string
        - in: query
          name: sort
          schema:
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Findings
  /dast/pentest/findings/{findingId}:
    get:
      description: Get all the details of a pentest finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Finding
  /dast/pentest/findings/{findingId}/allowlist:
    post:
      description: Allowlist a pentest finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAllowlistPentestFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
      summary: Allowlist Pentest Finding
  /dast/pentest/findings/{findingId}/events:
    get:
      description: Returns the list of all the events for a given Pentest finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestFindingEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
      summary: Get Pentest Finding Events
  /dast/pentest/findings/{findingId}/full:
    get:
      description: Get the full pentest finding, including the triage
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestFindingFullOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Finding Full
  /dast/pentest/findings/{findingId}/ticket:
    post:
      description: Creates a Jira ticket for a given pentest finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCreateTicketPentestFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCreateTicketPentestFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Jira Ticket for Pentest Finding
  /dast/pentest/findings/{findingId}/triage:
    get:
      description: Get the full pentest finding, including the triage
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestFindingFullOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Finding Full
  /dast/pentest/scans:
    get:
      description: Returns all pentest scans for a tenant
      parameters:
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestScansOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Scans
  /dast/pentest/scans/{scanId}:
    get:
      description: Returns the details of a pentest scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestScanOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Scan
  /dast/pentest/scans/{scanId}/findings:
    get:
      description: Returns the list of all the pentest findings from a scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestScanFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Scan Findings
  /dast/pentest/scans/{scanId}/hypotheses:
    get:
      description: Returns the auth matrix hypotheses with full evidence for a pentest scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAuthMatrixHypothesesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Auth Matrix Hypotheses
  /dast/pentest/scans/{scanId}/logs:
    get:
      description: Returns the network logs for a specific pentest sub-agent
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSubAgentNetworkLogOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Sub-Agent Network Log
  /dast/pentest/scans/{scanId}/report:
    get:
      description: Returns the report of a pentest scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestScanReportOutput'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Scan Report
  /dast/pentest/scans/{scanId}/report/download:
    get:
      description: Returns the download url of a pentest scan report
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestScanReportDownloadURLOutput'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Scan Report Download URL
  /dast/pentest/scans/{scanId}/report/external/pdf:
    get:
      description: Returns a presigned URL to download the external customer-facing PDF report of a pentest scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestScanReportPDFOutput'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Scan External Report PDF
  /dast/pentest/scans/{scanId}/report/pdf:
    get:
      description: Returns a presigned URL to download the PDF report of a pentest scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPentestScanReportPDFOutput'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Scan Report PDF
  /dast/pentest/scans/{scanId}/stop:
    post:
      description: Request to stop a pentest scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsStopPentestScanOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Stop Pentest Scan
  /dast/pentest/scans/external:
    post:
      description: Creates a new external scan and returns a scanId
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsCreateExternalPentestScanInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsCreateExternalPentestScanOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create new scan from an external DAST scanner
  /dast/pentest/scans/external/{scanId}:
    patch:
      description: Updates the current status or progress of an external dast scan
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: scanId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsUpdateExternalPentestScanInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsUpdateExternalPentestScanOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
      summary: Update External Scan
  /dast/pentest/start:
    post:
      description: Start a new pentest scan using Application configuration with optional overrides
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsStartPentestScanFromApplicationInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsStartPentestScanFromApplicationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Start Pentest Scan from Application
      tags:
        - Applications
        - Pentest
  /dast/scans/status/last:
    get:
      description: Returns the status of the most recent AWS integration and BugHunt scans for the tenant.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetDASTLastScanStatusesOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Pentest Last Scan Status
  /orchestrator/codereviews:
    get:
      description: Get the list of code reviews for the tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCodeReviewsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Code Reviews
  /orchestrator/codereviews/{id}:
    get:
      description: Get a specific code review by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCodeReviewOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Code Review
  /orchestrator/findings/retriage:
    post:
      description: Queue findings for retriage processing via Step Functions
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostRetriageFindingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostRetriageFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Retriage Findings
  /orchestrator/onboarding/complete:
    post:
      description: Internal endpoint to mark onboarding as complete for testing purposes
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsCompleteOnboardingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsCompleteOnboardingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Complete Onboarding (Test Only)
  /orchestrator/onboarding/start:
    post:
      description: Start the onboarding pipeline for the tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsStartOnboardingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsStartOnboardingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Start Onboarding
  /orchestrator/onboarding/status:
    get:
      description: Get the current onboarding status for the tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetOnboardingStatusOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Onboarding Status
  /admin/admission/aggregate:
    get:
      description: Aggregate spend across a sliding window
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: tenant_id
          schema:
            type: string
        - in: query
          name: window
          schema:
            type: string
        - in: query
          name: class
          schema:
            nullable: true
            type: string
        - in: query
          name: agent
          schema:
            nullable: true
            type: string
        - in: query
          name: branch_type
          schema:
            nullable: true
            type: string
        - in: query
          name: from
          schema:
            nullable: true
            type: string
        - in: query
          name: to
          schema:
            nullable: true
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminUsageAggregateOutputResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Usage Aggregate
  /admin/admission/budget:
    get:
      description: Query remaining budget for intelligent finding selection
      parameters:
        - in: query
          name: tenantd
          schema:
            type: string
        - in: query
          name: class
          schema:
            type: string
        - in: query
          name: branchType
          schema:
            type: string
        - in: query
          name: timeWindow
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminUsageBudgetResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Usage Budget Query
  /admin/admission/check:
    post:
      description: Check if an agent run would be admitted (dry-run)
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminUsageLimitsCheckRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminUsageLimitsCheckResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Service Unavailable
      summary: Admission Check
  /admin/admission/complete:
    post:
      description: Complete an agent run and release concurrency slots
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminUsageRunCompleteRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminUsageRunCompleteResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Service Unavailable
      summary: Admission Complete
  /admin/admission/config/{tenant_id}:
    get:
      description: Fetch effective usage limits for a tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: tenant_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminUsageLimitsResponse'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Usage Limits Get
  /admin/admission/ledger:
    get:
      description: List raw ledger entries
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: tenant_id
          schema:
            type: string
        - in: query
          name: class
          schema:
            nullable: true
            type: string
        - in: query
          name: agent
          schema:
            nullable: true
            type: string
        - in: query
          name: branch_type
          schema:
            nullable: true
            type: string
        - in: query
          name: run_id
          schema:
            nullable: true
            type: string
        - in: query
          name: from
          schema:
            nullable: true
            type: string
        - in: query
          name: to
          schema:
            nullable: true
            type: string
        - in: query
          name: cursor
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminUsageLedgerResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Usage Ledger
  /admin/admission/start:
    post:
      description: Request admission for an agent run, acquiring concurrency slots
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminUsageRunStartRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminUsageRunStartResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Service Unavailable
      summary: Admission Start
  /admin/checklist:
    get:
      description: Get a checklist of post-install items
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminChecklistOutput'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Checklist
  /admin/fix-effort:
    get:
      description: Get Fix Effort Mapping that have been created for the organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetFixEffortOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Fix Effort Mapping
    put:
      description: Upsert Fix Effort Mapping for the organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminPutFixEffortInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminPutFixEffortOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Put Fix Effort Mapping
  /admin/getFileContents:
    get:
      description: Gets contents of a file from source control
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: repositoryId
          required: true
          schema:
            type: string
        - in: query
          name: reference
          required: true
          schema:
            type: string
        - in: query
          name: filePath
          required: true
          schema:
            type: string
        - in: query
          name: projectId
          schema:
            type: string
        - in: query
          name: startLine
          schema:
            type: integer
        - in: query
          name: endLine
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminFileContentsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get File Contents
  /admin/getFileOwners:
    post:
      description: Gets the owners of a file path from previously cached codeowners files for a repo + branch
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminFileOwnersInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminFileOwnersOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get File Owners
  /admin/getPullRequest:
    get:
      description: Gets the current state of a pull request
      parameters:
        - in: query
          name: repositoryId
          required: true
          schema:
            type: string
        - in: query
          name: prId
          required: true
          schema:
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPullRequestStateOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get PR State
  /admin/globalConfig:
    get:
      description: Gets the global config for the platform
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetGlobalConfigOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Global Config
    post:
      description: Posts the global config to the platform
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminPostGlobalConfigInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminPostGlobalConfigOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Global Config
  /admin/installations:
    get:
      description: Get a list of app installations the current user has access to
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetUserInstallationsOutput'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get App Installations
  /admin/integrations/azure:
    get:
      description: Get Azure integration client ID and tenant ID, either from config or DynamoDB.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetAzureConfigOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Azure Configuration
    post:
      description: Install Azure DevOps integration for the organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminPostAzureInstallOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Install Azure DevOps Integration
  /admin/integrations/azure/credentials:
    post:
      description: Stores the Azure credentials (client ID, tenant ID, client secret) in DynamoDB & Parameter Store.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminPostAzureCredentialsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminPostAzureCredentialsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Set Azure Credentials
  /admin/integrations/github/app-settings:
    get:
      description: Get the GitHub app installation settings (webhook events and permissions)
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetGitHubAppSettingsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get GitHub App Settings
  /admin/integrations/github/users:
    get:
      description: Get users from GitHub
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetGitHubUsersOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get GitHub Users
  /admin/integrations/jira:
    get:
      description: Get global defaults for Jira integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetJiraConfigOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Jira Configuration
    post:
      description: Update global defaults for Jira integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsUpdateJiraConfigInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsUpdateJiraConfigOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Jira Configuration
  /admin/integrations/jira/userboards:
    get:
      description: Get global defaults for Jira integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetJiraUserBoardsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Jira Configuration
  /admin/integrations/jira/users:
    get:
      description: Get users from Jira (optionally filter by name)
      parameters:
        - in: query
          name: name
          schema:
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetJiraUsersOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Jira Users
  /admin/integrations/slack:
    get:
      description: Get global defaults for Slack integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSlackConfigOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Slack Configuration
  /admin/integrations/slack/key:
    post:
      description: Stores the Slack API key securely in Parameter Store.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostSlackAPIKeyInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostSlackAPIKeyOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Set Slack API Key
  /admin/integrations/slack/users:
    get:
      description: Get users from Slack
      parameters:
        - in: query
          name: name
          schema:
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSlackUsersOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Slack Users
  /admin/metrics/finding/{findingId}:
    get:
      description: Get finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetFindingOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding
  /admin/metrics/findings:
    post:
      description: Query findings
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminQueryFindingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminQueryFindingsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Query Findings
  /admin/metrics/findings/download:
    post:
      description: Download findings as CSV
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsAdminFindingsDownloadInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminFindingsDownloadOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Download Findings
  /admin/metrics/interactions:
    get:
      description: Get interactions (autofix PRs, tickets, etc) from findings
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminBotInteractionsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Interactions
  /admin/metrics/over-time:
    post:
      description: Get metrics over time
      parameters:
        - in: query
          name: resolution
          schema:
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsQueryMetricsOverTimeInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsQueryMetricsOverTimeOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Metrics Over Time
  /admin/metrics/overview:
    post:
      description: Query Overview
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsQueryOverviewInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsQueryOverviewOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Query Overview
  /admin/metrics/raw:
    post:
      description: Query findings
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsQueryMetricsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsQueryMetricsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Query Findings
  /admin/organization:
    get:
      description: Gets metadata and properties from an installed organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetOrganizationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Organization
  /admin/pullrequests/merged/status:
    get:
      description: Get the merge ready status for MERGED Nullify pull requests
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetMergedPullRequestStatusOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Merged Nullify PR Status
  /admin/pullrequests/open/status:
    get:
      description: Get the status of Nullify pull requests
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetOpenPullRequestStatusOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Nullify PR Status
  /admin/repositories:
    get:
      description: Get a list of repositories in the org
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetRepositoriesOutput'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Repositories
  /admin/repositories/initialize:
    post:
      description: Initialize any webhooks or other settings for the repositories
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostInitializeRepositoriesInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostInitializeRepositoriesOutput'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Initialize Repositories
  /admin/repositories/uninitialize:
    post:
      description: Uninitialize any webhooks or other settings for the repositories
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostUninitializeRepositoriesInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostUninitializeRepositoriesOutput'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Uninitialize Repositories
  /admin/service_accounts:
    delete:
      description: Delete a given service account and revoke its access token
      parameters:
        - in: query
          name: serviceAccountId
          schema:
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteServiceAccountOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete Service Account
    get:
      description: Get a list of service accounts that have been created for the organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetServiceAccountsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Service Accounts
    post:
      description: Created a service account with an access token for the Nullify API
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostServiceAccountInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostServiceAccountOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Service Account
  /admin/sla:
    get:
      description: Get SLAs that have been created for the organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSLAsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SLAs
    post:
      description: Create a new SLA for the organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostSLAInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostSLAOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post SLA
  /admin/sla/{slaId}:
    patch:
      description: Update an existing SLA for the organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: The ID of the SLA to update
          in: path
          name: slaId
          required: true
          schema:
            description: The ID of the SLA to update
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchSLAInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchSLAOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Patch SLA
  /admin/sla/bulk:
    put:
      description: Upsert multiple SLAs for the organization
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPutBulkSLAInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPutBulkSLAOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Put Bulk SLA
  /admin/teams:
    get:
      description: Get a list of teams, global across all platforms, with user and repository details populated.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetTeamsOutput'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get All Teams
    post:
      description: Create or update a team in DynamoDB under the given providerID (upsert repositories)
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostTeamInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostTeamOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Team
  /admin/teams/{providerID}:
    get:
      description: Get a list of teams on a specific platform, with user and repository details populated.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: providerID
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetProviderTeamsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Teams by Provider
  /admin/teams/{providerID}/{teamID}:
    get:
      description: Retrieve a single team by providerID and teamID, with user and repository details populated
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: providerID
          required: true
          schema:
            type: string
        - in: path
          name: teamID
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetTeamOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Team
  /admin/teams/{teamID}/findings:
    get:
      description: Get a list of findings mapped to a specific team.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: teamID
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetTeamFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Team Findings mapping
  /admin/teams/appzip:
    get:
      description: Generate and download a Microsoft Teams app package with manifest and icons
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetTeamsAppZipOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Teams App Zip
  /admin/teams/compass:
    post:
      description: Adapt a Compass/Atlassian‐style payload into our in‐house Team model and upsert users and repositories
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCompassTeamInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCompassTeamOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Compass/Atlassian Team
  /admin/teams/findings:
    get:
      description: Get a list of teams with their mapped findings aggregated from DynamoDB.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsListTeamFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get All Team Findings mapping
  /admin/teams/findings/sync:
    post:
      description: Synchronize team to findings mapping across all platforms.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostTeamFindingsSyncOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Sync Team Findings
  /admin/ui/savedViews:
    get:
      description: Get UI Saved Views for a user
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetUISavedViewsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get UI Saved Views
    post:
      description: Create a new UI Saved View
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostUISavedViewInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostUISavedViewOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post UI Saved View
  /admin/ui/savedViews/{savedViewId}:
    delete:
      description: Delete an existing UI Saved View
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: savedViewId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteUISavedViewOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete UI Saved View
    patch:
      description: Update an existing UI Saved View
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: savedViewId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchUISavedViewInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchUISavedViewOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Patch UI Saved View
  /admin/user/current:
    get:
      description: Get the current user
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCurrentUserOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Current User
  /admin/user/mapping:
    get:
      description: Get a User Mapping
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: providerId
          required: true
          schema:
            type: string
        - in: query
          name: userId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetUserMappingOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get User Mapping
    post:
      description: Create new User Mappings; if useSuggestions=true, compute and persist suggestions
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostUserMappingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostUserMappingOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Add User Mappings
  /admin/user/mapping/{userId}:
    delete:
      description: Delete a User Mapping
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: userId
          required: true
          schema:
            type: string
      responses:
        '204':
          description: No Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete User Mapping
    put:
      description: Edit a User Mapping
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: userId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPutEditUserMappingInput'
      responses:
        '204':
          description: No Content
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Edit User Mapping
  /admin/user/mapping/suggestions:
    get:
      description: Get user mapping suggestions
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSuggestedUserMappingsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get User Mapping Suggestions
  /admin/user/mappings:
    get:
      description: Get all User Mappings
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetUserMappingsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get User Mappings
  /admin/users:
    get:
      description: Get a list of users, global across all platforms.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetUsersOutput'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get All Users
    post:
      description: Create or update a user in DynamoDB under the given providerID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostUserInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostUserOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post User
  /admin/users/{providerID}:
    get:
      description: Get a list of users on a specific platform.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: Which provider/platform to list users from
          in: path
          name: providerID
          required: true
          schema:
            description: Which provider/platform to list users from
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetProviderUsersOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Users by Provider
  /admin/users/{providerID}/{userID}:
    get:
      description: Retrieve a single user by providerID and userID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: Which provider/platform this user belongs to
          in: path
          name: providerID
          required: true
          schema:
            description: Which provider/platform this user belongs to
            type: string
        - description: The ID of the user to fetch
          in: path
          name: userID
          required: true
          schema:
            description: The ID of the user to fetch
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetUserOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get User
  /admin/users/bulkSearchMappings:
    post:
      description: Get user mappings for a list of canonical user IDs
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostBulkGetUserMappingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostBulkGetUserMappingsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Bulk Get User Mappings
  /admin/users/sync:
    post:
      description: Fetch all users from the given provider platform and upsert into DynamoDB
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsSyncUsersInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsSyncUsersOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Sync Users
  /internal/admin/allOwnerProviders:
    get:
      description: Get all owner providers
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsInternalGetAllOwnerProvidersOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get All Owner Providers
  /internal/admin/getFileOwners:
    post:
      description: Gets the owners of a file path from previously cached codeowners files for a repo + branch
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsInternalFileOwnersInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminFileOwnersOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get File Owners (Internal)
  /internal/admin/integrations/jira:
    get:
      description: Get global defaults for Jira integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminGetJiraConfigOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Jira Configuration
  /internal/admin/sla:
    get:
      description: Get SLAs that have been created for the organization (only accessible by internal services)
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSLAsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SLAs (internal endpoint)
  /internal/admission/config:
    get:
      description: Internal read of usage limits
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsAdminUsageLimitsResponse'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Internal Usage Limits Get
    patch:
      description: Patch usage limits for a tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsInternalUsageLimitsPatchInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Internal Usage Limits Patch
  /secrets/allowlist:
    post:
      description: Allowlist a secret
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAllowlistSecretsFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Allowlist Finding
  /secrets/events:
    get:
      description: >-
        Returns events after a specified timestamp or event ID. All events are returned if no timestamp or event ID is
        provided
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: fromTime
          schema:
            nullable: true
            type: string
        - in: query
          name: numItems
          schema:
            nullable: true
            type: integer
        - in: query
          name: eventType
          schema:
            items:
              type: string
            type: array
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSecretsEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Secret Events
  /secrets/findings:
    get:
      description: Returns a filtered set of Secrets findings based on query parameters. One unique secret hash per repository.
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: secretType
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: isResolved
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSecretsFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Secrets Findings
  /secrets/findings/{findingId}:
    get:
      description: Returns a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSecretsFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding
    patch:
      description: Update a given finding with the fields provided
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchSecretsFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchSecretsFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Finding
  /secrets/findings/{findingId}/allowlist:
    post:
      description: Allowlist a secret
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAllowListSecretsFindingV2Input'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Allowlist Finding
  /secrets/findings/{findingId}/events:
    get:
      description: Returns a list of events for a given finding.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSecretsFindingEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding Events
  /secrets/findings/{findingId}/ticket:
    post:
      description: Creates a ticket for a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: The ID of the finding to create a Jira ticket for
          in: path
          name: findingId
          required: true
          schema:
            description: The ID of the finding to create a Jira ticket for
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCreateTicketSecretsFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCreateTicketSecretsFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Ticket
  /secrets/findings/{findingId}/triage:
    get:
      description: Returns the triage data for a specific finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSecretsFindingTriageOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Triaged Finding
  /secrets/findings/{findingId}/unallowlist:
    post:
      description: Unallowlist a secret
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostUnallowListSecretsFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Unallowlist Finding
  /secrets/findings/{findingId}/users:
    get:
      description: Get users related to a finding based on git blame and repository contributions.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSecretsFindingUsersOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding Related Users
  /secrets/findings/allowlist/batch:
    post:
      description: Allowlist a list of findings, by findingsID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAllowListSecretsFindingBatchInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Allowlist Batch of Findings
  /secrets/findings/detailed:
    get:
      description: Returns secrets summary. One unique secret hash per repository
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: secretType
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: isResolved
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSecretsFindingsDetailedOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Secrets Findings Detailed - [DEPRECATED - TO BE REMOVED BY 2025]
  /secrets/findings/preview:
    get:
      description: Returns a filtered set of Secrets findings based on query parameters. One unique secret hash per repository.
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: secretType
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: isResolved
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSecretsFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Secrets Findings
  /secrets/findings/retriage:
    post:
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostRetriageSecretsFindingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostRetriageSecretsFindingsOutput'
          description: OK
      summary: Post Retriage Findings
  /secrets/findings/upload:
    post:
      description: Returns an S3 Presigned URL
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostGetUploadSecretsFindingsURLInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostGetUploadSecretsFindingsURLOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Presigned URL to Upload Secrets Findings
  /manager/campaigns:
    get:
      description: Returns a list of campaigns containing full campaign details.
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCampaignsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: List Campaigns
    post:
      description: Register a new campaign
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCampaignInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCampaignOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Post Campaign
  /manager/campaigns/{campaignId}:
    delete:
      description: Delete a campaign (remove permanently)
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: campaignId
          required: true
          schema:
            type: string
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Delete Campaign
    get:
      description: Returns a campaign
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: campaignId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCampaignOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Campaign by ID
    patch:
      description: Update an existing campaign
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: campaignId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchCampaignInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchCampaignOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Patch Campaign
  /manager/campaigns/{campaignId}/events:
    get:
      description: Get events generated during the course of a campaign
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: campaignId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCampaignEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Campaign Events
  /manager/campaigns/{campaignId}/findings:
    get:
      description: Returns a list of findingIDs for current and historical findings within the campaign scope.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: campaignId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCampaignFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get (Triaged) Findings Associated with a campaign
  /manager/campaigns/{campaignId}/preview:
    get:
      description: >-
        Returns a campaign preview model, with title, description, and mapped finding IDs. For full campaign details use
        the GetCampaign endpoint.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: campaignId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCampaignPreviewOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Campaign Preview Details
  /manager/campaigns/default:
    get:
      description: Fetch the default campaign(s)
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetDefaultCampaignsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Default Campaign
  /manager/campaigns/default/generate:
    post:
      description: Generate default campaigns based on the organization context and vulnerability backlog.
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGenerateDefaultCampaignsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Generate Default Campaigns
  /manager/campaigns/findings:
    get:
      description: Returns a list of all findings associated with all campaigns.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAllCampaignsFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get All Campaigns Findings
  /manager/campaigns/metrics/refresh:
    get:
      description: Executes a full regeneration of metrics counters based on event artifacts and backlog findings.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCampaignMetricsRefreshOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Refresh the campaign metrics based on event history
  /manager/campaigns/previews:
    get:
      description: >-
        Returns a list of campaigns containing only preview details (title, description, mapped finding IDs). For full
        campaign details use the GetCampaign endpoint.
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCampaignPreviewsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: List Campaigns (Preview)
  /manager/campaigns/summaries:
    get:
      description: Returns the manager agent generated campaign summaries (included in plans).
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCampaignSummariesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Campaign Summaries
  /manager/config:
    get:
      description: Fetches the config used by the agent
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetManagerConfigOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get the Manager Agent Config
    post:
      description: Stores the manager agent config
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostManagerConfigInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostManagerConfigOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Post a Manager Config object to S3
  /manager/credits:
    get:
      description: Fetches the credit balance. Used to limit the number of actions that can be performed by the agent.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCreditsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get the credit balance available
    post:
      description: >-
        Increment or decrement the credits available to the agent. Used to limit the number of actions that can be
        performed by the agent.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCreditsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCreditsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Post an update to agent credits
  /manager/escalations:
    get:
      description: Returns escalated items
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetEscalationsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Escalations
  /manager/escalations/{escalationId}:
    patch:
      description: Update an existing escalation item
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: escalationId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchEscalationsInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Patch Escalation
  /manager/events:
    get:
      description: Get Manager Agent generated events
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Events
  /manager/events/{eventId}:
    delete:
      description: Delete an event generated during the course of a campaign
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: eventId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteEventOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Delete A Campaign Event
  /manager/events/deduplicate:
    post:
      description: Remove duplicate events generated during the course of a campaign (cleanup)
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostDeduplicateEventsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostDeduplicateEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Dedupe Events in the DB
  /manager/findings/{findingId}/events:
    get:
      description: Get all campaign events associated with a specific finding across all campaigns
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetFindingEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Events by Finding ID
  /manager/groundrules:
    get:
      description: Fetches the groundRules used by the agent
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetManagerGroundRulesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get the Manager Agent GroundRules
    patch:
      description: Update an existing ground rules
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchGroundRulesInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchGroundRulesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Patch a GroundRules object to S3
    post:
      description: Provide a list of enabled/disabled action types
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostManagerGroundRulesInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostManagerGroundRulesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Post a GroundRules object to S3
  /manager/metrics:
    get:
      description: Computes global metrics based on event history.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetManagerMetricsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Global metrics
  /manager/plans:
    get:
      description: Get Manager Agent generated plans
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetPlansOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Plans
  /manager/schedules:
    get:
      description: Gets the cron schedule for the installed manager agent
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetScheduleOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get active cron Schedule for the Manager Agent
    post:
      description: Sets a daily execution time for the manager agent
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostScheduleInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostScheduleOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Post a cron schedule for the Manager Agent
  /manager/state:
    get:
      description: Get the current state of the manager.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetManagerStateOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Manager State
  /manager/state/latest:
    get:
      description: Get the current state of the manager.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetManagerStateOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Manager State
  /manager/states:
    get:
      description: >-
        Get paginated list of manager states in time descending order. Use the page and pageSize query parameters to
        paginate results.
      parameters:
        - in: query
          name: page
          schema:
            type: integer
        - in: query
          name: pageSize
          schema:
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetManagerStatesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Get Manager State history
  /manager/trigger:
    get:
      description: Executes the campaigns agent workflow, generating a new plan and events.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsTriggerCampaignsOrchestratorOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Gateway Timeout
      summary: Trigger the manager/campaigns agent run
  /classifier/applications:
    get:
      description: Retrieves all applications for the tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetClassifierApplicationsOutput'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Applications
    post:
      description: Create a new application
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsCreateApplicationInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsCreateApplicationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Application
  /classifier/applications/{applicationId}:
    delete:
      description: Delete an application
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: applicationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteClassifierApplicationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete Application
    get:
      description: Retrieves a specific application by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: applicationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetClassifierApplicationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Application
    patch:
      description: Update an existing application
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: applicationId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchClassifierApplicationInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchClassifierApplicationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Application
  /classifier/applications/rebuild:
    post:
      description: Trigger application context rebuilding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsRebuildApplicationsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsRebuildApplicationsOutput'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Rebuild Applications
  /classifier/asset-inventory/resources:
    get:
      description: >-
        Retrieves cloud resources from asset inventory with optional filtering by category, type, and status. Supports
        CSPM-style resource categorization across multi-cloud environments (AWS, K8s, GCP, Azure).
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: category
          schema:
            nullable: true
            type: string
        - in: query
          name: type
          schema:
            nullable: true
            type: string
        - in: query
          name: active
          schema:
            nullable: true
            type: boolean
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: limit
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetAssetInventoryResourcesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Asset Inventory Resources
  /classifier/cloud-integration/aws/scan/start:
    post:
      description: Triggers a cloud integration scan for AWS resources to build asset inventory
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsClassifierStartAWSScanInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsClassifierStartAWSScanOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Start Cloud Integration AWS Scan
  /classifier/cloud-integration/aws/settings:
    get:
      description: Retrieves AWS settings for cloud integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsClassifierGetAWSSettingsOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Cloud AWS Settings
    post:
      description: Creates or updates AWS settings for cloud integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsClassifierUpsertAWSSettingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsClassifierUpsertAWSSettingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Upsert Cloud AWS Settings
  /classifier/cloud-integration/azure/scan/start:
    post:
      description: Triggers a cloud integration scan for Azure resources to build asset inventory
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsClassifierStartAzureScanInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsClassifierStartAzureScanOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '412':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Precondition Failed
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Start Cloud Integration Azure Scan
  /classifier/cloud-integration/azure/scan/status:
    get:
      description: Retrieves the status of Azure cloud integration scans
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: scanId
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsClassifierGetAzureScanStatusOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Azure Integration Scan Status
  /classifier/cloud-integration/azure/settings:
    delete:
      description: Deletes Azure settings for cloud integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsClassifierDeleteAzureSettingsOutput'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete Cloud Azure Settings
    get:
      description: Retrieves Azure settings for cloud integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsClassifierGetAzureSettingsOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Cloud Azure Settings
    post:
      description: Creates or updates Azure settings for cloud integration
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsClassifierUpsertAzureSettingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsClassifierUpsertAzureSettingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Upsert Cloud Azure Settings
  /classifier/deps:
    delete:
      description: >-
        Deletes dependency occurrence records. Scope is inferred from query parameters: single entry
        (repo+project+ecosystem+name+version+introducedAt), project-wide (repo+project), or tenant-wide (no selectors,
        confirmGlobal=true).
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: repositoryId
          schema:
            nullable: true
            type: string
        - in: query
          name: projectId
          schema:
            nullable: true
            type: string
        - in: query
          name: ecosystem
          schema:
            nullable: true
            type: string
        - in: query
          name: name
          schema:
            nullable: true
            type: string
        - in: query
          name: version
          schema:
            nullable: true
            type: string
        - in: query
          name: introducedAt
          schema:
            nullable: true
            type: string
        - in: query
          name: global
          schema:
            nullable: true
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteDepsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete dependency data
    get:
      description: Returns dependency history across all repositories/projects.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: pageSize
          schema:
            format: int32
            type: integer
        - in: query
          name: cursor
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetDepsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: List Tenant Wide Dependencies (Historical)
  /classifier/deps/active:
    get:
      description: Returns dependencies that are active across all repositories/projects.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: pageSize
          schema:
            format: int32
            type: integer
        - in: query
          name: cursor
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetActiveDepsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: List Tenant Wide Active Dependencies
  /classifier/deps/exposure:
    get:
      description: Returns exposure windows across all repositories/projects intersecting a version filter (server-side filtering).
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: ecosystem
          schema:
            nullable: true
            type: string
        - in: query
          name: name
          schema:
            nullable: true
            type: string
        - in: query
          name: range
          schema:
            nullable: true
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetExposureOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Global package exposure by version filter (semver or hash)
  /classifier/deps/repository/{repositoryId}/project/{projectId}/active:
    get:
      description: Returns dependencies that are active for the latest commit using the DependencyOccurrence database.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetProjectActiveDepsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: List Active Dependencies
  /classifier/deps/repository/{repositoryId}/project/{projectId}/at/{commit}:
    get:
      description: >-
        Returns dependencies exposed at the specified commit (resolved to commit timestamp) using the
        DependencyOccurrence database.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
        - in: path
          name: commit
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetDepsAtCommitOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Dependencies at commit
  /classifier/deps/repository/{repositoryId}/project/{projectId}/diff:
    get:
      description: Computes added, removed, and upgraded packages by comparing database snapshots at the two commit timestamps.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: from
          schema:
            nullable: true
            type: string
        - in: query
          name: to
          schema:
            nullable: true
            type: string
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetDepsDiffOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Dependency diff between two commits
  /classifier/deps/repository/{repositoryId}/project/{projectId}/exposure:
    get:
      description: Returns exposure windows for a repo/project intersecting a version filter (server-side filtering).
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: ecosystem
          schema:
            nullable: true
            type: string
        - in: query
          name: name
          schema:
            nullable: true
            type: string
        - in: query
          name: range
          schema:
            nullable: true
            type: string
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetProjectExposureOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Project package exposure by version filter (semver or hash)
  /classifier/deps/repository/{repositoryId}/project/{projectId}/history:
    get:
      description: >-
        Returns exposure windows for a given package (ecosystem+name), grouped by version, from the DependencyOccurrence
        database.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: ecosystem
          schema:
            nullable: true
            type: string
        - in: query
          name: name
          schema:
            nullable: true
            type: string
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetDepsHistoryOut'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Package exposure history (windows)
  /classifier/memories:
    get:
      description: >-
        Query memories with flexible filtering. Memories are first-class resources that can be associated with various
        resource types.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: Filter by resource ID (e.g., document ID, finding ID)
          in: query
          name: resourceId
          schema:
            description: Filter by resource ID (e.g., document ID, finding ID)
            nullable: true
            type: string
        - description: Filter by resource type (e.g., 'document', 'finding', 'chat')
          in: query
          name: resourceType
          schema:
            description: Filter by resource type (e.g., 'document', 'finding', 'chat')
            nullable: true
            type: string
        - description: Filter by memory type
          in: query
          name: memoryType
          schema:
            description: Filter by memory type
            nullable: true
            type: string
        - description: Filter by priority level
          in: query
          name: priority
          schema:
            description: Filter by priority level
            nullable: true
            type: string
        - description: Filter for latest memories only
          in: query
          name: isLatest
          schema:
            description: Filter for latest memories only
            nullable: true
            type: boolean
        - description: 'Maximum number of results (default: 50, max: 1000)'
          in: query
          name: limit
          schema:
            description: 'Maximum number of results (default: 50, max: 1000)'
            nullable: true
            type: integer
        - description: Pagination token for next page
          in: query
          name: nextToken
          schema:
            description: Pagination token for next page
            nullable: true
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetMemoriesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Memories
    post:
      description: Create a new memory as a first-class resource
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostMemoryInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostMemoryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Memory
  /classifier/memories/{memoryId}:
    delete:
      description: Deletes a memory permanently
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: ID of the memory to delete
          in: path
          name: memoryId
          required: true
          schema:
            description: ID of the memory to delete
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteMemoryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete Memory
    get:
      description: Retrieves a specific memory by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: version
          schema:
            nullable: true
            type: string
        - description: ID of the memory to retrieve
          in: path
          name: memoryId
          required: true
          schema:
            description: ID of the memory to retrieve
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetMemoryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Memory
    patch:
      description: Updates the content of an existing memory
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: memoryId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchMemoryInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchMemoryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Memory
  /classifier/memories/{memoryId}/versions:
    get:
      description: Retrieve all versions of a specific memory
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: 'Maximum number of versions to return (default: 50)'
          in: query
          name: limit
          schema:
            description: 'Maximum number of versions to return (default: 50)'
            format: int32
            type: integer
        - description: Memory ID
          in: path
          name: memoryId
          required: true
          schema:
            description: Memory ID
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetMemoryVersionsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Memory Versions
  /classifier/organization:
    get:
      description: Returns a classification of your entire organization and what software it builds
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetOrganizationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Organization Context
    patch:
      description: Updates a classification of your entire organization and what software it builds
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsUpdateOrganizationInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Classification of the Organization
    put:
      description: Creates a classification of your entire organization and what software it builds
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsCreateOrganizationInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsCreateOrganizationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Upsert Classification of the Organization
  /classifier/repositories:
    get:
      description: Returns a classification of attributes of each repository
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetRepositoriesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Contexts of Repositories
  /classifier/repositories/{repositoryId}:
    delete:
      description: Deletes a repository permanently
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: ID of the repository to delete
          in: path
          name: repositoryId
          required: true
          schema:
            description: ID of the repository to delete
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteRepositoryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete Repository
    get:
      description: Returns context about a repository
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetRepositoryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Repository
    patch:
      description: Updates the classification of a repository
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsUpdateRepositoryInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Repository
  /classifier/repositories/{repositoryId}/projects:
    get:
      description: Lists all projects in a repository with optional pagination and filtering
      parameters:
        - in: query
          name: limit
          schema:
            type: integer
        - in: query
          name: nextToken
          schema:
            type: string
        - in: query
          name: includeDeleted
          schema:
            type: boolean
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsListRepositoryProjectsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: List Projects
  /classifier/repositories/{repositoryId}/projects/{projectId}:
    get:
      description: Retrieves a single project by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetProjectOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Project
    patch:
      description: Updates a project's metadata and properties
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsUpdateProjectInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsUpdateProjectOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Project
  /classifier/repositories/{repositoryId}/projects/{projectId}/schema:
    get:
      description: Returns the API schema for a given project
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetProjectSchemaOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Project Schema
  /classifier/repositories/{repositoryId}/projects/{projectId}/schema/metadata:
    get:
      description: Returns the metadata for a given project schema
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetProjectSchemaMetadataOutput'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Project Schema Metadata
  /classifier/sbomingestor/replay:
    post:
      description: Enqueue a full SBOM ingest replay; either global or for a specific repository and project
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsSBOMIngestReplayInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsSBOMIngestReplayOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Compute Dependencies Repository/Project SBOM Ingest Replay
  /classifier/sboms/repository/{repositoryId}/project/{projectId}:
    get:
      description: >-
        Returns a list of SBOM (software bill of materials) items for a repository/project based on the query
        parameters. Responses are paginated in reverse-time order.
      parameters:
        - in: query
          name: page
          schema:
            nullable: true
            type: integer
        - in: query
          name: pageSize
          schema:
            nullable: true
            type: integer
        - in: query
          name: fromCommit
          schema:
            nullable: true
            type: string
        - in: query
          name: untilCommit
          schema:
            nullable: true
            type: string
        - in: query
          name: fromTime
          schema:
            format: date-time
            nullable: true
            type: string
        - in: query
          name: untilTime
          schema:
            format: date-time
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
        - in: path
          name: projectId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSBOMSOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Repository/Project SBOMs
  /classifier/sboms/tree:
    get:
      description: >-
        Returns a tree structure of SBOM (software bill of materials) items for a tenant. Commits are paginated in time
        order.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSBOMTreeOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SBOM key tree for tenant
  /classifier/vault/file:
    post:
      description: Returns a presigned upload URL for a file to S3 with metadata including document ID and optional description
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostVaultFileInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostVaultFileOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Vault File
  /classifier/vault/file/{fileId}:
    delete:
      description: Deletes a vault file
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: fileId
          required: true
          schema:
            type: string
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete Vault File
    get:
      description: Returns a presigned url for a vault file
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: fileId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetVaultFileOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Vault File
  /classifier/vault/file/{fileName}:
    patch:
      description: Update metadata for a vault file in S3
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: fileName
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchVaultFileInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchVaultFileOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Patch Vault File
  /classifier/vault/files:
    get:
      description: Returns a list of vault files
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetVaultFilesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Vault Files
  /classifier/vault/files/list:
    get:
      description: Returns a simplified list of vault files with fileName and description
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetVaultFilesListOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Vault Files List
  /classifier/vault/onboard:
    post:
      description: >-
        Triggers the onboarding process asynchronously for specified vault files. Returns immediately after the message
        is queued. The onboarding agent will extract organizational context from the provided documents in the
        background.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostVaultOnboardInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostVaultOnboardOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Trigger Vault Onboarding
  /infrastructure/graphs:
    get:
      description: Lists all infrastructure graphs for the tenant
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsListInfrastructureGraphsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: List Infrastructure Graphs
  /infrastructure/graphs/{accountId}:
    get:
      description: Retrieves the latest infrastructure graph for a specific AWS account
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: accountId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetInfrastructureGraphOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Infrastructure Graph
  /infrastructure/graphs/{accountId}/download:
    get:
      description: Generates a presigned URL to download the infrastructure graph
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: accountId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetInfrastructureGraphDownloadOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Infrastructure Graph Download URL
  /infrastructure/graphs/{accountId}/versions:
    get:
      description: Lists all versions of an infrastructure graph for a specific AWS account
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: accountId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsListInfrastructureGraphVersionsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: List Infrastructure Graph Versions
  /infrastructure/graphs/{accountId}/versions/{version}:
    get:
      description: Retrieves a specific version of an infrastructure graph
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: accountId
          required: true
          schema:
            type: string
        - in: path
          name: version
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetInfrastructureGraphVersionOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Infrastructure Graph Version
  /infrastructure/graphs/summary:
    get:
      description: Retrieves graph_info.json with all account numbers and presigned download URLs for each account's graph
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetInfrastructureGraphSummaryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Infrastructure Graph Summary
  /internal/cloud-integration/scans/{tenantId}/{scanId}/presigned-url:
    get:
      description: Returns a presigned URL for downloading cloud integration scan data from S3 (internal API)
      parameters:
        - description: Tenant ID
          in: path
          name: tenantId
          required: true
          schema:
            description: Tenant ID
            minLength: 1
            type: string
        - description: Scan ID
          in: path
          name: scanId
          required: true
          schema:
            description: Scan ID
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetCloudIntegrationScanPresignedURLOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Cloud Integration Scan Presigned URL
  /internal/repository:
    post:
      description: Run the repository context agent if no cached data is available
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsInternalPostRepositoryContextInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsInternalPostRepositoryContextOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Run Repository Context Agent
  /sast/events:
    get:
      description: "Returns SAST events after a specified timestamp or event ID.\n\t\tAll events are returned if no timestamp or event ID is provided.\n\t\tA maximum of 100 events can be returned per request."
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: fromTime
          schema:
            nullable: true
            type: string
        - in: query
          name: eventType
          schema:
            items:
              type: string
            type: array
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SAST Events
  /sast/findings:
    get:
      description: Returns a filtered set of SAST findings based on query parameters
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: priorityLabel
          schema:
            nullable: true
            type: string
        - in: query
          name: severity
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: hasPullRequest
          schema:
            nullable: true
            type: boolean
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - description: if not provided, all repositories will be included
          in: query
          name: repositoryIds
          schema:
            description: if not provided, all repositories will be included
            items:
              type: string
            type: array
        - description: combination of isFixed, isFalsePositive, isAllowlisted and isArchived
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive, isAllowlisted and isArchived
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isArchived
          schema:
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SAST Findings
  /sast/findings/{findingId}:
    get:
      description: Returns a given finding with explanation and impact
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding
    patch:
      description: Update a given finding with the fields provided
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchSASTFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchSASTFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Finding
  /sast/findings/{findingId}/allowlist:
    post:
      description: Allowlists a finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAllowlistSASTFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostAllowlistSASTFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Allowlist Finding
  /sast/findings/{findingId}/autofix/cache:
    post:
      description: Creates a cached fix for a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCacheAutofixSASTFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Cache AutoFix
  /sast/findings/{findingId}/autofix/cache/create_pr:
    post:
      description: Creates a pull request to fix a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCreatePullRequestSASTFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCreatePullRequestSASTFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Finding AutoFix
  /sast/findings/{findingId}/autofix/cache/diff:
    get:
      description: Gets the git diffs for a finding's proposed autofix
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTFindingFixOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding Autofix Diff
  /sast/findings/{findingId}/autofix/fix:
    post:
      description: Creates a pull request to fix a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAutofixSASTFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostAutofixSASTFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Finding AutoFix
  /sast/findings/{findingId}/events:
    get:
      description: Returns a list of events for a given finding.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTFindingEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding Events
  /sast/findings/{findingId}/pentest:
    post:
      description: Update SAST finding with pentest result
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostSASTFindingTriagePentestInput'
      responses:
        '204':
          description: No Content
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update SAST Finding With Pentest Result
  /sast/findings/{findingId}/ticket:
    post:
      description: Creates a Jira ticket for a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: The ID of the finding to create a Jira ticket for
          in: path
          name: findingId
          required: true
          schema:
            description: The ID of the finding to create a Jira ticket for
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCreateTicketSASTFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCreateTicketSASTFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Jira Ticket
  /sast/findings/{findingId}/triage:
    get:
      description: Returns the triage data for a specific finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTFindingTriageOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Triaged Finding
  /sast/findings/{findingId}/unallowlist:
    post:
      description: Unallowlists a finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostUnallowlistSASTFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Unallowlist Finding
  /sast/findings/{findingId}/users:
    get:
      description: Returns the users associated with a specific finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTFindingUsersOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding Users
  /sast/findings/allowlist:
    post:
      description: Allowlist a list of SAST findings, by findingsID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAllowListSASTFindingBatchInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Allowlist Batch of SAST Findings
  /sast/findings/autofix/cache:
    post:
      description: Creates a cached fix for a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCacheAutofixSASTFindingsInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Cache AutoFix
  /sast/findings/detailed:
    get:
      description: Returns current SAST findings in default branches
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: priorityLabel
          schema:
            nullable: true
            type: string
        - in: query
          name: severity
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: hasPullRequest
          schema:
            nullable: true
            type: boolean
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - description: combination of isFixed, isFalsePositive, isAllowlisted and isArchived
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive, isAllowlisted and isArchived
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isArchived
          schema:
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTFindingsDetailedOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Findings Detailed
  /sast/findings/fix:
    post:
      description: Creates a pull request to fix a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostFixSASTFindingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostFixSASTFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Finding Fix
  /sast/findings/fixIterate:
    post:
      description: Iterates on a pull request to fix a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostFixIterateSASTFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Finding Fix Iterate
  /sast/findings/preview:
    get:
      description: Returns a filtered set of SAST findings based on query parameters
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: priorityLabel
          schema:
            nullable: true
            type: string
        - in: query
          name: severity
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: hasPullRequest
          schema:
            nullable: true
            type: boolean
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - description: if not provided, all repositories will be included
          in: query
          name: repositoryIds
          schema:
            description: if not provided, all repositories will be included
            items:
              type: string
            type: array
        - description: combination of isFixed, isFalsePositive, isAllowlisted and isArchived
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive, isAllowlisted and isArchived
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isArchived
          schema:
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SAST Findings
  /sast/findings/retriage:
    post:
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsRetriageFindingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsRetriageFindingsOutput'
          description: OK
      summary: Post Retriage Findings
  /sast/findings/upload:
    post:
      description: Returns an S3 Presigned URL
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostGetUploadSASTFindingsURLInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostGetUploadSASTFindingsURLOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Presigned URL to Upload SAST Findings
  /sast/repositories:
    get:
      description: >-
        Returns a map of repository stats. The map is sorted by repositoryID and contains a list of repository stats for
        each repositoryID.
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTRepositoriesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Repositories
  /sast/repositories/{repositoryId}:
    get:
      description: >-
        Returns a sorted map of repository stats. The map is sorted by repositoryID and contains a list of repository
        stats for each repositoryID.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSASTRepositoryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Repository Stats
  /chat/comments:
    post:
      description: Creates a new chat comment on a finding or graph node
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostChatCommentInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostChatCommentOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Chat Comment
  /chat/comments/{commentId}:
    delete:
      description: Deletes a chat comment by ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: ID of the comment to delete
          in: path
          name: commentId
          required: true
          schema:
            description: ID of the comment to delete
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsDeleteChatCommentOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Delete Chat Comment
  /chat/comments/finding/{findingId}:
    get:
      description: Retrieves all comments for a specific finding, sorted by timestamp
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: 'Maximum number of comments to return (default: 100)'
          in: query
          name: limit
          schema:
            description: 'Maximum number of comments to return (default: 100)'
            type: integer
        - description: ID of the finding to get comments for
          in: path
          name: findingId
          required: true
          schema:
            description: ID of the finding to get comments for
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetChatCommentsByFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Chat Comments by Finding
  /chat/comments/finding/{findingId}/node/{nodeId}:
    get:
      description: Retrieves all comments for a specific node within a finding, sorted by timestamp
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: 'Maximum number of comments to return (default: 100)'
          in: query
          name: limit
          schema:
            description: 'Maximum number of comments to return (default: 100)'
            type: integer
        - description: ID of the finding
          in: path
          name: findingId
          required: true
          schema:
            description: ID of the finding
            type: string
        - description: ID of the node to get comments for
          in: path
          name: nodeId
          required: true
          schema:
            description: ID of the node to get comments for
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetChatCommentsByNodeOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Chat Comments by Node
  /chat/messages:
    get:
      description: Retrieves all messages for a tenant, grouped by provider (platformId)
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - description: 'Maximum number of messages to return (default: 100)'
          in: query
          name: limit
          schema:
            description: 'Maximum number of messages to return (default: 100)'
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetMessagesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Messages by Tenant
  /sca/containers/findings:
    get:
      description: Returns a filtered set of SCA container findings based on query parameters
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: package
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - description: combination of isFixed, isFalsePositive and isAllowlisted
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive and isAllowlisted
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCAContainerFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Container Findings
  /sca/containers/findings/{findingId}:
    get:
      description: Returns a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCAContainerFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Container Finding
    patch:
      description: Update a given finding with the fields provided
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchSCAContainerFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchSCAContainerFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Container Finding
  /sca/containers/findings/{findingId}/allowlist:
    post:
      description: Allowlist a container finding and record reason
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAllowlistSCAContainerFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Allowlist Container Finding
  /sca/containers/findings/{findingId}/autofix/cache:
    post:
      description: Creates a cached fix for a given SCA Container finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Implemented
      summary: Post Cache AutoFix - SCA Containers
  /sca/containers/findings/{findingId}/autofix/fix:
    post:
      description: Raises fix PRs for existing container findings given their IDs
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostSCAContainerFindingFixInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Fix Container Findings
  /sca/containers/findings/{findingId}/events:
    get:
      description: Returns a list of events for a given finding.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCAContainerFindingEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Container Finding Events
  /sca/containers/findings/{findingId}/ticket:
    post:
      description: Creates a Jira ticket for a given container finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCreateTicketDependencyFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCreateTicketDependencyFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Jira Ticket
  /sca/containers/findings/{findingId}/triage:
    get:
      description: Returns the triage data for a specific finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCAContainerFindingTriageOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Triaged Finding
  /sca/containers/findings/{findingId}/unallowlist:
    post:
      description: Unallowlist a container finding and record reason
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostUnallowlistSCAContainerFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Unallowlist Container Finding
  /sca/containers/findings/{findingId}/users:
    get:
      description: Returns the users related to a given finding based on git history
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCAContainerFindingUsersOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding Related Users
  /sca/containers/findings/detailed:
    get:
      description: Returns current SCA container findings in default branches based on query parameters
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: package
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - description: combination of isFixed, isFalsePositive and isAllowlisted
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive and isAllowlisted
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCAContainerFindingsDetailedOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Container Findings [DEPRECATED - TO BE REMOVED BY 2025]
  /sca/containers/findings/fixIterate:
    post:
      description: Iterates on a pull request to fix a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostFixIterateSCADependencyFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post SCA Container Finding Fix Iterate
  /sca/containers/findings/preview:
    get:
      description: Returns a filtered set of SCA container findings based on query parameters
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: package
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - description: combination of isFixed, isFalsePositive and isAllowlisted
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive and isAllowlisted
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCAContainerFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Container Findings
  /sca/containers/findings/upload:
    post:
      description: Returns an S3 Presigned URL
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostGetUploadSCAContainerFindingsURLInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostGetUploadSCAContainerFindingsURLOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Presigned URL to Upload SCA Containers Findings
  /sca/dependencies/findings:
    get:
      description: Returns a filtered set of SCA dependency findings based on query parameters
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: package
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - description: combination of isFixed, isFalsePositive and isAllowlisted
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive and isAllowlisted
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCADependencyFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Dependency Findings
  /sca/dependencies/findings/{findingID}/autofix/cache/create_pr:
    post:
      description: Creates a pull request for a dependency finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingID
          required: true
          schema:
            type: string
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Pull Request for Dependency Finding
  /sca/dependencies/findings/{findingId}:
    get:
      description: Returns a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCADependencyFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding
    patch:
      description: Update a given finding with the fields provided
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPatchSCADependencyFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPatchSCADependencyFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update Dependencies Finding
  /sca/dependencies/findings/{findingId}/allowlist:
    post:
      description: Allowlist a dependency finding and record reason
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostAllowlistSCADependencyFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Allowlist Dependency Finding
  /sca/dependencies/findings/{findingId}/autofix/cache:
    post:
      description: Creates a cached fix for a given SCA Dependency finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Cache AutoFix
  /sca/dependencies/findings/{findingId}/autofix/cache/diff:
    get:
      description: Gets the git diffs for a finding's proposed fix
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCADependencyFindingFixOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Dependency Finding Fix
  /sca/dependencies/findings/{findingId}/autofix/fix:
    post:
      description: Raises fix PRs for existing dependency finding given its ID
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostSCADependencyFindingFixInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Fix Dependency Finding
  /sca/dependencies/findings/{findingId}/events:
    get:
      description: Returns a list of events for a given finding.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCADependencyFindingEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Dependency Finding Events
  /sca/dependencies/findings/{findingId}/pentest:
    post:
      description: Update SCA dependency finding with pentest result
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostSCADependencyFindingTriagePentestInput'
      responses:
        '204':
          description: No Content
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Update SCA Dependency Finding With Pentest Result
  /sca/dependencies/findings/{findingId}/ticket:
    post:
      description: Creates a Jira ticket for a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCreateTicketDependencyFindingInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostCreateTicketDependencyFindingOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Create Jira Ticket
  /sca/dependencies/findings/{findingId}/triage:
    get:
      description: Returns the triage data for a specific finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCADependencyFindingTriageOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Triaged Finding
  /sca/dependencies/findings/{findingId}/unallowlist:
    post:
      description: Unallowlist a dependency finding and record reason
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostUnallowlistSCADependencyFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Unallowlist Dependency Finding
  /sca/dependencies/findings/{findingId}/users:
    get:
      description: Returns the users related to a given finding based on git history
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: findingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCADependencyFindingUsersOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Finding Related Users
  /sca/dependencies/findings/autofix/cache:
    post:
      description: Creates a cached fix for given SCA Dependency findings
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostCacheAutofixSCADependencyFindingsInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Cache AutoFix
  /sca/dependencies/findings/detailed:
    get:
      description: Returns current SCA findings in default branches based on query parameters
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: package
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - description: combination of isFixed, isFalsePositive and isAllowlisted
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive and isAllowlisted
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCADependencyFindingsDetailedOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Dependency Findings Detailed [DEPRECATED - TO BE REMOVED BY 2025]
  /sca/dependencies/findings/fixIterate:
    post:
      description: Iterates on a pull request to fix a given finding
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostFixIterateSCADependencyFindingInput'
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Post Finding Fix Iterate
  /sca/dependencies/findings/preview:
    get:
      description: Returns a filtered set of SCA dependency findings based on query parameters
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: package
          schema:
            nullable: true
            type: string
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: branch
          schema:
            nullable: true
            type: string
        - in: query
          name: workflow
          schema:
            nullable: true
            type: string
        - in: query
          name: isFalsePositive
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isFixed
          schema:
            nullable: true
            type: boolean
        - in: query
          name: isAllowlisted
          schema:
            nullable: true
            type: boolean
        - description: combination of isFixed, isFalsePositive and isAllowlisted
          in: query
          name: isResolved
          schema:
            description: combination of isFixed, isFalsePositive and isAllowlisted
            nullable: true
            type: boolean
        - in: query
          name: sortBy
          schema:
            nullable: true
            type: string
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCADependencyFindingsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Dependency Findings
  /sca/dependencies/findings/upload:
    post:
      description: Returns an S3 Presigned URL
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostGetUploadSCADependencyFindingsURLInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostGetUploadSCADependencyFindingsURLOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Presigned URL to Upload SCA Dependencies Findings
  /sca/events:
    get:
      description: "Returns SCA events after a specified timestamp or event ID.\n\t\tAll events are returned if no timestamp or event ID is provided.\n\t\tA maximum of 100 events can be returned per request."
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - in: query
          name: fromTime
          schema:
            nullable: true
            type: string
        - in: query
          name: eventType
          schema:
            items:
              type: string
            type: array
        - in: query
          name: fileOwnerName
          schema:
            items:
              type: string
            type: array
        - in: query
          name: sort
          schema:
            nullable: true
            type: string
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCAEventsOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get SCA Events
  /sca/findings/retriage:
    post:
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EndpointsPostRetriageSCADependenciesFindingsInput'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsPostRetriageSCADependenciesFindingsOutput'
          description: OK
      summary: Post Retriage Dependencies Findings
  /sca/repositories:
    get:
      description: >-
        Returns a sorted map of repository stats. The map is sorted by repositoryID and contains a list of repository
        stats for each repositoryID.
      parameters:
        - in: query
          name: nextToken
          schema:
            nullable: true
            type: string
        - in: query
          name: limit
          schema:
            nullable: true
            type: integer
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCARepositoriesOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Repository Stats
  /sca/repositories/{repositoryId}:
    get:
      description: >-
        Returns a sorted map of repository stats. The map is sorted by repositoryID and contains a list of repository
        stats for each repositoryID.
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCARepositoryOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Repository Stats
  /sca/repositories/{repositoryId}/sbom:
    get:
      description: Returns the SBOM for a repository
      parameters:
        - description: The Azure organization ID
          in: query
          name: azureOrganizationId
          schema:
            description: The Azure organization ID
            type: string
        - description: The Bitbucket workspace ID
          in: query
          name: bitbucketWorkspaceId
          schema:
            description: The Bitbucket workspace ID
            type: string
        - description: The Github owner ID
          in: query
          name: githubOwnerId
          schema:
            description: The Github owner ID
            format: int64
            type: integer
        - description: The GitLab group ID
          in: query
          name: gitlabGroupId
          schema:
            description: The GitLab group ID
            format: int64
            type: integer
        - description: The Nullify installation ID
          in: query
          name: installationId
          schema:
            description: The Nullify installation ID
            type: string
        - in: query
          name: azureRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: query
          name: githubRepositoryId
          schema:
            items:
              format: int64
              type: integer
            type: array
        - in: query
          name: githubTeamId
          schema:
            format: int64
            type: integer
        - in: query
          name: bitbucketRepositoryId
          schema:
            items:
              type: string
            type: array
        - in: path
          name: repositoryId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointsGetSCARepositorySBOMOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrResponse'
          description: Internal Server Error
      summary: Get Repository SBOM
components:
  schemas:
    EndpointsGetAllGraphPathOutput:
      properties:
        queryResult:
          items:
            $ref: '#/components/schemas/EndpointsGraphPathResult'
          nullable: true
          type: array
      required:
        - queryResult
      type: object
    EndpointsGetGraphAccountsListOutput:
      properties:
        accountIds:
          items:
            type: string
          nullable: true
          type: array
        count:
          type: integer
      required:
        - accountIds
        - count
      type: object
    EndpointsGetGraphDataLatestOutput:
      properties:
        downloadUrl:
          type: string
        expiresAt:
          type: string
        metadata:
          properties:
            edgesCount:
              type: integer
            fileSize:
              format: int64
              type: integer
            nodesCount:
              type: integer
            timestamp:
              type: string
          type: object
      required:
        - downloadUrl
        - expiresAt
        - metadata
      type: object
    EndpointsGetNodesByTypeOutput:
      properties:
        count:
          type: integer
        edges:
          items:
            additionalProperties: {}
            type: object
          nullable: true
          type: array
        nodeType:
          type: string
        nodes:
          items:
            additionalProperties: {}
            type: object
          nullable: true
          type: array
      required:
        - count
        - edges
        - nodeType
        - nodes
      type: object
    EndpointsGraphPathResult:
      properties:
        edges:
          items: {}
          nullable: true
          type: array
        nodes:
          items: {}
          nullable: true
          type: array
      required:
        - edges
        - nodes
      type: object
    EndpointsSearchNodesOutput:
      properties:
        count:
          type: integer
        edges:
          items:
            additionalProperties: {}
            type: object
          nullable: true
          type: array
        nodes:
          items:
            additionalProperties: {}
            type: object
          nullable: true
          type: array
        query:
          type: string
      required:
        - count
        - edges
        - nodes
        - query
      type: object
    RestErrResponse:
      properties:
        code:
          description: Application-specific error code.
          type: integer
        context:
          additionalProperties: {}
          description: Application context.
          type: object
        error:
          description: Error message.
          type: string
        status:
          description: Status text.
          type: string
      required:
        - code
        - context
        - error
        - status
      type: object
    EndpointsGetCSPMFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsCSPMFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsGetCSPMFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsCSPMFindingPreview'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetCSPMScanOutput:
      properties:
        scan:
          $ref: '#/components/schemas/ModelsCSPMScan'
        version:
          type: string
      required:
        - scan
        - version
      type: object
    EndpointsGetCSPMScansOutput:
      properties:
        nextToken:
          type: string
        numItems:
          type: integer
        scans:
          items:
            $ref: '#/components/schemas/ModelsCSPMScanPreview'
          nullable: true
          type: array
        version:
          type: string
      required:
        - nextToken
        - numItems
        - scans
        - version
      type: object
    ModelsAllowlistType:
      enum:
        - AI
        - UserFixed
        - UserAssumeRisk
        - UserFalsePositive
        - UserOther
      type: string
    ModelsAzureTicketProvider:
      type: object
    ModelsCSPMFinding:
      properties:
        accountId:
          type: string
        accountName:
          type: string
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        budgetExhausted:
          type: boolean
        budgetLimit:
          format: double
          type: number
        budgetUsed:
          format: double
          type: number
        category:
          type: string
        cloudProvider:
          type: string
        complianceFrames:
          items:
            $ref: '#/components/schemas/ModelsComplianceFrame'
          type: array
        concurrencyLimit:
          type: integer
        createdAt:
          type: string
        currentConfig:
          additionalProperties: {}
          type: object
        deletedAt:
          format: date-time
          type: string
        description:
          type: string
        devDescription:
          type: string
        expectedConfig:
          additionalProperties: {}
          type: object
        exploitabilityConfidence:
          type: string
        exploitabilityLabel:
          type: string
        failedTriage:
          type: boolean
        id:
          type: string
        impactConfidence:
          type: string
        impactLabel:
          type: string
        installationId:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          type: boolean
        isResolved:
          type: boolean
        message:
          type: string
        platform:
          type: string
        priorityLabel:
          type: string
        priorityLabelReason:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        region:
          type: string
        resolvedAt:
          format: date-time
          type: string
        resourceArn:
          type: string
        resourceId:
          type: string
        resourceName:
          type: string
        resourceTags:
          additionalProperties: {}
          type: object
        resourceType:
          type: string
        ruleId:
          type: string
        ruleUrl:
          type: string
        scanId:
          type: string
        severity:
          type: string
        severityConfidence:
          type: string
        severityLabel:
          type: string
        severityOverride:
          type: string
        severityScore:
          type: integer
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        ticketState:
          type: string
        title:
          type: string
        triageAgentVersion:
          type: string
        triageDurationSeconds:
          type: integer
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageLangfuseSessionId:
          nullable: true
          type: string
        triageLangfuseTraceId:
          nullable: true
          type: string
        triageLlmCostUsd:
          nullable: true
          type: number
        triageStart:
          format: date-time
          nullable: true
          type: string
        triageTokenCount:
          nullable: true
          type: integer
        triageTraceId:
          nullable: true
          type: string
        updatedAt:
          type: string
        userNotes:
          type: string
      required:
        - accountId
        - accountName
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - allowlistType
        - budgetExhausted
        - budgetLimit
        - budgetUsed
        - category
        - cloudProvider
        - complianceFrames
        - concurrencyLimit
        - createdAt
        - currentConfig
        - deletedAt
        - description
        - devDescription
        - expectedConfig
        - exploitabilityConfidence
        - exploitabilityLabel
        - failedTriage
        - id
        - impactConfidence
        - impactLabel
        - installationId
        - isAllowlisted
        - isArchived
        - isFalsePositive
        - isLatest
        - isResolved
        - message
        - platform
        - priorityLabel
        - priorityLabelReason
        - priorityOverride
        - priorityScore
        - region
        - resolvedAt
        - resourceArn
        - resourceId
        - resourceName
        - resourceTags
        - resourceType
        - ruleId
        - ruleUrl
        - scanId
        - severity
        - severityConfidence
        - severityLabel
        - severityOverride
        - severityScore
        - tenantId
        - ticket
        - ticketState
        - title
        - triageAgentVersion
        - triageDurationSeconds
        - triageEnd
        - triageLangfuseSessionId
        - triageLangfuseTraceId
        - triageLlmCostUsd
        - triageStart
        - triageTokenCount
        - triageTraceId
        - updatedAt
        - userNotes
      type: object
    ModelsCSPMFindingPreview:
      properties:
        accountId:
          type: string
        accountName:
          type: string
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        category:
          type: string
        cloudProvider:
          type: string
        complianceFrames:
          items:
            $ref: '#/components/schemas/ModelsComplianceFrame'
          type: array
        createdAt:
          type: string
        id:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          type: boolean
        isResolved:
          type: boolean
        message:
          type: string
        priorityLabel:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        region:
          type: string
        resourceArn:
          type: string
        resourceId:
          type: string
        resourceName:
          type: string
        resourceType:
          type: string
        ruleId:
          type: string
        ruleUrl:
          type: string
        severity:
          type: string
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        title:
          type: string
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageStart:
          format: date-time
          nullable: true
          type: string
        updatedAt:
          type: string
      required:
        - accountId
        - accountName
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - allowlistType
        - category
        - cloudProvider
        - complianceFrames
        - createdAt
        - id
        - isAllowlisted
        - isArchived
        - isFalsePositive
        - isLatest
        - isResolved
        - message
        - priorityLabel
        - priorityOverride
        - priorityScore
        - region
        - resourceArn
        - resourceId
        - resourceName
        - resourceType
        - ruleId
        - ruleUrl
        - severity
        - tenantId
        - ticket
        - title
        - triageEnd
        - triageStart
        - updatedAt
      type: object
    ModelsCSPMScan:
      properties:
        accountId:
          type: string
        accountName:
          type: string
        cloudProvider:
          type: string
        createdAt:
          type: string
        duration:
          type: integer
        endedAt:
          format: date-time
          nullable: true
          type: string
        executionArn:
          type: string
        failureReason:
          nullable: true
          type: string
        findingsCount:
          type: integer
        findingsS3Bucket:
          type: string
        findingsS3Key:
          type: string
        id:
          type: string
        installationId:
          type: string
        isArchived:
          type: boolean
        platform:
          type: string
        progress:
          type: integer
        region:
          type: string
        regionsToScan:
          items:
            type: string
          type: array
        resourceCoverage:
          additionalProperties: {}
          type: object
        resourceTypes:
          items:
            type: string
          type: array
        rulesToScan:
          items:
            type: string
          type: array
        scanConfig:
          additionalProperties: {}
          type: object
        scanType:
          type: string
        scannerConfig:
          type: string
        scannerVersion:
          type: string
        startedAt:
          format: date-time
          type: string
        status:
          $ref: '#/components/schemas/ModelsScanStatus'
        summary:
          $ref: '#/components/schemas/ModelsCSPMScanSummary'
        tenantId:
          type: string
        updatedAt:
          type: string
      required:
        - accountId
        - accountName
        - cloudProvider
        - createdAt
        - duration
        - endedAt
        - executionArn
        - failureReason
        - findingsCount
        - findingsS3Bucket
        - findingsS3Key
        - id
        - installationId
        - isArchived
        - platform
        - progress
        - region
        - regionsToScan
        - resourceCoverage
        - resourceTypes
        - rulesToScan
        - scanConfig
        - scanType
        - scannerConfig
        - scannerVersion
        - startedAt
        - status
        - summary
        - tenantId
        - updatedAt
      type: object
    ModelsCSPMScanPreview:
      properties:
        accountId:
          type: string
        accountName:
          type: string
        cloudProvider:
          type: string
        createdAt:
          type: string
        duration:
          type: integer
        endedAt:
          format: date-time
          nullable: true
          type: string
        findingsCount:
          type: integer
        id:
          type: string
        isArchived:
          type: boolean
        progress:
          type: integer
        region:
          type: string
        scanType:
          type: string
        scannerVersion:
          type: string
        startedAt:
          format: date-time
          type: string
        status:
          $ref: '#/components/schemas/ModelsScanStatus'
        summary:
          $ref: '#/components/schemas/ModelsCSPMScanSummary'
        tenantId:
          type: string
        updatedAt:
          type: string
      required:
        - accountId
        - accountName
        - cloudProvider
        - createdAt
        - duration
        - endedAt
        - findingsCount
        - id
        - isArchived
        - progress
        - region
        - scanType
        - scannerVersion
        - startedAt
        - status
        - summary
        - tenantId
        - updatedAt
      type: object
    ModelsCSPMScanSummary:
      properties:
        criticalFindings:
          type: integer
        failedChecks:
          type: integer
        highFindings:
          type: integer
        infoFindings:
          type: integer
        lowFindings:
          type: integer
        mediumFindings:
          type: integer
        passedChecks:
          type: integer
        resourcesScanned:
          type: integer
        rulesEvaluated:
          type: integer
        totalFindings:
          type: integer
      required:
        - criticalFindings
        - failedChecks
        - highFindings
        - infoFindings
        - lowFindings
        - mediumFindings
        - passedChecks
        - resourcesScanned
        - rulesEvaluated
        - totalFindings
      type: object
    ModelsComplianceFrame:
      properties:
        control:
          type: string
        framework:
          type: string
        version:
          type: string
      required:
        - control
        - framework
        - version
      type: object
    ModelsGitHubTicketProvider:
      properties:
        issueId:
          description: The GitHub issue ID
          format: int64
          type: integer
        nodeId:
          description: The GitHub issue GraphQL node ID
          type: string
        number:
          description: The GitHub issue number
          format: int64
          type: integer
        repositoryName:
          description: The GitHub issue repository name
          type: string
        url:
          description: The GitHub issue URL
          type: string
      required:
        - issueId
        - nodeId
        - number
        - repositoryName
        - url
      type: object
    ModelsGitLabTicketProvider:
      type: object
    ModelsJiraTicketProvider:
      properties:
        issueId:
          description: The Jira issue ID
          type: string
        issueKey:
          description: The Jira issue key
          type: string
        url:
          description: The Jira issue URL
          type: string
      required:
        - issueId
        - issueKey
        - url
      type: object
    ModelsLinearTicketProvider:
      properties:
        issueId:
          description: The Linear issue ID
          type: string
        teamId:
          description: The Linear team ID
          type: string
        url:
          description: The Linear issue URL
          type: string
      required:
        - issueId
        - teamId
        - url
      type: object
    ModelsProviderID:
      enum:
        - Nullify
        - GitHub
        - Bitbucket
        - Azure
        - GitLab
        - Okta
        - GitHubNullify
        - Jira
        - Linear
        - Slack
        - Teams
        - AWS
        - Azure
        - GCP
        - Alibaba
        - Oracle
        - IBM
        - DigitalOcean
        - Heroku
        - External
      type: string
    ModelsScanStatus:
      enum:
        - queued
        - in progress
        - stopping
        - completed
        - cancelled
        - failed
      type: string
    ModelsTicketProvider:
      properties:
        azure:
          $ref: '#/components/schemas/ModelsAzureTicketProvider'
        github:
          $ref: '#/components/schemas/ModelsGitHubTicketProvider'
        gitlab:
          $ref: '#/components/schemas/ModelsGitLabTicketProvider'
        jira:
          $ref: '#/components/schemas/ModelsJiraTicketProvider'
        linear:
          $ref: '#/components/schemas/ModelsLinearTicketProvider'
        providerId:
          $ref: '#/components/schemas/ModelsProviderID'
      required:
        - azure
        - github
        - gitlab
        - jira
        - linear
        - providerId
      type: object
    EndpointsGetBitbucketOwnerProviderOutput:
      properties:
        bitbucket:
          $ref: '#/components/schemas/ModelsBitbucketOwnerProvider'
      required:
        - bitbucket
      type: object
    EndpointsGetInstallationsInternalOutput:
      properties:
        installations:
          items:
            $ref: '#/components/schemas/ModelsInstallation'
          nullable: true
          type: array
      required:
        - installations
      type: object
    EndpointsGetJiraConnectDescriptorOutput:
      properties:
        apiVersion:
          type: integer
        authentication:
          $ref: '#/components/schemas/ModelsAuthentication'
        baseUrl:
          type: string
        contexts:
          items:
            type: string
          type: array
        definitions:
          additionalProperties: {}
          type: object
        description:
          type: string
        enableLicensing:
          type: boolean
        key:
          type: string
        lifecycle:
          $ref: '#/components/schemas/ModelsLifecycle'
        links:
          $ref: '#/components/schemas/ModelsLinks'
        modules:
          $ref: '#/components/schemas/ModelsModules'
        name:
          type: string
        scopes:
          items:
            type: string
          type: array
        vendor:
          $ref: '#/components/schemas/ModelsVendor'
        version:
          type: string
      required:
        - apiVersion
        - authentication
        - baseUrl
        - contexts
        - definitions
        - description
        - enableLicensing
        - key
        - lifecycle
        - links
        - modules
        - name
        - scopes
        - vendor
        - version
      type: object
    EndpointsGetJiraOwnerProviderOutput:
      properties:
        jira:
          $ref: '#/components/schemas/ModelsJiraOwnerProvider'
      required:
        - jira
      type: object
    EndpointsPostBitbucketConnectDescriptorOutput:
      properties:
        apiVersion:
          type: integer
        authentication:
          $ref: '#/components/schemas/ModelsAuthentication'
        baseUrl:
          type: string
        contexts:
          items:
            type: string
          type: array
        definitions:
          additionalProperties: {}
          type: object
        description:
          type: string
        enableLicensing:
          type: boolean
        key:
          type: string
        lifecycle:
          $ref: '#/components/schemas/ModelsLifecycle'
        links:
          $ref: '#/components/schemas/ModelsLinks'
        modules:
          $ref: '#/components/schemas/ModelsModules'
        name:
          type: string
        scopes:
          items:
            type: string
          type: array
        vendor:
          $ref: '#/components/schemas/ModelsVendor'
        version:
          type: string
      required:
        - apiVersion
        - authentication
        - baseUrl
        - contexts
        - definitions
        - description
        - enableLicensing
        - key
        - lifecycle
        - links
        - modules
        - name
        - scopes
        - vendor
        - version
      type: object
    EndpointsPostBitbucketDisabledInput:
      properties:
        actor:
          $ref: '#/components/schemas/ModelsActor'
        baseApiUrl:
          type: string
        baseUrl:
          type: string
        clientKey:
          type: string
        eventType:
          type: string
        key:
          type: string
        principal:
          $ref: '#/components/schemas/ModelsPrincipal'
        productType:
          type: string
        publicKey:
          type: string
        user:
          $ref: '#/components/schemas/ModelsAtlassianUser'
      required:
        - actor
        - baseApiUrl
        - baseUrl
        - clientKey
        - eventType
        - key
        - principal
        - productType
        - publicKey
        - user
      type: object
    EndpointsPostBitbucketEnabledInput:
      properties:
        actor:
          $ref: '#/components/schemas/ModelsActor'
        baseApiUrl:
          type: string
        baseUrl:
          type: string
        clientKey:
          type: string
        eventType:
          type: string
        key:
          type: string
        principal:
          $ref: '#/components/schemas/ModelsPrincipal'
        productType:
          type: string
        publicKey:
          type: string
        user:
          $ref: '#/components/schemas/ModelsAtlassianUser'
      required:
        - actor
        - baseApiUrl
        - baseUrl
        - clientKey
        - eventType
        - key
        - principal
        - productType
        - publicKey
        - user
      type: object
    EndpointsPostBitbucketInstalledInput:
      properties:
        actor:
          $ref: '#/components/schemas/ModelsActor'
        baseApiUrl:
          type: string
        baseUrl:
          type: string
        clientKey:
          type: string
        eventType:
          type: string
        key:
          type: string
        principal:
          $ref: '#/components/schemas/ModelsPrincipal'
        productType:
          type: string
        publicKey:
          type: string
        sharedSecret:
          type: string
        user:
          $ref: '#/components/schemas/ModelsAtlassianUser'
      required:
        - actor
        - baseApiUrl
        - baseUrl
        - clientKey
        - eventType
        - key
        - principal
        - productType
        - publicKey
        - sharedSecret
        - user
      type: object
    EndpointsPostBitbucketUninstalledInput:
      properties:
        actor:
          $ref: '#/components/schemas/ModelsActor'
        baseApiUrl:
          type: string
        baseUrl:
          type: string
        clientKey:
          type: string
        eventType:
          type: string
        key:
          type: string
        principal:
          $ref: '#/components/schemas/ModelsPrincipal'
        productType:
          type: string
        publicKey:
          type: string
        sharedSecret:
          type: string
        user:
          $ref: '#/components/schemas/ModelsAtlassianUser'
      required:
        - actor
        - baseApiUrl
        - baseUrl
        - clientKey
        - eventType
        - key
        - principal
        - productType
        - publicKey
        - sharedSecret
        - user
      type: object
    EndpointsPostJiraInstalledInput:
      properties:
        baseUrl:
          type: string
        clientKey:
          type: string
        description:
          type: string
        displayUrl:
          type: string
        eventType:
          type: string
        key:
          type: string
        productType:
          type: string
        publicKey:
          type: string
        sharedSecret:
          type: string
      required:
        - baseUrl
        - clientKey
        - description
        - displayUrl
        - eventType
        - key
        - productType
        - publicKey
        - sharedSecret
      type: object
    EndpointsPostJiraUninstalledInput:
      properties:
        accountId:
          type: string
        baseUrl:
          type: string
        clientKey:
          type: string
        description:
          type: string
        displayUrl:
          type: string
        eventType:
          type: string
        key:
          type: string
        productType:
          type: string
        publicKey:
          type: string
        sharedSecret:
          type: string
      required:
        - accountId
        - baseUrl
        - clientKey
        - description
        - displayUrl
        - eventType
        - key
        - productType
        - publicKey
        - sharedSecret
      type: object
    ModelsActor:
      properties:
        account_id:
          type: string
        type:
          type: string
        uuid:
          type: string
      required:
        - account_id
        - type
        - uuid
      type: object
    ModelsAdminPages:
      properties:
        conditions:
          items: {}
          type: array
        icon:
          $ref: '#/components/schemas/ModelsIcon'
        key:
          type: string
        location:
          type: string
        name:
          $ref: '#/components/schemas/ModelsName'
        params:
          $ref: '#/components/schemas/ModelsParams'
        tooltip:
          $ref: '#/components/schemas/ModelsTooltip'
        url:
          type: string
        weight:
          type: integer
      required:
        - conditions
        - icon
        - key
        - location
        - name
        - params
        - tooltip
        - url
        - weight
      type: object
    ModelsAtlassianHTML:
      properties:
        href:
          type: string
      required:
        - href
      type: object
    ModelsAtlassianUser:
      properties:
        created_on:
          format: date-time
          type: string
        display_name:
          type: string
        has_2fa_enabled: {}
        is_active:
          type: boolean
        links:
          $ref: '#/components/schemas/ModelsUserLinks'
        properties:
          additionalProperties: {}
          nullable: true
          type: object
        type:
          type: string
        username:
          type: string
        uuid:
          type: string
      required:
        - created_on
        - display_name
        - has_2fa_enabled
        - is_active
        - links
        - properties
        - type
        - username
        - uuid
      type: object
    ModelsAuthentication:
      properties:
        type:
          type: string
      required:
        - type
      type: object
    ModelsAvatar:
      properties:
        href:
          type: string
      required:
        - href
      type: object
    ModelsAzureOwnerProvider:
      properties:
        baseUrl:
          description: The base URL for the Azure instance
          type: string
        organizationId:
          description: The Azure organization ID
          type: string
        organizationName:
          description: The Azure organization name
          type: string
        tenantId:
          description: The Azure tenant ID
          type: string
      required:
        - baseUrl
        - organizationId
        - organizationName
        - tenantId
      type: object
    ModelsBitbucketOwnerProvider:
      properties:
        appKey:
          description: The Bitbucket app key
          type: string
        baseUrl:
          description: The Bitbucket base URL
          type: string
        clientKey:
          description: The Bitbucket client key
          type: string
        ownerId:
          description: The Bitbucket owner ID
          type: string
        ownerName:
          description: The Bitbucket owner name
          type: string
        sharedSecret:
          description: The Bitbucket shared secret
          type: string
      required:
        - appKey
        - baseUrl
        - clientKey
        - ownerId
        - ownerName
        - sharedSecret
      type: object
    ModelsExternalOwnerProvider:
      properties:
        installationId:
          description: The external installation ID
          type: string
      required:
        - installationId
      type: object
    ModelsFileEditors:
      properties:
        conditions:
          items: {}
          type: array
        file_matches:
          $ref: '#/components/schemas/ModelsFileMatches'
        key:
          type: string
        name:
          $ref: '#/components/schemas/ModelsName'
        params:
          $ref: '#/components/schemas/ModelsParams'
        url:
          type: string
      required:
        - conditions
        - file_matches
        - key
        - name
        - params
        - url
      type: object
    ModelsFileMatches:
      properties:
        extensions:
          items:
            type: string
          type: array
        names:
          items:
            type: string
          type: array
      required:
        - extensions
        - names
      type: object
    ModelsFileViews:
      properties:
        conditions:
          items:
            format: double
            type: number
          type: array
        file_matches:
          $ref: '#/components/schemas/ModelsFileMatches'
        key:
          type: string
        name:
          $ref: '#/components/schemas/ModelsName'
        params:
          $ref: '#/components/schemas/ModelsParams'
        url:
          type: string
      required:
        - conditions
        - file_matches
        - key
        - name
        - params
        - url
      type: object
    ModelsGeneralPages:
      properties:
        conditions:
          items: {}
          type: array
        icon:
          $ref: '#/components/schemas/ModelsIcon'
        key:
          type: string
        name:
          $ref: '#/components/schemas/ModelsName'
        params:
          $ref: '#/components/schemas/ModelsParams'
        url:
          type: string
        weight:
          type: integer
      required:
        - conditions
        - icon
        - key
        - name
        - params
        - url
        - weight
      type: object
    ModelsGitHubOwnerProvider:
      properties:
        baseUrl:
          description: The GitHub base URL
          type: string
        installationId:
          description: The GitHub installation ID
          format: int64
          type: integer
        owner:
          description: The GitHub owner name
          type: string
        ownerId:
          description: The GitHub owner ID
          format: int64
          type: integer
        ownerType:
          description: The GitHub owner type
          type: string
      required:
        - baseUrl
        - installationId
        - owner
        - ownerId
        - ownerType
      type: object
    ModelsGitLabOwnerProvider:
      properties:
        baseUrl:
          description: The GitLab base URL
          type: string
        groupId:
          description: The GitLab group ID
          format: int64
          type: integer
        groupName:
          description: The GitLab group name
          type: string
      required:
        - baseUrl
        - groupId
        - groupName
      type: object
    ModelsIcon:
      properties:
        height:
          type: integer
        url:
          type: string
        width:
          type: integer
      required:
        - height
        - url
        - width
      type: object
    ModelsInstallation:
      properties:
        avatarUrl:
          type: string
        isTriaged:
          nullable: true
          type: boolean
        name:
          type: string
        nullifyBaseUrl:
          nullable: true
          type: string
        provider:
          $ref: '#/components/schemas/ModelsOwnerProvider'
        queryParameters:
          additionalProperties:
            type: string
          nullable: true
          type: object
      required:
        - avatarUrl
        - isTriaged
        - name
        - nullifyBaseUrl
        - provider
        - queryParameters
      type: object
    ModelsJiraOwnerProvider:
      properties:
        appKeyId:
          description: The Jira app key ID
          type: string
        baseUrl:
          description: The Jira base URL
          type: string
        installationId:
          description: The Jira installation ID
          type: string
        ownerId:
          description: The Jira owner ID
          type: string
        sharedSecret:
          description: The Jira shared secret
          type: string
      required:
        - appKeyId
        - baseUrl
        - installationId
        - ownerId
        - sharedSecret
      type: object
    ModelsLifecycle:
      properties:
        disabled:
          type: string
        enabled:
          type: string
        installed:
          type: string
        uninstalled:
          type: string
      required:
        - disabled
        - enabled
        - installed
        - uninstalled
      type: object
    ModelsLinearOwnerProvider:
      properties:
        accessToken:
          description: The Linear access token
          type: string
        clientId:
          description: The Linear client ID
          type: string
        clientSecret:
          description: The Linear client secret
          type: string
        urlKey:
          description: The Linear domain key
          type: string
        workspaceId:
          description: The Linear workspace ID
          type: string
        workspaceName:
          description: The Linear workspace name
          type: string
      required:
        - accessToken
        - clientId
        - clientSecret
        - urlKey
        - workspaceId
        - workspaceName
      type: object
    ModelsLinkers:
      properties:
        conditions:
          items: {}
          type: array
        context:
          type: string
        key:
          type: string
        params:
          $ref: '#/components/schemas/ModelsParams'
        regex:
          type: string
        target:
          $ref: '#/components/schemas/ModelsTarget'
        type:
          type: string
        url:
          type: string
      required:
        - conditions
        - context
        - key
        - params
        - regex
        - target
        - type
        - url
      type: object
    ModelsLinks:
      properties:
        documentation:
          type: string
        homepage:
          type: string
        self:
          type: string
        source:
          type: string
        support:
          type: string
      required:
        - documentation
        - homepage
        - self
        - source
        - support
      type: object
    ModelsModules:
      properties:
        adminPages:
          items:
            $ref: '#/components/schemas/ModelsAdminPages'
          type: array
        configurePage:
          nullable: true
          type: number
        fileEditors:
          items:
            $ref: '#/components/schemas/ModelsFileEditors'
          type: array
        fileViews:
          items:
            $ref: '#/components/schemas/ModelsFileViews'
          type: array
        generalPages:
          items:
            $ref: '#/components/schemas/ModelsGeneralPages'
          type: array
        linkers:
          items:
            $ref: '#/components/schemas/ModelsLinkers'
          type: array
        oauthCallback:
          $ref: '#/components/schemas/ModelsOauthCallback'
        oauthConsumer:
          $ref: '#/components/schemas/ModelsOauthConsumer'
        postInstallRedirect:
          $ref: '#/components/schemas/ModelsPostInstallRedirect'
        profileTabs:
          items:
            $ref: '#/components/schemas/ModelsProfileTabs'
          type: array
        proxy:
          $ref: '#/components/schemas/ModelsProxy'
        repoPages:
          items:
            $ref: '#/components/schemas/ModelsRepoPages'
          type: array
        webCards:
          items:
            $ref: '#/components/schemas/ModelsWebCards'
          type: array
        webItems:
          items:
            type: boolean
          type: array
        webPanels:
          items:
            $ref: '#/components/schemas/ModelsWebPanels'
          type: array
        webhooks:
          items:
            $ref: '#/components/schemas/ModelsWebhooks'
          type: array
      required:
        - adminPages
        - configurePage
        - fileEditors
        - fileViews
        - generalPages
        - linkers
        - oauthCallback
        - oauthConsumer
        - postInstallRedirect
        - profileTabs
        - proxy
        - repoPages
        - webCards
        - webItems
        - webPanels
        - webhooks
      type: object
    ModelsName:
      properties:
        i18n:
          type: string
        value:
          type: string
      required:
        - i18n
        - value
      type: object
    ModelsOauthCallback:
      properties:
        key:
          type: string
        url:
          type: string
      required:
        - key
        - url
      type: object
    ModelsOauthConsumer:
      properties:
        clientId:
          type: string
        scopes:
          items: {}
          type: array
      required:
        - clientId
        - scopes
      type: object
    ModelsOwnerProvider:
      properties:
        azure:
          $ref: '#/components/schemas/ModelsAzureOwnerProvider'
        bitbucket:
          $ref: '#/components/schemas/ModelsBitbucketOwnerProvider'
        external:
          $ref: '#/components/schemas/ModelsExternalOwnerProvider'
        github:
          $ref: '#/components/schemas/ModelsGitHubOwnerProvider'
        gitlab:
          $ref: '#/components/schemas/ModelsGitLabOwnerProvider'
        id:
          $ref: '#/components/schemas/ModelsProviderID'
        jira:
          $ref: '#/components/schemas/ModelsJiraOwnerProvider'
        linear:
          $ref: '#/components/schemas/ModelsLinearOwnerProvider'
        slack:
          $ref: '#/components/schemas/ModelsSlackOwnerProvider'
        teams:
          $ref: '#/components/schemas/ModelsTeamsOwnerProvider'
      required:
        - azure
        - bitbucket
        - external
        - github
        - gitlab
        - id
        - jira
        - linear
        - slack
        - teams
      type: object
    ModelsParams:
      type: object
    ModelsPostInstallRedirect:
      properties:
        key:
          type: string
        url:
          type: string
      required:
        - key
        - url
      type: object
    ModelsPrincipal:
      properties:
        created_on:
          format: date-time
          type: string
        display_name:
          type: string
        has_2fa_enabled: {}
        is_active:
          type: boolean
        links:
          $ref: '#/components/schemas/ModelsUserLinks'
        properties:
          additionalProperties: {}
          nullable: true
          type: object
        type:
          type: string
        username:
          type: string
        uuid:
          type: string
      required:
        - created_on
        - display_name
        - has_2fa_enabled
        - is_active
        - links
        - properties
        - type
        - username
        - uuid
      type: object
    ModelsProfileTabs:
      properties:
        conditions:
          items: {}
          type: array
        icon:
          $ref: '#/components/schemas/ModelsIcon'
        key:
          type: string
        name:
          $ref: '#/components/schemas/ModelsName'
        params:
          $ref: '#/components/schemas/ModelsParams'
        url:
          type: string
        weight:
          type: integer
      required:
        - conditions
        - icon
        - key
        - name
        - params
        - url
        - weight
      type: object
    ModelsProxy:
      properties:
        definitions:
          additionalProperties: {}
          type: object
        links:
          additionalProperties:
            type: string
          type: object
      required:
        - definitions
        - links
      type: object
    ModelsRepoPages:
      properties:
        conditions:
          items:
            type: boolean
          type: array
        icon:
          $ref: '#/components/schemas/ModelsIcon'
        key:
          type: string
        location:
          type: string
        name:
          $ref: '#/components/schemas/ModelsName'
        params:
          $ref: '#/components/schemas/ModelsParams'
        tooltip:
          $ref: '#/components/schemas/ModelsTooltip'
        url:
          type: string
        weight:
          type: integer
      required:
        - conditions
        - icon
        - key
        - location
        - name
        - params
        - tooltip
        - url
        - weight
      type: object
    ModelsSelf:
      properties:
        href:
          type: string
      required:
        - href
      type: object
    ModelsSlackOwnerProvider:
      properties:
        teamId:
          description: The Slack team ID
          type: string
      required:
        - teamId
      type: object
    ModelsTarget:
      type: object
    ModelsTeamsOwnerProvider:
      properties:
        teamId:
          description: The Teams team ID
          type: string
      required:
        - teamId
      type: object
    ModelsTooltip:
      properties:
        i18n:
          type: string
        value:
          type: string
      required:
        - i18n
        - value
      type: object
    ModelsUserLinks:
      properties:
        avatar:
          $ref: '#/components/schemas/ModelsAvatar'
        html:
          $ref: '#/components/schemas/ModelsAtlassianHTML'
        self:
          $ref: '#/components/schemas/ModelsSelf'
      required:
        - avatar
        - html
        - self
      type: object
    ModelsVendor:
      properties:
        name:
          type: string
        url:
          type: string
      required:
        - name
        - url
      type: object
    ModelsWebCards:
      properties:
        conditions:
          items: {}
          type: array
        icon:
          $ref: '#/components/schemas/ModelsIcon'
        key:
          type: string
        location:
          type: string
        name:
          $ref: '#/components/schemas/ModelsName'
        params:
          $ref: '#/components/schemas/ModelsParams'
        tooltip:
          $ref: '#/components/schemas/ModelsTooltip'
        url:
          type: string
        weight:
          type: integer
      required:
        - conditions
        - icon
        - key
        - location
        - name
        - params
        - tooltip
        - url
        - weight
      type: object
    ModelsWebPanels:
      properties:
        conditions:
          items: {}
          type: array
        icon:
          $ref: '#/components/schemas/ModelsIcon'
        key:
          type: string
        location:
          type: string
        name:
          $ref: '#/components/schemas/ModelsName'
        params:
          $ref: '#/components/schemas/ModelsParams'
        tooltip:
          $ref: '#/components/schemas/ModelsTooltip'
        url:
          type: string
        weight:
          type: integer
      required:
        - conditions
        - icon
        - key
        - location
        - name
        - params
        - tooltip
        - url
        - weight
      type: object
    ModelsWebhooks:
      properties:
        event:
          type: string
        params:
          $ref: '#/components/schemas/ModelsParams'
        url:
          type: string
      required:
        - event
        - params
        - url
      type: object
    AgentsAgentLogs:
      items: {}
      nullable: true
      type: array
    AgentsGroupedAgentLog:
      properties:
        logs:
          $ref: '#/components/schemas/AgentsAgentLogs'
        summary:
          type: string
      required:
        - logs
        - summary
      type: object
    AgentsGroupedAgentLogs:
      items:
        $ref: '#/components/schemas/AgentsGroupedAgentLog'
      nullable: true
      type: array
    EndpointsAccountValidationResult:
      properties:
        assumedRole:
          type: string
        errorMessage:
          type: string
        isValid:
          type: boolean
        status:
          type: string
      required:
        - assumedRole
        - errorMessage
        - isValid
        - status
      type: object
    EndpointsCreateExternalPentestScanInput:
      properties:
        appId:
          type: string
        endTime:
          format: date-time
          nullable: true
          type: string
        progress:
          nullable: true
          type: integer
        startTime:
          format: date-time
          nullable: true
          type: string
        status:
          $ref: '#/components/schemas/ModelsScanStatus'
          nullable: true
      required:
        - appId
        - endTime
        - progress
        - startTime
        - status
      type: object
    EndpointsCreateExternalPentestScanOutput:
      properties:
        scanId:
          type: string
      required:
        - scanId
      type: object
    EndpointsDeleteBugHuntScheduleDefaultOutput:
      properties:
        success:
          type: boolean
      required:
        - success
      type: object
    EndpointsDeleteCloudIntegrationScheduleOutput:
      properties:
        message:
          type: string
        success:
          type: boolean
      required:
        - message
        - success
      type: object
    EndpointsDeleteCredentialOutput:
      properties:
        success:
          type: boolean
      required:
        - success
      type: object
    EndpointsDeletePentestAppConfigOutput:
      properties:
        success:
          type: boolean
      required:
        - success
      type: object
    EndpointsGetAWSIntegrationScanStatusOutput:
      properties:
        endTime:
          type: string
        errorMessage:
          type: string
        results:
          $ref: '#/components/schemas/EndpointsScanResults'
        scanId:
          type: string
        scanList:
          items:
            $ref: '#/components/schemas/EndpointsScanStatusSummary'
          type: array
        startTime:
          type: string
        status:
          type: string
      required:
        - endTime
        - errorMessage
        - results
        - scanId
        - scanList
        - startTime
        - status
      type: object
    EndpointsGetAWSSettingsOutput:
      properties:
        awsAccounts:
          items:
            $ref: '#/components/schemas/ModelsAWSAccountWithStatus'
          nullable: true
          type: array
        createdAt:
          type: string
        externalId:
          type: string
        iamRoleName:
          type: string
        lastValidatedAt:
          type: string
        lastValidationStatus:
          type: string
        nullifyKMSKeyArn:
          type: string
        nullifyRoleArn:
          type: string
        nullifyS3Bucket:
          type: string
        overallStatus:
          type: string
        preferredDeployment:
          $ref: '#/components/schemas/ModelsDeploymentType'
        updatedAt:
          type: string
      required:
        - awsAccounts
        - createdAt
        - externalId
        - iamRoleName
        - lastValidatedAt
        - lastValidationStatus
        - nullifyKMSKeyArn
        - nullifyRoleArn
        - nullifyS3Bucket
        - overallStatus
        - preferredDeployment
        - updatedAt
      type: object
    EndpointsGetAssetInventoryCloudAccountsOutput:
      properties:
        accounts:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryCloudAccount'
          nullable: true
          type: array
        nextToken:
          type: string
      required:
        - accounts
        - nextToken
      type: object
    EndpointsGetAssetInventoryEndpointsByHostOutput:
      properties:
        endpoints:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryEndpoint'
          nullable: true
          type: array
      required:
        - endpoints
      type: object
    EndpointsGetAssetInventoryEndpointsOutput:
      properties:
        endpoints:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryEndpoint'
          nullable: true
          type: array
        nextToken:
          type: string
        version:
          type: string
      required:
        - endpoints
        - nextToken
        - version
      type: object
    EndpointsGetAssetInventoryHostsOutput:
      properties:
        hosts:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryHost'
          nullable: true
          type: array
        nextToken:
          type: string
        version:
          type: string
      required:
        - hosts
        - nextToken
        - version
      type: object
    EndpointsGetAssetInventoryHostsWithEndpointsOutput:
      properties:
        hostsWithEndpoints:
          items:
            $ref: '#/components/schemas/EndpointsHostWithEndpoints'
          nullable: true
          type: array
        nextToken:
          type: string
        totalEndpoints:
          type: integer
        totalHosts:
          type: integer
      required:
        - hostsWithEndpoints
        - nextToken
        - totalEndpoints
        - totalHosts
      type: object
    EndpointsGetAssetInventoryTriageOutput:
      properties:
        endpoints:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryEndpoint'
          nullable: true
          type: array
        hosts:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryHost'
          nullable: true
          type: array
        version:
          type: string
      required:
        - endpoints
        - hosts
        - version
      type: object
    EndpointsGetAuthMatrixHypothesesOutput:
      properties:
        hypotheses:
          items:
            $ref: '#/components/schemas/ModelsPentestAuthMatrixHypothesis'
          nullable: true
          type: array
        version:
          type: string
      required:
        - hypotheses
        - version
      type: object
    EndpointsGetBugHuntConfigOutput:
      properties:
        config:
          $ref: '#/components/schemas/ModelsBugHuntConfig'
      required:
        - config
      type: object
    EndpointsGetBugHuntFindingEventsOutput:
      properties:
        events:
          items: {}
          nullable: true
          type: array
      required:
        - events
      type: object
    EndpointsGetBugHuntFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsBugHuntFinding'
      required:
        - finding
      type: object
    EndpointsGetBugHuntFindingTriageOutput:
      properties:
        triage:
          $ref: '#/components/schemas/TriageTriage'
      required:
        - triage
      type: object
    EndpointsGetBugHuntFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsBugHuntFinding'
          nullable: true
          type: array
      required:
        - findings
      type: object
    EndpointsGetBugHuntScanFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsBugHuntFinding'
          nullable: true
          type: array
      required:
        - findings
      type: object
    EndpointsGetBugHuntScanOutput:
      properties:
        scan:
          $ref: '#/components/schemas/ModelsBugHuntScan'
      required:
        - scan
      type: object
    EndpointsGetBugHuntScansOutput:
      properties:
        scans:
          items:
            $ref: '#/components/schemas/ModelsBugHuntScan'
          nullable: true
          type: array
      required:
        - scans
      type: object
    EndpointsGetBugHuntScheduleDefaultOutput:
      properties:
        schedule:
          $ref: '#/components/schemas/ModelsBugHuntSchedule'
      required:
        - schedule
      type: object
    EndpointsGetCredentialOutput:
      properties:
        credential:
          $ref: '#/components/schemas/ModelsCredential'
      required:
        - credential
      type: object
    EndpointsGetCredentialsOutput:
      properties:
        credentials:
          items:
            $ref: '#/components/schemas/ModelsCredential'
          nullable: true
          type: array
      required:
        - credentials
      type: object
    EndpointsGetDASTLastScanStatusesOutput:
      properties:
        awsIntegration:
          $ref: '#/components/schemas/EndpointsLastScanStatus'
        bughunt:
          $ref: '#/components/schemas/EndpointsLastScanStatus'
      required:
        - awsIntegration
        - bughunt
      type: object
    EndpointsGetPentestAppConfigOutput:
      properties:
        application:
          $ref: '#/components/schemas/ModelsApplicationPentestConfig'
      required:
        - application
      type: object
    EndpointsGetPentestAppConfigsOutput:
      properties:
        applications:
          items:
            $ref: '#/components/schemas/ModelsApplicationPentestConfig'
          nullable: true
          type: array
        nextToken:
          type: string
      required:
        - applications
        - nextToken
      type: object
    EndpointsGetPentestFindingEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsDASTEventInterface'
          nullable: true
          type: array
        version:
          type: string
      required:
        - events
        - version
      type: object
    EndpointsGetPentestFindingFullOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsPentestFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsGetPentestFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsPentestFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsGetPentestFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsPentestFinding'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetPentestScanFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsPentestFinding'
          nullable: true
          type: array
        version:
          type: string
      required:
        - findings
        - version
      type: object
    EndpointsGetPentestScanOutput:
      properties:
        scan:
          $ref: '#/components/schemas/ModelsPentestScan'
        version:
          type: string
      required:
        - scan
        - version
      type: object
    EndpointsGetPentestScanReportDownloadURLOutput:
      properties:
        downloadUrl:
          type: string
        version:
          type: string
      required:
        - downloadUrl
        - version
      type: object
    EndpointsGetPentestScanReportOutput:
      properties:
        report:
          $ref: '#/components/schemas/ModelsPentestReport'
        version:
          type: string
      required:
        - report
        - version
      type: object
    EndpointsGetPentestScanReportPDFOutput:
      properties:
        downloadUrl:
          type: string
        version:
          type: string
      required:
        - downloadUrl
        - version
      type: object
    EndpointsGetPentestScansOutput:
      properties:
        nextToken:
          type: string
        scans:
          items:
            $ref: '#/components/schemas/ModelsPentestScan'
          nullable: true
          type: array
        version:
          type: string
      required:
        - nextToken
        - scans
        - version
      type: object
    EndpointsGetSubAgentNetworkLogOutput:
      properties:
        networkLog:
          $ref: '#/components/schemas/ModelsNetworkLog'
        version:
          type: string
      required:
        - networkLog
        - version
      type: object
    EndpointsHostWithEndpoints:
      properties:
        endpoints:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryEndpoint'
          nullable: true
          type: array
        host:
          $ref: '#/components/schemas/ModelsAssetInventoryHost'
      required:
        - endpoints
        - host
      type: object
    EndpointsLastScanResults:
      properties:
        totalEndpoints:
          type: integer
        totalFindings:
          type: integer
        totalHosts:
          type: integer
      required:
        - totalEndpoints
        - totalFindings
        - totalHosts
      type: object
    EndpointsLastScanStatus:
      properties:
        endTime:
          type: string
        scanId:
          type: string
        scanResults:
          $ref: '#/components/schemas/EndpointsLastScanResults'
        startTime:
          type: string
        status:
          type: string
      required:
        - endTime
        - scanId
        - scanResults
        - startTime
        - status
      type: object
    EndpointsPatchBugHuntFindingAllowlistInput:
      properties:
        allow:
          type: boolean
        reason:
          type: string
      required:
        - allow
        - reason
      type: object
    EndpointsPatchBugHuntFindingAllowlistOutput:
      properties:
        success:
          type: boolean
      required:
        - success
      type: object
    EndpointsPatchBugHuntScheduleDefaultInput:
      properties:
        enabled:
          type: boolean
        frequency:
          type: string
        immediateExecution:
          type: boolean
        startTime:
          type: string
        timezone:
          type: string
      required:
        - enabled
        - frequency
        - immediateExecution
        - startTime
        - timezone
      type: object
    EndpointsPatchBugHuntScheduleDefaultOutput:
      properties:
        schedule:
          $ref: '#/components/schemas/ModelsBugHuntSchedule'
      required:
        - schedule
      type: object
    EndpointsPostAllowlistPentestFindingInput:
      properties:
        allowlistReason:
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
      required:
        - allowlistReason
        - allowlistType
      type: object
    EndpointsPostAssetInventoryEndpointsInput:
      properties:
        endpoints:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryEndpoint'
          nullable: true
          type: array
      required:
        - endpoints
      type: object
    EndpointsPostAssetInventoryEndpointsOutput:
      properties:
        message:
          type: string
        success:
          type: boolean
      required:
        - message
        - success
      type: object
    EndpointsPostAssetInventoryHostsInput:
      properties:
        hosts:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryHost'
          nullable: true
          type: array
      required:
        - hosts
      type: object
    EndpointsPostAssetInventoryHostsOutput:
      properties:
        message:
          type: string
        success:
          type: boolean
      required:
        - message
        - success
      type: object
    EndpointsPostBugHuntScanInput:
      properties:
        intensity:
          type: string
        options:
          $ref: '#/components/schemas/ModelsBugHuntScanOptions'
        ports:
          items:
            type: integer
          nullable: true
          type: array
        targets:
          items:
            $ref: '#/components/schemas/ModelsBugHuntScopeTarget'
          nullable: true
          type: array
      required:
        - intensity
        - options
        - ports
        - targets
      type: object
    EndpointsPostBugHuntScanOutput:
      properties:
        scanId:
          type: string
      required:
        - scanId
      type: object
    EndpointsPostBugHuntScheduleDefaultInput:
      properties:
        enabled:
          type: boolean
        frequency:
          type: string
        startTime:
          type: string
        timezone:
          type: string
      required:
        - enabled
        - frequency
        - startTime
        - timezone
      type: object
    EndpointsPostBugHuntScheduleDefaultOutput:
      properties:
        schedule:
          $ref: '#/components/schemas/ModelsBugHuntSchedule'
      required:
        - schedule
      type: object
    EndpointsPostCloudIntegrationScheduleInput:
      properties:
        enabled:
          type: boolean
        frequency:
          type: string
        integrationConfig:
          additionalProperties: {}
          type: object
        integrationType:
          type: string
        startTime:
          type: string
        timezone:
          type: string
      required:
        - enabled
        - frequency
        - integrationConfig
        - integrationType
        - startTime
        - timezone
      type: object
    EndpointsPostCreateTicketPentestFindingInput:
      properties:
        assignees:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        campaignId:
          type: string
        campaignTitle:
          type: string
        message:
          type: string
        project:
          type: string
      required:
        - assignees
        - campaignId
        - campaignTitle
        - message
        - project
      type: object
    EndpointsPostCreateTicketPentestFindingOutput:
      properties:
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        version:
          type: string
      required:
        - ticket
        - version
      type: object
    EndpointsPostCredentialInput:
      properties:
        config:
          $ref: '#/components/schemas/ModelsCredentialConfig'
        description:
          type: string
        name:
          type: string
        type:
          $ref: '#/components/schemas/ModelsCredentialType'
      required:
        - config
        - description
        - name
        - type
      type: object
    EndpointsPostCredentialOutput:
      properties:
        credential:
          $ref: '#/components/schemas/ModelsCredential'
      required:
        - credential
      type: object
    EndpointsPostPentestAppConfigInput:
      properties:
        credentialIds:
          items:
            type: string
          nullable: true
          type: array
        description:
          type: string
        id:
          type: string
        targets:
          items:
            $ref: '#/components/schemas/ModelsApplicationPentestTarget'
          nullable: true
          type: array
      required:
        - credentialIds
        - description
        - id
        - targets
      type: object
    EndpointsPostPentestAppConfigOutput:
      properties:
        application:
          $ref: '#/components/schemas/ModelsApplicationPentestConfig'
      required:
        - application
      type: object
    EndpointsPutBugHuntConfigInput:
      properties:
        config:
          $ref: '#/components/schemas/ModelsBugHuntConfig'
      required:
        - config
      type: object
    EndpointsPutBugHuntConfigOutput:
      properties:
        config:
          $ref: '#/components/schemas/ModelsBugHuntConfig'
      required:
        - config
      type: object
    EndpointsPutCredentialInput:
      properties:
        config:
          $ref: '#/components/schemas/ModelsCredentialConfig'
        description:
          type: string
        name:
          type: string
        type:
          $ref: '#/components/schemas/ModelsCredentialType'
      required:
        - config
        - description
        - name
        - type
      type: object
    EndpointsPutCredentialOutput:
      properties:
        credential:
          $ref: '#/components/schemas/ModelsCredential'
      required:
        - credential
      type: object
    EndpointsPutPentestAppConfigInput:
      properties:
        credentialIds:
          items:
            type: string
          type: array
        description:
          type: string
        name:
          type: string
        targets:
          items:
            $ref: '#/components/schemas/ModelsApplicationPentestTarget'
          type: array
      required:
        - credentialIds
        - description
        - name
        - targets
      type: object
    EndpointsPutPentestAppConfigOutput:
      properties:
        application:
          $ref: '#/components/schemas/ModelsApplicationPentestConfig'
      required:
        - application
      type: object
    EndpointsScanResults:
      properties:
        totalEndpoints:
          type: integer
        totalHosts:
          type: integer
      required:
        - totalEndpoints
        - totalHosts
      type: object
    EndpointsScanStatusSummary:
      properties:
        endTime:
          type: string
        errorMessage:
          type: string
        scanId:
          type: string
        scanResults:
          $ref: '#/components/schemas/EndpointsScanResults'
        startTime:
          type: string
        status:
          type: string
      required:
        - endTime
        - errorMessage
        - scanId
        - scanResults
        - startTime
        - status
      type: object
    EndpointsStartAWSIntegrationScanInput:
      properties:
        roleNameToAssume:
          type: string
        targetAccountIds:
          items:
            type: string
          type: array
      required:
        - roleNameToAssume
        - targetAccountIds
      type: object
    EndpointsStartAWSIntegrationScanOutput:
      properties:
        message:
          type: string
        scanId:
          type: string
        statusCode:
          type: integer
        success:
          type: boolean
      required:
        - message
        - scanId
        - statusCode
        - success
      type: object
    EndpointsStartPentestScanFromApplicationInput:
      properties:
        applicationId:
          type: string
        configOverrides:
          $ref: '#/components/schemas/ModelsApplicationPentestConfigOverrides'
      required:
        - applicationId
        - configOverrides
      type: object
    EndpointsStartPentestScanFromApplicationOutput:
      properties:
        scan:
          $ref: '#/components/schemas/ModelsPentestScan'
        version:
          type: string
      required:
        - scan
        - version
      type: object
    EndpointsStopBugHuntScanOutput:
      properties:
        success:
          type: boolean
      required:
        - success
      type: object
    EndpointsStopPentestScanOutput:
      properties:
        scan:
          $ref: '#/components/schemas/ModelsPentestScan'
        version:
          type: string
      required:
        - scan
        - version
      type: object
    EndpointsUpdateExternalPentestScanInput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsPentestFinding'
          nullable: true
          type: array
        progress:
          nullable: true
          type: integer
        status:
          $ref: '#/components/schemas/ModelsScanStatus'
          nullable: true
      required:
        - findings
        - progress
        - status
      type: object
    EndpointsUpdateExternalPentestScanOutput:
      properties:
        scan:
          $ref: '#/components/schemas/ModelsPentestScan'
      required:
        - scan
      type: object
    EndpointsUpsertAWSSettingsInput:
      properties:
        awsAccounts:
          items:
            $ref: '#/components/schemas/ModelsAWSAccount'
          nullable: true
          type: array
        externalId:
          type: string
        iamRoleName:
          type: string
        preferredDeployment:
          type: string
      required:
        - awsAccounts
        - externalId
        - iamRoleName
        - preferredDeployment
      type: object
    EndpointsUpsertAWSSettingsOutput:
      properties:
        awsAccounts:
          items:
            $ref: '#/components/schemas/ModelsAWSAccountWithStatus'
          nullable: true
          type: array
        externalId:
          type: string
        lastValidatedAt:
          type: string
        lastValidationStatus:
          type: string
        message:
          type: string
        nullifyKMSKeyArn:
          type: string
        nullifyRoleArn:
          type: string
        nullifyS3Bucket:
          type: string
        overallStatus:
          type: string
      required:
        - awsAccounts
        - externalId
        - lastValidatedAt
        - lastValidationStatus
        - message
        - nullifyKMSKeyArn
        - nullifyRoleArn
        - nullifyS3Bucket
        - overallStatus
      type: object
    EndpointsValidateAWSRoleInput:
      properties:
        accountIds:
          items:
            type: string
          nullable: true
          type: array
        onboarding:
          type: boolean
        roleNameToAssume:
          type: string
      required:
        - accountIds
        - onboarding
        - roleNameToAssume
      type: object
    EndpointsValidateAWSRoleOutput:
      properties:
        lastValidatedAt:
          type: string
        lastValidationStatus:
          type: string
        overallStatus:
          type: string
        results:
          additionalProperties:
            $ref: '#/components/schemas/EndpointsAccountValidationResult'
          nullable: true
          type: object
      required:
        - lastValidatedAt
        - lastValidationStatus
        - overallStatus
        - results
      type: object
    EndpointsValidateCredentialOutput:
      properties:
        message:
          type: string
        valid:
          type: boolean
        validatedAt:
          type: string
        validationEvidence:
          $ref: '#/components/schemas/ModelsValidationEvidence'
      required:
        - message
        - valid
        - validatedAt
        - validationEvidence
      type: object
    EventsEventType:
      enum:
        - account-scan-completed
        - Cloud Integration Scan Completed
        - cspm-new-finding
        - cspm-new-findings
        - cspm-finding-triaged
        - cspm-findings-triaged
        - cspm-new-allowlisted-finding
        - cspm-ticket-created
        - cspm-ticket-updated
        - cspm-ticket-assigned
        - cspm-ticket-closed
        - cspm-ticket-reopened
        - dast-bughunt-new-finding
        - dast-bughunt-finding-fixed
        - dast-bughunt-finding-unfixed
        - dast-bughunt-finding-allowlisted
        - dast-bughunt-finding-unallowlisted
        - dast-pentest-new-finding
        - dast-pentest-finding-fixed
        - dast-pentest-finding-unfixed
        - dast-pentest-finding-allowlisted
        - dast-pentest-finding-unallowlisted
        - bot-interaction
        - bot-interaction-issue-dashboard-reply
        - bot-interaction-pull-request-comment-reply
        - bot-interaction-pull-request-discussion-reply
        - bot-interaction-pull-request-review-diff-thread-reply
        - bot-interaction-pull-request-review-discussion-reply
        - bot-interaction-pull-request-review
        - auto-fix-pull-request-created
        - auto-fix-pull-request-accepted
        - auto-fix-pull-request-closed
        - auto-fix-suggestion-created
        - auto-fix-suggestion-accepted
        - scpm-new-branch-summary
        - scpm-new-finding
        - scpm-new-allowlisted-finding
        - scpm-new-unallowlisted-finding
        - scpm-new-vulnerability-merged
        - scpm-new-fix
        - scpm-new-pull-request-finding
        - scpm-new-pull-request-fix
        - scpm-ticket-created
        - scpm-ticket-updated
        - scpm-ticket-assigned
        - scpm-ticket-closed
        - scpm-ticket-reopened
        - pipeline-triggered
        - pipeline-finished
        - pipeline-failed
        - sast-new-branch-summary
        - sast-new-finding
        - sast-new-findings
        - sast-new-fix
        - sast-new-fixes
        - sast-new-allowlisted-finding
        - sast-new-allowlisted-findings
        - sast-new-unallowlisted-finding
        - sast-new-unallowlisted-findings
        - sast-new-pull-request-finding
        - sast-new-pull-request-findings
        - sast-new-pull-request-fix
        - sast-new-pull-request-fixes
        - sast-new-pull-request-allowlisted-finding
        - sast-new-pull-request-unallowlisted-finding
        - sast-new-vulnerability-merged
        - sast-reintroduced-finding
        - sast-reintroduced-pull-request-finding
        - sast-finding-retriaged
        - sast-archived-finding
        - sast-ticket-created
        - sast-ticket-updated
        - sast-ticket-assigned
        - sast-ticket-closed
        - sast-ticket-reopened
        - sca-new-branch-summary
        - sca-new-finding
        - sca-new-findings
        - sca-new-fix
        - sca-new-fixes
        - sca-new-allowlisted-finding
        - sca-new-allowlisted-findings
        - sca-new-unallowlisted-finding
        - sca-new-pull-request-finding
        - sca-new-pull-request-findings
        - sca-new-pull-request-fix
        - sca-new-pull-request-fixes
        - sca-dependency-reintroduced-finding
        - sca-container-reintroduced-finding
        - sca-dependency-archived-finding
        - sca-container-archived-finding
        - sca-finding-retriaged
        - sca-ticket-created
        - sca-ticket-updated
        - sca-ticket-assigned
        - sca-ticket-closed
        - sca-ticket-reopened
        - secrets-new-finding
        - secrets-new-findings
        - secrets-new-allowlisted-finding
        - secrets-new-allowlisted-findings
        - secrets-new-unallowlisted-finding
        - secrets-archived-finding
        - secrets-finding-retriaged
        - secrets-ticket-created
        - secrets-ticket-updated
        - secrets-ticket-assigned
        - secrets-ticket-closed
        - secrets-ticket-reopened
      type: string
    GraphAuthenticationNode:
      additionalProperties: false
      properties:
        context:
          type: string
        id:
          type: string
        method:
          enum:
            - PASSWORD
            - OAUTH2
            - OPENID
            - SAML
            - API_KEY
            - MFA
          type: string
        objectType:
          enum:
            - authentication
        status:
          type: string
      required:
        - id
        - objectType
        - method
      type: object
    GraphAuthorizationNode:
      additionalProperties: false
      properties:
        enforcementType:
          enum:
            - RESOURCE_POLICY
            - IDENTITY_POLICY
            - SESSION_POLICY
          type: string
        id:
          type: string
        objectType:
          enum:
            - authorization
        policies:
          items:
            type: string
          type: array
        scopes:
          items:
            type: string
          type: array
        security:
          items:
            additionalProperties:
              additionalProperties: false
              properties:
                scopes:
                  items:
                    type: string
                  type: array
                type:
                  $ref: '#/components/schemas/GraphSecuritySchemeType'
              required:
                - type
                - scopes
              type: object
            type: object
          type: array
      required:
        - id
        - objectType
        - security
        - enforcementType
      type: object
    GraphAutoScalingGroupNode:
      additionalProperties: false
      properties:
        accountId:
          type: string
        desiredCapacity:
          type: integer
        id:
          type: string
        maxCapacity:
          type: integer
        minCapacity:
          type: integer
        name:
          type: string
        objectType:
          enum:
            - autoScalingGroup
        region:
          type: string
        scalingPolicy:
          type: string
        status:
          enum:
            - ACTIVE
            - DISABLED
          type: string
        type:
          enum:
            - EC2
            - FARGATE
            - K8S_HPA
            - K8S_VPA
          type: string
      required:
        - id
        - objectType
        - name
        - type
      type: object
    GraphAwsLoadBalancer:
      additionalProperties: false
      properties:
        availabilityZones:
          items:
            properties:
              loadBalancerAddresses:
                items:
                  properties:
                    allocationId:
                      description: 'nlb only: the allocation id for the elastic ip address'
                      type: string
                    ipAddress:
                      type: string
                    ipv6Address:
                      description: 'nlb only: the ipv6 address'
                      type: string
                    privateIPv4Address:
                      description: 'nlb only: the private ipv4 address'
                      type: string
                  type: object
                type: array
              sourceNatIpv6Prefixes:
                items:
                  type: string
                type: array
              subnetId:
                type: string
              zoneName:
                type: string
            type: object
          type: array
        canonicalHostedZoneId:
          type: string
        dnsName:
          type: string
        ipAddressType:
          enum:
            - ipv4
            - ipv6
          type: string
        ipamPools:
          items:
            type: string
          type: array
        listeners:
          items:
            additionalProperties: false
            properties:
              arn:
                type: string
              port:
                type: integer
              protocol:
                $ref: '#/components/schemas/GraphAwsLoadBalancerProtocol'
              rules:
                items:
                  properties:
                    actions:
                      items:
                        properties:
                          authenticateCognitoConfig:
                            properties:
                              authenticationRequestExtraParams:
                                additionalProperties:
                                  type: string
                                type: object
                              onUnauthenticatedRequest:
                                type: string
                              scope:
                                type: string
                              sessionCookieName:
                                type: string
                              sessionTimeout:
                                type: integer
                              userPoolArn:
                                type: string
                              userPoolClientId:
                                type: string
                              userPoolDomain:
                                type: string
                            type: object
                          authenticateOidcConfig:
                            properties:
                              authenticationRequestExtraParams:
                                additionalProperties:
                                  type: string
                                type: object
                              authorizationEndpoint:
                                type: string
                              clientId:
                                type: string
                              clientSecret:
                                type: string
                              issuer:
                                type: string
                              onUnauthenticatedRequest:
                                enum:
                                  - deny
                                  - allow
                                  - authenticate
                                type: string
                              scope:
                                type: string
                              sessionCookieName:
                                type: string
                              sessionTimeout:
                                type: integer
                              tokenEndpoint:
                                type: string
                              useExistingClientSecret:
                                type: boolean
                              userInfoEndpoint:
                                type: string
                            type: object
                          fixedResponseConfig:
                            properties:
                              contentType:
                                enum:
                                  - text/plain
                                  - text/css
                                  - text/html
                                  - application/javascript
                                  - application/json
                                type: string
                              messageBody:
                                type: string
                              statusCode:
                                type: string
                            type: object
                          forwardConfig:
                            properties:
                              targetGroupStickinessConfig:
                                properties:
                                  durationSeconds:
                                    type: integer
                                  enabled:
                                    type: boolean
                                type: object
                              targetGroups:
                                items:
                                  properties:
                                    targetGroupArn:
                                      type: string
                                    weight:
                                      type: integer
                                  type: object
                                type: array
                            type: object
                          order:
                            type: integer
                          redirectConfig:
                            properties:
                              host:
                                type: string
                              path:
                                type: string
                              port:
                                type: string
                              protocol:
                                enum:
                                  - HTTP
                                  - HTTPS
                                type: string
                              query:
                                type: string
                              statusCode:
                                type: string
                            type: object
                          targetGroupArn:
                            type: string
                          type:
                            enum:
                              - forward
                              - redirect
                              - fixed-response
                            type: string
                        type: object
                      type: array
                    arn:
                      type: string
                    conditions:
                      items:
                        properties:
                          field:
                            enum:
                              - http-header
                              - http-request-method
                              - host-header
                              - path-pattern
                              - query-string
                              - source-ip
                            type: string
                          hostHeaderConfig:
                            properties:
                              values:
                                items:
                                  type: string
                                type: array
                            type: object
                          httpHeaderConfig:
                            properties:
                              values:
                                items:
                                  properties:
                                    httpHeaderName:
                                      type: string
                                    values:
                                      items:
                                        type: string
                                      type: array
                                  type: object
                                type: array
                            type: object
                          httpRequestMethodConfig:
                            properties:
                              values:
                                items:
                                  type: string
                                type: array
                            type: object
                          pathPatternConfig:
                            properties:
                              values:
                                items:
                                  type: string
                                type: array
                            type: object
                          queryStringConfig:
                            properties:
                              values:
                                items:
                                  properties:
                                    key:
                                      type: string
                                    value:
                                      type: string
                                  type: object
                                type: array
                            type: object
                          sourceIpConfig:
                            properties:
                              values:
                                items:
                                  type: string
                                type: array
                            type: object
                          values:
                            items:
                              type: string
                            type: array
                        type: object
                      type: array
                    isDefault:
                      type: boolean
                    priority:
                      type: integer
                  type: object
                type: array
            required:
              - arn
              - port
              - protocol
              - rules
            type: object
          type: array
        name:
          type: string
        scheme:
          enum:
            - internet-facing
            - internal
          type: string
        securityGroups:
          items:
            type: string
          type: array
        state:
          enum:
            - provisioning
            - active
            - active_impaired
            - failed
          type: string
        targetGroups:
          items:
            additionalProperties: false
            properties:
              arn:
                type: string
              name:
                type: string
              port:
                type: integer
              protocol:
                $ref: '#/components/schemas/GraphAwsLoadBalancerProtocol'
              targetType:
                enum:
                  - INSTANCE
                  - IP
                  - LAMBDA
                  - ALB
                type: string
              targets:
                items:
                  additionalProperties: false
                  properties:
                    availabilityZone:
                      type: string
                    id:
                      description: instance id, ip address, lambda arn or alb arn
                      type: string
                    port:
                      type: integer
                  required:
                    - id
                    - port
                  type: object
                type: array
              vpcId:
                type: string
            required:
              - arn
              - name
              - protocol
              - port
              - vpcId
              - targetType
              - targets
            type: object
          type: array
        type:
          enum:
            - application
            - network
            - gateway
          type: string
        vpcId:
          type: string
      required:
        - type
        - scheme
        - ipAddressType
        - vpcId
        - availabilityZones
        - securityGroups
        - listeners
        - targetGroups
      type: object
    GraphAwsLoadBalancerProtocol:
      enum:
        - HTTP
        - HTTPS
        - TCP
        - TLS
        - UDP
        - TCP_UDP
        - GENEVE
      type: string
    GraphBugHuntFindingNode:
      additionalProperties: false
      properties:
        findingId:
          type: string
        id:
          type: string
        objectType:
          enum:
            - bughuntFinding
      required:
        - id
        - objectType
        - findingId
      type: object
    GraphBuildArtifactNode:
      additionalProperties: false
      properties:
        buildArtifactRepositoryIds:
          items:
            type: string
          type: array
        id:
          type: string
        metadata:
          items:
            properties:
              key:
                type: string
              value:
                type: string
            type: object
          type: array
        name:
          type: string
        objectType:
          enum:
            - buildArtifact
        parentBuildArtifact:
          properties:
            id:
              type: string
            path:
              type: string
          type: object
        region:
          type: string
        serviceConfiguration:
          additionalProperties: false
          description: Service configuration extracted from entrypoint analysis
          properties:
            dependencies:
              additionalProperties: false
              properties:
                cache_systems:
                  items:
                    type: string
                  type: array
                databases:
                  items:
                    type: string
                  type: array
                external_apis:
                  items:
                    type: string
                  type: array
                message_queues:
                  items:
                    type: string
                  type: array
                monitoring_systems:
                  items:
                    type: string
                  type: array
                storage_systems:
                  items:
                    type: string
                  type: array
              type: object
            entrypoint_path:
              type: string
            environment_variables:
              items:
                type: string
              type: array
            error:
              description: Error message if configuration extraction failed
              type: string
            orchestration:
              items:
                type: string
              type: array
            ports:
              items:
                type: integer
              type: array
            protocols:
              items:
                type: string
              type: array
            service_patterns:
              items:
                type: string
              type: array
            volumes:
              items:
                type: string
              type: array
          type: object
        type:
          $ref: '#/components/schemas/GraphBuildArtifactType'
      required:
        - id
        - objectType
        - type
      type: object
    GraphBuildArtifactRepositoryNode:
      additionalProperties: false
      properties:
        accountId:
          type: string
        baseUrl:
          type: string
        id:
          type: string
        isAuthenticated:
          type: boolean
        objectType:
          enum:
            - buildArtifactRepository
        path:
          type: string
        region:
          type: string
        subType:
          enum:
            - DOCKER
            - GHCR
            - AWS_ECR
            - GCP_ARTIFACT_REGISTRY
            - GCP_ARTIFACT_REGISTRY_V2
            - NPM
            - PYPI
            - MAVEN
            - NUGET
            - RUBYGEMS
            - OTHER
          type: string
        type:
          $ref: '#/components/schemas/GraphBuildArtifactRepositoryType'
      required:
        - id
        - objectType
        - type
        - baseUrl
      type: object
    GraphBuildArtifactRepositoryType:
      enum:
        - IMAGE_REGISTRY
        - PACKAGE_REGISTRY
        - S3_BUCKET
        - ARTIFACTORY
        - GITHUB_RELEASES
        - OTHER
      type: string
    GraphBuildArtifactType:
      enum:
        - CONTAINER_IMAGE
        - VIRTUAL_MACHINE_IMAGE
        - ARCHIVE
        - NPM_PACKAGE
        - PYPI_PACKAGE
        - MAVEN_PACKAGE
        - NUGET_PACKAGE
        - GEM_PACKAGE
        - CRATE_PACKAGE
        - HELM_CHART
        - OCI_IMAGE
        - EXECUTABLE_BINARY
        - CODE_DIRECTORY
        - BYTECODE_OBJECT_FILE
        - OS_PACKAGE
        - JAR
        - WEB_COMPONENTS
        - STATIC_WEBSITE
        - SPA_BUNDLE
        - WASM_MODULES
        - OTHER
      type: string
    GraphCICDPipelineNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - cicdPipeline
      required:
        - id
        - objectType
        - name
      type: object
    GraphCVENode:
      additionalProperties: false
      properties:
        affectedProducts:
          description: List of affected products or components
          items:
            type: string
          type: array
        cveId:
          description: The CVE identifier (e.g., CVE-2021-44228)
          type: string
        cvssScore:
          description: CVSS score (0.0 to 10.0)
          type: number
        cvssVector:
          description: CVSS vector string
          type: string
        description:
          description: Description of the vulnerability
          type: string
        id:
          type: string
        lastModifiedDate:
          description: Date when the CVE was last modified
          type: string
        objectType:
          enum:
            - cve
        publishedDate:
          description: Date when the CVE was published
          type: string
        references:
          description: References and links related to the CVE
          items:
            additionalProperties: false
            properties:
              description:
                type: string
              url:
                type: string
            required:
              - url
            type: object
          type: array
        severity:
          description: Severity level of the CVE
          enum:
            - LOW
            - MEDIUM
            - HIGH
            - CRITICAL
          type: string
      required:
        - id
        - objectType
        - cveId
      type: object
    GraphCloudAccountNode:
      additionalProperties: false
      properties:
        accountId:
          type: string
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - cloudAccount
      required:
        - id
        - objectType
        - accountId
        - name
      type: object
    GraphCodeArtifactNode:
      additionalProperties: false
      properties:
        id:
          type: string
        objectType:
          enum:
            - codeArtifact
        path:
          description: path to the artifact from the root of the repository
          type: string
        projectId:
          type: string
        repositoryId:
          type: string
        types:
          items:
            $ref: '#/components/schemas/GraphCodeArtifactType'
          type: array
      required:
        - id
        - objectType
        - repositoryId
        - projectId
        - types
        - path
      type: object
    GraphCodeArtifactType:
      enum:
        - CLI
        - PRIVATE_LIBRARY
        - PUBLIC_LIBRARY
        - REST_API
        - GRAPHQL_API
        - BROWSER_CLIENT
        - SPA_BROWSER_APP
        - WEB_SERVER
        - TEST_SUITE
        - DESKTOP
        - MOBILE_APP
        - BROWSER_EXTENSION
        - PIPELINE_NODE
        - CLOUD_FUNCTION
        - IOT_FIRMWARE
        - PLUGIN
        - OTHER
      type: string
    GraphCodeLocationNode:
      additionalProperties: false
      properties:
        endLine:
          type: integer
        filePath:
          type: string
        id:
          type: string
        lineNumber:
          type: integer
        objectType:
          enum:
            - codeLocation
      required:
        - id
        - objectType
        - filePath
        - lineNumber
      type: object
    GraphContainerNode:
      additionalProperties: false
      properties:
        args:
          items:
            type: string
          type: array
        containerId:
          type: string
        containerPorts:
          items:
            type: integer
          type: array
        envVars:
          type: object
        hasPrivilege:
          type: boolean
        id:
          type: string
        image:
          type: string
        ip:
          type: string
        objectType:
          enum:
            - container
        podName:
          type: string
        role:
          enum:
            - sidecar
            - init
            - main
            - cleanup
          type: string
      required:
        - id
        - objectType
        - containerId
        - image
      type: object
    GraphContainerfileNode:
      additionalProperties: false
      properties:
        filename:
          type: string
        id:
          type: string
        objectType:
          enum:
            - containerfile
      required:
        - id
        - objectType
        - filename
      type: object
    GraphCrossAccountReferenceNode:
      additionalProperties: false
      description: >-
        Represents a cross-account reference, typically an IP-based target that points to a resource in another AWS
        account
      properties:
        explanation:
          description: Human-readable explanation of this cross-account reference
          type: string
        id:
          type: string
        ipAddress:
          description: The IP address being referenced (for IP-based targets)
          type: string
        objectType:
          enum:
            - crossAccountReference
        port:
          description: The port being targeted
          type: integer
        sourceAccountId:
          description: The AWS account ID where the source resource resides
          type: string
        sourceNodeId:
          description: The node ID of the source resource (e.g., target group)
          type: string
        status:
          description: Resolution status of the cross-account reference
          enum:
            - pending
            - resolved
            - orphaned
          type: string
        subType:
          enum:
            - AWS_CROSS_ACCOUNT_IP_TARGET
            - AWS_CROSS_ACCOUNT_ARN_REFERENCE
          type: string
        targetAccountId:
          description: The AWS account ID where the target resource resides
          type: string
        targetNodeId:
          description: The node ID of the resolved target resource (if resolved)
          type: string
        targetServiceName:
          description: The service name of the target (for ECS tasks)
          type: string
        targetType:
          description: The type of the resolved target resource (e.g., 'ecs-task', 'ec2-instance')
          type: string
        type:
          enum:
            - CROSS_ACCOUNT_REFERENCE
          type: string
      required:
        - id
        - objectType
        - sourceAccountId
        - targetAccountId
      type: object
    GraphDaemonSetNode:
      additionalProperties: false
      properties:
        config:
          type: object
        id:
          type: string
        labels:
          additionalProperties:
            type: string
          description: Kubernetes resource labels
          type: object
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - daemonSet
        selector:
          additionalProperties:
            type: string
          type: object
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphDatabaseTableNode:
      additionalProperties: false
      properties:
        databaseName:
          type: string
        id:
          type: string
        isSensitive:
          type: boolean
        objectType:
          enum:
            - databaseTable
        tableName:
          type: string
      required:
        - id
        - objectType
        - databaseName
        - tableName
      type: object
    GraphEdge:
      additionalProperties: false
      properties:
        explanation:
          description: short explanation/reason/evidence for the relationship between the source and target Node
          type: string
        sourceId:
          description: id of the source Node
          type: string
        targetId:
          description: id of the target Node
          type: string
        type:
          $ref: '#/components/schemas/GraphEdgeType'
      required:
        - sourceId
        - targetId
        - type
      type: object
    GraphEdgeType:
      enum:
        - CONTRIBUTES_TO_PROJECT
        - IN_REPOSITORY
        - IN_PROJECT
        - HAS_ENTRYPOINT
        - HAS_ENDPOINT
        - HAS_HOST
        - HAS_AUTH
        - HAS_FINDING
        - EXPOSED_BY
        - CALLS
        - QUERIES
        - HAS_NOTE
        - ENTRY_POINTS
        - BELONGS_TO
        - ATTACHED_TO
        - ASSUMES_ROLE
        - FILTERED_BY
        - ROUTED_BY
        - HAS_RULE
        - APPLIES_TO
        - SCALES
        - CONTROLS
        - MONITORS
        - CAN_REACH
        - RUNS_IMAGE
        - FORWARDS_TO
        - USES_SECURITY_GROUP
        - EXPOSED_AT
        - ALLOWED_BY
        - ROUTES_TO
        - HAS_ROLE
        - RUNS_IN
        - BUILT_FROM
        - EXPOSES
        - TARGET_WORKLOAD
        - USES_POD
        - USES_CONTAINER
        - BASED_ON_CONTAINERFILE
        - CLAIMS
        - CONTAINS
        - ALLOWS_INGRESS_FROM
        - ALLOWS_EGRESS_TO
        - SOURCED_FROM
        - MOUNTED_BY
        - OPEN_ON
        - EXPOSED_ON
        - EXISTS
        - EXISTS_IN
        - EXECUTES
        - UPLOADED_TO
        - DEPLOYED_TO
        - BUILDS
        - DEPLOYED_BY
        - HAS_CONTRIBUTOR
        - HAS_MEMBER
        - AUTHENTICATES
        - PROVIDED_BY
        - USED_BY
        - GRANTS_ACCESS
        - ISSUED_TO
        - ENFORCED_BY
        - ASSUMES
        - PROVIDES
        - ENFORCES
        - CONTRIBUTES_TO
        - MEMBER_OF
        - STORED_IN
        - QUERIED_BY
        - IS_IN
        - ACCESSED_BY
        - DEPLOYED_IN
        - PRODUCED_BY
        - SECURED_BY
        - TRIGGERED_BY
        - TRIGGERS
        - DEPLOYED_ON
        - PROTECTED_BY
        - USES_TASK_DEFINITION
        - ORIGIN
        - IN_SUBNET
        - HAS_SECURITY_GROUP
        - USES
        - IN_VPC
        - HAS
        - OWNS
        - PART_OF
        - ASSOCIATED_WITH
        - CONNECTED_TO
        - TARGETS
        - SERVES
        - HOSTS
        - RESOLVES_TO
        - REFERENCES
      type: string
    GraphEndpointNode:
      additionalProperties: false
      properties:
        id:
          type: string
        method:
          type: string
        objectType:
          enum:
            - endpoint
        path:
          type: string
      required:
        - id
        - objectType
        - method
        - path
      type: object
    GraphExternalServiceNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - externalService
        url:
          type: string
      required:
        - id
        - objectType
        - name
      type: object
    GraphFunctionNode:
      additionalProperties: false
      properties:
        className:
          type: string
        endLine:
          type: integer
        filePath:
          type: string
        functionName:
          type: string
        id:
          type: string
        lineNumber:
          type: integer
        objectType:
          enum:
            - function
      required:
        - id
        - objectType
        - functionName
        - filePath
        - lineNumber
      type: object
    GraphGatewayNode:
      additionalProperties: false
      description: Gateway nodes don't have IP addresses but they route traffic in networks
      properties:
        awsTransitGateway:
          additionalProperties: false
          description: AWS Transit Gateway
          properties:
            accountId:
              type: string
            associationDefaultRouteTableId:
              type: string
            attachments:
              items:
                additionalProperties: false
                properties:
                  associationState:
                    enum:
                      - associating
                      - associated
                      - disassociating
                      - disassociated
                    type: string
                  resourceId:
                    type: string
                  resourceOwnerId:
                    type: string
                  resourceType:
                    enum:
                      - vpc
                      - vpn
                      - direct-connect-gateway
                      - connect
                      - peering
                      - tgw-peering
                    type: string
                  routeTableId:
                    type: string
                  state:
                    enum:
                      - initiating
                      - initiatingRequest
                      - pendingAcceptance
                      - rollingBack
                      - pending
                      - available
                      - modifying
                      - deleting
                      - deleted
                      - failed
                      - rejected
                      - rejecting
                      - failing
                    type: string
                  transitGatewayAttachmentId:
                    type: string
                required:
                  - transitGatewayAttachmentId
                  - routeTableId
                  - associationState
                  - state
                  - resourceType
                  - resourceId
                  - resourceOwnerId
                type: object
              type: array
            propagationDefaultRouteTableId:
              type: string
            region:
              type: string
            routeTables:
              items:
                additionalProperties: false
                properties:
                  associatedAttachments:
                    items:
                      type: string
                    type: array
                  isDefaultAssociation:
                    type: boolean
                  isDefaultPropagation:
                    type: boolean
                  propagatedAttachments:
                    items:
                      type: string
                    type: array
                  routeTableId:
                    type: string
                  routes:
                    items:
                      additionalProperties: false
                      properties:
                        blackhole:
                          type: boolean
                        destinationCidrBlock:
                          type: string
                        prefixListId:
                          type: string
                        state:
                          enum:
                            - active
                            - deleted
                            - pending
                            - blackhole
                            - deleting
                          type: string
                        transitGatewayAttachmentId:
                          type: string
                        type:
                          enum:
                            - static
                            - propagated
                          type: string
                      required:
                        - destinationCidrBlock
                        - type
                        - state
                      type: object
                    type: array
                required:
                  - routeTableId
                  - routes
                type: object
              type: array
          required:
            - accountId
            - region
            - associationDefaultRouteTableId
            - propagationDefaultRouteTableId
            - attachments
            - routeTables
          type: object
        awsVpcPeeringConnection:
          additionalProperties: false
          properties:
            accepterVpc:
              additionalProperties: false
              properties:
                allowDnsResolutionFromRemoteVpc:
                  description: >-
                    Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried
                    from instances in a peer VPC
                  type: boolean
                cidrBlock:
                  type: string
                cidrBlockSet:
                  items:
                    type: string
                  type: array
                ipv6CidrBlockSet:
                  items:
                    type: string
                  type: array
                ownerId:
                  type: string
                region:
                  type: string
                vpcId:
                  type: string
              required:
                - ownerId
                - vpcId
                - region
                - cidrBlock
                - allowDnsResolutionFromRemoteVpc
              type: object
            requesterVpc:
              additionalProperties: false
              properties:
                allowDnsResolutionFromRemoteVpc:
                  description: >-
                    Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried
                    from instances in a peer VPC
                  type: boolean
                cidrBlock:
                  type: string
                cidrBlockSet:
                  items:
                    type: string
                  type: array
                ipv6CidrBlockSet:
                  items:
                    type: string
                  type: array
                ownerId:
                  type: string
                region:
                  type: string
                vpcId:
                  type: string
              required:
                - ownerId
                - vpcId
                - region
                - cidrBlock
                - allowDnsResolutionFromRemoteVpc
              type: object
            status:
              enum:
                - pending-acceptance
                - active
                - inactive
                - deleted
                - rejected
                - failed
                - expired
                - provisioning
                - deleting
              type: string
            vpcPeeringConnectionId:
              type: string
          required:
            - vpcPeeringConnectionId
            - status
            - requesterVpc
            - accepterVpc
          type: object
        id:
          type: string
        objectType:
          enum:
            - gateway
        tags:
          additionalProperties:
            type: string
          description: AWS resource tags as key-value pairs
          type: object
        type:
          enum:
            - INTERNET_GATEWAY
            - TRANSIT_GATEWAY
            - VIRTUAL_PRIVATE_GATEWAY
            - VPC_ENDPOINT
            - VPC_PEERING_CONNECTION
          type: string
      required:
        - id
        - objectType
        - type
      type: object
    GraphGraph:
      properties:
        edges:
          items:
            $ref: '#/components/schemas/GraphEdge'
          nullable: true
          type: array
        nodes:
          items:
            oneOf:
              - $ref: '#/components/schemas/GraphAuthenticationNode'
              - $ref: '#/components/schemas/GraphAuthorizationNode'
              - $ref: '#/components/schemas/GraphAutoScalingGroupNode'
              - $ref: '#/components/schemas/GraphBugHuntFindingNode'
              - $ref: '#/components/schemas/GraphBuildArtifactNode'
              - $ref: '#/components/schemas/GraphBuildArtifactRepositoryNode'
              - $ref: '#/components/schemas/GraphCICDPipelineNode'
              - $ref: '#/components/schemas/GraphCVENode'
              - $ref: '#/components/schemas/GraphCloudAccountNode'
              - $ref: '#/components/schemas/GraphCodeArtifactNode'
              - $ref: '#/components/schemas/GraphCodeLocationNode'
              - $ref: '#/components/schemas/GraphContainerNode'
              - $ref: '#/components/schemas/GraphContainerfileNode'
              - $ref: '#/components/schemas/GraphCrossAccountReferenceNode'
              - $ref: '#/components/schemas/GraphDaemonSetNode'
              - $ref: '#/components/schemas/GraphDatabaseTableNode'
              - $ref: '#/components/schemas/GraphEndpointNode'
              - $ref: '#/components/schemas/GraphExternalServiceNode'
              - $ref: '#/components/schemas/GraphFunctionNode'
              - $ref: '#/components/schemas/GraphGatewayNode'
              - $ref: '#/components/schemas/GraphHostNode'
              - $ref: '#/components/schemas/GraphIAMPolicyNode'
              - $ref: '#/components/schemas/GraphIAMRoleNode'
              - $ref: '#/components/schemas/GraphIAMUserNode'
              - $ref: '#/components/schemas/GraphIdentityNode'
              - $ref: '#/components/schemas/GraphIdentityProviderNode'
              - $ref: '#/components/schemas/GraphInternetNode'
              - $ref: '#/components/schemas/GraphIpAddressNode'
              - $ref: '#/components/schemas/GraphK8sClusterNode'
              - $ref: '#/components/schemas/GraphK8sConfigMapNode'
              - $ref: '#/components/schemas/GraphK8sDeploymentNode'
              - $ref: '#/components/schemas/GraphK8sEndpointNode'
              - $ref: '#/components/schemas/GraphK8sIngressNode'
              - $ref: '#/components/schemas/GraphK8sNamespaceNode'
              - $ref: '#/components/schemas/GraphK8sNetworkPolicyNode'
              - $ref: '#/components/schemas/GraphK8sNodeNode'
              - $ref: '#/components/schemas/GraphK8sPersistentVolumeClaimNode'
              - $ref: '#/components/schemas/GraphK8sPodNode'
              - $ref: '#/components/schemas/GraphK8sReplicaSetNode'
              - $ref: '#/components/schemas/GraphK8sSecretNode'
              - $ref: '#/components/schemas/GraphK8sServiceNode'
              - $ref: '#/components/schemas/GraphK8sVolumeNode'
              - $ref: '#/components/schemas/GraphManagedCloudResourceNode'
              - $ref: '#/components/schemas/GraphNACLNode'
              - $ref: '#/components/schemas/GraphNetworkInterfaceNode'
              - $ref: '#/components/schemas/GraphNoteNode'
              - $ref: '#/components/schemas/GraphPentestFindingNode'
              - $ref: '#/components/schemas/GraphPortNode'
              - $ref: '#/components/schemas/GraphPrefixListNode'
              - $ref: '#/components/schemas/GraphProductNode'
              - $ref: '#/components/schemas/GraphProjectNode'
              - $ref: '#/components/schemas/GraphRepositoryNode'
              - $ref: '#/components/schemas/GraphRouteTableNode'
              - $ref: '#/components/schemas/GraphSastFindingNode'
              - $ref: '#/components/schemas/GraphScaContainerFindingNode'
              - $ref: '#/components/schemas/GraphScaDependencyFindingNode'
              - $ref: '#/components/schemas/GraphScpmFindingNode'
              - $ref: '#/components/schemas/GraphSecretFindingNode'
              - $ref: '#/components/schemas/GraphSecurityGroupNode'
              - $ref: '#/components/schemas/GraphStatefulSetNode'
              - $ref: '#/components/schemas/GraphSubnetNode'
              - $ref: '#/components/schemas/GraphTeamNode'
              - $ref: '#/components/schemas/GraphThreatActorNode'
              - $ref: '#/components/schemas/GraphUnknownCloudResourceNode'
              - $ref: '#/components/schemas/GraphUserNode'
              - $ref: '#/components/schemas/GraphVPCNode'
          nullable: true
          type: array
      required:
        - edges
        - nodes
      type: object
    GraphHostNode:
      additionalProperties: false
      properties:
        applicationType:
          type: string
        awsLoadBalancer:
          $ref: '#/components/schemas/GraphAwsLoadBalancer'
        hostClassificationType:
          type: string
        hostname:
          type: string
        id:
          type: string
        ips:
          items:
            type: string
          type: array
        ipv6Ips:
          items:
            type: string
          type: array
        k8sPod:
          properties:
            podId:
              type: string
          type: object
        objectType:
          enum:
            - host
        status:
          type: string
        subType:
          enum:
            - AWS_APPLICATION_LOAD_BALANCER
            - AWS_EC2
            - AWS_ECS
            - AWS_ECS_FARGATE_TASK
            - AWS_ECS_SERVICE
            - AWS_ECS_TASK
            - AWS_ECS_TASK_DEFINITION
            - AWS_LAMBDA
            - AWS_LOAD_BALANCER
            - AWS_NAT_GATEWAY
            - AWS_NETWORK_LOAD_BALANCER
            - AWS_TARGET_GROUP
            - AWS_VPC_ENDPOINT
            - AWS_VPC_LATTICE
            - AWS_VPN_GATEWAY
            - K8S_POD
          type: string
        tags:
          additionalProperties:
            type: string
          description: AWS resource tags as key-value pairs
          type: object
        type:
          enum:
            - COMPUTE_NODE
            - DATA_TRANSFER_NODE
            - AUTHENTICATION_NODE
            - NETWORKING_NODE
          type: string
        vpcHost:
          additionalProperties: false
          properties:
            securityGroupIds:
              items:
                type: string
              type: array
            subnetId:
              type: string
          required:
            - subnetId
            - securityGroupIds
          type: object
      required:
        - id
        - objectType
        - type
        - subType
      type: object
    GraphIAMPolicyNode:
      additionalProperties: false
      properties:
        accountId:
          type: string
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - iamPolicy
        permissions:
          items:
            type: string
          type: array
      required:
        - id
        - objectType
        - permissions
        - name
      type: object
    GraphIAMRoleNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - iamRole
        tags:
          additionalProperties:
            type: string
          description: AWS resource tags as key-value pairs
          type: object
      required:
        - id
        - objectType
        - name
      type: object
    GraphIAMUserNode:
      additionalProperties: false
      properties:
        accountId:
          type: string
        credentials:
          type: string
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - iamUser
      required:
        - id
        - objectType
        - name
      type: object
    GraphIdentityNode:
      additionalProperties: false
      properties:
        id:
          type: string
        objectType:
          enum:
            - identity
        sessionDuration:
          type: string
        type:
          enum:
            - IAM_USER
            - FEDERATED_USER
            - SERVICE_PRINCIPAL
          type: string
      required:
        - id
        - objectType
        - type
      type: object
    GraphIdentityProviderNode:
      additionalProperties: false
      properties:
        domain:
          type: string
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - identityProvider
        protocol:
          enum:
            - OAUTH2
            - SAML
            - OPENID_CONNECT
          type: string
      required:
        - id
        - objectType
        - name
        - protocol
      type: object
    GraphInternetNode:
      additionalProperties: false
      properties:
        id:
          type: string
        objectType:
          enum:
            - internet
      required:
        - id
        - objectType
      type: object
    GraphIpAddressNode:
      additionalProperties: false
      description: Represents an IP address, typically used for target group IP targets
      properties:
        accountId:
          description: The AWS account ID where this IP is referenced
          type: string
        availabilityZone:
          description: The availability zone of this IP address
          type: string
        id:
          type: string
        ipAddress:
          description: The IP address
          type: string
        isExternal:
          description: Whether this IP is external to the current account
          type: boolean
        objectType:
          enum:
            - ipAddress
        port:
          description: The port associated with this IP address
          type: integer
        resolvedResourceId:
          description: The node ID of the resolved resource (if resolved)
          type: string
        resolvedResourceType:
          description: The type of the resolved resource (e.g., 'ecs-task', 'ec2-instance')
          type: string
        resolvedServiceName:
          description: The service name of the resolved resource (for ECS tasks)
          type: string
        vpcId:
          description: The VPC ID where this IP address belongs
          type: string
      required:
        - id
        - objectType
        - ipAddress
      type: object
    GraphK8sClusterNode:
      additionalProperties: false
      properties:
        cloudAccountId:
          type: string
        clusterId:
          type: string
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - k8sCluster
      required:
        - id
        - objectType
        - name
        - clusterId
      type: object
    GraphK8sConfigMapNode:
      additionalProperties: false
      properties:
        creationTimestamp:
          type: string
        data:
          additionalProperties:
            type: string
          type: object
        id:
          type: string
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sConfigMap
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphK8sDeploymentNode:
      additionalProperties: false
      properties:
        creationTimestamp:
          type: string
        id:
          type: string
        labels:
          additionalProperties:
            type: string
          description: Kubernetes resource labels
          type: object
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sDeployment
        replicas:
          type: integer
        revision:
          type: string
        selector:
          properties:
            matchLabels:
              additionalProperties:
                type: string
              type: object
          type: object
        strategy:
          enum:
            - RollingUpdate
            - Recreate
          type: string
        template:
          properties:
            spec:
              properties:
                containers:
                  items:
                    properties:
                      image:
                        type: string
                      name:
                        type: string
                      ports:
                        items:
                          properties:
                            containerPort:
                              type: integer
                          type: object
                        type: array
                    type: object
                  type: array
              type: object
          type: object
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphK8sEndpointNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sEndpoint
        subsets:
          items:
            properties:
              addresses:
                items:
                  properties:
                    ip:
                      type: string
                    nodeName:
                      type: string
                    targetRef:
                      properties:
                        kind:
                          type: string
                        name:
                          type: string
                        namespace:
                          type: string
                        uid:
                          type: string
                      required:
                        - kind
                        - name
                      type: object
                  required:
                    - ip
                  type: object
                type: array
              ports:
                items:
                  properties:
                    name:
                      type: string
                    port:
                      type: integer
                    protocol:
                      type: string
                  required:
                    - port
                  type: object
                type: array
            type: object
          type: array
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphK8sIngressNode:
      additionalProperties: false
      properties:
        annotations:
          additionalProperties:
            type: string
          type: object
        creationTimestamp:
          type: string
        hostnames:
          items:
            type: string
          type: array
        id:
          type: string
        ingressClass:
          type: string
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sIngress
        rules:
          items:
            properties:
              paths:
                items:
                  properties:
                    backend:
                      properties:
                        service:
                          properties:
                            name:
                              type: string
                            port:
                              properties:
                                number:
                                  type: integer
                              type: object
                          type: object
                      type: object
                    path:
                      type: string
                    pathType:
                      enum:
                        - Exact
                        - Prefix
                        - ImplementationSpecific
                      type: string
                  type: object
                type: array
            type: object
          type: array
        tlsEnabled:
          type: boolean
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphK8sNamespaceNode:
      additionalProperties: false
      properties:
        apiVersion:
          type: string
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - k8sNamespace
      required:
        - id
        - objectType
        - name
        - apiVersion
      type: object
    GraphK8sNetworkPolicyNode:
      additionalProperties: false
      properties:
        egressRules:
          items:
            type: object
          type: array
        id:
          type: string
        ingressRules:
          items:
            type: object
          type: array
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sNetworkPolicy
        podSelector:
          type: object
        policyType:
          enum:
            - INGRESS
            - EGRESS
            - BOTH
          type: string
      required:
        - id
        - objectType
        - name
        - namespace
        - policyType
      type: object
    GraphK8sNodeNode:
      additionalProperties: false
      properties:
        addresses:
          items:
            properties:
              address:
                type: string
              type:
                enum:
                  - InternalIP
                  - ExternalIP
                  - InternalDNS
                  - ExternalDNS
                  - Hostname
                type: string
            required:
              - type
              - address
            type: object
          type: array
        allocatable:
          properties:
            cpu:
              type: string
            ephemeral-storage:
              type: string
            memory:
              type: string
            pods:
              type: string
          type: object
        annotations:
          additionalProperties:
            type: string
          type: object
        capacity:
          properties:
            cpu:
              type: string
            ephemeral-storage:
              type: string
            memory:
              type: string
            pods:
              type: string
          type: object
        conditions:
          items:
            properties:
              lastHeartbeatTime:
                type: string
              lastTransitionTime:
                type: string
              message:
                type: string
              reason:
                type: string
              status:
                type: string
              type:
                type: string
            required:
              - type
              - status
            type: object
          type: array
        creationTimestamp:
          type: string
        id:
          type: string
        labels:
          additionalProperties:
            type: string
          type: object
        name:
          type: string
        nodeInfo:
          properties:
            architecture:
              type: string
            bootID:
              type: string
            containerRuntimeVersion:
              type: string
            kernelVersion:
              type: string
            kubeProxyVersion:
              type: string
            kubeletVersion:
              type: string
            machineID:
              type: string
            operatingSystem:
              type: string
            osImage:
              type: string
            systemUUID:
              type: string
          type: object
        objectType:
          enum:
            - k8sNode
      required:
        - id
        - objectType
        - name
      type: object
    GraphK8sPersistentVolumeClaimNode:
      additionalProperties: false
      properties:
        accessModes:
          items:
            type: string
          type: array
        id:
          type: string
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sPersistentVolumeClaim
        requestedStorage:
          type: string
        status:
          enum:
            - Bound
            - Pending
            - Lost
          type: string
        storageClass:
          type: string
        volumeName:
          type: string
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphK8sPodNode:
      additionalProperties: false
      properties:
        containers:
          items:
            properties:
              image:
                type: string
              name:
                type: string
              ports:
                items:
                  properties:
                    containerPort:
                      type: integer
                    name:
                      type: string
                    protocol:
                      type: string
                  type: object
                type: array
            required:
              - name
              - image
            type: object
          type: array
        creationTimestamp:
          type: string
        dnsPolicy:
          enum:
            - Default
            - ClusterFirst
            - ClusterFirstWithHostNet
            - None
          type: string
        hostIP:
          type: string
        hostNetwork:
          type: boolean
        id:
          type: string
        labels:
          additionalProperties:
            type: string
          type: object
        name:
          type: string
        namespace:
          type: string
        nodeName:
          type: string
        nodeSelector:
          additionalProperties:
            type: string
          type: object
        objectType:
          enum:
            - k8sPod
        ownerReferences:
          items:
            properties:
              apiVersion:
                type: string
              blockOwnerDeletion:
                type: boolean
              controller:
                type: boolean
              kind:
                type: string
              name:
                type: string
              uid:
                type: string
            required:
              - apiVersion
              - kind
              - name
              - uid
            type: object
          type: array
        phase:
          enum:
            - Pending
            - Running
            - Succeeded
            - Failed
            - Unknown
          type: string
        podIP:
          type: string
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphK8sReplicaSetNode:
      additionalProperties: false
      properties:
        availableReplicas:
          type: integer
        creationTimestamp:
          type: string
        id:
          type: string
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sReplicaSet
        ownerReferences:
          items:
            properties:
              apiVersion:
                type: string
              blockOwnerDeletion:
                type: boolean
              controller:
                type: boolean
              kind:
                type: string
              name:
                type: string
              uid:
                type: string
            required:
              - apiVersion
              - kind
              - name
              - uid
            type: object
          type: array
        readyReplicas:
          type: integer
        replicas:
          type: integer
        selector:
          properties:
            matchLabels:
              additionalProperties:
                type: string
              type: object
          type: object
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphK8sSecretNode:
      additionalProperties: false
      properties:
        creationTimestamp:
          type: string
        id:
          type: string
        keys:
          items:
            type: string
          type: array
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sSecret
        type:
          enum:
            - Opaque
            - kubernetes.io/tls
            - dockerconfigjson
          type: string
      required:
        - id
        - objectType
        - name
        - namespace
        - type
      type: object
    GraphK8sServiceNode:
      additionalProperties: false
      properties:
        id:
          type: string
        labels:
          additionalProperties:
            type: string
          description: Kubernetes resource labels
          type: object
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - k8sService
        ports:
          items:
            properties:
              port:
                type: integer
              protocol:
                $ref: '#/components/schemas/GraphLayer4Protocol'
              targetPort:
                type: integer
            required:
              - port
              - targetPort
            type: object
          type: array
        selector:
          additionalProperties:
            type: string
          type: object
        type:
          enum:
            - ClusterIP
            - NodePort
            - LoadBalancer
            - ExternalName
          type: string
      required:
        - id
        - objectType
        - name
        - type
      type: object
    GraphK8sVolumeNode:
      additionalProperties: false
      properties:
        id:
          type: string
        mountPath:
          type: string
        name:
          type: string
        objectType:
          enum:
            - k8sVolume
        readOnly:
          type: boolean
        sourceName:
          type: string
        type:
          enum:
            - emptyDir
            - configMap
            - secret
            - persistentVolumeClaim
          type: string
      required:
        - id
        - objectType
        - name
        - type
      type: object
    GraphLayer4Protocol:
      enum:
        - TCP
        - UDP
        - ICMP
        - ALL
      type: string
    GraphLayer7Protocol:
      enum:
        - HTTP
        - HTTPS
      type: string
    GraphManagedCloudResourceNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - managedCloudResource
        region:
          type: string
        status:
          enum:
            - ACTIVE
            - DISABLED
            - ERROR
          type: string
        subType:
          enum:
            - AWS_CLOUDFRONT
            - AWS_APIGATEWAY
            - AWS_ROUTE53
            - AWS_SQS
            - AWS_SNS
            - GCP_PUBSUB
            - AWS_S3
          type: string
        tags:
          additionalProperties:
            type: string
          description: AWS resource tags as key-value pairs
          type: object
        type:
          enum:
            - CDN
            - APIGATEWAY
            - DNS
            - MESSAGE_QUEUE
            - STORAGE
            - NOTIFICATION_SERVICE
          type: string
      required:
        - id
        - objectType
        - name
        - type
      type: object
    GraphNACLNode:
      additionalProperties: false
      properties:
        id:
          type: string
        isDefault:
          type: boolean
        name:
          type: string
        objectType:
          enum:
            - nacl
        rules:
          items:
            additionalProperties: false
            description: A single Network ACL entry (rule).
            properties:
              cidrBlock:
                description: The IPv4 CIDR range to match.
                type: string
              egress:
                description: True for egress rules, false for ingress rules.
                type: boolean
              portRangeFrom:
                description: The start of the port range.
                type: integer
              portRangeTo:
                description: The end of the port range.
                type: integer
              protocol:
                $ref: '#/components/schemas/GraphLayer4Protocol'
              ruleAction:
                description: Whether to allow or deny matching traffic.
                enum:
                  - allow
                  - deny
                type: string
              ruleNumber:
                description: The rule number for ordering (1–32766).
                type: integer
            required:
              - ruleNumber
              - protocol
              - ruleAction
              - egress
              - cidrBlock
              - portRangeFrom
              - portRangeTo
            type: object
          type: array
        vpcId:
          type: string
      required:
        - id
        - objectType
        - name
        - vpcId
        - rules
      type: object
    GraphNetworkInterfaceNode:
      additionalProperties: false
      properties:
        attachedToInstanceId:
          type: string
        availabilityZone:
          type: string
        id:
          type: string
        macAddress:
          type: string
        name:
          type: string
        objectType:
          enum:
            - networkInterface
        privateIpAddress:
          type: string
        publicIpAddress:
          type: string
        securityGroupIds:
          items:
            type: string
          type: array
        status:
          type: string
        subnetId:
          type: string
        type:
          type: string
        vpcId:
          type: string
      required:
        - id
        - objectType
      type: object
    GraphNodePath:
      additionalProperties: false
      properties:
        nodeId:
          type: string
        path:
          items:
            $ref: '#/components/schemas/GraphEdge'
          type: array
      required:
        - nodeId
        - path
      type: object
    GraphNoteNode:
      additionalProperties: false
      properties:
        content:
          type: string
        id:
          type: string
        objectType:
          enum:
            - note
      required:
        - id
        - objectType
        - content
      type: object
    GraphPentestFindingNode:
      additionalProperties: false
      properties:
        findingId:
          type: string
        id:
          type: string
        objectType:
          enum:
            - pentestFinding
      required:
        - id
        - objectType
        - findingId
      type: object
    GraphPortNode:
      additionalProperties: false
      properties:
        description:
          type: string
        direction:
          enum:
            - INBOUND
            - OUTBOUND
          type: string
        id:
          type: string
        objectType:
          enum:
            - port
        portNumber:
          type: integer
        protocol:
          $ref: '#/components/schemas/GraphLayer4Protocol'
        status:
          enum:
            - OPEN
            - CLOSED
            - FILTERED
          type: string
      required:
        - id
        - objectType
        - portNumber
        - protocol
      type: object
    GraphPrefixListNode:
      properties:
        cidrs:
          items:
            type: string
          type: array
        id:
          type: string
        objectType:
          enum:
            - prefixList
      required:
        - id
        - cidrs
      type: object
    GraphProductNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - product
        productType:
          type: string
      required:
        - id
        - objectType
        - name
      type: object
    GraphProjectNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - project
        pathPrefix:
          type: string
        repositoryId:
          type: string
      required:
        - id
        - repositoryId
        - objectType
        - pathPrefix
        - name
      type: object
    GraphRepositoryNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - repository
      required:
        - id
        - objectType
        - name
      type: object
    GraphRouteTableNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - routeTable
        routeRules:
          description: A list of route rules associated with the subnet.
          items:
            additionalProperties: false
            description: Defines a single route entry in a route table.
            properties:
              destinationCidrBlock:
                description: The destination CIDR block to route traffic to. either ipv4 or ipv6
                type: string
              target:
                description: The target for the route, e.g., an internet gateway or NAT gateway.
                type: string
            required:
              - destinationCidrBlock
              - target
            type: object
          type: array
        vpcId:
          type: string
      required:
        - id
        - objectType
        - name
        - vpcId
        - routeRules
      type: object
    GraphSastFindingNode:
      additionalProperties: false
      properties:
        cwe:
          type: string
        endLine:
          type: number
        filePath:
          type: string
        findingId:
          type: string
        id:
          type: string
        objectType:
          enum:
            - sastFinding
        startLine:
          type: number
      required:
        - id
        - objectType
        - findingId
        - cwe
      type: object
    GraphScaContainerFindingNode:
      additionalProperties: false
      properties:
        filePath:
          type: string
        findingId:
          type: string
        id:
          type: string
        image:
          type: string
        objectType:
          enum:
            - scaContainerFinding
      required:
        - id
        - objectType
        - findingId
        - filePath
        - image
      type: object
    GraphScaDependencyFindingNode:
      additionalProperties: false
      properties:
        filePath:
          type: string
        findingId:
          type: string
        id:
          type: string
        objectType:
          enum:
            - scaDependencyFinding
        packageName:
          type: string
        packageVersion:
          type: string
      required:
        - id
        - objectType
        - findingId
        - filePath
        - packageName
        - packageVersion
      type: object
    GraphScpmFindingNode:
      additionalProperties: false
      properties:
        ecosystem:
          type: string
        filePath:
          type: string
        findingId:
          type: string
        id:
          type: string
        manifestPath:
          type: string
        objectType:
          enum:
            - scpmFinding
        packageName:
          type: string
        packageVersion:
          type: string
      required:
        - id
        - objectType
        - findingId
      type: object
    GraphSecretFindingNode:
      additionalProperties: false
      properties:
        findingId:
          type: string
        id:
          type: string
        objectType:
          enum:
            - secretFinding
      required:
        - id
        - objectType
        - findingId
      type: object
    GraphSecurityGroupNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - securityGroup
        rules:
          items:
            properties:
              direction:
                enum:
                  - INBOUND
                  - OUTBOUND
                type: string
              fromPort:
                type: integer
              id:
                type: string
              protocol:
                $ref: '#/components/schemas/GraphLayer4Protocol'
              sourceOrDestination:
                type: string
              toPort:
                type: integer
            required:
              - id
              - direction
              - protocol
              - fromPort
              - toPort
              - sourceOrDestination
            type: object
          type: array
        tags:
          additionalProperties:
            type: string
          description: AWS resource tags as key-value pairs
          type: object
        type:
          type: string
        vpcId:
          type: string
      required:
        - id
        - objectType
        - type
      type: object
    GraphSecuritySchemeType:
      enum:
        - oauth2
        - openIdConnect
        - apiKey
        - http
      type: string
    GraphStatefulSetNode:
      additionalProperties: false
      properties:
        config:
          type: object
        id:
          type: string
        labels:
          additionalProperties:
            type: string
          description: Kubernetes resource labels
          type: object
        name:
          type: string
        namespace:
          type: string
        objectType:
          enum:
            - statefulSet
        ordinalStart:
          type: integer
        replicas:
          type: integer
        serviceName:
          type: string
        volumeClaimTemplates:
          items:
            type: string
          type: array
      required:
        - id
        - objectType
        - name
        - namespace
      type: object
    GraphSubnetNode:
      additionalProperties: false
      properties:
        availabilityZone:
          type: string
        cidr:
          type: string
        id:
          type: string
        naclId:
          type: string
        name:
          type: string
        objectType:
          enum:
            - subnet
        provider:
          type: string
        routeTableId:
          type: string
        tags:
          additionalProperties:
            type: string
          description: AWS resource tags as key-value pairs
          type: object
        vpcId:
          type: string
      required:
        - id
        - objectType
        - provider
        - vpcId
        - name
        - cidr
        - availabilityZone
        - routeTableId
        - naclId
      type: object
    GraphTeamNode:
      additionalProperties: false
      properties:
        description:
          type: string
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - team
        provider:
          type: string
      required:
        - id
        - objectType
        - name
      type: object
    GraphThreatActorNode:
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - threatActor
      required:
        - id
        - objectType
        - name
      type: object
    GraphUnknownCloudResourceNode:
      additionalProperties: false
      properties:
        id:
          type: string
        name:
          type: string
        objectType:
          enum:
            - unknownCloudResource
        originalId:
          description: The original ID that was referenced but not found
          type: string
        reason:
          description: Why this node is unknown (e.g., 'Data not available', 'External resource', 'Cross-account reference')
          type: string
      required:
        - id
        - objectType
        - name
      type: object
    GraphUserNode:
      additionalProperties: false
      properties:
        email:
          type: string
        id:
          type: string
        objectType:
          enum:
            - user
        provider:
          type: string
        username:
          type: string
      required:
        - id
        - objectType
        - username
      type: object
    GraphVPCNode:
      additionalProperties: false
      properties:
        accountId:
          type: string
        cidr:
          type: string
        id:
          type: string
        igwId:
          type: string
        name:
          type: string
        objectType:
          enum:
            - vpc
        provider:
          type: string
        region:
          type: string
        tags:
          additionalProperties:
            type: string
          description: AWS resource tags as key-value pairs
          type: object
        type:
          enum:
            - ipv4
            - ipv6
          type: string
      required:
        - id
        - objectType
        - provider
        - name
        - cidr
      type: object
    ModelsAPIType:
      enum:
        - REST
        - GraphQL
      type: string
    ModelsAWSAccount:
      properties:
        accountId:
          type: string
        accountName:
          type: string
        accountType:
          type: string
        isDefault:
          type: boolean
        lastVerifiedAt:
          type: string
        lastVerifiedStatus:
          type: string
      required:
        - accountId
        - accountName
        - accountType
        - isDefault
        - lastVerifiedAt
        - lastVerifiedStatus
      type: object
    ModelsAWSAccountType:
      enum:
        - Production
        - Development
        - Staging
        - Sandbox
        - PreProd
        - Other
      type: string
    ModelsAWSAccountWithStatus:
      properties:
        accountId:
          type: string
        accountName:
          type: string
        accountType:
          type: string
        assumedRole:
          type: string
        errorMessage:
          type: string
        isDefault:
          type: boolean
        lastVerifiedAt:
          type: string
        lastVerifiedStatus:
          type: string
        status:
          type: string
      required:
        - accountId
        - accountName
        - accountType
        - assumedRole
        - errorMessage
        - isDefault
        - lastVerifiedAt
        - lastVerifiedStatus
        - status
      type: object
    ModelsAWSIntegrationAssetInventoryHost:
      properties:
        accountId:
          type: string
        accountName:
          type: string
        accountType:
          $ref: '#/components/schemas/ModelsAWSAccountType'
        aliases:
          items:
            type: string
          nullable: true
          type: array
        protocol:
          type: string
        region:
          type: string
        resourceId:
          type: string
        service:
          type: string
      required:
        - accountId
        - accountName
        - accountType
        - aliases
        - protocol
        - region
        - resourceId
        - service
      type: object
    ModelsAWSIntegrationEndpointAssetInventoryEndpoint:
      properties:
        accountId:
          type: string
        accountName:
          type: string
        accountType:
          $ref: '#/components/schemas/ModelsAWSAccountType'
        headers:
          items:
            type: string
          nullable: true
          type: array
        hostInfo:
          type: string
        region:
          type: string
        service:
          type: string
      required:
        - accountId
        - accountName
        - accountType
        - headers
        - hostInfo
        - region
        - service
      type: object
    ModelsAppendices:
      properties:
        authMatrixHypotheses:
          items:
            $ref: '#/components/schemas/ModelsAppendixAuthMatrixHypothesis'
          type: array
        networkLogsSummary:
          $ref: '#/components/schemas/ModelsNetworkLogsSummary'
        toolOutputs:
          $ref: '#/components/schemas/ModelsToolOutputs'
      required:
        - authMatrixHypotheses
        - networkLogsSummary
        - toolOutputs
      type: object
    ModelsAppendixAuthMatrixHypothesis:
      properties:
        falseReason:
          nullable: true
          type: string
        findingId:
          nullable: true
          type: string
        hypothesis:
          type: string
        isInsecure:
          type: boolean
      required:
        - falseReason
        - findingId
        - hypothesis
        - isInsecure
      type: object
    ModelsApplicationPentestConfig:
      properties:
        createdAt:
          format: date-time
          type: string
        credentialIds:
          items:
            type: string
          nullable: true
          type: array
        defaultScanConfig:
          $ref: '#/components/schemas/ModelsPentestScanConfig'
        description:
          type: string
        id:
          type: string
        name:
          type: string
        targets:
          items:
            $ref: '#/components/schemas/ModelsApplicationPentestTarget'
          nullable: true
          type: array
        updatedAt:
          format: date-time
          type: string
      required:
        - createdAt
        - credentialIds
        - defaultScanConfig
        - description
        - id
        - name
        - targets
        - updatedAt
      type: object
    ModelsApplicationPentestConfigOverrides:
      properties:
        apiSchema:
          type: string
        credentials:
          items:
            $ref: '#/components/schemas/ModelsCredential'
          type: array
        enableAuthMatrix:
          type: boolean
        enableExploitAnalysis:
          type: boolean
        enablePentestTools:
          type: boolean
        targets:
          items:
            $ref: '#/components/schemas/ModelsApplicationPentestTarget'
          type: array
      required:
        - apiSchema
        - credentials
        - enableAuthMatrix
        - enableExploitAnalysis
        - enablePentestTools
        - targets
      type: object
    ModelsApplicationPentestTarget:
      properties:
        host:
          type: string
        id:
          type: string
        name:
          type: string
        port:
          nullable: true
          type: integer
      required:
        - host
        - id
        - name
        - port
      type: object
    ModelsAssessmentPeriod:
      properties:
        endDate:
          type: string
        startDate:
          type: string
      required:
        - endDate
        - startDate
      type: object
    ModelsAssetInventoryCloudAccount:
      properties:
        id:
          type: string
        providerId:
          $ref: '#/components/schemas/ModelsProviderID'
      required:
        - id
        - providerId
      type: object
    ModelsAssetInventoryEndpoint:
      properties:
        active:
          type: boolean
        awsIntegrationEndpoint:
          $ref: '#/components/schemas/ModelsAWSIntegrationEndpointAssetInventoryEndpoint'
        bodySchema:
          type: string
        bodyType:
          type: string
        codeLocation:
          $ref: '#/components/schemas/ModelsAssetInventoryEndpointCodeLocation'
        createdAt:
          type: string
        firstInventoryScan:
          type: string
        hostId:
          type: string
        id:
          type: string
        isAuthenticated:
          type: boolean
        isAutoGenerated:
          type: boolean
        isConfirmedAtRuntime:
          type: boolean
        isConfirmedByUser:
          type: boolean
        isLatest:
          type: boolean
        lastInventoryScan:
          type: string
        method:
          type: string
        path:
          type: string
        queryParameters:
          items:
            type: string
          nullable: true
          type: array
        security:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryEndpointSecurity'
          nullable: true
          type: array
        sourceType:
          $ref: '#/components/schemas/ModelsEndpointSourceType'
        tenantId:
          type: string
        updatedAt:
          type: string
        userUpload:
          $ref: '#/components/schemas/ModelsAssetInventoryEndpointUserUpload'
      required:
        - active
        - awsIntegrationEndpoint
        - bodySchema
        - bodyType
        - codeLocation
        - createdAt
        - firstInventoryScan
        - hostId
        - id
        - isAuthenticated
        - isAutoGenerated
        - isConfirmedAtRuntime
        - isConfirmedByUser
        - isLatest
        - lastInventoryScan
        - method
        - path
        - queryParameters
        - security
        - sourceType
        - tenantId
        - updatedAt
        - userUpload
      type: object
    ModelsAssetInventoryEndpointCodeLocation:
      properties:
        branchName:
          type: string
        className:
          nullable: true
          type: string
        commitHash:
          type: string
        description:
          nullable: true
          type: string
        filePath:
          type: string
        functionName:
          nullable: true
          type: string
        lineNumber:
          type: integer
        ownerId:
          type: string
        ownerName:
          type: string
        platform:
          type: string
        projectName:
          type: string
        repositoryId:
          type: string
        repositoryName:
          type: string
      required:
        - branchName
        - className
        - commitHash
        - description
        - filePath
        - functionName
        - lineNumber
        - ownerId
        - ownerName
        - platform
        - projectName
        - repositoryId
        - repositoryName
      type: object
    ModelsAssetInventoryEndpointSecurity:
      additionalProperties:
        items:
          type: string
        type: array
      type: object
    ModelsAssetInventoryEndpointUserUpload:
      type: object
    ModelsAssetInventoryHost:
      properties:
        active:
          type: boolean
        awsIntegration:
          $ref: '#/components/schemas/ModelsAWSIntegrationAssetInventoryHost'
        codeLocation:
          $ref: '#/components/schemas/ModelsAssetInventoryHostCodeLocation'
        createdAt:
          type: string
        dnsNames:
          items:
            type: string
          nullable: true
          type: array
        firstScanAt:
          type: string
        host:
          type: string
        id:
          type: string
        ipAddresses:
          items:
            type: string
          nullable: true
          type: array
        isAuthenticated:
          type: boolean
        isLatest:
          type: boolean
        lastScanAt:
          type: string
        resourceCategory:
          type: string
        resourceType:
          type: string
        sourceType:
          $ref: '#/components/schemas/ModelsHostSourceType'
        updatedAt:
          type: string
      required:
        - active
        - awsIntegration
        - codeLocation
        - createdAt
        - dnsNames
        - firstScanAt
        - host
        - id
        - ipAddresses
        - isAuthenticated
        - isLatest
        - lastScanAt
        - resourceCategory
        - resourceType
        - sourceType
        - updatedAt
      type: object
    ModelsAssetInventoryHostCodeLocation:
      properties:
        description:
          type: string
        ownerId:
          type: string
        ownerName:
          type: string
        platform:
          type: string
        projectName:
          type: string
        repositoryId:
          type: string
        repositoryName:
          type: string
      required:
        - description
        - ownerId
        - ownerName
        - platform
        - projectName
        - repositoryId
        - repositoryName
      type: object
    ModelsAuthMatrixStage:
      properties:
        approach:
          type: string
        description:
          type: string
        hypothesesGenerated:
          type: integer
      required:
        - approach
        - description
        - hypothesesGenerated
      type: object
    ModelsAuthor:
      properties:
        email:
          nullable: true
          type: string
        name:
          type: string
        role:
          nullable: true
          type: string
      required:
        - email
        - name
        - role
      type: object
    ModelsAzureUserProvider:
      properties:
        id:
          type: string
      required:
        - id
      type: object
    ModelsBitbucketUserProvider:
      properties:
        id:
          type: string
      required:
        - id
      type: object
    ModelsBugHuntAssessmentPhase:
      properties:
        durationSeconds:
          format: double
          type: number
        endTime:
          format: date-time
          nullable: true
          type: string
        groupedLogs:
          items:
            $ref: '#/components/schemas/ModelsGroupedAgentLog'
          type: array
        langfuseTraceId:
          type: string
        langfuseTraceUrl:
          type: string
        logs:
          items: {}
          type: array
        name:
          type: string
        startTime:
          format: date-time
          type: string
        status:
          type: string
        usageMetrics:
          $ref: '#/components/schemas/ModelsBugHuntPhaseUsageMetrics'
      required:
        - durationSeconds
        - endTime
        - groupedLogs
        - langfuseTraceId
        - langfuseTraceUrl
        - logs
        - name
        - startTime
        - status
        - usageMetrics
      type: object
    ModelsBugHuntConfig:
      properties:
        createdAt:
          format: date-time
          type: string
        defaultIntensity:
          type: string
        defaultOptions:
          $ref: '#/components/schemas/ModelsBugHuntScanConfigOptions'
        defaultPorts:
          items:
            type: integer
          nullable: true
          type: array
        id:
          type: string
        scope:
          $ref: '#/components/schemas/ModelsBugHuntScanConfigScope'
        tenantId:
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - createdAt
        - defaultIntensity
        - defaultOptions
        - defaultPorts
        - id
        - scope
        - tenantId
        - updatedAt
      type: object
    ModelsBugHuntFinding:
      properties:
        createdAt:
          format: date-time
          type: string
        description:
          type: string
        evidence:
          additionalProperties: {}
          type: object
        host:
          type: string
        id:
          type: string
        isFalsePositive:
          type: boolean
        isTriaged:
          type: boolean
        notes:
          type: string
        path:
          type: string
        port:
          type: integer
        protocol:
          type: string
        scanId:
          type: string
        service:
          type: string
        severity:
          type: string
        tenantId:
          type: string
        title:
          type: string
        type:
          type: string
      required:
        - createdAt
        - description
        - evidence
        - host
        - id
        - isFalsePositive
        - isTriaged
        - notes
        - path
        - port
        - protocol
        - scanId
        - service
        - severity
        - tenantId
        - title
        - type
      type: object
    ModelsBugHuntPhaseUsageMetrics:
      properties:
        cacheHitCost:
          format: double
          type: number
        cacheHitTokenCount:
          type: integer
        cacheWriteCost:
          format: double
          type: number
        cacheWriteTokenCount:
          type: integer
        inputCost:
          format: double
          type: number
        inputTokenCount:
          type: integer
        outputCost:
          format: double
          type: number
        outputTokenCount:
          type: integer
        totalCost:
          format: double
          type: number
      required:
        - cacheHitCost
        - cacheHitTokenCount
        - cacheWriteCost
        - cacheWriteTokenCount
        - inputCost
        - inputTokenCount
        - outputCost
        - outputTokenCount
        - totalCost
      type: object
    ModelsBugHuntScan:
      properties:
        assessmentPhases:
          items:
            $ref: '#/components/schemas/ModelsBugHuntAssessmentPhase'
          type: array
        createdAt:
          format: date-time
          type: string
        endTime:
          format: date-time
          nullable: true
          type: string
        endedAt:
          format: date-time
          nullable: true
          type: string
        executionArn:
          type: string
        failureReason:
          nullable: true
          type: string
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        findings:
          items:
            $ref: '#/components/schemas/ModelsBugHuntFinding'
          type: array
        id:
          type: string
        intensity:
          $ref: '#/components/schemas/ModelsBugHuntScanIntensity'
        metrics:
          $ref: '#/components/schemas/ModelsBugHuntScanMetrics'
        networkLogs:
          items:
            $ref: '#/components/schemas/ModelsNetworkLog'
          type: array
        options:
          $ref: '#/components/schemas/ModelsBugHuntScanOptions'
        ports:
          items:
            type: integer
          nullable: true
          type: array
        progress:
          type: integer
        stage:
          $ref: '#/components/schemas/ModelsBugHuntScanStage'
        startTime:
          format: date-time
          nullable: true
          type: string
        startedAt:
          format: date-time
          nullable: true
          type: string
        status:
          $ref: '#/components/schemas/ModelsScanStatus'
        summary:
          $ref: '#/components/schemas/ModelsBugHuntSummary'
        targets:
          items:
            $ref: '#/components/schemas/ModelsBugHuntScopeTarget'
          nullable: true
          type: array
        tenantId:
          type: string
        totalCost:
          $ref: '#/components/schemas/ModelsBugHuntScanCostSummary'
        updatedAt:
          format: date-time
          type: string
      required:
        - assessmentPhases
        - createdAt
        - endTime
        - endedAt
        - executionArn
        - failureReason
        - findingIds
        - findings
        - id
        - intensity
        - metrics
        - networkLogs
        - options
        - ports
        - progress
        - stage
        - startTime
        - startedAt
        - status
        - summary
        - targets
        - tenantId
        - totalCost
        - updatedAt
      type: object
    ModelsBugHuntScanConfigOptions:
      properties:
        aggressiveMode:
          type: boolean
        assessmentTimeout:
          type: integer
        customPortRanges:
          type: string
        excludeInternalRanges:
          type: boolean
        excludePatterns:
          type: string
        includeSubdomains:
          type: boolean
        maxRetries:
          type: integer
        performPortAssessment:
          type: boolean
        performServiceDetection:
          type: boolean
        performVulnerabilityAssessment:
          type: boolean
        rateLimitAllHosts:
          type: integer
        rateLimitPerHost:
          type: integer
        retryFailedAssessments:
          type: boolean
        threadCount:
          type: integer
        useCDNDetection:
          type: boolean
        useWAFDetection:
          type: boolean
      required:
        - aggressiveMode
        - assessmentTimeout
        - customPortRanges
        - excludeInternalRanges
        - excludePatterns
        - includeSubdomains
        - maxRetries
        - performPortAssessment
        - performServiceDetection
        - performVulnerabilityAssessment
        - rateLimitAllHosts
        - rateLimitPerHost
        - retryFailedAssessments
        - threadCount
        - useCDNDetection
        - useWAFDetection
      type: object
    ModelsBugHuntScanConfigScope:
      properties:
        exclude:
          items:
            $ref: '#/components/schemas/ModelsBugHuntScopeTarget'
          nullable: true
          type: array
        include:
          items:
            $ref: '#/components/schemas/ModelsBugHuntScopeTarget'
          nullable: true
          type: array
      required:
        - exclude
        - include
      type: object
    ModelsBugHuntScanCostSummary:
      properties:
        costByPhase:
          additionalProperties:
            $ref: '#/components/schemas/ModelsBugHuntPhaseUsageMetrics'
          type: object
        totalCacheHitCost:
          format: double
          type: number
        totalCacheHitTokens:
          type: integer
        totalCacheWriteCost:
          format: double
          type: number
        totalCacheWriteTokens:
          type: integer
        totalCost:
          format: double
          type: number
        totalInputCost:
          format: double
          type: number
        totalInputTokens:
          type: integer
        totalOutputCost:
          format: double
          type: number
        totalOutputTokens:
          type: integer
      required:
        - costByPhase
        - totalCacheHitCost
        - totalCacheHitTokens
        - totalCacheWriteCost
        - totalCacheWriteTokens
        - totalCost
        - totalInputCost
        - totalInputTokens
        - totalOutputCost
        - totalOutputTokens
      type: object
    ModelsBugHuntScanIntensity:
      enum:
        - low
        - medium
        - high
      type: string
    ModelsBugHuntScanMetrics:
      properties:
        domains:
          additionalProperties:
            type: integer
          nullable: true
          type: object
        endpoints:
          additionalProperties:
            type: integer
          nullable: true
          type: object
        ports:
          additionalProperties:
            type: integer
          nullable: true
          type: object
        total:
          $ref: '#/components/schemas/ModelsBugHuntScanMetricsTotal'
      required:
        - domains
        - endpoints
        - ports
        - total
      type: object
    ModelsBugHuntScanMetricsTotal:
      properties:
        domainNames:
          type: integer
        endpoints:
          type: integer
        findings:
          type: integer
        hosts:
          type: integer
        ipAddresses:
          type: integer
        services:
          type: integer
      required:
        - domainNames
        - endpoints
        - findings
        - hosts
        - ipAddresses
        - services
      type: object
    ModelsBugHuntScanOptions:
      properties:
        aggressiveMode:
          type: boolean
        customPortRanges:
          type: string
        excludePatterns:
          type: string
        includeSubdomains:
          type: boolean
        performPortAssessment:
          type: boolean
        performServiceDetection:
          type: boolean
        performVulnerabilityAssessment:
          type: boolean
      required:
        - aggressiveMode
        - customPortRanges
        - excludePatterns
        - includeSubdomains
        - performPortAssessment
        - performServiceDetection
        - performVulnerabilityAssessment
      type: object
    ModelsBugHuntScanStage:
      enum:
        - initializing
        - enumerate_hosts
        - enumerate_ports
        - enumerate_endpoints
        - scan_endpoints
        - collect_results
        - triage
        - complete
      type: string
    ModelsBugHuntSchedule:
      properties:
        createdAt:
          type: string
        enabled:
          type: boolean
        frequency:
          type: string
        nextRun:
          type: string
        startTime:
          type: string
        timezone:
          type: string
        updatedAt:
          type: string
      required:
        - createdAt
        - enabled
        - frequency
        - nextRun
        - startTime
        - timezone
        - updatedAt
      type: object
    ModelsBugHuntScopeTarget:
      properties:
        type:
          type: string
        value:
          type: string
      required:
        - type
        - value
      type: object
    ModelsBugHuntSummary:
      properties:
        findingsBySeverity:
          additionalProperties:
            type: integer
          nullable: true
          type: object
        findingsByType:
          additionalProperties:
            type: integer
          nullable: true
          type: object
        totalFindings:
          type: integer
        totalHosts:
          type: integer
        totalPorts:
          type: integer
      required:
        - findingsBySeverity
        - findingsByType
        - totalFindings
        - totalHosts
        - totalPorts
      type: object
    ModelsCodeFinding:
      properties:
        aiGenerated:
          nullable: true
          type: boolean
        campaignIds:
          items:
            type: string
          type: array
        category:
          nullable: true
          type: string
        commitSha:
          nullable: true
          type: string
        cwe:
          nullable: true
          type: integer
        endLine:
          nullable: true
          type: integer
        entrypoint:
          nullable: true
          type: string
        falsePositiveReason:
          nullable: true
          type: string
        filePath:
          type: string
        id:
          nullable: true
          type: string
        isFalsePositive:
          nullable: true
          type: boolean
        language:
          nullable: true
          type: string
        message:
          nullable: true
          type: string
        priority:
          $ref: '#/components/schemas/ModelsCodeFindingPriority'
        repository:
          nullable: true
          type: string
        repositoryId:
          nullable: true
          type: string
        severity:
          nullable: true
          type: string
        startLine:
          type: integer
        title:
          nullable: true
          type: string
        triage:
          $ref: '#/components/schemas/TriageTriage'
      required:
        - aiGenerated
        - campaignIds
        - category
        - commitSha
        - cwe
        - endLine
        - entrypoint
        - falsePositiveReason
        - filePath
        - id
        - isFalsePositive
        - language
        - message
        - priority
        - repository
        - repositoryId
        - severity
        - startLine
        - title
        - triage
      type: object
    ModelsCodeFindingPriority:
      properties:
        description:
          nullable: true
          type: string
        exploitability:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitability'
        fixEffort:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityFixEffort'
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityLabel'
        score:
          type: integer
        severity:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverity'
      required:
        - description
        - exploitability
        - fixEffort
        - label
        - score
        - severity
      type: object
    ModelsCodeFindingPriorityExploitability:
      properties:
        attackComplexity:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitabilityAttackComplexity'
        attackVector:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitabilityAttackVector'
        description:
          nullable: true
          type: string
        evidence:
          $ref: '#/components/schemas/GraphGraph'
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitabilityLabel'
      required:
        - attackComplexity
        - attackVector
        - description
        - evidence
        - label
      type: object
    ModelsCodeFindingPriorityExploitabilityAttackComplexity:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitabilityAttackComplexityLabel'
        privilegesRequired:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitabilityAttackComplexityPrivilegesRequired'
      required:
        - description
        - label
        - privilegesRequired
      type: object
    ModelsCodeFindingPriorityExploitabilityAttackComplexityLabel:
      enum:
        - HIGH
        - LOW
      type: string
    ModelsCodeFindingPriorityExploitabilityAttackComplexityPrivilegesRequired:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitabilityAttackComplexityPrivilegesRequiredLabel'
          nullable: true
      required:
        - description
        - label
      type: object
    ModelsCodeFindingPriorityExploitabilityAttackComplexityPrivilegesRequiredLabel:
      enum:
        - AUTHENTICATED
        - PRIVILEGED
        - UNAUTHENTICATED
      type: string
    ModelsCodeFindingPriorityExploitabilityAttackVector:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitabilityAttackVectorLabel'
        subVector:
          items:
            $ref: '#/components/schemas/ModelsCodeFindingPriorityExploitabilityAttackVectorSubVectorElem'
          nullable: true
          type: array
      required:
        - description
        - label
        - subVector
      type: object
    ModelsCodeFindingPriorityExploitabilityAttackVectorLabel:
      enum:
        - ADJACENT
        - LOCAL
        - NETWORK
        - PHYSICAL
      type: string
    ModelsCodeFindingPriorityExploitabilityAttackVectorSubVectorElem:
      enum:
        - LOCAL_COMMAND_LINE_ARGUMENT
        - LOCAL_CONFIGURATION_FILE
        - LOCAL_ENVIRONMENT_VARIABLE
        - LOCAL_FILE_CONTENT
        - LOCAL_FILE_NAME
        - LOCAL_FILE_PATH
        - NETWORK_GRAPHQL_QUERY
        - NETWORK_HTTP_BODY
        - NETWORK_HTTP_HEADER
        - NETWORK_HTTP_PATH_PARAMETER
        - NETWORK_HTTP_QUERY_PARAMETER
        - NETWORK_TCP
      type: string
    ModelsCodeFindingPriorityExploitabilityLabel:
      enum:
        - LIKELY
        - NEUTRAL
        - UNLIKELY
      type: string
    ModelsCodeFindingPriorityFixEffort:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPriorityFixEffortLabel'
      required:
        - description
        - label
      type: object
    ModelsCodeFindingPriorityFixEffortLabel:
      enum:
        - EASY
        - HARD
        - MEDIUM
      type: string
    ModelsCodeFindingPriorityLabel:
      enum:
        - IMPORTANT
        - INFORMATIONAL
        - URGENT
      type: string
    ModelsCodeFindingPrioritySeverity:
      properties:
        availability:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityAvailability'
        businessCriticality:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityBusinessCriticality'
        confidentiality:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityConfidentiality'
        description:
          nullable: true
          type: string
        integrity:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityIntegrity'
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityLabel'
      required:
        - availability
        - businessCriticality
        - confidentiality
        - description
        - integrity
        - label
      type: object
    ModelsCodeFindingPrioritySeverityAvailability:
      properties:
        cause:
          items:
            $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityAvailabilityCauseElem'
          type: array
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityAvailabilityLabel'
      required:
        - cause
        - description
        - label
      type: object
    ModelsCodeFindingPrioritySeverityAvailabilityCauseElem:
      enum:
        - BUFFER_OVERFLOW
        - INFINITE_LOOP
        - MEMORY_LEAK
        - RESOURCE_EXHAUSTION
      type: string
    ModelsCodeFindingPrioritySeverityAvailabilityLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    ModelsCodeFindingPrioritySeverityBusinessCriticality:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityBusinessCriticalityLabel'
          nullable: true
      required:
        - description
        - label
      type: object
    ModelsCodeFindingPrioritySeverityBusinessCriticalityLabel:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    ModelsCodeFindingPrioritySeverityConfidentiality:
      properties:
        dataLeaked:
          items:
            $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityConfidentialityDataLeakedElem'
          nullable: true
          type: array
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityConfidentialityLabel'
      required:
        - dataLeaked
        - label
      type: object
    ModelsCodeFindingPrioritySeverityConfidentialityDataLeakedElem:
      enum:
        - ADDRESS
        - AGE
        - AUTHENTICATION_DATA
        - BANK_ACCOUNT_INFORMATION
        - BIOMETRIC_DATA
        - CALL_LOGS
        - CLIENT_AND_VENDOR_INFORMATION
        - COMPLIANCE_RECORDS
        - CREDIT_DEBIT_CARD_DETAILS
        - DEVICE_IDENTIFIERS
        - DRIVERS_LICENSE
        - EDUCATION_RECORDS
        - EMAIL_ADDRESS
        - EMAILS_AND_MESSAGES
        - EMPLOYMENT_HISTORY
        - GENDER
        - INCOME_AND_TAX_INFORMATION
        - INTELLECTUAL_PROPERTY
        - INVENTORY_DATA
        - INVESTMENT_INFORMATION
        - IP_ADDRESSES
        - LEGAL_DOCUMENTS
        - MEDICAL_DATA
        - NAME
        - OTHER_PRIVATE_NON_SENSITIVE_DATA
        - OTHER_PRIVATE_SENSITIVE_DATA
        - OTHER_PUBLIC_DATA
        - PASSPORT
        - PERFORMANCE_REVIEWS
        - POLITICAL_OPINIONS
        - RACIAL_OR_ETHNIC_ORIGIN
        - RELIGIOUS_OR_PHILOSOPHICAL_BELIEFS
        - SALARY_AND_BENEFITS_INFORMATION
        - SEXUAL_ORIENTATION
        - SOCIAL_MEDIA_INTERACTIONS
        - SOCIAL_SECURITY_NUMBER
        - STRATEGIC_PLANS_AND_FORECASTS
        - SYSTEM_LOGS_AND_MONITORING_DATA
        - TRADE_SECRETS
        - TRANSACTION_HISTORY
      type: string
    ModelsCodeFindingPrioritySeverityConfidentialityLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    ModelsCodeFindingPrioritySeverityIntegrity:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityIntegrityLabel'
        type:
          items:
            $ref: '#/components/schemas/ModelsCodeFindingPrioritySeverityIntegrityTypeElem'
          nullable: true
          type: array
      required:
        - description
        - label
        - type
      type: object
    ModelsCodeFindingPrioritySeverityIntegrityLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    ModelsCodeFindingPrioritySeverityIntegrityTypeElem:
      enum:
        - BEHAVIOUR_MANIPULATED
        - DATABASE_ALTERED
        - MALWARE_IMPANTED
      type: string
    ModelsCodeFindingPrioritySeverityLabel:
      enum:
        - CRITICAL
        - HIGH
        - LOW
      type: string
    ModelsCredential:
      properties:
        config:
          $ref: '#/components/schemas/ModelsCredentialConfig'
        createdAt:
          format: date-time
          type: string
        deletedAt:
          format: date-time
          nullable: true
          type: string
        deletedBy:
          type: string
        description:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
        lastUsed:
          format: date-time
          nullable: true
          type: string
        lastValidatedAt:
          format: date-time
          nullable: true
          type: string
        name:
          type: string
        tenantId:
          type: string
        type:
          $ref: '#/components/schemas/ModelsCredentialType'
        updatedAt:
          format: date-time
          type: string
        usageCount:
          type: integer
        validationEvidence:
          $ref: '#/components/schemas/ModelsValidationEvidence'
      required:
        - config
        - createdAt
        - deletedAt
        - deletedBy
        - description
        - id
        - isDeleted
        - lastUsed
        - lastValidatedAt
        - name
        - tenantId
        - type
        - updatedAt
        - usageCount
        - validationEvidence
      type: object
    ModelsCredentialConfig:
      properties:
        apiKey:
          type: string
        authUrl:
          type: string
        clientId:
          type: string
        clientSecret:
          type: string
        hints:
          type: string
        loginUrl:
          type: string
        password:
          type: string
        scope:
          type: string
        token:
          type: string
        tokenPath:
          type: string
        tokenType:
          type: string
        tokenUrl:
          type: string
        username:
          type: string
      required:
        - apiKey
        - authUrl
        - clientId
        - clientSecret
        - hints
        - loginUrl
        - password
        - scope
        - token
        - tokenPath
        - tokenType
        - tokenUrl
        - username
      type: object
    ModelsCredentialType:
      enum:
        - basic
        - bearer
        - api_key
        - oauth2
        - browser
        - custom
      type: string
    ModelsDASTEventInterface:
      properties:
        data: {}
        id:
          type: string
        time:
          type: string
        type:
          $ref: '#/components/schemas/EventsEventType'
      required:
        - data
        - id
        - time
        - type
      type: object
    ModelsDeploymentType:
      enum:
        - helm
        - terraform
        - cloudformation
      type: string
    ModelsEndpointSourceType:
      enum:
        - UserUpload
        - CodeScan
        - AWSIntegration
        - BugHunt
        - Manual
        - Pentest
        - Dast
      type: string
    ModelsExecutiveSummary:
      properties:
        executiveSummaryFirstParagraph:
          type: string
        executiveSummaryRest:
          type: string
        topRecommendations:
          items:
            type: string
          nullable: true
          type: array
        topRisks:
          items:
            type: string
          nullable: true
          type: array
      required:
        - executiveSummaryFirstParagraph
        - executiveSummaryRest
        - topRecommendations
        - topRisks
      type: object
    ModelsExploitAnalysisStage:
      properties:
        approach:
          type: string
        description:
          type: string
        findingsAnalyzed:
          type: integer
      required:
        - approach
        - description
        - findingsAnalyzed
      type: object
    ModelsFindingSummary:
      properties:
        affectedAsset:
          type: string
        id:
          type: string
        reference:
          nullable: true
          type: string
        severity:
          type: string
        source:
          type: string
        title:
          type: string
      required:
        - affectedAsset
        - id
        - reference
        - severity
        - source
        - title
      type: object
    ModelsGitHubUserProvider:
      properties:
        id:
          format: int64
          type: integer
        nodeId:
          type: string
      required:
        - id
        - nodeId
      type: object
    ModelsGitLabUserProvider:
      properties:
        id:
          type: integer
      required:
        - id
      type: object
    ModelsGroupedAgentLog:
      properties:
        logs:
          items: {}
          nullable: true
          type: array
        summary:
          type: string
      required:
        - logs
        - summary
      type: object
    ModelsHostSourceType:
      enum:
        - UserUploadHost
        - CodeScanHost
        - AWSIntegrationHost
        - BugHuntHost
        - ManualHost
      type: string
    ModelsIntegrationSchedule:
      properties:
        createdAt:
          format: date-time
          type: string
        enabled:
          type: boolean
        frequency:
          type: string
        integrationConfig:
          additionalProperties: {}
          type: object
        integrationType:
          type: string
        nextRun:
          type: string
        startTime:
          type: string
        timezone:
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - createdAt
        - enabled
        - frequency
        - integrationConfig
        - integrationType
        - nextRun
        - startTime
        - timezone
        - updatedAt
      type: object
    ModelsJiraUserProvider:
      properties:
        id:
          type: string
      required:
        - id
      type: object
    ModelsLinearUserProvider:
      properties:
        id:
          type: string
      required:
        - id
      type: object
    ModelsMethodology:
      properties:
        authMatrixStage:
          $ref: '#/components/schemas/ModelsAuthMatrixStage'
        exploitAnalysisStage:
          $ref: '#/components/schemas/ModelsExploitAnalysisStage'
        toolsStage:
          $ref: '#/components/schemas/ModelsToolsStage'
      required:
        - authMatrixStage
        - exploitAnalysisStage
        - toolsStage
      type: object
    ModelsNetworkLog:
      properties:
        timestamp:
          format: date-time
          type: string
        transactions:
          items:
            $ref: '#/components/schemas/ModelsNetworkTransaction'
          nullable: true
          type: array
      required:
        - timestamp
        - transactions
      type: object
    ModelsNetworkLogsSummary:
      properties:
        logFileReferences:
          items:
            type: string
          type: array
        totalRequests:
          type: integer
      required:
        - logFileReferences
        - totalRequests
      type: object
    ModelsNetworkRequest:
      properties:
        body:
          nullable: true
          type: string
        headers:
          additionalProperties:
            type: string
          type: object
        method:
          type: string
        url:
          type: string
      required:
        - body
        - headers
        - method
        - url
      type: object
    ModelsNetworkResponse:
      properties:
        body:
          nullable: true
          type: string
        headers:
          additionalProperties:
            type: string
          type: object
        statusCode:
          type: integer
      required:
        - body
        - headers
        - statusCode
      type: object
    ModelsNetworkTransaction:
      properties:
        authRedacted:
          nullable: true
          type: boolean
        correlationId:
          nullable: true
          type: string
        durationMs:
          nullable: true
          type: number
        endTime:
          format: date-time
          nullable: true
          type: string
        error:
          nullable: true
          type: string
        protocol:
          nullable: true
          type: string
        request:
          $ref: '#/components/schemas/ModelsNetworkRequest'
        response:
          $ref: '#/components/schemas/ModelsNetworkResponse'
        startTime:
          format: date-time
          nullable: true
          type: string
      required:
        - authRedacted
        - correlationId
        - durationMs
        - endTime
        - error
        - protocol
        - request
        - response
        - startTime
      type: object
    ModelsNetworkTransactionsSummary:
      properties:
        logFileReferences:
          items:
            type: string
          type: array
        totalRequests:
          type: integer
      required:
        - logFileReferences
        - totalRequests
      type: object
    ModelsOktaUserProvider:
      properties:
        id:
          type: string
      required:
        - id
      type: object
    ModelsPentestAssessmentPhase:
      properties:
        durationSeconds:
          format: double
          type: number
        endTime:
          format: date-time
          nullable: true
          type: string
        groupedLogs:
          items:
            $ref: '#/components/schemas/ModelsGroupedAgentLog'
          type: array
        hypotheses:
          items:
            $ref: '#/components/schemas/ModelsPentestHypothesis'
          type: array
        langfuseTraceId:
          type: string
        langfuseTraceUrl:
          type: string
        logs:
          items: {}
          type: array
        name:
          type: string
        startTime:
          format: date-time
          type: string
        status:
          type: string
        usageMetrics:
          $ref: '#/components/schemas/ModelsPentestPhaseUsageMetrics'
      required:
        - durationSeconds
        - endTime
        - groupedLogs
        - hypotheses
        - langfuseTraceId
        - langfuseTraceUrl
        - logs
        - name
        - startTime
        - status
        - usageMetrics
      type: object
    ModelsPentestAuthMatrixHypothesis:
      properties:
        falseReason:
          nullable: true
          type: string
        findingId:
          nullable: true
          type: string
        hypothesis:
          type: string
        isInsecure:
          type: boolean
        logs:
          $ref: '#/components/schemas/AgentsAgentLogs'
      required:
        - falseReason
        - findingId
        - hypothesis
        - isInsecure
        - logs
      type: object
    ModelsPentestAuthMatrixResult:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsPentestFinding'
          type: array
        hypotheses:
          items:
            $ref: '#/components/schemas/ModelsPentestAuthMatrixHypothesis'
          type: array
      required:
        - findings
        - hypotheses
      type: object
    ModelsPentestEndpointMetrics:
      properties:
        fuzzed:
          type: integer
        tested:
          type: integer
        total:
          type: integer
        vulnerable:
          type: integer
      required:
        - fuzzed
        - tested
        - total
        - vulnerable
      type: object
    ModelsPentestExploitAnalysisResult:
      properties:
        updatedSASTFindings:
          items:
            $ref: '#/components/schemas/ModelsCodeFinding'
          nullable: true
          type: array
      required:
        - updatedSASTFindings
      type: object
    ModelsPentestFinding:
      properties:
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        allowlistedReason:
          type: string
        api:
          $ref: '#/components/schemas/ModelsPentestFindingAPI'
        authMatrix:
          $ref: '#/components/schemas/ModelsPentestFindingAuthMatrix'
        budgetExhausted:
          type: boolean
        budgetLimit:
          format: double
          type: number
        budgetUsed:
          format: double
          type: number
        concurrencyLimit:
          type: integer
        createdAt:
          format: date-time
          type: string
        cwe:
          type: integer
        endpoint:
          $ref: '#/components/schemas/ModelsPentestFindingEndpoint'
        host:
          type: string
        id:
          type: string
        isAllowlisted:
          type: boolean
        isFixed:
          type: boolean
        isLatest:
          type: boolean
        priorityLabel:
          $ref: '#/components/schemas/TriageTriagePriority'
        priorityScore:
          type: integer
        scanInfo:
          $ref: '#/components/schemas/ModelsPentestFindingScanInfo'
        source:
          $ref: '#/components/schemas/ModelsPentestFindingSource'
        summary:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        title:
          type: string
        triage:
          $ref: '#/components/schemas/TriageTriage'
        updatedAt:
          format: date-time
          type: string
        userRole:
          type: string
        userRoleDescription:
          type: string
      required:
        - allowlistType
        - allowlistedReason
        - api
        - authMatrix
        - budgetExhausted
        - budgetLimit
        - budgetUsed
        - concurrencyLimit
        - createdAt
        - cwe
        - endpoint
        - host
        - id
        - isAllowlisted
        - isFixed
        - isLatest
        - priorityLabel
        - priorityScore
        - scanInfo
        - source
        - summary
        - ticket
        - title
        - triage
        - updatedAt
        - userRole
        - userRoleDescription
      type: object
    ModelsPentestFindingAPI:
      properties:
        errorDescription:
          type: string
        errorType:
          type: string
        httpVersion:
          type: string
        method:
          type: string
        path:
          type: string
        previousResponse:
          type: string
        queryParameters:
          $ref: '#/components/schemas/ModelsPentestFindingRESTQueryParameters'
        requestBody:
          type: string
        requestHeader:
          $ref: '#/components/schemas/ModelsPentestFindingRESTRequestHeader'
        responseBody:
          type: string
        responseHeader:
          $ref: '#/components/schemas/ModelsPentestFindingRESTResponseHeader'
        severity:
          type: string
        solution:
          type: string
        uri:
          type: string
        vulnerableParameterName:
          type: string
        vulnerableParameterValue:
          type: string
      required:
        - errorDescription
        - errorType
        - httpVersion
        - method
        - path
        - previousResponse
        - queryParameters
        - requestBody
        - requestHeader
        - responseBody
        - responseHeader
        - severity
        - solution
        - uri
        - vulnerableParameterName
        - vulnerableParameterValue
      type: object
    ModelsPentestFindingAuthMatrix:
      properties:
        hypothesis:
          type: string
        user:
          $ref: '#/components/schemas/ModelsPentestFindingAuthMatrixUser'
      required:
        - hypothesis
        - user
      type: object
    ModelsPentestFindingAuthMatrixUser:
      properties:
        roleDescription:
          type: string
        roleName:
          type: string
        userName:
          type: string
      required:
        - roleDescription
        - roleName
        - userName
      type: object
    ModelsPentestFindingEndpoint:
      properties:
        method:
          type: string
        path:
          type: string
      required:
        - method
        - path
      type: object
    ModelsPentestFindingMetrics:
      properties:
        fixed:
          type: integer
        new:
          type: integer
        total:
          type: integer
        unfixed:
          type: integer
      required:
        - fixed
        - new
        - total
        - unfixed
      type: object
    ModelsPentestFindingRESTQueryParameters:
      additionalProperties:
        type: string
      type: object
    ModelsPentestFindingRESTRequestHeader:
      additionalProperties:
        type: string
      type: object
    ModelsPentestFindingRESTResponseHeader:
      additionalProperties:
        type: string
      type: object
    ModelsPentestFindingScanInfo:
      properties:
        appId:
          type: string
        scanId:
          type: string
        scanType:
          $ref: '#/components/schemas/ModelsPentestFindingScanType'
        targetUrl:
          type: string
      required:
        - appId
        - scanId
        - scanType
        - targetUrl
      type: object
    ModelsPentestFindingScanType:
      enum:
        - API
        - AuthMatrix
      type: string
    ModelsPentestFindingSource:
      enum:
        - AIPenTester
        - Nuclei
        - ZAP
        - RESTler
      type: string
    ModelsPentestHypothesis:
      properties:
        description:
          type: string
        endpoint:
          type: string
        evidence:
          items:
            $ref: '#/components/schemas/ModelsPentestHypothesisEvidence'
          type: array
        id:
          type: string
        result:
          type: string
        role:
          type: string
        severity:
          type: string
        title:
          type: string
      required:
        - description
        - endpoint
        - evidence
        - id
        - result
        - role
        - severity
        - title
      type: object
    ModelsPentestHypothesisEvidence:
      properties:
        notes:
          type: string
        request:
          $ref: '#/components/schemas/ModelsNetworkRequest'
        response:
          $ref: '#/components/schemas/ModelsNetworkResponse'
      required:
        - notes
        - request
        - response
      type: object
    ModelsPentestMetadata:
      properties:
        description:
          type: string
        langfuseTraceIds:
          items:
            type: string
          nullable: true
          type: array
      required:
        - description
        - langfuseTraceIds
      type: object
    ModelsPentestMetrics:
      properties:
        endpointMetrics:
          $ref: '#/components/schemas/ModelsPentestEndpointMetrics'
        findingMetrics:
          $ref: '#/components/schemas/ModelsPentestFindingMetrics'
        numUsers:
          type: integer
        requestMetrics:
          $ref: '#/components/schemas/ModelsPentestRequestMetrics'
        usageMetrics:
          $ref: '#/components/schemas/ModelsPentestUsageMetrics'
      required:
        - endpointMetrics
        - findingMetrics
        - numUsers
        - requestMetrics
        - usageMetrics
      type: object
    ModelsPentestPhaseUsageMetrics:
      properties:
        cacheHitCost:
          format: double
          type: number
        cacheHitTokenCount:
          type: integer
        cacheWriteCost:
          format: double
          type: number
        cacheWriteTokenCount:
          type: integer
        inputCost:
          format: double
          type: number
        inputTokenCount:
          type: integer
        outputCost:
          format: double
          type: number
        outputTokenCount:
          type: integer
        totalCost:
          format: double
          type: number
      required:
        - cacheHitCost
        - cacheHitTokenCount
        - cacheWriteCost
        - cacheWriteTokenCount
        - inputCost
        - inputTokenCount
        - outputCost
        - outputTokenCount
        - totalCost
      type: object
    ModelsPentestRateLimit:
      properties:
        burstSize:
          type: integer
        requestsPerSecond:
          type: integer
      required:
        - burstSize
        - requestsPerSecond
      type: object
    ModelsPentestReport:
      properties:
        appendices:
          $ref: '#/components/schemas/ModelsAppendices'
        assessmentPeriod:
          $ref: '#/components/schemas/ModelsAssessmentPeriod'
        authMatrixResult:
          $ref: '#/components/schemas/ModelsPentestAuthMatrixResult'
        executiveSummary:
          $ref: '#/components/schemas/ModelsExecutiveSummary'
        exploitAnalysisResult:
          $ref: '#/components/schemas/ModelsPentestExploitAnalysisResult'
        findingsSummary:
          items:
            $ref: '#/components/schemas/ModelsFindingSummary'
          type: array
        limitations:
          type: string
        metadata:
          $ref: '#/components/schemas/ModelsPentestMetadata'
        methodology:
          $ref: '#/components/schemas/ModelsMethodology'
        metrics:
          $ref: '#/components/schemas/ModelsPentestMetrics'
        networkTransactionsSummary:
          $ref: '#/components/schemas/ModelsNetworkTransactionsSummary'
        pentestToolsResult:
          $ref: '#/components/schemas/ModelsPentestToolsResult'
        reportMetadata:
          $ref: '#/components/schemas/ModelsReportMetadata'
        retestPolicy:
          type: string
        scanId:
          type: string
        scope:
          $ref: '#/components/schemas/ModelsReportScope'
      required:
        - appendices
        - assessmentPeriod
        - authMatrixResult
        - executiveSummary
        - exploitAnalysisResult
        - findingsSummary
        - limitations
        - metadata
        - methodology
        - metrics
        - networkTransactionsSummary
        - pentestToolsResult
        - reportMetadata
        - retestPolicy
        - scanId
        - scope
      type: object
    ModelsPentestRequestMetrics:
      properties:
        error:
          type: integer
        fail:
          additionalProperties:
            type: integer
          nullable: true
          type: object
        success:
          type: integer
        timeout:
          type: integer
        total:
          type: integer
      required:
        - error
        - fail
        - success
        - timeout
        - total
      type: object
    ModelsPentestScan:
      properties:
        appId:
          type: string
        assessmentPhases:
          items:
            $ref: '#/components/schemas/ModelsPentestAssessmentPhase'
          type: array
        endTime:
          format: date-time
          nullable: true
          type: string
        executionArn:
          type: string
        failureReason:
          nullable: true
          type: string
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        id:
          type: string
        isExternal:
          type: boolean
        networkLogs:
          items:
            $ref: '#/components/schemas/ModelsNetworkLog'
          type: array
        progress:
          type: integer
        startTime:
          format: date-time
          type: string
        status:
          $ref: '#/components/schemas/ModelsScanStatus'
        tenantId:
          type: string
        totalCost:
          $ref: '#/components/schemas/ModelsPentestScanCostSummary'
      required:
        - appId
        - assessmentPhases
        - endTime
        - executionArn
        - failureReason
        - findingIds
        - id
        - isExternal
        - networkLogs
        - progress
        - startTime
        - status
        - tenantId
        - totalCost
      type: object
    ModelsPentestScanConfig:
      properties:
        apiType:
          $ref: '#/components/schemas/ModelsAPIType'
        attackMode:
          type: string
        attackStrength:
          type: string
        disabledChecks:
          items:
            type: string
          type: array
        enabledChecks:
          items:
            type: string
          type: array
        excludePatterns:
          items:
            type: string
          type: array
        includePatterns:
          items:
            type: string
          type: array
        isExternal:
          type: boolean
        maxDepth:
          type: integer
        maxDurationMinutes:
          type: integer
        rateLimit:
          $ref: '#/components/schemas/ModelsPentestRateLimit'
        requestTimeoutSeconds:
          type: integer
        scannerType:
          type: string
        scannerVersion:
          type: string
        targetUrl:
          type: string
        threadCount:
          type: integer
        userAgents:
          items:
            type: string
          type: array
      required:
        - apiType
        - attackMode
        - attackStrength
        - disabledChecks
        - enabledChecks
        - excludePatterns
        - includePatterns
        - isExternal
        - maxDepth
        - maxDurationMinutes
        - rateLimit
        - requestTimeoutSeconds
        - scannerType
        - scannerVersion
        - targetUrl
        - threadCount
        - userAgents
      type: object
    ModelsPentestScanCostSummary:
      properties:
        costByPhase:
          additionalProperties:
            $ref: '#/components/schemas/ModelsPentestPhaseUsageMetrics'
          type: object
        totalCacheHitCost:
          format: double
          type: number
        totalCacheHitTokens:
          type: integer
        totalCacheWriteCost:
          format: double
          type: number
        totalCacheWriteTokens:
          type: integer
        totalCost:
          format: double
          type: number
        totalInputCost:
          format: double
          type: number
        totalInputTokens:
          type: integer
        totalOutputCost:
          format: double
          type: number
        totalOutputTokens:
          type: integer
      required:
        - costByPhase
        - totalCacheHitCost
        - totalCacheHitTokens
        - totalCacheWriteCost
        - totalCacheWriteTokens
        - totalCost
        - totalInputCost
        - totalInputTokens
        - totalOutputCost
        - totalOutputTokens
      type: object
    ModelsPentestToolsResult:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsPentestFinding'
          type: array
      required:
        - findings
      type: object
    ModelsPentestUsageMetrics:
      properties:
        cacheHitCost:
          format: double
          type: number
        cacheWriteCost:
          format: double
          type: number
        inputCost:
          format: double
          type: number
        inputTokenCount:
          type: integer
        outputCost:
          format: double
          type: number
        outputTokenCount:
          type: integer
        totalCost:
          format: double
          type: number
      required:
        - cacheHitCost
        - cacheWriteCost
        - inputCost
        - inputTokenCount
        - outputCost
        - outputTokenCount
        - totalCost
      type: object
    ModelsReportMetadata:
      properties:
        authors:
          items:
            $ref: '#/components/schemas/ModelsAuthor'
          type: array
        classification:
          type: string
        client:
          type: string
        reportVersion:
          type: string
        title:
          type: string
      required:
        - authors
        - classification
        - client
        - reportVersion
        - title
      type: object
    ModelsReportScope:
      properties:
        targetDescription:
          nullable: true
          type: string
        targetUrl:
          type: string
        users:
          items:
            $ref: '#/components/schemas/ModelsScopeUser'
          nullable: true
          type: array
      required:
        - targetDescription
        - targetUrl
        - users
      type: object
    ModelsScopeUser:
      properties:
        name:
          type: string
        roleDescription:
          type: string
      required:
        - name
        - roleDescription
      type: object
    ModelsSlackUserProvider:
      properties:
        id:
          type: string
      required:
        - id
      type: object
    ModelsTeamsUserProvider:
      properties:
        id:
          type: string
        teamIDs:
          items:
            type: string
          nullable: true
          type: array
      required:
        - id
        - teamIDs
      type: object
    ModelsToolOutputs:
      properties:
        rawFindingsCount:
          type: integer
        toolsUsed:
          items:
            type: string
          type: array
        triagedFindingsCount:
          type: integer
      required:
        - rawFindingsCount
        - toolsUsed
        - triagedFindingsCount
      type: object
    ModelsToolsStage:
      properties:
        coverage:
          type: string
        description:
          type: string
        toolsUsed:
          items:
            type: string
          nullable: true
          type: array
      required:
        - coverage
        - description
        - toolsUsed
      type: object
    ModelsUser:
      properties:
        email:
          description: The user's email address
          type: string
        id:
          description: The user's ID
          type: string
        isBot:
          description: Whether the user is a bot
          type: boolean
        name:
          description: The user's name
          type: string
        provider:
          $ref: '#/components/schemas/ModelsUserProvider'
        slug:
          description: The user's slug
          type: string
        username:
          description: The user's username
          type: string
      required:
        - email
        - id
        - isBot
        - name
        - provider
        - slug
        - username
      type: object
    ModelsUserProvider:
      properties:
        azure:
          $ref: '#/components/schemas/ModelsAzureUserProvider'
        bitBucket:
          $ref: '#/components/schemas/ModelsBitbucketUserProvider'
        gitHub:
          $ref: '#/components/schemas/ModelsGitHubUserProvider'
        gitlab:
          $ref: '#/components/schemas/ModelsGitLabUserProvider'
        id:
          $ref: '#/components/schemas/ModelsProviderID'
        jira:
          $ref: '#/components/schemas/ModelsJiraUserProvider'
        linear:
          $ref: '#/components/schemas/ModelsLinearUserProvider'
        okta:
          $ref: '#/components/schemas/ModelsOktaUserProvider'
        slack:
          $ref: '#/components/schemas/ModelsSlackUserProvider'
        teams:
          $ref: '#/components/schemas/ModelsTeamsUserProvider'
      required:
        - azure
        - bitBucket
        - gitHub
        - gitlab
        - id
        - jira
        - linear
        - okta
        - slack
        - teams
      type: object
    ModelsValidationEvidence:
      properties:
        duration:
          format: int64
          type: integer
        error:
          type: string
        message:
          type: string
        responseHeaders:
          additionalProperties:
            type: string
          type: object
        status:
          $ref: '#/components/schemas/ModelsValidationStatus'
        statusCode:
          type: integer
        testUrl:
          type: string
        validatedBy:
          type: string
      required:
        - duration
        - error
        - message
        - responseHeaders
        - status
        - statusCode
        - testUrl
        - validatedBy
      type: object
    ModelsValidationStatus:
      enum:
        - unknown
        - valid
        - invalid
        - expired
        - error
      type: string
    TriageTriage:
      properties:
        campaignMetadata:
          $ref: '#/components/schemas/TriageTriageCampaignMetadata'
        description:
          nullable: true
          type: string
        devDescription:
          nullable: true
          type: string
        devTitle:
          nullable: true
          type: string
        evidence:
          $ref: '#/components/schemas/GraphGraph'
        exploitHypothesis:
          $ref: '#/components/schemas/GraphGraph'
        exploitability:
          $ref: '#/components/schemas/TriageTriageExploitability'
        fixEffort:
          $ref: '#/components/schemas/TriageTriageFixEffort'
        id:
          nullable: true
          type: string
        impact:
          $ref: '#/components/schemas/TriageTriageImpact'
        lastTriagedAt:
          nullable: true
          type: string
        parentTriageId:
          nullable: true
          type: string
        pentest:
          $ref: '#/components/schemas/TriageTriagePentest'
        priority:
          $ref: '#/components/schemas/TriageTriagePriority'
        retriageMetadata:
          $ref: '#/components/schemas/TriageTriageRetriageMetadata'
        retriageStatus:
          $ref: '#/components/schemas/TriageTriageRetriageStatus'
          nullable: true
        severity:
          $ref: '#/components/schemas/TriageTriageSeverity'
        title:
          nullable: true
          type: string
        version:
          type: integer
      required:
        - campaignMetadata
        - description
        - devDescription
        - devTitle
        - evidence
        - exploitHypothesis
        - exploitability
        - fixEffort
        - id
        - impact
        - lastTriagedAt
        - parentTriageId
        - pentest
        - priority
        - retriageMetadata
        - retriageStatus
        - severity
        - title
        - version
      type: object
    TriageTriageCampaignMetadata:
      properties:
        id:
          type: string
        name:
          nullable: true
          type: string
      required:
        - id
        - name
      type: object
    TriageTriageExploitability:
      properties:
        attackComplexity:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackComplexity'
        attackRequirements:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirements'
        attackVector:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackVector'
        confidence:
          $ref: '#/components/schemas/TriageTriageExploitabilityConfidence'
          nullable: true
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityLabel'
        privilegesRequired:
          $ref: '#/components/schemas/TriageTriageExploitabilityPrivilegesRequired'
        title:
          nullable: true
          type: string
        unknowns:
          items:
            type: string
          type: array
        userInteraction:
          $ref: '#/components/schemas/TriageTriageExploitabilityUserInteraction'
      required:
        - attackComplexity
        - attackRequirements
        - attackVector
        - confidence
        - description
        - label
        - privilegesRequired
        - title
        - unknowns
        - userInteraction
      type: object
    TriageTriageExploitabilityAttackComplexity:
      properties:
        description:
          nullable: true
          type: string
        exploitChainRequired:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackComplexityExploitChainRequired'
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackComplexityLabel'
        payloadDifficulty:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackComplexityPayloadDifficulty'
      required:
        - description
        - exploitChainRequired
        - label
        - payloadDifficulty
      type: object
    TriageTriageExploitabilityAttackComplexityExploitChainRequired:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackComplexityExploitChainRequiredLabel'
          nullable: true
        title:
          nullable: true
          type: string
      required:
        - description
        - label
        - title
      type: object
    TriageTriageExploitabilityAttackComplexityExploitChainRequiredLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageExploitabilityAttackComplexityLabel:
      enum:
        - HIGH
        - LOW
      type: string
    TriageTriageExploitabilityAttackComplexityPayloadDifficulty:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackComplexityPayloadDifficultyLabel'
          nullable: true
      required:
        - description
        - label
      type: object
    TriageTriageExploitabilityAttackComplexityPayloadDifficultyLabel:
      enum:
        - EASY
        - HARD
        - NONE
      type: string
    TriageTriageExploitabilityAttackRequirements:
      properties:
        description:
          nullable: true
          type: string
        environmentState:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsEnvironmentState'
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsLabel'
          nullable: true
        mitm:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsMitm'
        raceCondition:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsRaceCondition'
        timeWindow:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsTimeWindow'
        title:
          nullable: true
          type: string
      required:
        - description
        - environmentState
        - label
        - mitm
        - raceCondition
        - timeWindow
        - title
      type: object
    TriageTriageExploitabilityAttackRequirementsEnvironmentState:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsEnvironmentStateLabel'
          nullable: true
        title:
          nullable: true
          type: string
      required:
        - description
        - label
        - title
      type: object
    TriageTriageExploitabilityAttackRequirementsEnvironmentStateLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageExploitabilityAttackRequirementsLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageExploitabilityAttackRequirementsMitm:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsMitmLabel'
          nullable: true
        title:
          nullable: true
          type: string
      required:
        - description
        - label
        - title
      type: object
    TriageTriageExploitabilityAttackRequirementsMitmLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageExploitabilityAttackRequirementsRaceCondition:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsRaceConditionLabel'
          nullable: true
        title:
          nullable: true
          type: string
      required:
        - description
        - label
        - title
      type: object
    TriageTriageExploitabilityAttackRequirementsRaceConditionLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageExploitabilityAttackRequirementsTimeWindow:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackRequirementsTimeWindowLabel'
          nullable: true
        title:
          nullable: true
          type: string
      required:
        - description
        - label
        - title
      type: object
    TriageTriageExploitabilityAttackRequirementsTimeWindowLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageExploitabilityAttackVector:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackVectorLabel'
        subVectors:
          items:
            $ref: '#/components/schemas/TriageTriageExploitabilityAttackVectorSubVectorsElem'
          type: array
      required:
        - description
        - label
        - subVectors
      type: object
    TriageTriageExploitabilityAttackVectorLabel:
      enum:
        - ADJACENT
        - LOCAL
        - NETWORK
        - PHYSICAL
      type: string
    TriageTriageExploitabilityAttackVectorSubVectorsElem:
      properties:
        description:
          nullable: true
          type: string
        otherVector:
          nullable: true
          type: string
        vector:
          $ref: '#/components/schemas/TriageTriageExploitabilityAttackVectorSubVectorsElemVector'
          nullable: true
      required:
        - description
        - otherVector
        - vector
      type: object
    TriageTriageExploitabilityAttackVectorSubVectorsElemVector:
      enum:
        - ADJACENT_ARP_SPOOFING
        - ADJACENT_BLE_ADVERTISING
        - ADJACENT_BLUETOOTH_CLASSIC
        - ADJACENT_BLUETOOTH_KNOB
        - ADJACENT_IPV6_NEIGHBOR_DISCOVERY
        - ADJACENT_MDNS
        - ADJACENT_NETBIOS
        - ADJACENT_NFC
        - ADJACENT_OTHER
        - ADJACENT_SMB
        - ADJACENT_SSDP
        - ADJACENT_THREAD
        - ADJACENT_WIFI_DIRECT
        - ADJACENT_ZIGBEE
        - LOCAL_COMMAND_LINE_ARGUMENT
        - LOCAL_CONFIGURATION_FILE
        - LOCAL_CRON_JOB
        - LOCAL_D-BUS_MESSAGE
        - LOCAL_DOCKER_SOCKET
        - LOCAL_ENVIRONMENT_VARIABLE
        - LOCAL_FILE_CONTENT
        - LOCAL_FILE_NAME
        - LOCAL_FILE_PATH
        - LOCAL_IPC_SOCKET
        - LOCAL_OTHER
        - LOCAL_SCRIPT_PLUGIN
        - LOCAL_SHARED_LIBRARY_LOAD
        - LOCAL_SHARED_MEMORY
        - LOCAL_SHELL_COMMAND
        - LOCAL_SUID_EXECUTABLE
        - NETWORK_DNS
        - NETWORK_FTP
        - NETWORK_GRAPHQL_QUERY
        - NETWORK_GRE
        - NETWORK_HTTP_BODY
        - NETWORK_HTTP_COOKIE
        - NETWORK_HTTP_FILE_UPLOAD
        - NETWORK_HTTP_HEADER
        - NETWORK_HTTP_METHOD
        - NETWORK_HTTP_PATH_PARAMETER
        - NETWORK_HTTP_QUERY_PARAMETER
        - NETWORK_ICMP
        - NETWORK_IMAP
        - NETWORK_IPSEC
        - NETWORK_L2TP
        - NETWORK_LDAP
        - NETWORK_MQTT
        - NETWORK_NTP
        - NETWORK_OTHER
        - NETWORK_POP3
        - NETWORK_RDP
        - NETWORK_REST_ENDPOINTHYPERLINK_CLICK
        - NETWORK_SCTP
        - NETWORK_SIP
        - NETWORK_SMB
        - NETWORK_SMTP
        - NETWORK_SNMP
        - NETWORK_SOAP_REQUEST
        - NETWORK_SSH
        - NETWORK_TCP_PORT
        - NETWORK_UDP_PORT
        - NETWORK_WEBSOCKET_MESSAGE
        - PHYSICAL_BIOS_JTAG
        - PHYSICAL_BLUETOOTH
        - PHYSICAL_EVIL_MAID
        - PHYSICAL_FIREWIRE
        - PHYSICAL_IR
        - PHYSICAL_NFC
        - PHYSICAL_OTHER
        - PHYSICAL_RFID
        - PHYSICAL_SD_CARD
        - PHYSICAL_SDIO
        - PHYSICAL_SIDE_CHANNEL
        - PHYSICAL_TEMPEST
        - PHYSICAL_THUNDERBOLT
        - PHYSICAL_USB
      type: string
    TriageTriageExploitabilityConfidence:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    TriageTriageExploitabilityLabel:
      enum:
        - LIKELY
        - NEUTRAL
        - UNLIKELY
      type: string
    TriageTriageExploitabilityPrivilegesRequired:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityPrivilegesRequiredLabel'
          nullable: true
        title:
          nullable: true
          type: string
        types:
          items:
            $ref: '#/components/schemas/TriageTriageExploitabilityPrivilegesRequiredTypesElem'
          type: array
      required:
        - description
        - label
        - title
        - types
      type: object
    TriageTriageExploitabilityPrivilegesRequiredLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageExploitabilityPrivilegesRequiredTypesElem:
      enum:
        - PRIVILEDGED_USER
        - UNAUTHENTICATED
        - UNVERIFIED_USER
        - VERIFIED_USER
      type: string
    TriageTriageExploitabilityUserInteraction:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageExploitabilityUserInteractionLabel'
          nullable: true
        otherTypes:
          items:
            type: string
          type: array
        title:
          nullable: true
          type: string
        types:
          items:
            $ref: '#/components/schemas/TriageTriageExploitabilityUserInteractionTypesElem'
          type: array
      required:
        - description
        - label
        - otherTypes
        - title
        - types
      type: object
    TriageTriageExploitabilityUserInteractionLabel:
      enum:
        - ACTIVE
        - NONE
        - PASSIVE
      type: string
    TriageTriageExploitabilityUserInteractionTypesElem:
      enum:
        - BROWSING
        - FILE_DOWNLOAD
        - FILE_UPLOAD
        - HYPERLINK_CLICK
        - SOCIAL_ENGINEERING
      type: string
    TriageTriageFixEffort:
      properties:
        confidence:
          $ref: '#/components/schemas/TriageTriageFixEffortConfidence'
          nullable: true
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageFixEffortLabel'
        title:
          nullable: true
          type: string
        unknowns:
          items:
            type: string
          type: array
      required:
        - confidence
        - description
        - label
        - title
        - unknowns
      type: object
    TriageTriageFixEffortConfidence:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    TriageTriageFixEffortLabel:
      enum:
        - EASY
        - HARD
        - MEDIUM
      type: string
    TriageTriageImpact:
      properties:
        availability:
          $ref: '#/components/schemas/TriageTriageImpactAvailability'
        businessCriticality:
          $ref: '#/components/schemas/TriageTriageImpactBusinessCriticality'
        confidence:
          $ref: '#/components/schemas/TriageTriageImpactConfidence'
          nullable: true
        confidentiality:
          $ref: '#/components/schemas/TriageTriageImpactConfidentiality'
        description:
          nullable: true
          type: string
        integrity:
          $ref: '#/components/schemas/TriageTriageImpactIntegrity'
        label:
          $ref: '#/components/schemas/TriageTriageImpactLabel'
        title:
          nullable: true
          type: string
        unknowns:
          items:
            type: string
          type: array
      required:
        - availability
        - businessCriticality
        - confidence
        - confidentiality
        - description
        - integrity
        - label
        - title
        - unknowns
      type: object
    TriageTriageImpactAvailability:
      properties:
        cause:
          items:
            $ref: '#/components/schemas/TriageTriageImpactAvailabilityCauseElem'
          type: array
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageImpactAvailabilityLabel'
        title:
          nullable: true
          type: string
        type:
          items:
            $ref: '#/components/schemas/TriageTriageImpactAvailabilityTypeElem'
          type: array
      required:
        - cause
        - description
        - label
        - title
        - type
      type: object
    TriageTriageImpactAvailabilityCauseElem:
      enum:
        - BUFFER_OVERFLOW
        - BUSINESS_LOGIC
        - INFINITE_LOOP
        - MEMORY_LEAK
        - RESOURCE_EXHAUSTION
      type: string
    TriageTriageImpactAvailabilityLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageImpactAvailabilityTypeElem:
      enum:
        - COMPLETE_SERVICE_OUTAGE
        - SERVICE_DEGRADATION
        - USER_ACCESS_DISRUPTION
      type: string
    TriageTriageImpactBusinessCriticality:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageImpactBusinessCriticalityLabel'
          nullable: true
        title:
          nullable: true
          type: string
      required:
        - description
        - label
        - title
      type: object
    TriageTriageImpactBusinessCriticalityLabel:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    TriageTriageImpactConfidence:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    TriageTriageImpactConfidentiality:
      properties:
        dataLeaked:
          items:
            $ref: '#/components/schemas/TriageTriageImpactConfidentialityDataLeakedElem'
          type: array
        label:
          $ref: '#/components/schemas/TriageTriageImpactConfidentialityLabel'
      required:
        - dataLeaked
        - label
      type: object
    TriageTriageImpactConfidentialityDataLeakedElem:
      enum:
        - ADDRESS
        - AGE
        - AUTHENTICATION_DATA
        - BANK_ACCOUNT_INFORMATION
        - BIOMETRIC_DATA
        - CALL_LOGS
        - CLIENT_AND_VENDOR_INFORMATION
        - COMPLIANCE_RECORDS
        - CREDIT_DEBIT_CARD_DETAILS
        - DEVICE_IDENTIFIERS
        - DRIVERS_LICENSE
        - EDUCATION_RECORDS
        - EMAIL_ADDRESS
        - EMAILS_AND_MESSAGES
        - EMPLOYMENT_HISTORY
        - GENDER
        - INCOME_AND_TAX_INFORMATION
        - INTELLECTUAL_PROPERTY
        - INVENTORY_DATA
        - INVESTMENT_INFORMATION
        - IP_ADDRESSES
        - LEGAL_DOCUMENTS
        - MEDICAL_DATA
        - NAME
        - OTHER_PRIVATE_NON_SENSITIVE_DATA
        - OTHER_PRIVATE_SENSITIVE_DATA
        - OTHER_PUBLIC_DATA
        - PASSPORT
        - PERFORMANCE_REVIEWS
        - PHONE_NUMBER
        - POLITICAL_OPINIONS
        - RACIAL_OR_ETHNIC_ORIGIN
        - RELIGIOUS_OR_PHILOSOPHICAL_BELIEFS
        - SALARY_AND_BENEFITS_INFORMATION
        - SEXUAL_ORIENTATION
        - SOCIAL_MEDIA_INTERACTIONS
        - SOCIAL_SECURITY_NUMBER
        - STRATEGIC_PLANS_AND_FORECASTS
        - SYSTEM_LOGS_AND_MONITORING_DATA
        - TRADE_SECRETS
        - TRANSACTION_HISTORY
      type: string
    TriageTriageImpactConfidentialityLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageImpactIntegrity:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/TriageTriageImpactIntegrityLabel'
        title:
          nullable: true
          type: string
        type:
          items:
            $ref: '#/components/schemas/TriageTriageImpactIntegrityTypeElem'
          nullable: true
          type: array
      required:
        - description
        - label
        - title
        - type
      type: object
    TriageTriageImpactIntegrityLabel:
      enum:
        - HIGH
        - LOW
        - NONE
      type: string
    TriageTriageImpactIntegrityTypeElem:
      enum:
        - DATABASE_ALTERED
        - MALICIOUS_CODE_EXECUTED
        - PRIVILEDGE_ESCALATION
        - SYSTEM_BEHAVIOUR_MANIPULATED
      type: string
    TriageTriageImpactLabel:
      enum:
        - CRITICAL
        - HIGH
        - LOW
      type: string
    TriageTriagePentest:
      properties:
        logs:
          $ref: '#/components/schemas/AgentsGroupedAgentLogs'
        report:
          type: string
        reproductionScript:
          type: string
      required:
        - logs
        - report
        - reproductionScript
      type: object
    TriageTriagePriority:
      enum:
        - FALSE_POSITIVE
        - IMPORTANT
        - NEGLIGIBLE
        - URGENT
      type: string
    TriageTriageRetriageMetadata:
      properties:
        memoryChanges:
          items:
            $ref: '#/components/schemas/TriageTriageRetriageMetadataMemoryChangesElem'
          type: array
        triggeredAt:
          nullable: true
          type: string
      required:
        - memoryChanges
        - triggeredAt
      type: object
    TriageTriageRetriageMetadataMemoryChangesElem:
      properties:
        memoryChangeType:
          $ref: '#/components/schemas/TriageTriageRetriageMetadataMemoryChangesElemMemoryChangeType'
          nullable: true
        memoryId:
          nullable: true
          type: string
      required:
        - memoryChangeType
        - memoryId
      type: object
    TriageTriageRetriageMetadataMemoryChangesElemMemoryChangeType:
      enum:
        - MEMORY_ADDED
        - MEMORY_CORRECTED
        - MEMORY_INVALIDATED
        - MEMORY_REMOVED
      type: string
    TriageTriageRetriageStatus:
      enum:
        - NOT_RETRIAGED
        - RETRIAGE_COMPLETED
        - RETRIAGE_FAILED
        - RETRIAGE_IN_PROGRESS
        - RETRIAGE_REQUESTED
      type: string
    TriageTriageSeverity:
      properties:
        confidence:
          $ref: '#/components/schemas/TriageTriageSeverityConfidence'
          nullable: true
        label:
          $ref: '#/components/schemas/TriageTriageSeverityLabel'
        score:
          type: integer
        unknowns:
          items:
            type: string
          type: array
      required:
        - confidence
        - label
        - score
        - unknowns
      type: object
    TriageTriageSeverityConfidence:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    TriageTriageSeverityLabel:
      enum:
        - CRITICAL
        - FALSE_POSITIVE
        - HIGH
        - LOW
        - MEDIUM
      type: string
    EndpointsCodeReviewsResponse:
      properties:
        branch:
          type: string
        commitSha:
          type: string
        id:
          type: string
        isDefaultBranch:
          type: boolean
        pullRequest:
          $ref: '#/components/schemas/ModelsGitPullRequestProvider'
        repository:
          $ref: '#/components/schemas/ModelsGitRepositoryProvider'
      required:
        - branch
        - commitSha
        - id
        - isDefaultBranch
        - pullRequest
        - repository
      type: object
    EndpointsCompleteOnboardingInput:
      properties:
        tenantId:
          type: string
      required:
        - tenantId
      type: object
    EndpointsCompleteOnboardingOutput:
      properties:
        message:
          type: string
        status:
          type: string
        success:
          type: boolean
        tenantId:
          type: string
        timestamp:
          format: date-time
          type: string
      required:
        - message
        - status
        - success
        - tenantId
        - timestamp
      type: object
    EndpointsGetCodeReviewOutput:
      properties:
        id:
          type: string
        review:
          $ref: '#/components/schemas/EndpointsCodeReviewsResponse'
      required:
        - id
        - review
      type: object
    EndpointsGetCodeReviewsOutput:
      properties:
        nextToken:
          type: string
        reviews:
          $ref: '#/components/schemas/EndpointsCodeReviewsResponse'
      required:
        - nextToken
        - reviews
      type: object
    EndpointsGetOnboardingStatusOutput:
      properties:
        status:
          $ref: '#/components/schemas/EndpointsOnboardingStatusResponse'
        version:
          type: string
      required:
        - status
        - version
      type: object
    EndpointsOnboardingStatusResponse:
      properties:
        completedAt:
          format: date-time
          nullable: true
          type: string
        completedSteps:
          items:
            type: string
          type: array
        currentPhase:
          type: string
        currentStep:
          type: integer
        errorMessage:
          type: string
        executionArn:
          type: string
        failedStep:
          type: string
        progressPct:
          type: integer
        repositoriesProcessed:
          type: integer
        startedAt:
          format: date-time
          type: string
        status:
          type: string
        statusMessage:
          type: string
        tenantId:
          type: string
        totalRepositories:
          type: integer
        totalSteps:
          type: integer
        updatedAt:
          format: date-time
          type: string
      required:
        - completedAt
        - completedSteps
        - currentPhase
        - currentStep
        - errorMessage
        - executionArn
        - failedStep
        - progressPct
        - repositoriesProcessed
        - startedAt
        - status
        - statusMessage
        - tenantId
        - totalRepositories
        - totalSteps
        - updatedAt
      type: object
    EndpointsPostRetriageFindingsInput:
      properties:
        continueOnError:
          type: boolean
        filters:
          $ref: '#/components/schemas/ModelsRetriageFilters'
        findingType:
          type: string
        message:
          $ref: '#/components/schemas/ModelsRetriageMessage'
        platformProvider:
          type: string
        triggerSource:
          $ref: '#/components/schemas/ModelsRetriageTriggerSource'
      required:
        - continueOnError
        - filters
        - findingType
        - message
        - platformProvider
        - triggerSource
      type: object
    EndpointsPostRetriageFindingsOutput:
      properties:
        message:
          type: string
        messageId:
          type: string
        version:
          type: string
      required:
        - message
        - messageId
        - version
      type: object
    EndpointsStartOnboardingInput:
      properties:
        gitOwnerProvider:
          $ref: '#/components/schemas/ModelsOwnerProvider'
        repositoryIds:
          items:
            type: string
          type: array
      required:
        - gitOwnerProvider
        - repositoryIds
      type: object
    EndpointsStartOnboardingOutput:
      properties:
        executionArn:
          type: string
        message:
          type: string
        version:
          type: string
      required:
        - executionArn
        - message
        - version
      type: object
    ModelsAzureCommentProvider:
      properties:
        commentId:
          description: The Azure comment ID
          type: integer
        threadId:
          description: The Azure thread ID
          type: integer
      required:
        - commentId
        - threadId
      type: object
    ModelsAzureGitBuildProvider:
      properties:
        commitSha:
          description: The Azure build commit SHA
          type: string
      required:
        - commitSha
      type: object
    ModelsAzureGitPullRequest:
      properties:
        pullRequestId:
          description: The Azure pull request ID
          type: integer
      required:
        - pullRequestId
      type: object
    ModelsAzureGitRepositoryProvider:
      properties:
        projectId:
          description: The ID of the Azure project
          type: string
        projectName:
          description: The name of the Azure project
          type: string
        repositoryId:
          description: The ID of the Azure repository
          type: string
        repositoryName:
          description: The name of the Azure repository
          type: string
      required:
        - projectId
        - projectName
        - repositoryId
        - repositoryName
      type: object
    ModelsBitbucketCommentProvider:
      properties:
        commentId:
          description: The Bitbucket comment ID
          format: int64
          type: integer
      required:
        - commentId
      type: object
    ModelsBitbucketGitBuildProvider:
      properties:
        checkId:
          description: The Bitbucket check run ID
          type: string
        commitSha:
          description: The Bitbucket build commit SHA
          type: string
      required:
        - checkId
        - commitSha
      type: object
    ModelsBitbucketGitPullRequest:
      properties:
        pullRequestId:
          description: The GitHub pull request ID
          format: int64
          type: integer
      required:
        - pullRequestId
      type: object
    ModelsBitbucketGitRepositoryProvider:
      properties:
        projectKey:
          description: The key of a Bitbucket project
          type: string
        projectName:
          description: The name of the Bitbucket project
          type: string
        repositoryId:
          description: The ID of the Bitbucket repository
          type: string
        repositoryName:
          description: The name of the Bitbucket repository
          type: string
      required:
        - projectKey
        - projectName
        - repositoryId
        - repositoryName
      type: object
    ModelsChatCommentReference:
      properties:
        content:
          type: string
        findingId:
          type: string
        id:
          type: string
        memoryId:
          nullable: true
          type: string
        nodeId:
          nullable: true
          type: string
        timestamp:
          type: string
        user:
          $ref: '#/components/schemas/ModelsUser'
      required:
        - content
        - findingId
        - id
        - memoryId
        - nodeId
        - timestamp
        - user
      type: object
    ModelsComment:
      properties:
        body:
          description: The comment body
          type: string
        commentProvider:
          $ref: '#/components/schemas/ModelsCommentProvider'
        createdAt:
          description: The timestamp of the comment
          format: date-time
          type: string
        id:
          description: Unique ID for the comment
          type: string
        isNullify:
          description: Whether this is a Nullify comment
          type: boolean
        updatedAt:
          description: The timestamp of the comment
          format: date-time
          type: string
        userId:
          description: The ID of the comment author
          type: string
        userName:
          description: The username of the comment author
          type: string
      required:
        - body
        - commentProvider
        - createdAt
        - id
        - isNullify
        - updatedAt
        - userId
        - userName
      type: object
    ModelsCommentProvider:
      properties:
        azure:
          $ref: '#/components/schemas/ModelsAzureCommentProvider'
        bitbucket:
          $ref: '#/components/schemas/ModelsBitbucketCommentProvider'
        github:
          $ref: '#/components/schemas/ModelsGitHubCommentProvider'
        gitlab:
          $ref: '#/components/schemas/ModelsGitLabCommentProvider'
        id:
          $ref: '#/components/schemas/ModelsProviderID'
        jira:
          $ref: '#/components/schemas/ModelsJiraCommentProvider'
        linear:
          $ref: '#/components/schemas/ModelsLinearCommentProvider'
        slack:
          $ref: '#/components/schemas/ModelsSlackCommentProvider'
        teams:
          $ref: '#/components/schemas/ModelsTeamsCommentProvider'
      required:
        - azure
        - bitbucket
        - github
        - gitlab
        - id
        - jira
        - linear
        - slack
        - teams
      type: object
    ModelsCommit:
      properties:
        author:
          $ref: '#/components/schemas/ModelsUser'
        coAuthoredByNullify:
          description: Whether Nullify co-authored this commit
          type: boolean
        createdAt:
          description: The commit timestamp
          format: date-time
          type: string
        message:
          description: The commit message
          type: string
        sha:
          description: The commit SHA
          type: string
        timestamp:
          description: The commit timestamp
          format: date-time
          type: string
      required:
        - author
        - coAuthoredByNullify
        - createdAt
        - message
        - sha
        - timestamp
      type: object
    ModelsFindingType:
      enum:
        - Unknown
        - Code
        - Dependencies
        - Containers
        - Secrets
        - Pentest
        - BugHunting
      type: string
    ModelsGitBuild:
      type: object
    ModelsGitBuildProvider:
      properties:
        azure:
          $ref: '#/components/schemas/ModelsAzureGitBuildProvider'
        bitbucket:
          $ref: '#/components/schemas/ModelsBitbucketGitBuildProvider'
        gitHub:
          $ref: '#/components/schemas/ModelsGitHubGitBuildProvider'
        gitLab:
          $ref: '#/components/schemas/ModelsGitLabGitBuildProvider'
        id:
          $ref: '#/components/schemas/ModelsProviderID'
      required:
        - azure
        - bitbucket
        - gitHub
        - gitLab
        - id
      type: object
    ModelsGitBuildStatus:
      enum:
        - IN_PROGRESS
        - SUCCESS
        - SKIPPED
        - FAILURE
      type: string
    ModelsGitHubCommentProvider:
      properties:
        commentId:
          description: The GitHub comment ID
          format: int64
          type: integer
        commentNodeId:
          description: The GitHub GraphQL node ID for the comment
          type: string
      required:
        - commentId
        - commentNodeId
      type: object
    ModelsGitHubGitBuildProvider:
      properties:
        buildId:
          description: The GitHub build ID
          format: int64
          type: integer
        checkId:
          description: The GitHub check run ID
          format: int64
          type: integer
        commitSha:
          description: The commit SHA the build was run on
          type: string
        completedAt:
          description: The GitHub build completion time
          format: date-time
          type: string
        startedAt:
          description: The GitHub build start time
          format: date-time
          type: string
      required:
        - buildId
        - checkId
        - commitSha
        - completedAt
        - startedAt
      type: object
    ModelsGitHubGitPullRequest:
      properties:
        pullRequestNodeId:
          description: The GraphQL node ID for the GitHub pull request
          type: string
        pullRequestNumber:
          description: The GitHub pull request number
          format: int64
          type: integer
      required:
        - pullRequestNodeId
        - pullRequestNumber
      type: object
    ModelsGitHubGitRepositoryProvider:
      properties:
        hasIssue:
          description: Whether the repository has GitHub Issues
          type: boolean
        nodeId:
          description: The GitHub Node ID of the repository
          type: string
        owner:
          description: The owner of the repository
          type: string
        ownerId:
          description: The GitHub ID of the repository owner
          format: int64
          type: integer
        repositoryId:
          description: The GitHub ID of the repository
          format: int64
          type: integer
        repositoryName:
          description: The name of the GitHub repository
          type: string
      required:
        - hasIssue
        - nodeId
        - owner
        - ownerId
        - repositoryId
        - repositoryName
      type: object
    ModelsGitLabCommentProvider:
      properties:
        commentId:
          description: The GitLab comment ID
          format: int64
          type: integer
        threadId:
          description: The GitLab thread ID
          type: string
      required:
        - commentId
        - threadId
      type: object
    ModelsGitLabGitBuildProvider:
      properties:
        commitSha:
          description: The GitLab build commit SHA
          type: string
        jobId:
          description: The GitLab job ID
          type: integer
        pipelineId:
          description: The GitLab build pipeline ID
          type: integer
      required:
        - commitSha
        - jobId
        - pipelineId
      type: object
    ModelsGitLabGitPullRequest:
      properties:
        mergeRequestNumber:
          description: The GitLab merge request ID
          format: int64
          type: integer
      required:
        - mergeRequestNumber
      type: object
    ModelsGitLabGitRepositoryProvider:
      properties:
        projectId:
          description: The ID of the GitLab project
          format: int64
          type: integer
        projectName:
          description: The name of the GitLab project
          type: string
      required:
        - projectId
        - projectName
      type: object
    ModelsGitPullRequestProvider:
      properties:
        azure:
          $ref: '#/components/schemas/ModelsAzureGitPullRequest'
        bitbucket:
          $ref: '#/components/schemas/ModelsBitbucketGitPullRequest'
        github:
          $ref: '#/components/schemas/ModelsGitHubGitPullRequest'
        gitlab:
          $ref: '#/components/schemas/ModelsGitLabGitPullRequest'
        id:
          $ref: '#/components/schemas/ModelsProviderID'
      required:
        - azure
        - bitbucket
        - github
        - gitlab
        - id
      type: object
    ModelsGitRepositoryProvider:
      properties:
        azure:
          $ref: '#/components/schemas/ModelsAzureGitRepositoryProvider'
        bitbucket:
          $ref: '#/components/schemas/ModelsBitbucketGitRepositoryProvider'
        github:
          $ref: '#/components/schemas/ModelsGitHubGitRepositoryProvider'
        gitlab:
          $ref: '#/components/schemas/ModelsGitLabGitRepositoryProvider'
        id:
          $ref: '#/components/schemas/ModelsProviderID'
      required:
        - azure
        - bitbucket
        - github
        - gitlab
        - id
      type: object
    ModelsJiraCommentProvider:
      properties:
        commentId:
          description: The Jira comment ID
          type: string
      required:
        - commentId
      type: object
    ModelsLinearCommentProvider:
      properties:
        commentId:
          description: The Linear comment ID
          type: string
      required:
        - commentId
      type: object
    ModelsPullRequest:
      properties:
        additions:
          type: integer
        branchName:
          type: string
        builds:
          items:
            $ref: '#/components/schemas/ModelsGitBuild'
          nullable: true
          type: array
        changed_files:
          type: integer
        closed_at:
          type: string
        commits:
          items:
            $ref: '#/components/schemas/ModelsCommit'
          nullable: true
          type: array
        creationTime:
          format: date-time
          type: string
        deletions:
          type: integer
        description:
          type: string
        diff:
          type: string
        diffThreads:
          items:
            $ref: '#/components/schemas/ModelsPullRequestReviewDiffThread'
          nullable: true
          type: array
        discussionComments:
          items:
            $ref: '#/components/schemas/ModelsComment'
          nullable: true
          type: array
        gitPullRequestProvider:
          $ref: '#/components/schemas/ModelsGitPullRequestProvider'
        gitRepositoryProvider:
          $ref: '#/components/schemas/ModelsGitRepositoryProvider'
        id:
          type: integer
        isCreatedByNullify:
          type: boolean
        isDraft:
          type: boolean
        isMerged:
          type: boolean
        isOpen:
          type: boolean
        link:
          type: string
        merge_commit_sha:
          type: string
        mergeable:
          type: boolean
        mergeable_state:
          type: string
        merged_at:
          type: string
        merged_by:
          $ref: '#/components/schemas/ModelsUser'
        numCommits:
          type: integer
        ownerProvider:
          $ref: '#/components/schemas/ModelsOwnerProvider'
        rebaseable:
          type: boolean
        reviewers:
          items:
            $ref: '#/components/schemas/ModelsUser'
          nullable: true
          type: array
        sourceBranch:
          type: string
        sourceHead:
          type: string
        targetBranch:
          type: string
        targetHead:
          type: string
        title:
          type: string
      required:
        - additions
        - branchName
        - builds
        - changed_files
        - closed_at
        - commits
        - creationTime
        - deletions
        - description
        - diff
        - diffThreads
        - discussionComments
        - gitPullRequestProvider
        - gitRepositoryProvider
        - id
        - isCreatedByNullify
        - isDraft
        - isMerged
        - isOpen
        - link
        - merge_commit_sha
        - mergeable
        - mergeable_state
        - merged_at
        - merged_by
        - numCommits
        - ownerProvider
        - rebaseable
        - reviewers
        - sourceBranch
        - sourceHead
        - targetBranch
        - targetHead
        - title
      type: object
    ModelsPullRequestReviewDiffThread:
      properties:
        commentHistory:
          description: The history of comments
          items:
            $ref: '#/components/schemas/ModelsComment'
          nullable: true
          type: array
        diffHunk:
          description: The diff hunk being discussed
          type: string
        endLine:
          description: The ending line number
          type: integer
        filePath:
          description: The file path being commented on
          type: string
        isResolved:
          description: Whether the thread is resolved
          type: boolean
        newComment:
          $ref: '#/components/schemas/ModelsComment'
        provider:
          $ref: '#/components/schemas/ModelsCommentProvider'
        startLine:
          description: The starting line number
          type: integer
      required:
        - commentHistory
        - diffHunk
        - endLine
        - filePath
        - isResolved
        - newComment
        - provider
        - startLine
      type: object
    ModelsPush:
      properties:
        after:
          type: string
        before:
          type: string
        commits:
          items:
            $ref: '#/components/schemas/ModelsCommit'
          type: array
        ref:
          type: string
        repository:
          type: string
      required:
        - after
        - before
        - commits
        - ref
        - repository
      type: object
    ModelsRetriageAggregationInfo:
      properties:
        comments:
          items:
            $ref: '#/components/schemas/ModelsChatCommentReference'
          type: array
        messageIds:
          items:
            type: string
          type: array
        requestCount:
          type: integer
        triggerSources:
          items:
            $ref: '#/components/schemas/ModelsRetriageTriggerSource'
          type: array
      required:
        - comments
        - messageIds
        - requestCount
        - triggerSources
      type: object
    ModelsRetriageFilters:
      properties:
        branch:
          nullable: true
          type: string
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        forceRetriage:
          nullable: true
          type: boolean
        ownerId:
          type: string
        priorityMinimum:
          nullable: true
          type: string
        repositoryIds:
          items:
            type: string
          type: array
        reprocessFailedTriages:
          nullable: true
          type: boolean
        reprocessFalsePositives:
          nullable: true
          type: boolean
      required:
        - branch
        - findingIds
        - forceRetriage
        - ownerId
        - priorityMinimum
        - repositoryIds
        - reprocessFailedTriages
        - reprocessFalsePositives
      type: object
    ModelsRetriageMessage:
      properties:
        aggregation:
          $ref: '#/components/schemas/ModelsRetriageAggregationInfo'
        author:
          $ref: '#/components/schemas/ModelsUser'
        cloneUrl:
          type: string
        comment:
          $ref: '#/components/schemas/ModelsChatCommentReference'
        entrypoints:
          additionalProperties:
            items:
              type: string
            type: array
          type: object
        gitBuildProvider:
          $ref: '#/components/schemas/ModelsGitBuildProvider'
        gitOwnerProvider:
          $ref: '#/components/schemas/ModelsOwnerProvider'
        gitRepositoryProvider:
          $ref: '#/components/schemas/ModelsGitRepositoryProvider'
        headCommit:
          $ref: '#/components/schemas/ModelsCommit'
        pullRequestProvider:
          $ref: '#/components/schemas/ModelsGitPullRequestProvider'
        pullrequest:
          $ref: '#/components/schemas/ModelsPullRequest'
        push:
          $ref: '#/components/schemas/ModelsPush'
        repoSizeGiB:
          format: int32
          type: integer
        scanCommitSHA:
          type: string
        skipScanHistory:
          type: boolean
        ticketProvider:
          $ref: '#/components/schemas/ModelsTicketProvider'
        timestamp:
          type: string
        tool:
          type: string
        toolGroup:
          $ref: '#/components/schemas/ModelsFindingType'
        traceAttributes:
          additionalProperties:
            type: string
          type: object
      required:
        - aggregation
        - author
        - cloneUrl
        - comment
        - entrypoints
        - gitBuildProvider
        - gitOwnerProvider
        - gitRepositoryProvider
        - headCommit
        - pullRequestProvider
        - pullrequest
        - push
        - repoSizeGiB
        - scanCommitSHA
        - skipScanHistory
        - ticketProvider
        - timestamp
        - tool
        - toolGroup
        - traceAttributes
      type: object
    ModelsRetriageTriggerSource:
      enum:
        - api
        - chat_comment
        - scheduled
        - webhook
        - mixed
        - other
      type: string
    ModelsSlackCommentProvider:
      properties:
        channelId:
          description: The Slack channel ID
          type: string
        eventTs:
          description: The Slack event timestamp
          type: string
      required:
        - channelId
        - eventTs
      type: object
    ModelsTeamsCommentProvider:
      properties:
        channelId:
          description: The Teams channel ID
          type: string
        chatId:
          description: The Teams chat ID
          type: string
        messageId:
          description: The Teams message ID
          type: string
      required:
        - channelId
        - chatId
        - messageId
      type: object
    EndpointsAdminAzureConfigOutput:
      properties:
        clientId:
          type: string
        createdAt:
          format: date-time
          type: string
        tenantId:
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - clientId
        - createdAt
        - tenantId
        - updatedAt
      type: object
    EndpointsAdminBotInteraction:
      properties:
        campaignId:
          nullable: true
          type: string
        eventCreatedAt:
          nullable: true
          type: string
        eventDescription:
          nullable: true
          type: string
        eventId:
          nullable: true
          type: string
        eventStatus:
          nullable: true
          type: string
        findingId:
          type: string
        findingTitle:
          type: string
        findingType:
          type: string
        interactionType:
          type: string
        prLink:
          nullable: true
          type: string
        prNumber:
          nullable: true
          type: string
        prStatus:
          nullable: true
          type: string
        repository:
          type: string
        ticketKey:
          nullable: true
          type: string
        ticketUrl:
          nullable: true
          type: string
      required:
        - campaignId
        - eventCreatedAt
        - eventDescription
        - eventId
        - eventStatus
        - findingId
        - findingTitle
        - findingType
        - interactionType
        - prLink
        - prNumber
        - prStatus
        - repository
        - ticketKey
        - ticketUrl
      type: object
    EndpointsAdminBotInteractionSummary:
      properties:
        autofixPR:
          type: integer
        internetSearch:
          type: integer
        other:
          type: integer
        prComment:
          type: integer
        ticketCreate:
          type: integer
        total:
          type: integer
      required:
        - autofixPR
        - internetSearch
        - other
        - prComment
        - ticketCreate
        - total
      type: object
    EndpointsAdminBotInteractionsOutput:
      properties:
        interactions:
          items:
            $ref: '#/components/schemas/EndpointsAdminBotInteraction'
          nullable: true
          type: array
        summary:
          $ref: '#/components/schemas/EndpointsAdminBotInteractionSummary'
      required:
        - interactions
        - summary
      type: object
    EndpointsAdminChecklistOutput:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ModelsChecklistItem'
          nullable: true
          type: array
      required:
        - items
      type: object
    EndpointsAdminFileContentsOutput:
      properties:
        data:
          type: string
      required:
        - data
      type: object
    EndpointsAdminFileOwnersInput:
      properties:
        files:
          items:
            $ref: '#/components/schemas/EndpointsFileOwnersRequest'
          nullable: true
          type: array
      required:
        - files
      type: object
    EndpointsAdminFileOwnersOutput:
      properties:
        data:
          items:
            $ref: '#/components/schemas/ModelsFileOwners'
          nullable: true
          type: array
      required:
        - data
      type: object
    EndpointsAdminFindingsDownloadInput:
      properties:
        query:
          $ref: '#/components/schemas/ModelsOpenSearchQuery'
      required:
        - query
      type: object
    EndpointsAdminFindingsDownloadOutput:
      properties:
        csv:
          type: string
      required:
        - csv
      type: object
    EndpointsAdminFixEffortMapInput:
      properties:
        easy:
          type: integer
        hard:
          type: integer
        id:
          type: string
        medium:
          type: integer
      required:
        - easy
        - hard
        - id
        - medium
      type: object
    EndpointsAdminFixEffortMapOutput:
      properties:
        createdAt:
          type: string
        easy:
          type: integer
        hard:
          type: integer
        id:
          type: string
        medium:
          type: integer
        updatedAt:
          type: string
      required:
        - createdAt
        - easy
        - hard
        - id
        - medium
        - updatedAt
      type: object
    EndpointsAdminGetAzureConfigOutput:
      properties:
        clientSecretUploaded:
          type: boolean
        configUploaded:
          type: boolean
        configuration:
          $ref: '#/components/schemas/EndpointsAdminAzureConfigOutput'
        redactedClientSecret:
          type: string
        version:
          type: string
      required:
        - clientSecretUploaded
        - configUploaded
        - configuration
        - redactedClientSecret
        - version
      type: object
    EndpointsAdminGetFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsOpenSearchFindingPreview'
      required:
        - finding
      type: object
    EndpointsAdminGetFixEffortOutput:
      properties:
        fixEffort:
          $ref: '#/components/schemas/EndpointsAdminFixEffortMapOutput'
        version:
          type: string
      required:
        - fixEffort
        - version
      type: object
    EndpointsAdminGetGitHubAppSettingsOutput:
      properties:
        error:
          type: string
        events:
          items:
            type: string
          nullable: true
          type: array
        incorrect_permissions:
          additionalProperties:
            $ref: '#/components/schemas/EndpointsIncorrectPermission'
          nullable: true
          type: object
        installation_id:
          format: int64
          type: integer
        missing_events:
          items:
            type: string
          nullable: true
          type: array
        missing_permissions:
          additionalProperties:
            type: string
          nullable: true
          type: object
        permissions:
          additionalProperties:
            type: string
          nullable: true
          type: object
      required:
        - error
        - events
        - incorrect_permissions
        - installation_id
        - missing_events
        - missing_permissions
        - permissions
      type: object
    EndpointsAdminGetGitHubUsersOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsAdminGetGlobalConfigOutput:
      properties:
        config:
          type: string
        pullRequests:
          items:
            $ref: '#/components/schemas/ModelsPullRequest'
          nullable: true
          type: array
        version:
          type: string
      required:
        - config
        - pullRequests
        - version
      type: object
    EndpointsAdminGetJiraConfigOutput:
      properties:
        configuration:
          $ref: '#/components/schemas/ModelsJiraConfig'
        enabled:
          type: boolean
        version:
          type: string
      required:
        - configuration
        - enabled
        - version
      type: object
    EndpointsAdminGetOrganizationOutput:
      properties:
        organization:
          $ref: '#/components/schemas/ModelsOrganization'
        version:
          type: string
      required:
        - organization
        - version
      type: object
    EndpointsAdminGetRepositoriesOutput:
      properties:
        nextToken:
          type: string
        numItems:
          type: integer
        repositories:
          additionalProperties:
            $ref: '#/components/schemas/ModelsRepositoryPublic'
          nullable: true
          type: object
        version:
          type: string
      required:
        - nextToken
        - numItems
        - repositories
        - version
      type: object
    EndpointsAdminGetUserInstallationsOutput:
      properties:
        installations:
          items:
            $ref: '#/components/schemas/EndpointsAdminInstallationOutput'
          nullable: true
          type: array
        version:
          type: string
      required:
        - installations
        - version
      type: object
    EndpointsAdminGetUsersOutput:
      properties:
        Users:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        version:
          type: string
      required:
        - Users
        - version
      type: object
    EndpointsAdminInstallationOutput:
      properties:
        avatarUrl:
          type: string
        name:
          type: string
        nullifyBaseUrl:
          nullable: true
          type: string
        provider:
          $ref: '#/components/schemas/ModelsOwnerProvider'
        queryParameters:
          additionalProperties:
            type: string
          nullable: true
          type: object
      required:
        - avatarUrl
        - name
        - nullifyBaseUrl
        - provider
        - queryParameters
      type: object
    EndpointsAdminPostAzureCredentialsInput:
      properties:
        clientId:
          type: string
        clientSecret:
          type: string
        tenantId:
          type: string
      required:
        - clientId
        - clientSecret
        - tenantId
      type: object
    EndpointsAdminPostAzureCredentialsOutput:
      properties:
        clientId:
          type: string
        clientSecret:
          type: string
        createdAt:
          format: date-time
          type: string
        tenantId:
          type: string
        updatedAt:
          format: date-time
          type: string
        version:
          type: string
      required:
        - clientId
        - clientSecret
        - createdAt
        - tenantId
        - updatedAt
        - version
      type: object
    EndpointsAdminPostAzureInstallOutput:
      properties:
        version:
          type: string
      required:
        - version
      type: object
    EndpointsAdminPostGlobalConfigInput:
      properties:
        config:
          type: string
      required:
        - config
      type: object
    EndpointsAdminPostGlobalConfigOutput:
      properties:
        pullRequest:
          $ref: '#/components/schemas/ModelsPullRequest'
        version:
          type: string
      required:
        - pullRequest
        - version
      type: object
    EndpointsAdminPutFixEffortInput:
      properties:
        fixEffort:
          $ref: '#/components/schemas/EndpointsAdminFixEffortMapInput'
      required:
        - fixEffort
      type: object
    EndpointsAdminPutFixEffortOutput:
      properties:
        version:
          type: string
      required:
        - version
      type: object
    EndpointsAdminQueryFindingsInput:
      properties:
        query:
          $ref: '#/components/schemas/ModelsOpenSearchQuery'
      required:
        - query
      type: object
    EndpointsAdminQueryFindingsOutput:
      properties:
        hasMoreData:
          type: boolean
        metrics:
          items:
            $ref: '#/components/schemas/ModelsOpenSearchFindingPreview'
          type: array
        page:
          type: integer
        scrollId:
          nullable: true
          type: string
        total:
          type: integer
        version:
          type: string
      required:
        - hasMoreData
        - metrics
        - page
        - scrollId
        - total
        - version
      type: object
    EndpointsAdminUsageAggregateGroup:
      properties:
        agent:
          nullable: true
          type: string
        branchType:
          nullable: true
          type: string
        class:
          nullable: true
          type: string
      required:
        - agent
        - branchType
        - class
      type: object
    EndpointsAdminUsageAggregateItem:
      properties:
        group:
          $ref: '#/components/schemas/EndpointsAdminUsageAggregateGroup'
        usd:
          format: double
          type: number
      required:
        - group
        - usd
      type: object
    EndpointsAdminUsageAggregateOutputResponse:
      properties:
        as_of:
          type: string
        tenant_id:
          type: string
        totals:
          items:
            $ref: '#/components/schemas/EndpointsAdminUsageAggregateItem'
          nullable: true
          type: array
        window:
          type: string
      required:
        - as_of
        - tenant_id
        - totals
        - window
      type: object
    EndpointsAdminUsageBudget:
      properties:
        key:
          type: string
        usd:
          additionalProperties:
            format: double
            type: number
          nullable: true
          type: object
      required:
        - key
        - usd
      type: object
    EndpointsAdminUsageBudgetResponse:
      properties:
        consumed_usd:
          format: double
          type: number
        estimated_runs:
          type: integer
        limit_usd:
          format: double
          type: number
        remaining_usd:
          format: double
          type: number
        tenant_id:
          type: string
        time_window:
          type: string
        window_end:
          type: string
        window_start:
          type: string
      required:
        - consumed_usd
        - estimated_runs
        - limit_usd
        - remaining_usd
        - tenant_id
        - time_window
        - window_end
        - window_start
      type: object
    EndpointsAdminUsageConcurrency:
      properties:
        max:
          type: integer
        pool:
          type: string
        reserved:
          items:
            $ref: '#/components/schemas/EndpointsAdminUsageReservation'
          type: array
      required:
        - max
        - pool
        - reserved
      type: object
    EndpointsAdminUsageLedgerEntry:
      properties:
        agent:
          type: string
        at:
          type: string
        branchType:
          type: string
        budgetKeys:
          items:
            type: string
          nullable: true
          type: array
        class:
          type: string
        commitSha:
          type: string
        entryId:
          type: string
        environment:
          type: string
        findingId:
          type: string
        llm:
          additionalProperties: {}
          type: object
        notes:
          type: string
        prNumber:
          nullable: true
          type: integer
        projectId:
          type: string
        repo:
          type: string
        runId:
          type: string
        status:
          type: string
        trigger:
          type: string
        usd:
          format: double
          type: number
      required:
        - agent
        - at
        - branchType
        - budgetKeys
        - class
        - commitSha
        - entryId
        - environment
        - findingId
        - llm
        - notes
        - prNumber
        - projectId
        - repo
        - runId
        - status
        - trigger
        - usd
      type: object
    EndpointsAdminUsageLedgerResponse:
      properties:
        entries:
          items:
            $ref: '#/components/schemas/EndpointsAdminUsageLedgerEntry'
          nullable: true
          type: array
        nextToken:
          nullable: true
          type: string
      required:
        - entries
        - nextToken
      type: object
    EndpointsAdminUsageLimitsCheckRequest:
      properties:
        agent:
          type: string
        branchType:
          type: string
        class:
          type: string
        prNumber:
          nullable: true
          type: integer
        trigger:
          type: string
      required:
        - agent
        - branchType
        - class
        - prNumber
        - trigger
      type: object
    EndpointsAdminUsageLimitsCheckResponse:
      properties:
        blockingKeys:
          items:
            type: string
          type: array
        retryAfterSec:
          nullable: true
          type: integer
        wouldAdmit:
          type: boolean
      required:
        - blockingKeys
        - retryAfterSec
        - wouldAdmit
      type: object
    EndpointsAdminUsageLimitsResponse:
      properties:
        budgets:
          items:
            $ref: '#/components/schemas/EndpointsAdminUsageBudget'
          nullable: true
          type: array
        concurrency:
          items:
            $ref: '#/components/schemas/EndpointsAdminUsageConcurrency'
          nullable: true
          type: array
        leaseTtls:
          additionalProperties:
            type: string
          nullable: true
          type: object
      required:
        - budgets
        - concurrency
        - leaseTtls
      type: object
    EndpointsAdminUsageReservation:
      properties:
        id:
          type: string
        match:
          $ref: '#/components/schemas/EndpointsAdminUsageReservationMatch'
        slots:
          type: integer
      required:
        - id
        - match
        - slots
      type: object
    EndpointsAdminUsageReservationMatch:
      properties:
        agent:
          type: string
        branchType:
          type: string
        class:
          type: string
      required:
        - agent
        - branchType
        - class
      type: object
    EndpointsAdminUsageRunCompleteRequest:
      properties:
        idempotencyKey:
          nullable: true
          type: string
        llm:
          additionalProperties: {}
          type: object
        notes:
          type: string
        runId:
          type: string
        status:
          type: string
        usdCost:
          format: double
          type: number
      required:
        - idempotencyKey
        - llm
        - notes
        - runId
        - status
        - usdCost
      type: object
    EndpointsAdminUsageRunCompleteResponse:
      properties:
        ledgerEntryId:
          type: string
        ok:
          type: boolean
        releasedPools:
          items:
            type: string
          nullable: true
          type: array
      required:
        - ledgerEntryId
        - ok
        - releasedPools
      type: object
    EndpointsAdminUsageRunStartRequest:
      properties:
        agent:
          type: string
        branchType:
          type: string
        class:
          type: string
        commitSha:
          type: string
        environment:
          type: string
        findingId:
          type: string
        leaseTtlOverrideSec:
          nullable: true
          type: integer
        prNumber:
          nullable: true
          type: integer
        projectId:
          type: string
        repo:
          type: string
        trigger:
          type: string
      required:
        - agent
        - branchType
        - class
        - commitSha
        - environment
        - findingId
        - leaseTtlOverrideSec
        - prNumber
        - projectId
        - repo
        - trigger
      type: object
    EndpointsAdminUsageRunStartResponse:
      properties:
        acquiredPools:
          items:
            type: string
          type: array
        admitted:
          type: boolean
        blockingKeys:
          items:
            type: string
          type: array
        leaseExpiresAt:
          type: string
        reason:
          type: string
        retryAfterSec:
          nullable: true
          type: integer
        runId:
          type: string
      required:
        - acquiredPools
        - admitted
        - blockingKeys
        - leaseExpiresAt
        - reason
        - retryAfterSec
        - runId
      type: object
    EndpointsCount:
      properties:
        number:
          type: integer
        startTimeStamp:
          format: int64
          type: integer
      required:
        - number
        - startTimeStamp
      type: object
    EndpointsDeleteServiceAccountOutput:
      properties:
        version:
          type: string
      required:
        - version
      type: object
    EndpointsDeleteUISavedViewOutput:
      properties:
        id:
          type: string
      required:
        - id
      type: object
    EndpointsFileOwnersRequest:
      properties:
        branchName:
          type: string
        filePath:
          type: string
        id:
          type: string
        repositoryName:
          type: string
      required:
        - branchName
        - filePath
        - id
        - repositoryName
      type: object
    EndpointsFunnelData:
      properties:
        CRITICAL:
          format: float
          type: number
        HIGH:
          format: float
          type: number
        LOW:
          format: float
          type: number
        MEDIUM:
          format: float
          type: number
        funnelKey:
          type: string
      required:
        - CRITICAL
        - HIGH
        - LOW
        - MEDIUM
        - funnelKey
      type: object
    EndpointsGetCurrentUserOutput:
      properties:
        userMapping:
          $ref: '#/components/schemas/ModelsUserMapping'
        username:
          type: string
      required:
        - userMapping
        - username
      type: object
    EndpointsGetJiraUserBoardsOutput:
      properties:
        projects:
          items:
            $ref: '#/components/schemas/ModelsProject'
          nullable: true
          type: array
        version:
          type: string
      required:
        - projects
        - version
      type: object
    EndpointsGetJiraUsersOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsGetMergedPullRequestStatusOutput:
      properties:
        mergeReadyCount:
          type: integer
        mergedPullRequestsCount:
          type: integer
        pullRequests:
          items:
            $ref: '#/components/schemas/ModelsPullRequestStatus'
          nullable: true
          type: array
        version:
          type: string
      required:
        - mergeReadyCount
        - mergedPullRequestsCount
        - pullRequests
        - version
      type: object
    EndpointsGetOpenPullRequestStatusOutput:
      properties:
        mergeReadyCount:
          type: integer
        pullRequests:
          items:
            $ref: '#/components/schemas/ModelsPullRequestStatus'
          nullable: true
          type: array
        pullRequestsCount:
          type: integer
        version:
          type: string
      required:
        - mergeReadyCount
        - pullRequests
        - pullRequestsCount
        - version
      type: object
    EndpointsGetProviderTeamsOutput:
      properties:
        numItems:
          type: integer
        teams:
          items:
            $ref: '#/components/schemas/ModelsTeam'
          nullable: true
          type: array
        version:
          type: string
      required:
        - numItems
        - teams
        - version
      type: object
    EndpointsGetProviderUsersOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsUser'
          nullable: true
          type: array
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsGetPullRequestStateOutput:
      properties:
        pullRequestState:
          $ref: '#/components/schemas/ModelsPullRequestStateWithDiffs'
      required:
        - pullRequestState
      type: object
    EndpointsGetSLAsOutput:
      properties:
        slas:
          items:
            $ref: '#/components/schemas/ModelsSLA'
          nullable: true
          type: array
      required:
        - slas
      type: object
    EndpointsGetServiceAccountsOutput:
      properties:
        serviceAccounts:
          items:
            $ref: '#/components/schemas/EndpointsServiceAccount'
          nullable: true
          type: array
        version:
          type: string
      required:
        - serviceAccounts
        - version
      type: object
    EndpointsGetSlackConfigOutput:
      properties:
        enabled:
          type: boolean
        message:
          type: string
      required:
        - enabled
        - message
      type: object
    EndpointsGetSlackUsersOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsGetSuggestedUserMappingsOutput:
      properties:
        suggestions:
          items:
            $ref: '#/components/schemas/EndpointsUserMappingSuggestion'
          nullable: true
          type: array
        version:
          type: string
      required:
        - suggestions
        - version
      type: object
    EndpointsGetTeamFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsTeamFinding'
          nullable: true
          type: array
        team:
          $ref: '#/components/schemas/ModelsTeam'
        version:
          type: string
      required:
        - findings
        - team
        - version
      type: object
    EndpointsGetTeamOutput:
      properties:
        team:
          $ref: '#/components/schemas/ModelsTeam'
      required:
        - team
      type: object
    EndpointsGetTeamsAppZipOutput:
      properties:
        presignedUrl:
          type: string
      required:
        - presignedUrl
      type: object
    EndpointsGetTeamsOutput:
      properties:
        teams:
          items:
            $ref: '#/components/schemas/ModelsTeam'
          nullable: true
          type: array
      required:
        - teams
      type: object
    EndpointsGetUISavedViewsOutput:
      properties:
        savedViews:
          items:
            $ref: '#/components/schemas/ModelsUISavedView'
          nullable: true
          type: array
      required:
        - savedViews
      type: object
    EndpointsGetUserMappingOutput:
      properties:
        user:
          $ref: '#/components/schemas/ModelsUserMapping'
      required:
        - user
      type: object
    EndpointsGetUserMappingsOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsUserMapping'
          nullable: true
          type: array
      required:
        - users
      type: object
    EndpointsGetUserOutput:
      properties:
        user:
          $ref: '#/components/schemas/ModelsUser'
        version:
          type: string
      required:
        - user
        - version
      type: object
    EndpointsIncorrectPermission:
      properties:
        actual:
          type: string
        expected:
          type: string
      required:
        - actual
        - expected
      type: object
    EndpointsInternalFileOwnersInput:
      properties:
        files:
          items:
            $ref: '#/components/schemas/EndpointsFileOwnersRequest'
          nullable: true
          type: array
      required:
        - files
      type: object
    EndpointsInternalGetAllOwnerProvidersOutput:
      properties:
        ownerProviders:
          items:
            $ref: '#/components/schemas/ModelsOwnerProvider'
          nullable: true
          type: array
      required:
        - ownerProviders
      type: object
    EndpointsInternalUsageLimitsPatchInput:
      properties:
        budgets:
          items:
            $ref: '#/components/schemas/EndpointsAdminUsageBudget'
          nullable: true
          type: array
        composites:
          additionalProperties:
            items:
              type: string
            type: array
          nullable: true
          type: object
        concurrency:
          items:
            $ref: '#/components/schemas/EndpointsAdminUsageConcurrency'
          nullable: true
          type: array
        leaseTtls:
          additionalProperties:
            type: string
          nullable: true
          type: object
      required:
        - budgets
        - composites
        - concurrency
        - leaseTtls
      type: object
    EndpointsListTeamFindingsOutput:
      properties:
        teamFindings:
          items:
            $ref: '#/components/schemas/ModelsTeamFindings'
          nullable: true
          type: array
        version:
          type: string
      required:
        - teamFindings
        - version
      type: object
    EndpointsMappedCanonicalIDs:
      properties:
        jira:
          type: string
        slack:
          type: string
        teams:
          type: string
      required:
        - jira
        - slack
        - teams
      type: object
    EndpointsMetricData:
      properties:
        lastMonth:
          format: float
          type: number
        thisMonth:
          format: float
          type: number
      required:
        - lastMonth
        - thisMonth
      type: object
    EndpointsMetricWithValue:
      properties:
        important:
          format: float
          type: number
        lastMonth:
          format: float
          type: number
        negligible:
          format: float
          type: number
        thisMonth:
          format: float
          type: number
        urgent:
          format: float
          type: number
        value: {}
      required:
        - important
        - lastMonth
        - negligible
        - thisMonth
        - urgent
        - value
      type: object
    EndpointsOverviewType:
      properties:
        api:
          $ref: '#/components/schemas/EndpointsMetricWithValue'
        code:
          $ref: '#/components/schemas/EndpointsMetricWithValue'
        container:
          $ref: '#/components/schemas/EndpointsMetricWithValue'
        dependency:
          $ref: '#/components/schemas/EndpointsMetricWithValue'
        secret:
          $ref: '#/components/schemas/EndpointsMetricWithValue'
      required:
        - api
        - code
        - container
        - dependency
        - secret
      type: object
    EndpointsPatchSLAInput:
      properties:
        allowExtensions:
          nullable: true
          type: boolean
        maxDaysToFix:
          nullable: true
          type: integer
        priority:
          nullable: true
          type: string
        severity:
          nullable: true
          type: string
      required:
        - allowExtensions
        - maxDaysToFix
        - priority
        - severity
      type: object
    EndpointsPatchSLAOutput:
      properties:
        sla:
          $ref: '#/components/schemas/ModelsSLA'
      required:
        - sla
      type: object
    EndpointsPatchUISavedViewInput:
      properties:
        savedView:
          $ref: '#/components/schemas/ModelsUISavedViewAPIInput'
      required:
        - savedView
      type: object
    EndpointsPatchUISavedViewOutput:
      properties:
        savedView:
          $ref: '#/components/schemas/ModelsUISavedView'
      required:
        - savedView
      type: object
    EndpointsPostBulkGetUserMappingsInput:
      properties:
        githubCanonicalUserIds:
          items:
            type: string
          type: array
      required:
        - githubCanonicalUserIds
      type: object
    EndpointsPostBulkGetUserMappingsOutput:
      properties:
        users:
          additionalProperties:
            $ref: '#/components/schemas/EndpointsMappedCanonicalIDs'
          type: object
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsPostCompassTeamInput:
      properties:
        displayName:
          description: Team display name
          type: string
        lead:
          description: Atlassian accountId of the team lead
          type: string
        members:
          description: List of Atlassian accountIds for team members
          items:
            type: string
          nullable: true
          type: array
        providerId:
          $ref: '#/components/schemas/ModelsProviderID'
        repositories:
          description: List of repo URLs (owner/repo)
          items:
            type: string
          nullable: true
          type: array
        teamKey:
          description: Compass/Atlassian team key (unique identifier)
          type: string
      required:
        - displayName
        - lead
        - members
        - providerId
        - repositories
        - teamKey
      type: object
    EndpointsPostCompassTeamOutput:
      properties:
        team:
          $ref: '#/components/schemas/ModelsTeam'
      required:
        - team
      type: object
    EndpointsPostInitializeRepositoriesInput:
      properties:
        repositories:
          items:
            $ref: '#/components/schemas/ModelsGitRepositoryProvider'
          nullable: true
          type: array
      required:
        - repositories
      type: object
    EndpointsPostInitializeRepositoriesOutput:
      properties:
        repositories:
          items:
            $ref: '#/components/schemas/EndpointsRepositotryInitializationStatus'
          nullable: true
          type: array
      required:
        - repositories
      type: object
    EndpointsPostSLAInput:
      properties:
        allowExtensions:
          type: boolean
        maxDaysToFix:
          type: integer
        priority:
          type: string
        severity:
          type: string
      required:
        - allowExtensions
        - maxDaysToFix
        - priority
        - severity
      type: object
    EndpointsPostSLAOutput:
      properties:
        sla:
          $ref: '#/components/schemas/ModelsSLA'
      required:
        - sla
      type: object
    EndpointsPostServiceAccountInput:
      properties:
        name:
          type: string
        platform:
          $ref: '#/components/schemas/ModelsProviderID'
      required:
        - name
        - platform
      type: object
    EndpointsPostServiceAccountOutput:
      properties:
        serviceAccount:
          $ref: '#/components/schemas/EndpointsServiceAccount'
        version:
          type: string
      required:
        - serviceAccount
        - version
      type: object
    EndpointsPostSlackAPIKeyInput:
      properties:
        apiKey:
          type: string
      required:
        - apiKey
      type: object
    EndpointsPostSlackAPIKeyOutput:
      properties:
        message:
          type: string
        version:
          type: string
      required:
        - message
        - version
      type: object
    EndpointsPostTeamFindingsSyncOutput:
      properties:
        version:
          type: string
      required:
        - version
      type: object
    EndpointsPostTeamInput:
      properties:
        codeOwnerships:
          items:
            $ref: '#/components/schemas/ModelsTeamCodeOwnership'
          type: array
        leadId:
          type: string
        memberIds:
          items:
            type: string
          type: array
        name:
          type: string
        privacy:
          type: string
        slug:
          type: string
      required:
        - codeOwnerships
        - leadId
        - memberIds
        - name
        - privacy
        - slug
      type: object
    EndpointsPostTeamOutput:
      properties:
        team:
          $ref: '#/components/schemas/ModelsTeam'
      required:
        - team
      type: object
    EndpointsPostUISavedViewInput:
      properties:
        savedView:
          $ref: '#/components/schemas/ModelsUISavedViewAPIInput'
      required:
        - savedView
      type: object
    EndpointsPostUISavedViewOutput:
      properties:
        savedView:
          $ref: '#/components/schemas/ModelsUISavedView'
      required:
        - savedView
      type: object
    EndpointsPostUninitializeRepositoriesInput:
      properties:
        repositories:
          items:
            $ref: '#/components/schemas/ModelsGitRepositoryProvider'
          nullable: true
          type: array
      required:
        - repositories
      type: object
    EndpointsPostUninitializeRepositoriesOutput:
      properties:
        repositories:
          items:
            $ref: '#/components/schemas/EndpointsRepositotryInitializationStatus'
          nullable: true
          type: array
      required:
        - repositories
      type: object
    EndpointsPostUserInput:
      properties:
        user:
          $ref: '#/components/schemas/EndpointsUserInput'
      required:
        - user
      type: object
    EndpointsPostUserMappingInput:
      properties:
        useSuggestions:
          type: boolean
        userMappings:
          items:
            $ref: '#/components/schemas/EndpointsUserMappingInput'
          nullable: true
          type: array
      required:
        - useSuggestions
        - userMappings
      type: object
    EndpointsPostUserMappingOutput:
      properties:
        userMappings:
          items:
            $ref: '#/components/schemas/ModelsUserMapping'
          nullable: true
          type: array
      required:
        - userMappings
      type: object
    EndpointsPostUserOutput:
      properties:
        user:
          $ref: '#/components/schemas/ModelsUser'
        version:
          type: string
      required:
        - user
        - version
      type: object
    EndpointsPutBulkSLAInput:
      properties:
        slas:
          items:
            $ref: '#/components/schemas/ModelsSLA'
          nullable: true
          type: array
      required:
        - slas
      type: object
    EndpointsPutBulkSLAOutput:
      properties:
        slaIds:
          items:
            type: string
          nullable: true
          type: array
      required:
        - slaIds
      type: object
    EndpointsPutEditUserMappingInput:
      properties:
        github:
          $ref: '#/components/schemas/ModelsGitHubUserProvider'
        jira:
          $ref: '#/components/schemas/ModelsJiraUserProvider'
        slack:
          $ref: '#/components/schemas/ModelsSlackUserProvider'
      required:
        - github
        - jira
        - slack
      type: object
    EndpointsQueryMetricsInput:
      properties:
        query:
          $ref: '#/components/schemas/ModelsOpenSearchMetricsQuery'
      required:
        - query
      type: object
    EndpointsQueryMetricsOutput:
      properties:
        metrics:
          additionalProperties: {}
          nullable: true
          type: object
      required:
        - metrics
      type: object
    EndpointsQueryMetricsOverTimeInput:
      properties:
        query:
          $ref: '#/components/schemas/ModelsOpenSearchQuery'
      required:
        - query
      type: object
    EndpointsQueryMetricsOverTimeOutput:
      properties:
        fixed:
          items:
            $ref: '#/components/schemas/EndpointsCount'
          nullable: true
          type: array
        introduced:
          items:
            $ref: '#/components/schemas/EndpointsCount'
          nullable: true
          type: array
      required:
        - fixed
        - introduced
      type: object
    EndpointsQueryOverviewInput:
      properties:
        query:
          $ref: '#/components/schemas/ModelsOpenSearchQuery'
      required:
        - query
      type: object
    EndpointsQueryOverviewOutput:
      properties:
        appName:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        appType:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        autofixMerged:
          $ref: '#/components/schemas/EndpointsMetricData'
        botInteractions:
          $ref: '#/components/schemas/EndpointsMetricData'
        branch:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        cleanPrsMerged:
          $ref: '#/components/schemas/EndpointsMetricData'
        cve:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        cwe:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        falsePositives:
          $ref: '#/components/schemas/EndpointsMetricData'
        findingsResolved:
          $ref: '#/components/schemas/EndpointsMetricData'
        funnelData:
          items:
            $ref: '#/components/schemas/EndpointsFunnelData'
          nullable: true
          type: array
        host:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        hoursSaved:
          $ref: '#/components/schemas/EndpointsMetricData'
        imageName:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        inSLAFindings:
          $ref: '#/components/schemas/EndpointsMetricData'
        investigateData:
          $ref: '#/components/schemas/EndpointsMetricData'
        issuesFoundInPR:
          $ref: '#/components/schemas/EndpointsMetricData'
        language:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        meanTriageDurationMs:
          $ref: '#/components/schemas/EndpointsMetricData'
        mergeReadyRate:
          $ref: '#/components/schemas/EndpointsMetricData'
        overviewCWE:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        overviewLanguage:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        overviewRepos:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        overviewType:
          $ref: '#/components/schemas/EndpointsOverviewType'
        owners:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        package:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        repos:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        ruleId:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        secretType:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        teams:
          items:
            $ref: '#/components/schemas/EndpointsMetricWithValue'
          nullable: true
          type: array
        totalPrsMerged:
          $ref: '#/components/schemas/EndpointsMetricData'
        type:
          additionalProperties:
            $ref: '#/components/schemas/EndpointsMetricData'
          nullable: true
          type: object
      required:
        - appName
        - appType
        - autofixMerged
        - botInteractions
        - branch
        - cleanPrsMerged
        - cve
        - cwe
        - falsePositives
        - findingsResolved
        - funnelData
        - host
        - hoursSaved
        - imageName
        - inSLAFindings
        - investigateData
        - issuesFoundInPR
        - language
        - meanTriageDurationMs
        - mergeReadyRate
        - overviewCWE
        - overviewLanguage
        - overviewRepos
        - overviewType
        - owners
        - package
        - repos
        - ruleId
        - secretType
        - teams
        - totalPrsMerged
        - type
      type: object
    EndpointsRepositoryInitializationTaskStatus:
      properties:
        error:
          type: string
        status:
          type: string
        taskName:
          type: string
      required:
        - error
        - status
        - taskName
      type: object
    EndpointsRepositotryInitializationStatus:
      properties:
        isInitialized:
          type: boolean
        repository:
          $ref: '#/components/schemas/ModelsGitRepositoryProvider'
        taskStatuses:
          items:
            $ref: '#/components/schemas/EndpointsRepositoryInitializationTaskStatus'
          nullable: true
          type: array
      required:
        - isInitialized
        - repository
        - taskStatuses
      type: object
    EndpointsServiceAccount:
      properties:
        createdAt:
          format: date-time
          type: string
        name:
          type: string
        platform:
          $ref: '#/components/schemas/ModelsProviderID'
        serviceAccountId:
          type: string
        tenantId:
          type: string
        token:
          type: string
      required:
        - createdAt
        - name
        - platform
        - serviceAccountId
        - tenantId
        - token
      type: object
    EndpointsSyncUsersInput:
      properties:
        providerID:
          description: Which provider/platform to sync users from
          type: string
      required:
        - providerID
      type: object
    EndpointsSyncUsersOutput:
      properties:
        created:
          type: integer
        errors:
          items:
            type: string
          type: array
        syncedAt:
          type: string
        updated:
          type: integer
      required:
        - created
        - errors
        - syncedAt
        - updated
      type: object
    EndpointsUpdateJiraConfigInput:
      properties:
        autoCreate:
          type: boolean
        issueType:
          type: string
        projectKey:
          type: string
        severityThreshold:
          type: string
      required:
        - autoCreate
        - issueType
        - projectKey
        - severityThreshold
      type: object
    EndpointsUpdateJiraConfigOutput:
      properties:
        configuration:
          $ref: '#/components/schemas/ModelsJiraConfig'
      required:
        - configuration
      type: object
    EndpointsUserInput:
      properties:
        email:
          description: The user's email address
          type: string
        isBot:
          description: Whether the user is a bot
          type: boolean
        name:
          description: The user's name
          type: string
        provider:
          $ref: '#/components/schemas/ModelsUserProvider'
        slug:
          description: The user's slug
          type: string
        username:
          description: The user's username
          type: string
      required:
        - email
        - isBot
        - name
        - provider
        - slug
        - username
      type: object
    EndpointsUserMappingInput:
      properties:
        github:
          $ref: '#/components/schemas/ModelsGitHubUserProvider'
        jira:
          $ref: '#/components/schemas/ModelsJiraUserProvider'
        slack:
          $ref: '#/components/schemas/ModelsSlackUserProvider'
        teams:
          $ref: '#/components/schemas/ModelsTeamsUserProvider'
      required:
        - github
        - jira
        - slack
        - teams
      type: object
    EndpointsUserMappingSuggestion:
      properties:
        github:
          $ref: '#/components/schemas/ModelsUser'
        jira:
          items:
            $ref: '#/components/schemas/ModelsUser'
          nullable: true
          type: array
        slack:
          items:
            $ref: '#/components/schemas/ModelsUser'
          nullable: true
          type: array
        teams:
          items:
            $ref: '#/components/schemas/ModelsUser'
          nullable: true
          type: array
      required:
        - github
        - jira
        - slack
        - teams
      type: object
    ModelsAllowlistState:
      enum:
        - none
        - in_progress_requested
        - pending_review
        - failed_pr_generation
        - failed_pr_creation
        - pr_merged
      type: string
    ModelsAutoFixState:
      enum:
        - none
        - cancelled
        - in_progress_requested
        - in_progress_agent
        - cached
        - in_progress_preview_available
        - in_progress_creating_pr
        - in_progress_draft
        - pending_review
        - failed_retry
        - failed_abort
        - pr_merged
        - pr_closed
        - failed_pr_creation
      type: string
    ModelsAzureTicketProject:
      type: object
    ModelsBitbucketTicketProject:
      type: object
    ModelsChecklistItem:
      properties:
        currentValue:
          type: string
        desiredValue:
          type: string
        name:
          type: string
      required:
        - currentValue
        - desiredValue
        - name
      type: object
    ModelsCollection:
      properties:
        collectionId:
          description: Unique identifier for the collection
          type: string
        collections:
          description: List of sub-collections
          items:
            $ref: '#/components/schemas/ModelsSubCollection'
          nullable: true
          type: array
        isSensitive:
          description: Whether the collection contains sensitive data
          type: boolean
        name:
          description: Name of the collection
          type: string
      required:
        - collectionId
        - collections
        - isSensitive
        - name
      type: object
    ModelsConfiguration:
      type: object
    ModelsContainerImageMetadata:
      properties:
        digest:
          type: string
        distro:
          properties:
            name:
              type: string
            version:
              type: string
          type: object
        fullReference:
          type: string
        registryDomain:
          type: string
        registryPath:
          type: string
        shortName:
          type: string
        tag:
          type: string
      required:
        - digest
        - distro
        - fullReference
        - registryDomain
        - registryPath
        - shortName
        - tag
      type: object
    ModelsDataMap:
      additionalProperties:
        type: string
      type: object
    ModelsDiffFile:
      properties:
        header:
          type: string
        hunks:
          items:
            $ref: '#/components/schemas/ModelsDiffHunk'
          nullable: true
          type: array
        mode:
          type: integer
        newName:
          type: string
        origName:
          type: string
      required:
        - header
        - hunks
        - mode
        - newName
        - origName
      type: object
    ModelsDiffHunk:
      properties:
        header:
          type: string
        wholeRange:
          $ref: '#/components/schemas/ModelsDiffRange'
      required:
        - header
        - wholeRange
      type: object
    ModelsDiffLine:
      properties:
        content:
          type: string
        mode:
          $ref: '#/components/schemas/ModelsDiffLineMode'
        number:
          type: integer
      required:
        - content
        - mode
        - number
      type: object
    ModelsDiffLineMode:
      format: int32
      type: integer
    ModelsDiffRange:
      properties:
        length:
          type: integer
        lines:
          items:
            $ref: '#/components/schemas/ModelsDiffLine'
          nullable: true
          type: array
        start:
          type: integer
      required:
        - length
        - lines
        - start
      type: object
    ModelsFileOwner:
      properties:
        name:
          description: The name of the owner
          type: string
        type:
          $ref: '#/components/schemas/ModelsOwnerType'
      required:
        - name
        - type
      type: object
    ModelsFileOwners:
      properties:
        id:
          description: A unique identifier for the file owners
          type: string
        owners:
          description: A list of owners associated with the file
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
      required:
        - id
        - owners
      type: object
    ModelsGitHubTicketProject:
      properties:
        repositoryId:
          description: The GitHub repository ID
          format: int64
          type: integer
        repositoryName:
          description: The GitHub repository name
          type: string
        repositoryNodeId:
          description: The GraphQL node ID for the GitHub repository
          type: string
      required:
        - repositoryId
        - repositoryName
        - repositoryNodeId
      type: object
    ModelsGitLabTicketProject:
      type: object
    ModelsJiraConfig:
      properties:
        autoCreate:
          type: boolean
        createdAt:
          type: string
        issueType:
          type: string
        projectKey:
          type: string
        severityThreshold:
          type: string
        updatedAt:
          type: string
      required:
        - autoCreate
        - createdAt
        - issueType
        - projectKey
        - severityThreshold
        - updatedAt
      type: object
    ModelsJiraTicketProject:
      properties:
        id:
          description: The Jira project ID
          type: string
        projectKey:
          description: The Jira project key
          type: string
      required:
        - id
        - projectKey
      type: object
    ModelsLanguageName:
      enum:
        - Apex
        - Bash
        - Bicep
        - CloudFormation
        - Containerfile
        - Custom Rules
        - C
        - Cairo
        - Clojure
        - C/C++
        - C++
        - C#
        - Dart
        - Elixir
        - Generic
        - Go
        - HCL
        - HTML
        - Java
        - JavaScript
        - JSON
        - Jsonnet
        - Julia
        - Kotlin
        - Kubernetes
        - Lisp
        - Lua
        - OCaml
        - OpenAPI
        - PHP
        - Python
        - R
        - Renovate
        - Ruby
        - Rust
        - Scala
        - Scheme
        - Serverless
        - Shell
        - Solidity
        - Swift
        - Terraform
        - TypeScript
        - YAML
        - XML
      type: string
    ModelsLinearTicketProject:
      properties:
        projectId:
          description: The Linear project ID
          type: string
        teamId:
          description: The Linear team ID
          type: string
        teamKey:
          description: The Linear team key
          type: string
      required:
        - projectId
        - teamId
        - teamKey
      type: object
    ModelsOccurrence:
      properties:
        columnNumber:
          description: Column number in file
          type: integer
        excerpt:
          description: Code excerpt
          type: string
        fileName:
          description: Name of the file
          type: string
        lineNumber:
          description: Line number in file
          type: integer
        sample:
          description: Sample code snippet
          type: string
      required:
        - columnNumber
        - excerpt
        - fileName
        - lineNumber
        - sample
      type: object
    ModelsOpenSearchFindingPreview:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        allowlistState:
          $ref: '#/components/schemas/ModelsAllowlistState'
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
          nullable: true
        appName:
          type: string
        appType:
          type: string
        assessmentFactors:
          additionalProperties:
            type: string
          nullable: true
          type: object
        autoFixEndTime:
          format: date-time
          nullable: true
          type: string
        autoFixStartTime:
          format: date-time
          nullable: true
          type: string
        autoFixState:
          $ref: '#/components/schemas/ModelsAutoFixState'
        branch:
          type: string
        category:
          type: string
        commit:
          type: string
        commitHash:
          type: string
        createdAt:
          type: string
        cwe: {}
        endLine:
          type: integer
        endpointMethod:
          type: string
        endpointPath:
          type: string
        entropy:
          format: double
          type: number
        entrypoint:
          type: string
        errorDescription:
          type: string
        errorType:
          type: string
        exploitValidated:
          nullable: true
          type: boolean
        failedTriage:
          nullable: true
          type: boolean
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
        filePath:
          type: string
        firstSeenCommit:
          type: string
        graphExists:
          nullable: true
          type: boolean
        hasReachableCVEs:
          type: boolean
        host:
          type: string
        httpVersion:
          type: string
        hypothesis:
          type: string
        id:
          type: string
        imageMetadata:
          $ref: '#/components/schemas/ModelsContainerImageMetadata'
        installationId:
          type: string
        isAllowlisted:
          nullable: true
          type: boolean
        isArchived:
          nullable: true
          type: boolean
        isAutoFixable:
          nullable: true
          type: boolean
        isDefaultBranch:
          nullable: true
          type: boolean
        isDirect:
          nullable: true
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          nullable: true
          type: boolean
        isResolved:
          nullable: true
          type: boolean
        language:
          $ref: '#/components/schemas/ModelsLanguageName'
        lastEvent:
          type: string
        line:
          type: integer
        match:
          type: string
        message:
          type: string
        method:
          type: string
        numCritical:
          type: integer
        numHigh:
          type: integer
        numLow:
          type: integer
        numMedium:
          type: integer
        numUnknown:
          type: integer
        package:
          type: string
        packageFilePath:
          type: string
        path:
          type: string
        previousResponse:
          type: string
        priorityLabel:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        projectPathPrefix:
          type: string
        pullRequestsAllowlist:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          nullable: true
          type: array
        pullRequestsAutofix:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          nullable: true
          type: array
        queryParameters:
          additionalProperties:
            type: string
          nullable: true
          type: object
        redactedSecret:
          type: string
        repository:
          type: string
        repositoryId:
          type: string
        repositoryName:
          type: string
        requestBody:
          type: string
        requestHeader:
          additionalProperties:
            type: string
          nullable: true
          type: object
        responseBody:
          type: string
        responseHeader:
          additionalProperties:
            type: string
          nullable: true
          type: object
        roleDescription:
          type: string
        roleName:
          type: string
        ruleId:
          type: string
        ruleUrl:
          type: string
        scanConfigId:
          type: string
        scanId:
          type: string
        scanType:
          type: string
        scopes:
          items:
            type: string
          nullable: true
          type: array
        secretHash:
          type: string
        secretType:
          type: string
        severity:
          type: string
        solution:
          type: string
        source:
          type: string
        startLine:
          type: integer
        suggestedImage:
          items:
            $ref: '#/components/schemas/ModelsContainerImageMetadata'
          nullable: true
          type: array
        suggestedVersion:
          type: string
        summary:
          type: string
        tags:
          type: string
        targetUrl:
          type: string
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        timeSaved:
          $ref: '#/components/schemas/TimeDuration'
        title:
          type: string
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageStart:
          format: date-time
          nullable: true
          type: string
        triageVersion:
          type: string
        type:
          $ref: '#/components/schemas/ModelsFindingType'
        updatedAt:
          type: string
        uri:
          type: string
        userName:
          type: string
        version:
          type: string
        vulnerabilitiesCVEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilitiesCWEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilitiesMaxPriority:
          type: string
        vulnerabilitiesMaxSeverity:
          type: string
        vulnerableParameterName:
          type: string
        vulnerableParameterValue:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - allowlistState
        - allowlistType
        - appName
        - appType
        - assessmentFactors
        - autoFixEndTime
        - autoFixStartTime
        - autoFixState
        - branch
        - category
        - commit
        - commitHash
        - createdAt
        - cwe
        - endLine
        - endpointMethod
        - endpointPath
        - entropy
        - entrypoint
        - errorDescription
        - errorType
        - exploitValidated
        - failedTriage
        - fileOwners
        - filePath
        - firstSeenCommit
        - graphExists
        - hasReachableCVEs
        - host
        - httpVersion
        - hypothesis
        - id
        - imageMetadata
        - installationId
        - isAllowlisted
        - isArchived
        - isAutoFixable
        - isDefaultBranch
        - isDirect
        - isFalsePositive
        - isLatest
        - isResolved
        - language
        - lastEvent
        - line
        - match
        - message
        - method
        - numCritical
        - numHigh
        - numLow
        - numMedium
        - numUnknown
        - package
        - packageFilePath
        - path
        - previousResponse
        - priorityLabel
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - projectPathPrefix
        - pullRequestsAllowlist
        - pullRequestsAutofix
        - queryParameters
        - redactedSecret
        - repository
        - repositoryId
        - repositoryName
        - requestBody
        - requestHeader
        - responseBody
        - responseHeader
        - roleDescription
        - roleName
        - ruleId
        - ruleUrl
        - scanConfigId
        - scanId
        - scanType
        - scopes
        - secretHash
        - secretType
        - severity
        - solution
        - source
        - startLine
        - suggestedImage
        - suggestedVersion
        - summary
        - tags
        - targetUrl
        - tenantId
        - ticket
        - timeSaved
        - title
        - triageEnd
        - triageStart
        - triageVersion
        - type
        - updatedAt
        - uri
        - userName
        - version
        - vulnerabilitiesCVEIds
        - vulnerabilitiesCWEIds
        - vulnerabilitiesMaxPriority
        - vulnerabilitiesMaxSeverity
        - vulnerableParameterName
        - vulnerableParameterValue
      type: object
    ModelsOpenSearchMetricsQuery:
      additionalProperties:
        $ref: '#/components/schemas/ModelsOpenSearchQuery'
      type: object
    ModelsOpenSearchQuery:
      type: object
    ModelsOrganization:
      properties:
        id:
          type: string
        members:
          items:
            $ref: '#/components/schemas/ModelsUser'
          nullable: true
          type: array
        name:
          type: string
        provider:
          $ref: '#/components/schemas/ModelsOwnerProvider'
        slug:
          type: string
        teams:
          items:
            $ref: '#/components/schemas/ModelsTeam'
          nullable: true
          type: array
      required:
        - id
        - members
        - name
        - provider
        - slug
        - teams
      type: object
    ModelsOwnerType:
      enum:
        - email
        - team
        - username
      type: string
    ModelsPII:
      properties:
        collections:
          description: List of data collections
          items:
            $ref: '#/components/schemas/ModelsCollection'
          nullable: true
          type: array
        language:
          description: The programming language
          type: string
        probableSinks:
          description: List of probable data sinks
          items:
            type: string
          nullable: true
          type: array
        processing:
          description: List of processing activities
          items:
            $ref: '#/components/schemas/ModelsProcessing'
          nullable: true
          type: array
        sinkProcessing:
          description: List of sink processing activities
          items:
            $ref: '#/components/schemas/ModelsSinkProcessing'
          nullable: true
          type: array
        sources:
          description: List of data sources
          items:
            $ref: '#/components/schemas/ModelsSource'
          nullable: true
          type: array
      required:
        - collections
        - language
        - probableSinks
        - processing
        - sinkProcessing
        - sources
      type: object
    ModelsProcessing:
      properties:
        occurrences:
          description: List of occurrences
          items:
            $ref: '#/components/schemas/ModelsOccurrence'
          nullable: true
          type: array
        sourceId:
          description: ID of the source
          type: string
      required:
        - occurrences
        - sourceId
      type: object
    ModelsProject:
      properties:
        description:
          type: string
        name:
          type: string
        projectProvider:
          $ref: '#/components/schemas/ModelsTicketProjectProvider'
      required:
        - description
        - name
        - projectProvider
      type: object
    ModelsPullRequestInfo:
      properties:
        createdAt:
          format: date-time
          type: string
        explanation:
          type: string
        firstReviewedAt:
          format: date-time
          nullable: true
          type: string
        hasCustomerCommit:
          nullable: true
          type: boolean
        hasCustomerFeedback:
          nullable: true
          type: boolean
        id:
          type: integer
        lastReviewedAt:
          format: date-time
          nullable: true
          type: string
        link:
          type: string
        mergedAt:
          format: date-time
          nullable: true
          type: string
        pullRequestProvider:
          $ref: '#/components/schemas/ModelsGitPullRequestProvider'
        status:
          $ref: '#/components/schemas/ModelsPullRequestState'
        updatedAt:
          format: date-time
          nullable: true
          type: string
      required:
        - createdAt
        - explanation
        - firstReviewedAt
        - hasCustomerCommit
        - hasCustomerFeedback
        - id
        - lastReviewedAt
        - link
        - mergedAt
        - pullRequestProvider
        - status
        - updatedAt
      type: object
    ModelsPullRequestState:
      enum:
        - open
        - closed
        - merged
        - unknown
      type: string
    ModelsPullRequestStateWithDiffs:
      properties:
        diffs:
          items:
            $ref: '#/components/schemas/ModelsDiffFile'
          nullable: true
          type: array
        id:
          type: string
        state:
          type: string
        url:
          type: string
      required:
        - diffs
        - id
        - state
        - url
      type: object
    ModelsPullRequestStatus:
      properties:
        branchName:
          type: string
        findingID:
          type: string
        mergeReady:
          type: boolean
        pullRequestID:
          type: string
        pullRequestURL:
          type: string
        repository:
          type: string
        status:
          type: string
      required:
        - branchName
        - findingID
        - mergeReady
        - pullRequestID
        - pullRequestURL
        - repository
        - status
      type: object
    ModelsRepositoryPublic:
      properties:
        countsBySeverity:
          additionalProperties:
            type: integer
          description: Count of findings by severity level
          nullable: true
          type: object
        countsByType:
          additionalProperties:
            type: integer
          description: Count of findings by type
          nullable: true
          type: object
        id:
          description: Unique identifier for the repository
          type: string
        isDefaultBranch:
          description: Whether this is the default branch
          type: boolean
        nullifyConfigFile:
          $ref: '#/components/schemas/ModelsConfiguration'
        nullifyRepoConfigFile:
          $ref: '#/components/schemas/ModelsConfiguration'
        owner:
          description: Repository owner name
          type: string
        ownerType:
          description: Type of repository owner (user/organization)
          type: string
        pii:
          $ref: '#/components/schemas/ModelsPII'
        platform:
          description: Git platform name
          type: string
        repository:
          description: Repository name
          type: string
        repositoryId:
          description: Repository identifier
          type: string
        sbom:
          description: Software Bill of Materials
          type: string
        tenantId:
          description: Tenant identifier
          type: string
        timestamp:
          description: Timestamp of last scan
          type: string
        timestampUnix:
          description: Unix timestamp of last scan
          format: int64
          type: integer
      required:
        - countsBySeverity
        - countsByType
        - id
        - isDefaultBranch
        - nullifyConfigFile
        - nullifyRepoConfigFile
        - owner
        - ownerType
        - pii
        - platform
        - repository
        - repositoryId
        - sbom
        - tenantId
        - timestamp
        - timestampUnix
      type: object
    ModelsSLA:
      properties:
        allowExtensions:
          type: boolean
        id:
          type: string
        maxDaysToFix:
          type: integer
        priority:
          type: string
        severity:
          type: string
      required:
        - allowExtensions
        - id
        - maxDaysToFix
        - priority
        - severity
      type: object
    ModelsSensitivity:
      enum:
        - LOW
        - MEDIUM
        - HIGH
      type: string
    ModelsSinkProcessing:
      properties:
        occurrences:
          description: List of occurrences
          items:
            $ref: '#/components/schemas/ModelsOccurrence'
          nullable: true
          type: array
        sinkId:
          description: ID of the sink
          type: string
      required:
        - occurrences
        - sinkId
      type: object
    ModelsSource:
      properties:
        category:
          description: Category of the source
          type: string
        id:
          description: Unique identifier
          type: string
        isSensitive:
          description: Whether the source contains sensitive data
          type: boolean
        name:
          description: Name of the source
          type: string
        sensitivity:
          $ref: '#/components/schemas/ModelsSensitivity'
        sourceType:
          description: Type of the source
          type: string
        tags:
          $ref: '#/components/schemas/ModelsDataMap'
      required:
        - category
        - id
        - isSensitive
        - name
        - sensitivity
        - sourceType
        - tags
      type: object
    ModelsSubCollection:
      properties:
        occurrences:
          description: List of occurrences
          items:
            $ref: '#/components/schemas/ModelsOccurrence'
          nullable: true
          type: array
        sourceId:
          description: ID of the source
          type: string
      required:
        - occurrences
        - sourceId
      type: object
    ModelsTeam:
      properties:
        codeOwnerships:
          items:
            $ref: '#/components/schemas/ModelsTeamCodeOwnership'
          type: array
        id:
          type: string
        lead:
          $ref: '#/components/schemas/ModelsUser'
        leadId:
          type: string
        memberIds:
          items:
            type: string
          type: array
        members:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        name:
          type: string
        numMembers:
          type: integer
        privacy:
          type: string
        provider:
          $ref: '#/components/schemas/ModelsProviderID'
        repositoryIds:
          items:
            type: string
          type: array
        slug:
          type: string
      required:
        - codeOwnerships
        - id
        - lead
        - leadId
        - memberIds
        - members
        - name
        - numMembers
        - privacy
        - provider
        - repositoryIds
        - slug
      type: object
    ModelsTeamCodeOwnership:
      properties:
        globPatterns:
          items:
            type: string
          nullable: true
          type: array
        repository:
          $ref: '#/components/schemas/ModelsGitRepositoryProvider'
      required:
        - globPatterns
        - repository
      type: object
    ModelsTeamFinding:
      properties:
        id:
          type: string
        resolved:
          type: boolean
        slaBreached:
          type: boolean
        teamID:
          type: string
      required:
        - id
        - resolved
        - slaBreached
        - teamID
      type: object
    ModelsTeamFindings:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsTeamFinding'
          nullable: true
          type: array
        team:
          $ref: '#/components/schemas/ModelsTeam'
      required:
        - findings
        - team
      type: object
    ModelsTicketProjectProvider:
      properties:
        azure:
          $ref: '#/components/schemas/ModelsAzureTicketProject'
        bitbucket:
          $ref: '#/components/schemas/ModelsBitbucketTicketProject'
        github:
          $ref: '#/components/schemas/ModelsGitHubTicketProject'
        gitlab:
          $ref: '#/components/schemas/ModelsGitLabTicketProject'
        id:
          $ref: '#/components/schemas/ModelsProviderID'
        jira:
          $ref: '#/components/schemas/ModelsJiraTicketProject'
        linear:
          $ref: '#/components/schemas/ModelsLinearTicketProject'
      required:
        - azure
        - bitbucket
        - github
        - gitlab
        - id
        - jira
        - linear
      type: object
    ModelsUISavedView:
      properties:
        createdAt:
          type: string
        createdBy:
          type: string
        data:
          type: string
        id:
          type: string
        lastUpdatedBy:
          type: string
        name:
          type: string
        updatedAt:
          type: string
        viewOwnerId:
          type: string
        viewOwnerType:
          $ref: '#/components/schemas/ModelsUISavedViewOwnerType'
        viewPageType:
          $ref: '#/components/schemas/ModelsUISavedViewPageType'
      required:
        - createdAt
        - createdBy
        - data
        - id
        - lastUpdatedBy
        - name
        - updatedAt
        - viewOwnerId
        - viewOwnerType
        - viewPageType
      type: object
    ModelsUISavedViewAPIInput:
      properties:
        data:
          type: string
        name:
          type: string
        viewOwnerId:
          type: string
        viewOwnerType:
          $ref: '#/components/schemas/ModelsUISavedViewOwnerType'
        viewPageType:
          $ref: '#/components/schemas/ModelsUISavedViewPageType'
      required:
        - data
        - name
        - viewOwnerId
        - viewOwnerType
        - viewPageType
      type: object
    ModelsUISavedViewOwnerType:
      enum:
        - ORGANIZATION
        - USER
      type: string
    ModelsUISavedViewPageType:
      enum:
        - OVERVIEW
        - TRIAGE
      type: string
    ModelsUserMapping:
      properties:
        createdAt:
          type: string
        createdBy:
          type: string
        github:
          $ref: '#/components/schemas/ModelsGitHubUserProvider'
        id:
          type: string
        jira:
          $ref: '#/components/schemas/ModelsJiraUserProvider'
        lastUpdatedBy:
          type: string
        slack:
          $ref: '#/components/schemas/ModelsSlackUserProvider'
        teams:
          $ref: '#/components/schemas/ModelsTeamsUserProvider'
        updatedAt:
          type: string
      required:
        - createdAt
        - createdBy
        - github
        - id
        - jira
        - lastUpdatedBy
        - slack
        - teams
        - updatedAt
      type: object
    TimeDuration:
      format: int64
      type: integer
    EndpointsFindingSortBy:
      enum:
        - ''
        - time
        - priority
      type: string
    EndpointsGetSecretsEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsSecretsEventInterface'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSecretsFindingEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsSecretsEventInterface'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - numItems
        - version
      type: object
    EndpointsGetSecretsFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsSecretsCredentialsFinding'
        presignedUrl:
          type: string
        version:
          type: string
      required:
        - finding
        - presignedUrl
        - version
      type: object
    EndpointsGetSecretsFindingTriageOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsTriagedSecretsCredentialsFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsGetSecretsFindingUsersOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsCandidate'
          nullable: true
          type: array
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsGetSecretsFindingsDetailedOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsSecretsCredentialsFinding'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSecretsFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsSecretsCredentialsFindingPreview'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsPatchSecretsFindingInput:
      properties:
        priorityOverride:
          nullable: true
          type: string
        severityOverride:
          nullable: true
          type: string
        userNotes:
          nullable: true
          type: string
      required:
        - priorityOverride
        - severityOverride
        - userNotes
      type: object
    EndpointsPatchSecretsFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsSecretsCredentialsFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsPostAllowListSecretsFindingBatchInput:
      properties:
        allowlistReason:
          description: The reason for allowing the finding
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        findingIds:
          description: The ID of the finding to allowlist
          items:
            type: string
          nullable: true
          type: array
      required:
        - allowlistReason
        - allowlistType
        - findingIds
      type: object
    EndpointsPostAllowListSecretsFindingV2Input:
      properties:
        allowlistReason:
          description: The reason for allowlisting the finding
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
      required:
        - allowlistReason
        - allowlistType
      type: object
    EndpointsPostAllowlistSecretsFindingInput:
      properties:
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        findingId:
          description: The ID of the finding to allowlist
          type: string
        reason:
          description: The reason for allowing the finding
          type: string
      required:
        - allowlistType
        - findingId
        - reason
      type: object
    EndpointsPostCreateTicketSecretsFindingInput:
      properties:
        assignees:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        campaignId:
          type: string
        campaignTitle:
          type: string
        message:
          type: string
        project:
          type: string
      required:
        - assignees
        - campaignId
        - campaignTitle
        - message
        - project
      type: object
    EndpointsPostCreateTicketSecretsFindingOutput:
      properties:
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        version:
          type: string
      required:
        - ticket
        - version
      type: object
    EndpointsPostGetUploadSecretsFindingsURLInput:
      properties:
        scanId:
          type: string
      required:
        - scanId
      type: object
    EndpointsPostGetUploadSecretsFindingsURLOutput:
      properties:
        s3UploadURL:
          type: string
        version:
          type: string
      required:
        - s3UploadURL
        - version
      type: object
    EndpointsPostRetriageSecretsFindingsInput:
      properties:
        branch:
          nullable: true
          type: string
        continueOnError:
          nullable: true
          type: boolean
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        forceRetriage:
          nullable: true
          type: boolean
        priorityMinimum:
          nullable: true
          type: string
        repositoryIds:
          items:
            type: string
          nullable: true
          type: array
        reprocessFailedTriages:
          nullable: true
          type: boolean
        reprocessFalsePositives:
          nullable: true
          type: boolean
      required:
        - branch
        - continueOnError
        - findingIds
        - forceRetriage
        - priorityMinimum
        - repositoryIds
        - reprocessFailedTriages
        - reprocessFalsePositives
      type: object
    EndpointsPostRetriageSecretsFindingsOutput:
      properties:
        message:
          type: string
        version:
          type: string
      required:
        - message
        - version
      type: object
    EndpointsPostUnallowListSecretsFindingInput:
      properties:
        unallowlistReason:
          description: The reason for unallowlisting the finding
          type: string
        unallowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
      required:
        - unallowlistReason
        - unallowlistType
      type: object
    ModelsAssessmentFactor:
      properties:
        description:
          type: string
        title:
          type: string
      required:
        - description
        - title
      type: object
    ModelsCandidate:
      properties:
        reason:
          type: string
        user:
          $ref: '#/components/schemas/ModelsUser'
      required:
        - reason
        - user
      type: object
    ModelsCodeBlock:
      properties:
        codeText:
          nullable: true
          type: string
        endLine:
          type: integer
        filePath:
          type: string
        startLine:
          type: integer
      required:
        - codeText
        - endLine
        - filePath
        - startLine
      type: object
    ModelsCodeContext:
      properties:
        codeBlocks:
          items:
            $ref: '#/components/schemas/ModelsCodeBlock'
          nullable: true
          type: array
        dataFlow:
          type: string
        error:
          nullable: true
          type: string
        exitReason:
          type: string
        summary:
          type: string
      required:
        - codeBlocks
        - dataFlow
        - error
        - exitReason
        - summary
      type: object
    ModelsInvestigationStep:
      properties:
        details:
          items:
            type: string
          nullable: true
          type: array
        title:
          type: string
      required:
        - details
        - title
      type: object
    ModelsSecretsCredentialsFinding:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        author:
          type: string
        branch:
          type: string
        commit:
          type: string
        createdAt:
          type: string
        description:
          type: string
        devDescription:
          type: string
        endColumn:
          type: integer
        endLine:
          type: integer
        entropy:
          format: double
          type: number
        exploitabilityConfidence:
          type: string
        exploitabilityLabel:
          type: string
        failedTriage:
          type: boolean
        falsePositiveReason:
          type: string
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
        filePath:
          type: string
        id:
          type: string
        impactConfidence:
          type: string
        impactLabel:
          type: string
        installationId:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isDefaultBranch:
          type: boolean
        isDuplicate:
          type: boolean
        isFalsePositive:
          type: boolean
        isResolved:
          type: boolean
        match:
          type: string
        owner:
          type: string
        ownerType:
          type: string
        platform:
          type: string
        priorityLabel:
          type: string
        priorityLabelReason:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        redactedSecret:
          type: string
        repository:
          type: string
        repositoryId:
          type: string
        repositoryName:
          type: string
        ruleId:
          type: string
        scanner:
          type: string
        scopes:
          items:
            type: string
          nullable: true
          type: array
        secretHash:
          type: string
        secretType:
          type: string
        secretValue:
          type: string
        severityConfidence:
          type: string
        severityLabel:
          type: string
        severityOverride:
          type: string
        severityScore:
          type: integer
        startColumn:
          type: integer
        startLine:
          type: integer
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        timeStamp:
          type: string
        timestampUnix:
          format: int64
          type: integer
        triageAgentVersion:
          type: string
        triageDurationSeconds:
          type: integer
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageLangfuseSessionId:
          nullable: true
          type: string
        triageLangfuseTraceId:
          nullable: true
          type: string
        triageLlmCostUsd:
          nullable: true
          type: number
        triageStart:
          format: date-time
          nullable: true
          type: string
        triageTokenCount:
          nullable: true
          type: integer
        triageTraceId:
          nullable: true
          type: string
        updatedAt:
          type: string
        userId:
          type: string
        userNotes:
          type: string
        verified:
          type: boolean
        verifiedAt:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - allowlistType
        - author
        - branch
        - commit
        - createdAt
        - description
        - devDescription
        - endColumn
        - endLine
        - entropy
        - exploitabilityConfidence
        - exploitabilityLabel
        - failedTriage
        - falsePositiveReason
        - fileOwners
        - filePath
        - id
        - impactConfidence
        - impactLabel
        - installationId
        - isAllowlisted
        - isArchived
        - isDefaultBranch
        - isDuplicate
        - isFalsePositive
        - isResolved
        - match
        - owner
        - ownerType
        - platform
        - priorityLabel
        - priorityLabelReason
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - redactedSecret
        - repository
        - repositoryId
        - repositoryName
        - ruleId
        - scanner
        - scopes
        - secretHash
        - secretType
        - secretValue
        - severityConfidence
        - severityLabel
        - severityOverride
        - severityScore
        - startColumn
        - startLine
        - tenantId
        - ticket
        - timeStamp
        - timestampUnix
        - triageAgentVersion
        - triageDurationSeconds
        - triageEnd
        - triageLangfuseSessionId
        - triageLangfuseTraceId
        - triageLlmCostUsd
        - triageStart
        - triageTokenCount
        - triageTraceId
        - updatedAt
        - userId
        - userNotes
        - verified
        - verifiedAt
      type: object
    ModelsSecretsCredentialsFindingPreview:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        author:
          type: string
        branch:
          type: string
        commit:
          type: string
        createdAt:
          type: string
        endLine:
          type: integer
        entropy:
          format: double
          type: number
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
        filePath:
          type: string
        id:
          type: string
        installationId:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isDefaultBranch:
          type: boolean
        isFalsePositive:
          type: boolean
        isResolved:
          type: boolean
        match:
          type: string
        owner:
          type: string
        ownerType:
          type: string
        priorityLabel:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        redactedSecret:
          type: string
        repository:
          type: string
        repositoryId:
          type: string
        repositoryName:
          type: string
        ruleId:
          type: string
        scopes:
          items:
            type: string
          nullable: true
          type: array
        secretHash:
          type: string
        secretType:
          type: string
        startLine:
          type: integer
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        timeStamp:
          type: string
        timestampUnix:
          format: int64
          type: integer
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageStart:
          format: date-time
          nullable: true
          type: string
        updatedAt:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - allowlistType
        - author
        - branch
        - commit
        - createdAt
        - endLine
        - entropy
        - fileOwners
        - filePath
        - id
        - installationId
        - isAllowlisted
        - isArchived
        - isDefaultBranch
        - isFalsePositive
        - isResolved
        - match
        - owner
        - ownerType
        - priorityLabel
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - redactedSecret
        - repository
        - repositoryId
        - repositoryName
        - ruleId
        - scopes
        - secretHash
        - secretType
        - startLine
        - tenantId
        - ticket
        - timeStamp
        - timestampUnix
        - triageEnd
        - triageStart
        - updatedAt
      type: object
    ModelsSecretsEventInterface:
      properties:
        data: {}
        id:
          type: string
        time:
          type: string
        timestampUnix:
          format: int64
          type: integer
        type:
          $ref: '#/components/schemas/EventsEventType'
      required:
        - data
        - id
        - time
        - timestampUnix
        - type
      type: object
    ModelsSecretsFindingPriority:
      properties:
        description:
          nullable: true
          type: string
        exploitability:
          $ref: '#/components/schemas/ModelsSecretsFindingPriorityExploitability'
        impact:
          $ref: '#/components/schemas/ModelsSecretsFindingPriorityImpact'
        label:
          $ref: '#/components/schemas/ModelsSecretsFindingPriorityLabel'
        score:
          type: integer
      required:
        - description
        - exploitability
        - impact
        - label
        - score
      type: object
    ModelsSecretsFindingPriorityExploitability:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsSecretsFindingPriorityExploitabilityLabel'
      required:
        - description
        - label
      type: object
    ModelsSecretsFindingPriorityExploitabilityLabel:
      enum:
        - HIGH
        - LOW
      type: string
    ModelsSecretsFindingPriorityImpact:
      properties:
        description:
          nullable: true
          type: string
        label:
          $ref: '#/components/schemas/ModelsSecretsFindingPriorityImpactLabel'
      required:
        - description
        - label
      type: object
    ModelsSecretsFindingPriorityImpactLabel:
      enum:
        - HIGH
        - LOW
      type: string
    ModelsSecretsFindingPriorityLabel:
      enum:
        - IMPORTANT
        - INFORMATIONAL
        - URGENT
      type: string
    ModelsSecretsValidation:
      properties:
        evidence:
          type: string
        permissions:
          type: string
        result:
          $ref: '#/components/schemas/ModelsSecretsValidationResult'
      required:
        - evidence
        - permissions
        - result
      type: object
    ModelsSecretsValidationResult:
      enum:
        - INVALID
        - UNKNOWN
        - VALID
      type: string
    ModelsTriagedSecretsCredentialsFinding:
      properties:
        agentVersion:
          type: string
        assessmentFactors:
          items:
            $ref: '#/components/schemas/ModelsAssessmentFactor'
          nullable: true
          type: array
        codeContext:
          $ref: '#/components/schemas/ModelsCodeContext'
        falsePositiveReason:
          type: string
        fixStoryPointEstimate:
          type: integer
        investigationSteps:
          items:
            $ref: '#/components/schemas/ModelsInvestigationStep'
          nullable: true
          type: array
        isFalsePositive:
          type: boolean
        orgContextVersion:
          type: string
        priority:
          $ref: '#/components/schemas/ModelsSecretsFindingPriority'
        repoContextVersion:
          type: string
        triage:
          $ref: '#/components/schemas/TriageTriage'
        triagedCommitSha:
          type: string
        validationResult:
          $ref: '#/components/schemas/ModelsSecretsValidation'
      required:
        - agentVersion
        - assessmentFactors
        - codeContext
        - falsePositiveReason
        - fixStoryPointEstimate
        - investigationSteps
        - isFalsePositive
        - orgContextVersion
        - priority
        - repoContextVersion
        - triage
        - triagedCommitSha
        - validationResult
      type: object
    EndpointsDeleteEventOutput:
      properties:
        version:
          type: string
      required:
        - version
      type: object
    EndpointsGenerateDefaultCampaignsOutput:
      properties:
        message:
          type: string
        version:
          type: string
      required:
        - message
        - version
      type: object
    EndpointsGetAllCampaignsFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsFindingProgress'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - numItems
        - version
      type: object
    EndpointsGetCampaignEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsManagerEvent'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - numItems
        - version
      type: object
    EndpointsGetCampaignFindingsOutput:
      properties:
        campaignId:
          type: string
        findingIDs:
          items:
            type: string
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - campaignId
        - findingIDs
        - numItems
        - version
      type: object
    EndpointsGetCampaignMetricsRefreshOutput:
      properties:
        response:
          type: string
        version:
          type: string
      required:
        - response
        - version
      type: object
    EndpointsGetCampaignOutput:
      properties:
        campaign:
          $ref: '#/components/schemas/ModelsCampaign'
        mappedFindingIds:
          items:
            type: string
          nullable: true
          type: array
        mappedFindings:
          items:
            $ref: '#/components/schemas/ModelsFindingProgress'
          nullable: true
          type: array
        version:
          type: string
      required:
        - campaign
        - mappedFindingIds
        - mappedFindings
        - version
      type: object
    EndpointsGetCampaignPreviewOutput:
      properties:
        campaign:
          $ref: '#/components/schemas/ModelsCampaignPreview'
        numItems:
          type: integer
        version:
          type: string
      required:
        - campaign
        - numItems
        - version
      type: object
    EndpointsGetCampaignPreviewsOutput:
      properties:
        campaigns:
          items:
            $ref: '#/components/schemas/ModelsCampaignPreview'
          nullable: true
          type: array
        findings:
          items:
            $ref: '#/components/schemas/ModelsFindingProgress'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - campaigns
        - findings
        - numItems
        - version
      type: object
    EndpointsGetCampaignSummariesOutput:
      properties:
        numItems:
          type: integer
        summaries:
          items:
            $ref: '#/components/schemas/ModelsPlanSummary'
          nullable: true
          type: array
        version:
          type: string
      required:
        - numItems
        - summaries
        - version
      type: object
    EndpointsGetCampaignsOutput:
      properties:
        campaigns:
          items:
            $ref: '#/components/schemas/ModelsCampaign'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - campaigns
        - numItems
        - version
      type: object
    EndpointsGetCreditsOutput:
      properties:
        credits:
          $ref: '#/components/schemas/ModelsCredits'
        version:
          type: string
      required:
        - credits
        - version
      type: object
    EndpointsGetDefaultCampaignsOutput:
      properties:
        campaigns:
          items:
            $ref: '#/components/schemas/ModelsCampaign'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - campaigns
        - numItems
        - version
      type: object
    EndpointsGetEscalationsOutput:
      properties:
        escalations:
          items:
            $ref: '#/components/schemas/ModelsEscalation'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - escalations
        - numItems
        - version
      type: object
    EndpointsGetEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsManagerEvent'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - numItems
        - version
      type: object
    EndpointsGetFindingEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsManagerEvent'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - numItems
        - version
      type: object
    EndpointsGetManagerConfigOutput:
      properties:
        config:
          $ref: '#/components/schemas/ModelsManagerConfig'
        version:
          type: string
      required:
        - config
        - version
      type: object
    EndpointsGetManagerGroundRulesOutput:
      properties:
        groundRules:
          $ref: '#/components/schemas/ModelsManagerGroundRules'
        version:
          type: string
      required:
        - groundRules
        - version
      type: object
    EndpointsGetManagerMetricsOutput:
      properties:
        autofixDuration:
          minimum: 0
          type: integer
        backlogSearches:
          minimum: 0
          type: integer
        detectionDuration:
          minimum: 0
          type: integer
        escalatedFindings:
          minimum: 0
          type: integer
        escalations:
          minimum: 0
          type: integer
        findingsInBacklog:
          type: integer
        findingsInProgress:
          type: integer
        findingsResolved:
          type: integer
        internetSearchCount:
          minimum: 0
          type: integer
        mappedFindings:
          items:
            $ref: '#/components/schemas/ModelsFindingProgress'
          nullable: true
          type: array
        meanTimeAutofixToInProgress:
          minimum: 0
          type: integer
        meanTimeInProgressToResolved:
          minimum: 0
          type: integer
        meanTimeToAutofix:
          minimum: 0
          type: integer
        meanTimeToDetectAndTriage:
          minimum: 0
          type: integer
        meanTimeToResolve:
          minimum: 0
          type: integer
        meanTimeToTriage:
          minimum: 0
          type: integer
        medianTimeAutofixToInProgress:
          minimum: 0
          type: integer
        medianTimeInProgressToResolved:
          minimum: 0
          type: integer
        medianTimeToAutofix:
          minimum: 0
          type: integer
        medianTimeToDetectAndTriage:
          minimum: 0
          type: integer
        medianTimeToTriage:
          minimum: 0
          type: integer
        messageCount:
          minimum: 0
          type: integer
        plansGenerated:
          minimum: 0
          type: integer
        prCloseCount:
          minimum: 0
          type: integer
        prCommentCount:
          minimum: 0
          type: integer
        prCreateCount:
          minimum: 0
          type: integer
        previewMessageCount:
          minimum: 0
          type: integer
        storyPointsConsumed:
          minimum: 0
          type: integer
        tasksAssigned:
          minimum: 0
          type: integer
        ticketCloseCount:
          minimum: 0
          type: integer
        ticketCommentCount:
          minimum: 0
          type: integer
        ticketCreateCount:
          minimum: 0
          type: integer
        timeSaved:
          minimum: 0
          type: integer
        timeSavedAssigning:
          minimum: 0
          type: integer
        totalRemediationDuration:
          minimum: 0
          type: integer
        triageDuration:
          minimum: 0
          type: integer
        version:
          type: string
      required:
        - autofixDuration
        - backlogSearches
        - detectionDuration
        - escalatedFindings
        - escalations
        - findingsInBacklog
        - findingsInProgress
        - findingsResolved
        - internetSearchCount
        - mappedFindings
        - meanTimeAutofixToInProgress
        - meanTimeInProgressToResolved
        - meanTimeToAutofix
        - meanTimeToDetectAndTriage
        - meanTimeToResolve
        - meanTimeToTriage
        - medianTimeAutofixToInProgress
        - medianTimeInProgressToResolved
        - medianTimeToAutofix
        - medianTimeToDetectAndTriage
        - medianTimeToTriage
        - messageCount
        - plansGenerated
        - prCloseCount
        - prCommentCount
        - prCreateCount
        - previewMessageCount
        - storyPointsConsumed
        - tasksAssigned
        - ticketCloseCount
        - ticketCommentCount
        - ticketCreateCount
        - timeSaved
        - timeSavedAssigning
        - totalRemediationDuration
        - triageDuration
        - version
      type: object
    EndpointsGetManagerStateOutput:
      properties:
        currentState:
          $ref: '#/components/schemas/ModelsManagerState'
        version:
          type: string
      required:
        - currentState
        - version
      type: object
    EndpointsGetManagerStatesOutput:
      properties:
        stateHistory:
          $ref: '#/components/schemas/ModelsManagerStates'
        version:
          type: string
      required:
        - stateHistory
        - version
      type: object
    EndpointsGetPlansOutput:
      properties:
        numItems:
          type: integer
        plans:
          items:
            $ref: '#/components/schemas/ModelsPlan'
          nullable: true
          type: array
        version:
          type: string
      required:
        - numItems
        - plans
        - version
      type: object
    EndpointsGetScheduleOutput:
      properties:
        name:
          type: string
        schedule:
          $ref: '#/components/schemas/ModelsSchedule'
        version:
          type: string
      required:
        - name
        - schedule
        - version
      type: object
    EndpointsPatchCampaignInput:
      properties:
        createdAfter:
          format: date-time
          nullable: true
          type: string
        createdBefore:
          format: date-time
          nullable: true
          type: string
        description:
          nullable: true
          type: string
        endDate:
          format: date-time
          nullable: true
          type: string
        findingIds:
          items:
            type: string
          type: array
        isActive:
          nullable: true
          type: boolean
        limitPerType:
          nullable: true
          type: integer
        maxStoryPoints:
          nullable: true
          type: integer
        minPriority:
          nullable: true
          type: number
        noEndDate:
          nullable: true
          type: boolean
        owner:
          nullable: true
          type: string
        priorityLabels:
          items:
            type: string
          type: array
        repositoryNames:
          items:
            type: string
          type: array
        sortByColumns:
          nullable: true
          type: string
        sortByDirection:
          nullable: true
          type: string
        startDate:
          format: date-time
          nullable: true
          type: string
        summary:
          nullable: true
          type: string
        teamNames:
          items:
            type: string
          type: array
        title:
          nullable: true
          type: string
        types:
          items:
            type: string
          type: array
        userNames:
          items:
            type: string
          type: array
        vulnerabilityCVEIds:
          items:
            type: string
          type: array
        vulnerabilityCWEIds:
          items:
            type: string
          type: array
      required:
        - createdAfter
        - createdBefore
        - description
        - endDate
        - findingIds
        - isActive
        - limitPerType
        - maxStoryPoints
        - minPriority
        - noEndDate
        - owner
        - priorityLabels
        - repositoryNames
        - sortByColumns
        - sortByDirection
        - startDate
        - summary
        - teamNames
        - title
        - types
        - userNames
        - vulnerabilityCVEIds
        - vulnerabilityCWEIds
      type: object
    EndpointsPatchCampaignOutput:
      properties:
        campaign:
          $ref: '#/components/schemas/ModelsCampaign'
        campaignId:
          type: string
        version:
          type: string
      required:
        - campaign
        - campaignId
        - version
      type: object
    EndpointsPatchEscalationsInput:
      properties:
        reasoning:
          nullable: true
          type: string
        status:
          $ref: '#/components/schemas/ModelsEscalationStatus'
          nullable: true
      required:
        - reasoning
        - status
      type: object
    EndpointsPatchGroundRulesInput:
      properties:
        groundRules:
          $ref: '#/components/schemas/ModelsManagerGroundRules'
      required:
        - groundRules
      type: object
    EndpointsPatchGroundRulesOutput:
      properties:
        groundRules:
          $ref: '#/components/schemas/ModelsManagerGroundRules'
        version:
          type: string
      required:
        - groundRules
        - version
      type: object
    EndpointsPostCampaignInput:
      properties:
        createdAfter:
          format: date-time
          nullable: true
          type: string
        createdBefore:
          format: date-time
          nullable: true
          type: string
        description:
          nullable: true
          type: string
        endDate:
          format: date-time
          nullable: true
          type: string
        findingIds:
          items:
            type: string
          type: array
        isActive:
          nullable: true
          type: boolean
        limitPerType:
          nullable: true
          type: integer
        maxStoryPoints:
          nullable: true
          type: integer
        minPriority:
          nullable: true
          type: number
        noEndDate:
          nullable: true
          type: boolean
        owner:
          nullable: true
          type: string
        priorityLabels:
          items:
            type: string
          type: array
        repositoryNames:
          items:
            type: string
          type: array
        sortByColumns:
          nullable: true
          type: string
        sortByDirection:
          nullable: true
          type: string
        startDate:
          format: date-time
          nullable: true
          type: string
        summary:
          nullable: true
          type: string
        teamNames:
          items:
            type: string
          type: array
        title:
          nullable: true
          type: string
        types:
          items:
            type: string
          type: array
        userNames:
          items:
            type: string
          type: array
        vulnerabilityCVEIds:
          items:
            type: string
          type: array
        vulnerabilityCWEIds:
          items:
            type: string
          type: array
      required:
        - createdAfter
        - createdBefore
        - description
        - endDate
        - findingIds
        - isActive
        - limitPerType
        - maxStoryPoints
        - minPriority
        - noEndDate
        - owner
        - priorityLabels
        - repositoryNames
        - sortByColumns
        - sortByDirection
        - startDate
        - summary
        - teamNames
        - title
        - types
        - userNames
        - vulnerabilityCVEIds
        - vulnerabilityCWEIds
      type: object
    EndpointsPostCampaignOutput:
      properties:
        campaign:
          $ref: '#/components/schemas/ModelsCampaign'
        campaignId:
          type: string
        version:
          type: string
      required:
        - campaign
        - campaignId
        - version
      type: object
    EndpointsPostCreditsInput:
      properties:
        credits:
          $ref: '#/components/schemas/ModelsCreditsUpdate'
      required:
        - credits
      type: object
    EndpointsPostCreditsOutput:
      properties:
        credits:
          $ref: '#/components/schemas/ModelsCredits'
        version:
          type: string
      required:
        - credits
        - version
      type: object
    EndpointsPostDeduplicateEventsInput:
      properties:
        dryRun:
          type: boolean
        from:
          format: date-time
          nullable: true
          type: string
        keep:
          type: string
        statuses:
          items:
            type: string
          type: array
        timeoutSeconds:
          nullable: true
          type: integer
        to:
          format: date-time
          nullable: true
          type: string
      required:
        - dryRun
        - from
        - keep
        - statuses
        - timeoutSeconds
        - to
      type: object
    EndpointsPostDeduplicateEventsOutput:
      properties:
        dryRun:
          type: boolean
        message:
          type: string
        pagesProcessed:
          format: int64
          type: integer
        totalDeleted:
          format: int64
          type: integer
        totalDupes:
          format: int64
          type: integer
        totalOmitted:
          format: int64
          type: integer
        totalScanned:
          format: int64
          type: integer
        totalUnique:
          format: int64
          type: integer
        version:
          type: string
      required:
        - dryRun
        - message
        - pagesProcessed
        - totalDeleted
        - totalDupes
        - totalOmitted
        - totalScanned
        - totalUnique
        - version
      type: object
    EndpointsPostManagerConfigInput:
      properties:
        config:
          $ref: '#/components/schemas/ModelsManagerConfig'
      required:
        - config
      type: object
    EndpointsPostManagerConfigOutput:
      properties:
        config:
          $ref: '#/components/schemas/ModelsManagerConfig'
        version:
          type: string
      required:
        - config
        - version
      type: object
    EndpointsPostManagerGroundRulesInput:
      properties:
        groundRules:
          $ref: '#/components/schemas/ModelsManagerGroundRules'
      required:
        - groundRules
      type: object
    EndpointsPostManagerGroundRulesOutput:
      properties:
        groundRules:
          $ref: '#/components/schemas/ModelsManagerGroundRules'
        version:
          type: string
      required:
        - groundRules
        - version
      type: object
    EndpointsPostScheduleInput:
      properties:
        hour:
          type: integer
        minute:
          type: integer
        time-zone:
          type: string
      required:
        - hour
        - minute
        - time-zone
      type: object
    EndpointsPostScheduleOutput:
      properties:
        cronExpression:
          type: string
        name:
          type: string
        version:
          type: string
      required:
        - cronExpression
        - name
        - version
      type: object
    EndpointsTriggerCampaignsOrchestratorOutput:
      properties:
        message:
          type: string
        response:
          type: string
        version:
          type: string
      required:
        - message
        - response
        - version
      type: object
    ModelsCampaign:
      properties:
        createdAt:
          format: date-time
          type: string
        description:
          type: string
        endDate:
          format: date-time
          type: string
        events:
          items:
            $ref: '#/components/schemas/ModelsManagerEvent'
          nullable: true
          type: array
        generated:
          type: boolean
        generatedReasoning:
          type: string
        id:
          type: string
        isActive:
          type: boolean
        metrics:
          $ref: '#/components/schemas/ModelsMetrics'
        noEndDate:
          type: boolean
        owner:
          type: string
        selectionCriteria:
          $ref: '#/components/schemas/ModelsSelectionCriteria'
        startDate:
          format: date-time
          type: string
        status:
          type: string
        summary:
          type: string
        title:
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - createdAt
        - description
        - endDate
        - events
        - generated
        - generatedReasoning
        - id
        - isActive
        - metrics
        - noEndDate
        - owner
        - selectionCriteria
        - startDate
        - status
        - summary
        - title
        - updatedAt
      type: object
    ModelsCampaignPreview:
      properties:
        autofixTimeTotal:
          minimum: 0
          type: integer
        backlogSearches:
          minimum: 0
          type: integer
        createdAt:
          type: string
        description:
          type: string
        detectionTimeTotal:
          minimum: 0
          type: integer
        endDate:
          type: string
        escalatedFindings:
          minimum: 0
          type: integer
        escalations:
          minimum: 0
          type: integer
        estimatedBacklogStoryPoints:
          minimum: 0
          type: integer
        findingTypes:
          items:
            type: string
          nullable: true
          type: array
        findingsAllowlistedCount:
          minimum: 0
          type: integer
        findingsCount:
          minimum: 0
          type: integer
        findingsInBacklogCount:
          minimum: 0
          type: integer
        findingsResolvedCount:
          minimum: 0
          type: integer
        findingsWithAllowlistPRCount:
          minimum: 0
          type: integer
        findingsWithOpenAutoFixPRCount:
          minimum: 0
          type: integer
        findingsWithOpenTicketCount:
          minimum: 0
          type: integer
        generated:
          type: boolean
        generatedReasoning:
          type: string
        id:
          type: string
        internetSearchCount:
          minimum: 0
          type: integer
        isActive:
          type: boolean
        mappedFindingIds:
          items:
            type: string
          nullable: true
          type: array
        maxStoryPoints:
          type: integer
        meanTimeToDetectAndTriage:
          minimum: 0
          type: integer
        meanTimeToMerge:
          minimum: 0
          type: integer
        meanTimeToPullRequestCreation:
          minimum: 0
          type: integer
        meanTimeToResolve:
          minimum: 0
          type: integer
        meanTimeToReview:
          minimum: 0
          type: integer
        medianTimeToDetectAndTriage:
          minimum: 0
          type: integer
        medianTimeToMerge:
          minimum: 0
          type: integer
        medianTimeToPullRequestCreation:
          minimum: 0
          type: integer
        medianTimeToResolve:
          minimum: 0
          type: integer
        medianTimeToReview:
          minimum: 0
          type: integer
        messageCount:
          minimum: 0
          type: integer
        noEndDate:
          type: boolean
        plansGenerated:
          minimum: 0
          type: integer
        prCloseCount:
          minimum: 0
          type: integer
        prCommentCount:
          minimum: 0
          type: integer
        prCreateCount:
          minimum: 0
          type: integer
        previewMessageCount:
          minimum: 0
          type: integer
        priorityLabels:
          items:
            type: string
          nullable: true
          type: array
        repositoryNames:
          items:
            type: string
          nullable: true
          type: array
        startDate:
          type: string
        status:
          type: string
        storyPointsConsumed:
          minimum: 0
          type: integer
        tasksAssigned:
          minimum: 0
          type: integer
        ticketCloseCount:
          minimum: 0
          type: integer
        ticketCommentCount:
          minimum: 0
          type: integer
        ticketCreateCount:
          minimum: 0
          type: integer
        timeSaved:
          minimum: 0
          type: integer
        timeSavedAssigning:
          minimum: 0
          type: integer
        title:
          type: string
        triageTimeTotal:
          minimum: 0
          type: integer
        updatedAt:
          type: string
        users:
          items:
            type: string
          nullable: true
          type: array
      required:
        - autofixTimeTotal
        - backlogSearches
        - createdAt
        - description
        - detectionTimeTotal
        - endDate
        - escalatedFindings
        - escalations
        - estimatedBacklogStoryPoints
        - findingTypes
        - findingsAllowlistedCount
        - findingsCount
        - findingsInBacklogCount
        - findingsResolvedCount
        - findingsWithAllowlistPRCount
        - findingsWithOpenAutoFixPRCount
        - findingsWithOpenTicketCount
        - generated
        - generatedReasoning
        - id
        - internetSearchCount
        - isActive
        - mappedFindingIds
        - maxStoryPoints
        - meanTimeToDetectAndTriage
        - meanTimeToMerge
        - meanTimeToPullRequestCreation
        - meanTimeToResolve
        - meanTimeToReview
        - medianTimeToDetectAndTriage
        - medianTimeToMerge
        - medianTimeToPullRequestCreation
        - medianTimeToResolve
        - medianTimeToReview
        - messageCount
        - noEndDate
        - plansGenerated
        - prCloseCount
        - prCommentCount
        - prCreateCount
        - previewMessageCount
        - priorityLabels
        - repositoryNames
        - startDate
        - status
        - storyPointsConsumed
        - tasksAssigned
        - ticketCloseCount
        - ticketCommentCount
        - ticketCreateCount
        - timeSaved
        - timeSavedAssigning
        - title
        - triageTimeTotal
        - updatedAt
        - users
      type: object
    ModelsCredits:
      properties:
        balance:
          minimum: 0
          type: integer
        updatedAt:
          format: date-time
          type: string
      required:
        - balance
        - updatedAt
      type: object
    ModelsCreditsUpdate:
      properties:
        increment:
          format: int64
          type: integer
      required:
        - increment
      type: object
    ModelsEscalation:
      properties:
        campaignIds:
          items:
            type: string
          nullable: true
          type: array
        createdAt:
          format: date-time
          type: string
        findingId:
          type: string
        id:
          type: string
        pullRequestIds:
          items:
            type: string
          type: array
        reasoning:
          type: string
        status:
          $ref: '#/components/schemas/ModelsEscalationStatus'
        ticketIds:
          items:
            type: string
          type: array
        updatedAt:
          format: date-time
          type: string
      required:
        - campaignIds
        - createdAt
        - findingId
        - id
        - pullRequestIds
        - reasoning
        - status
        - ticketIds
        - updatedAt
      type: object
    ModelsEscalationStatus:
      enum:
        - OPEN
        - RESOLVED
      type: string
    ModelsFindingProgress:
      properties:
        autofixDuration:
          nullable: true
          type: integer
        autofixedAt:
          format: date-time
          nullable: true
          type: string
        createdAt:
          format: date-time
          type: string
        detectionDuration:
          nullable: true
          type: integer
        discoveredAt:
          format: date-time
          nullable: true
          type: string
        findingId:
          type: string
        findingType:
          type: string
        inProgressAt:
          format: date-time
          nullable: true
          type: string
        resolvedAt:
          format: date-time
          nullable: true
          type: string
        status:
          $ref: '#/components/schemas/ModelsFindingStatus'
        timeSaved:
          nullable: true
          type: integer
        totalRemediationDuration:
          nullable: true
          type: integer
        triageDuration:
          nullable: true
          type: integer
        triagedAt:
          format: date-time
          nullable: true
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - autofixDuration
        - autofixedAt
        - createdAt
        - detectionDuration
        - discoveredAt
        - findingId
        - findingType
        - inProgressAt
        - resolvedAt
        - status
        - timeSaved
        - totalRemediationDuration
        - triageDuration
        - triagedAt
        - updatedAt
      type: object
    ModelsFindingStatus:
      enum:
        - BACKLOG
        - IN_PROGRESS
        - RESOLVED
      type: string
    ModelsFindingsMetrics:
      properties:
        autofixTimeTotal:
          minimum: 0
          type: integer
        detectionTimeTotal:
          minimum: 0
          type: integer
        estimatedBacklogStoryPoints:
          minimum: 0
          type: integer
        findingsAllowlistedCount:
          minimum: 0
          type: integer
        findingsCount:
          minimum: 0
          type: integer
        findingsInBacklogCount:
          minimum: 0
          type: integer
        findingsInProgressCount:
          minimum: 0
          type: integer
        findingsResolvedCount:
          minimum: 0
          type: integer
        findingsWithOpenAutoFixPRCount:
          minimum: 0
          type: integer
        findingsWithOpenTicketCount:
          minimum: 0
          type: integer
        meanTimeToDetectAndTriage:
          minimum: 0
          type: integer
        meanTimeToMerge:
          minimum: 0
          type: integer
        meanTimeToPullRequestCreation:
          minimum: 0
          type: integer
        meanTimeToResolve:
          minimum: 0
          type: integer
        meanTimeToReview:
          minimum: 0
          type: integer
        medianTimeToDetectAndTriage:
          minimum: 0
          type: integer
        medianTimeToMerge:
          minimum: 0
          type: integer
        medianTimeToPullRequestCreation:
          minimum: 0
          type: integer
        medianTimeToResolve:
          minimum: 0
          type: integer
        medianTimeToReview:
          minimum: 0
          type: integer
        timeSaved:
          minimum: 0
          type: integer
        triageTimeTotal:
          minimum: 0
          type: integer
      required:
        - autofixTimeTotal
        - detectionTimeTotal
        - estimatedBacklogStoryPoints
        - findingsAllowlistedCount
        - findingsCount
        - findingsInBacklogCount
        - findingsInProgressCount
        - findingsResolvedCount
        - findingsWithOpenAutoFixPRCount
        - findingsWithOpenTicketCount
        - meanTimeToDetectAndTriage
        - meanTimeToMerge
        - meanTimeToPullRequestCreation
        - meanTimeToResolve
        - meanTimeToReview
        - medianTimeToDetectAndTriage
        - medianTimeToMerge
        - medianTimeToPullRequestCreation
        - medianTimeToResolve
        - medianTimeToReview
        - timeSaved
        - triageTimeTotal
      type: object
    ModelsManagerCampaignStatus:
      enum:
        - AT_RISK
        - OK
      type: string
    ModelsManagerConfig:
      properties:
        createdAt:
          format: date-time
          type: string
        enableActions:
          type: boolean
        id:
          type: string
        initialized:
          type: boolean
        updatedAt:
          format: date-time
          type: string
      required:
        - createdAt
        - enableActions
        - id
        - initialized
        - updatedAt
      type: object
    ModelsManagerEvent:
      properties:
        actionType:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        createdAt:
          type: string
        description:
          type: string
        findingIds:
          items:
            type: string
          type: array
        id:
          type: string
        metaData:
          additionalProperties:
            type: string
          type: object
        pullRequestIds:
          items:
            type: string
          type: array
        reasoning:
          type: string
        repositoryIds:
          items:
            type: string
          type: array
        status:
          type: string
        ticketIds:
          items:
            type: string
          type: array
        userIds:
          items:
            type: string
          type: array
      required:
        - actionType
        - campaignIds
        - createdAt
        - description
        - findingIds
        - id
        - metaData
        - pullRequestIds
        - reasoning
        - repositoryIds
        - status
        - ticketIds
        - userIds
      type: object
    ModelsManagerGroundRules:
      properties:
        createdAt:
          format: date-time
          type: string
        disableChannelMessages:
          type: boolean
        disableDirectMessages:
          type: boolean
        disablePRClosure:
          type: boolean
        disablePRComments:
          type: boolean
        disablePRCreation:
          type: boolean
        disableReviewerCandidateSelection:
          type: boolean
        disableTicketClosure:
          type: boolean
        disableTicketComments:
          type: boolean
        disableTicketCreation:
          type: boolean
        id:
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - createdAt
        - disableChannelMessages
        - disableDirectMessages
        - disablePRClosure
        - disablePRComments
        - disablePRCreation
        - disableReviewerCandidateSelection
        - disableTicketClosure
        - disableTicketComments
        - disableTicketCreation
        - id
        - updatedAt
      type: object
    ModelsManagerNote:
      properties:
        campaignIds:
          items:
            type: string
          type: array
        channelIds:
          items:
            type: string
          type: array
        content:
          type: string
        createdAt:
          type: string
        pullRequestIds:
          items:
            type: string
          type: array
        repositories:
          items:
            type: string
          type: array
        ticketIds:
          items:
            type: string
          type: array
        users:
          items:
            type: string
          type: array
      required:
        - campaignIds
        - channelIds
        - content
        - createdAt
        - pullRequestIds
        - repositories
        - ticketIds
        - users
      type: object
    ModelsManagerState:
      properties:
        content:
          type: string
        createdAt:
          type: string
      required:
        - content
        - createdAt
      type: object
    ModelsManagerStates:
      items:
        $ref: '#/components/schemas/ModelsManagerState'
      nullable: true
      type: array
    ModelsMetrics:
      properties:
        backlogSearches:
          minimum: 0
          type: integer
        escalatedFindings:
          minimum: 0
          type: integer
        escalations:
          minimum: 0
          type: integer
        findingsAnalysis:
          $ref: '#/components/schemas/ModelsFindingsMetrics'
        internetSearchCount:
          minimum: 0
          type: integer
        messageCount:
          minimum: 0
          type: integer
        plansGenerated:
          minimum: 0
          type: integer
        prCloseCount:
          minimum: 0
          type: integer
        prCommentCount:
          minimum: 0
          type: integer
        prCreateCount:
          minimum: 0
          type: integer
        previewMessageCount:
          minimum: 0
          type: integer
        storyPointsConsumed:
          minimum: 0
          type: integer
        tasksAssigned:
          minimum: 0
          type: integer
        ticketCloseCount:
          minimum: 0
          type: integer
        ticketCommentCount:
          minimum: 0
          type: integer
        ticketCreateCount:
          minimum: 0
          type: integer
        timeSavedAssigning:
          minimum: 0
          type: integer
      required:
        - backlogSearches
        - escalatedFindings
        - escalations
        - findingsAnalysis
        - internetSearchCount
        - messageCount
        - plansGenerated
        - prCloseCount
        - prCommentCount
        - prCreateCount
        - previewMessageCount
        - storyPointsConsumed
        - tasksAssigned
        - ticketCloseCount
        - ticketCommentCount
        - ticketCreateCount
        - timeSavedAssigning
      type: object
    ModelsPlan:
      properties:
        createdAt:
          format: date-time
          type: string
        events:
          items:
            $ref: '#/components/schemas/ModelsManagerEvent'
          type: array
        id:
          type: string
        llmPlanResponse:
          $ref: '#/components/schemas/ModelsPlanType2'
      required:
        - createdAt
        - events
        - id
        - llmPlanResponse
      type: object
    ModelsPlanAllowlistFindingsElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        content:
          type: string
        delay:
          nullable: true
          type: integer
        findingId:
          type: string
        findingType:
          $ref: '#/components/schemas/ModelsPlanAllowlistFindingsElemFindingType'
        reason:
          type: string
        reviewerUserIds:
          items:
            type: string
          nullable: true
          type: array
      required:
        - actionId
        - campaignIds
        - content
        - delay
        - findingId
        - findingType
        - reason
        - reviewerUserIds
      type: object
    ModelsPlanAllowlistFindingsElemFindingType:
      enum:
        - CODE
        - SECRETS
      type: string
    ModelsPlanCloseFixPullRequestsElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        delay:
          nullable: true
          type: integer
        findingId:
          nullable: true
          type: string
        pullRequestId:
          type: string
        reason:
          type: string
      required:
        - actionId
        - campaignIds
        - delay
        - findingId
        - pullRequestId
        - reason
      type: object
    ModelsPlanCloseTicketsElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        delay:
          nullable: true
          type: integer
        reason:
          type: string
        ticketId:
          type: string
      required:
        - actionId
        - campaignIds
        - delay
        - reason
        - ticketId
      type: object
    ModelsPlanCommentOnFixPullRequestsElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        delay:
          nullable: true
          type: integer
        findingId:
          nullable: true
          type: string
        message:
          type: string
        pullRequestId:
          type: string
        reason:
          type: string
      required:
        - actionId
        - campaignIds
        - delay
        - findingId
        - message
        - pullRequestId
        - reason
      type: object
    ModelsPlanCommentOnTicketsElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        delay:
          nullable: true
          type: integer
        message:
          type: string
        reason:
          type: string
        ticketId:
          type: string
      required:
        - actionId
        - campaignIds
        - delay
        - message
        - reason
        - ticketId
      type: object
    ModelsPlanCreateFixPullRequestsElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        content:
          type: string
        delay:
          nullable: true
          type: integer
        findingId:
          type: string
        findingType:
          $ref: '#/components/schemas/ModelsPlanCreateFixPullRequestsElemFindingType'
        reason:
          type: string
        reviewerUserIds:
          items:
            type: string
          nullable: true
          type: array
      required:
        - actionId
        - campaignIds
        - content
        - delay
        - findingId
        - findingType
        - reason
        - reviewerUserIds
      type: object
    ModelsPlanCreateFixPullRequestsElemFindingType:
      enum:
        - CODE
        - DEPENDENCY
      type: string
    ModelsPlanCreateTicketsElem:
      properties:
        actionId:
          type: string
        assigneeUserId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        content:
          type: string
        delay:
          nullable: true
          type: integer
        findingId:
          type: string
        findingType:
          $ref: '#/components/schemas/ModelsPlanCreateTicketsElemFindingType'
        projectKey:
          type: string
        reason:
          type: string
      required:
        - actionId
        - assigneeUserId
        - campaignIds
        - content
        - delay
        - findingId
        - findingType
        - projectKey
        - reason
      type: object
    ModelsPlanCreateTicketsElemFindingType:
      enum:
        - CODE
        - DEPENDENCY
        - SECRETS
      type: string
    ModelsPlanEscalateIssuesElem:
      properties:
        actionId:
          type: string
        delay:
          nullable: true
          type: integer
        findingId:
          type: string
        message:
          type: string
        reasoning:
          type: string
        userIds:
          items:
            type: string
          nullable: true
          type: array
      required:
        - actionId
        - delay
        - findingId
        - message
        - reasoning
        - userIds
      type: object
    ModelsPlanMessageChannelElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        channelName:
          type: string
        delay:
          nullable: true
          type: integer
        message:
          type: string
        reason:
          type: string
      required:
        - actionId
        - campaignIds
        - channelName
        - delay
        - message
        - reason
      type: object
    ModelsPlanPreview:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        channelName:
          nullable: true
          type: string
        content:
          type: string
        reason:
          type: string
        userId:
          nullable: true
          type: string
      required:
        - actionId
        - campaignIds
        - channelName
        - content
        - reason
        - userId
      type: object
    ModelsPlanReassignFixPullRequestsElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        delay:
          nullable: true
          type: integer
        findingId:
          type: string
        newReviewerUserIds:
          items:
            type: string
          nullable: true
          type: array
        pullRequestId:
          type: string
        reason:
          type: string
      required:
        - actionId
        - campaignIds
        - delay
        - findingId
        - newReviewerUserIds
        - pullRequestId
        - reason
      type: object
    ModelsPlanReassignTicketsElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        delay:
          nullable: true
          type: integer
        newAssigneeUserId:
          type: string
        reason:
          type: string
        ticketId:
          type: string
      required:
        - actionId
        - campaignIds
        - delay
        - newAssigneeUserId
        - reason
        - ticketId
      type: object
    ModelsPlanSearchesElem:
      properties:
        description:
          type: string
      required:
        - description
      type: object
    ModelsPlanSendDirectMessagesElem:
      properties:
        actionId:
          type: string
        campaignIds:
          items:
            type: string
          type: array
        delay:
          nullable: true
          type: integer
        findingId:
          type: string
        message:
          type: string
        reason:
          type: string
        userId:
          type: string
      required:
        - actionId
        - campaignIds
        - delay
        - findingId
        - message
        - reason
        - userId
      type: object
    ModelsPlanSummary:
      properties:
        campaigns:
          items:
            $ref: '#/components/schemas/ModelsPlanSummaryCampaignsElem'
          nullable: true
          type: array
        content:
          type: string
        createdAt:
          type: string
      required:
        - campaigns
        - content
        - createdAt
      type: object
    ModelsPlanSummaryCampaignsElem:
      properties:
        campaignId:
          type: string
        content:
          type: string
        status:
          $ref: '#/components/schemas/ModelsManagerCampaignStatus'
        upcomingActions:
          items:
            type: string
          nullable: true
          type: array
      required:
        - campaignId
        - content
        - status
        - upcomingActions
      type: object
    ModelsPlanType2:
      properties:
        allowlistFindings:
          items:
            $ref: '#/components/schemas/ModelsPlanAllowlistFindingsElem'
          type: array
        closeFixPullRequests:
          items:
            $ref: '#/components/schemas/ModelsPlanCloseFixPullRequestsElem'
          type: array
        closeTickets:
          items:
            $ref: '#/components/schemas/ModelsPlanCloseTicketsElem'
          type: array
        commentOnFixPullRequests:
          items:
            $ref: '#/components/schemas/ModelsPlanCommentOnFixPullRequestsElem'
          type: array
        commentOnTickets:
          items:
            $ref: '#/components/schemas/ModelsPlanCommentOnTicketsElem'
          type: array
        createFixPullRequests:
          items:
            $ref: '#/components/schemas/ModelsPlanCreateFixPullRequestsElem'
          type: array
        createTickets:
          items:
            $ref: '#/components/schemas/ModelsPlanCreateTicketsElem'
          type: array
        currentState:
          nullable: true
          type: string
        escalateIssues:
          items:
            $ref: '#/components/schemas/ModelsPlanEscalateIssuesElem'
          type: array
        messageChannel:
          items:
            $ref: '#/components/schemas/ModelsPlanMessageChannelElem'
          type: array
        notes:
          items:
            $ref: '#/components/schemas/ModelsManagerNote'
          type: array
        preview:
          $ref: '#/components/schemas/ModelsPlanPreview'
        reassignFixPullRequests:
          items:
            $ref: '#/components/schemas/ModelsPlanReassignFixPullRequestsElem'
          type: array
        reassignTickets:
          items:
            $ref: '#/components/schemas/ModelsPlanReassignTicketsElem'
          type: array
        searches:
          items:
            $ref: '#/components/schemas/ModelsPlanSearchesElem'
          type: array
        sendDirectMessages:
          items:
            $ref: '#/components/schemas/ModelsPlanSendDirectMessagesElem'
          type: array
        summary:
          $ref: '#/components/schemas/ModelsPlanSummary'
        threatReport:
          $ref: '#/components/schemas/ModelsThreatReport'
      required:
        - allowlistFindings
        - closeFixPullRequests
        - closeTickets
        - commentOnFixPullRequests
        - commentOnTickets
        - createFixPullRequests
        - createTickets
        - currentState
        - escalateIssues
        - messageChannel
        - notes
        - preview
        - reassignFixPullRequests
        - reassignTickets
        - searches
        - sendDirectMessages
        - summary
        - threatReport
      type: object
    ModelsSchedule:
      properties:
        hour:
          type: integer
        minute:
          type: integer
        time-zone:
          type: string
      required:
        - hour
        - minute
        - time-zone
      type: object
    ModelsSelectionCriteria:
      properties:
        createdAfter:
          format: date-time
          nullable: true
          type: string
        createdBefore:
          format: date-time
          nullable: true
          type: string
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        limitPerType:
          nullable: true
          type: integer
        maxStoryPoints:
          nullable: true
          type: integer
        minPriority:
          nullable: true
          type: number
        priorityLabels:
          items:
            type: string
          nullable: true
          type: array
        repositoryNames:
          items:
            type: string
          nullable: true
          type: array
        sortByColumns:
          nullable: true
          type: string
        sortByDirection:
          nullable: true
          type: string
        teamNames:
          items:
            type: string
          nullable: true
          type: array
        types:
          items:
            $ref: '#/components/schemas/ModelsFindingType'
          nullable: true
          type: array
        userNames:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilityCVEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilityCWEIds:
          items:
            type: string
          nullable: true
          type: array
      required:
        - createdAfter
        - createdBefore
        - findingIds
        - limitPerType
        - maxStoryPoints
        - minPriority
        - priorityLabels
        - repositoryNames
        - sortByColumns
        - sortByDirection
        - teamNames
        - types
        - userNames
        - vulnerabilityCVEIds
        - vulnerabilityCWEIds
      type: object
    ModelsThreatReport:
      properties:
        createdAt:
          type: string
        summary:
          type: string
      required:
        - createdAt
        - summary
      type: object
    EndpointsAccountDetailWithURL:
      properties:
        accountId:
          type: string
        downloadUrl:
          type: string
        expiresAt:
          format: date-time
          type: string
      required:
        - accountId
        - downloadUrl
        - expiresAt
      type: object
    EndpointsClassifierAzureScanResults:
      properties:
        subscriptionsScanned:
          type: integer
        totalEndpoints:
          type: integer
        totalHosts:
          type: integer
        totalResources:
          type: integer
      required:
        - subscriptionsScanned
        - totalEndpoints
        - totalHosts
        - totalResources
      type: object
    EndpointsClassifierAzureScanStatusSummary:
      properties:
        endTime:
          type: string
        errorMessage:
          type: string
        scanId:
          type: string
        scanResults:
          $ref: '#/components/schemas/EndpointsClassifierAzureScanResults'
        startTime:
          type: string
        status:
          type: string
      required:
        - endTime
        - errorMessage
        - scanId
        - scanResults
        - startTime
        - status
      type: object
    EndpointsClassifierAzureSubscriptionInput:
      properties:
        displayName:
          type: string
        isDefault:
          type: boolean
        subscriptionId:
          type: string
        type:
          type: string
      required:
        - displayName
        - isDefault
        - subscriptionId
        - type
      type: object
    EndpointsClassifierAzureSubscriptionWithStatus:
      properties:
        accountType:
          type: string
        isDefault:
          type: boolean
        isEnabled:
          type: boolean
        lastVerifiedAt:
          type: string
        lastVerifiedStatus:
          type: string
        state:
          type: string
        subscriptionId:
          type: string
        subscriptionName:
          type: string
      required:
        - accountType
        - isDefault
        - isEnabled
        - lastVerifiedAt
        - lastVerifiedStatus
        - state
        - subscriptionId
        - subscriptionName
      type: object
    EndpointsClassifierDeleteAzureSettingsOutput:
      properties:
        message:
          type: string
        success:
          type: boolean
      required:
        - message
        - success
      type: object
    EndpointsClassifierGetAWSSettingsOutput:
      properties:
        awsAccounts:
          items:
            $ref: '#/components/schemas/ModelsAWSAccountWithStatus'
          nullable: true
          type: array
        createdAt:
          type: string
        externalId:
          type: string
        iamRoleName:
          type: string
        lastValidatedAt:
          type: string
        lastValidationStatus:
          type: string
        nullifyKMSKeyArn:
          type: string
        nullifyRoleArn:
          type: string
        nullifyS3Bucket:
          type: string
        overallStatus:
          type: string
        preferredDeployment:
          $ref: '#/components/schemas/ModelsDeploymentType'
        updatedAt:
          type: string
      required:
        - awsAccounts
        - createdAt
        - externalId
        - iamRoleName
        - lastValidatedAt
        - lastValidationStatus
        - nullifyKMSKeyArn
        - nullifyRoleArn
        - nullifyS3Bucket
        - overallStatus
        - preferredDeployment
        - updatedAt
      type: object
    EndpointsClassifierGetAzureScanStatusOutput:
      properties:
        endTime:
          type: string
        errorMessage:
          type: string
        results:
          $ref: '#/components/schemas/EndpointsClassifierAzureScanResults'
        scanId:
          type: string
        scanList:
          items:
            $ref: '#/components/schemas/EndpointsClassifierAzureScanStatusSummary'
          type: array
        startTime:
          type: string
        status:
          type: string
      required:
        - endTime
        - errorMessage
        - results
        - scanId
        - scanList
        - startTime
        - status
      type: object
    EndpointsClassifierGetAzureSettingsOutput:
      properties:
        clientId:
          type: string
        createdAt:
          type: string
        displayName:
          type: string
        lastValidatedAt:
          type: string
        lastValidationStatus:
          type: string
        overallStatus:
          type: string
        subscriptions:
          items:
            $ref: '#/components/schemas/EndpointsClassifierAzureSubscriptionWithStatus'
          nullable: true
          type: array
        tenantId:
          type: string
        updatedAt:
          type: string
        useManagedIdentity:
          type: boolean
      required:
        - clientId
        - createdAt
        - displayName
        - lastValidatedAt
        - lastValidationStatus
        - overallStatus
        - subscriptions
        - tenantId
        - updatedAt
        - useManagedIdentity
      type: object
    EndpointsClassifierStartAWSScanInput:
      properties:
        roleNameToAssume:
          type: string
        targetAccountIds:
          items:
            type: string
          type: array
      required:
        - roleNameToAssume
        - targetAccountIds
      type: object
    EndpointsClassifierStartAWSScanOutput:
      properties:
        message:
          type: string
        scanId:
          type: string
        statusCode:
          type: integer
        success:
          type: boolean
      required:
        - message
        - scanId
        - statusCode
        - success
      type: object
    EndpointsClassifierStartAzureScanInput:
      properties:
        services:
          items:
            type: string
          type: array
        targetRegions:
          items:
            type: string
          type: array
        targetSubscriptionIds:
          items:
            type: string
          type: array
      required:
        - services
        - targetRegions
        - targetSubscriptionIds
      type: object
    EndpointsClassifierStartAzureScanOutput:
      properties:
        message:
          type: string
        scanId:
          type: string
        statusCode:
          type: integer
        success:
          type: boolean
      required:
        - message
        - scanId
        - statusCode
        - success
      type: object
    EndpointsClassifierUpsertAWSSettingsInput:
      properties:
        awsAccounts:
          items:
            $ref: '#/components/schemas/ModelsAWSAccount'
          nullable: true
          type: array
        externalId:
          type: string
        iamRoleName:
          type: string
        preferredDeployment:
          type: string
      required:
        - awsAccounts
        - externalId
        - iamRoleName
        - preferredDeployment
      type: object
    EndpointsClassifierUpsertAWSSettingsOutput:
      properties:
        awsAccounts:
          items:
            $ref: '#/components/schemas/ModelsAWSAccountWithStatus'
          nullable: true
          type: array
        externalId:
          type: string
        lastValidatedAt:
          type: string
        lastValidationStatus:
          type: string
        message:
          type: string
        nullifyKMSKeyArn:
          type: string
        nullifyRoleArn:
          type: string
        nullifyS3Bucket:
          type: string
        overallStatus:
          type: string
      required:
        - awsAccounts
        - externalId
        - lastValidatedAt
        - lastValidationStatus
        - message
        - nullifyKMSKeyArn
        - nullifyRoleArn
        - nullifyS3Bucket
        - overallStatus
      type: object
    EndpointsClassifierUpsertAzureSettingsInput:
      properties:
        clientId:
          type: string
        clientSecret:
          type: string
        displayName:
          type: string
        subscriptions:
          items:
            $ref: '#/components/schemas/EndpointsClassifierAzureSubscriptionInput'
          type: array
        tenantId:
          type: string
        useManagedIdentity:
          type: boolean
      required:
        - clientId
        - clientSecret
        - displayName
        - subscriptions
        - tenantId
        - useManagedIdentity
      type: object
    EndpointsClassifierUpsertAzureSettingsOutput:
      properties:
        clientId:
          type: string
        displayName:
          type: string
        lastValidatedAt:
          type: string
        lastValidationStatus:
          type: string
        message:
          type: string
        overallStatus:
          type: string
        subscriptions:
          items:
            $ref: '#/components/schemas/EndpointsClassifierAzureSubscriptionWithStatus'
          nullable: true
          type: array
        tenantId:
          type: string
        useManagedIdentity:
          type: boolean
      required:
        - clientId
        - displayName
        - lastValidatedAt
        - lastValidationStatus
        - message
        - overallStatus
        - subscriptions
        - tenantId
        - useManagedIdentity
      type: object
    EndpointsCreateApplicationInput:
      properties:
        application:
          $ref: '#/components/schemas/ModelsAgentAppContextSeed'
      required:
        - application
      type: object
    EndpointsCreateApplicationOutput:
      properties:
        applicationId:
          type: string
        message:
          type: string
        version:
          type: string
      required:
        - applicationId
        - message
        - version
      type: object
    EndpointsCreateOrganizationInput:
      properties:
        organization:
          $ref: '#/components/schemas/ModelsOrgContext'
      required:
        - organization
      type: object
    EndpointsCreateOrganizationOutput:
      properties:
        organization:
          $ref: '#/components/schemas/ModelsOrgContext'
        version:
          type: string
      required:
        - organization
        - version
      type: object
    EndpointsDeleteClassifierApplicationOutput:
      properties:
        message:
          type: string
      required:
        - message
      type: object
    EndpointsDeleteDepsOutput:
      properties:
        deletedCount:
          type: integer
        scope:
          type: string
        version:
          type: string
      required:
        - deletedCount
        - scope
        - version
      type: object
    EndpointsDeleteMemoryOutput:
      properties:
        message:
          type: string
        success:
          type: boolean
        version:
          type: string
      required:
        - message
        - success
        - version
      type: object
    EndpointsDeleteRepositoryOutput:
      properties:
        message:
          type: string
        success:
          type: boolean
        version:
          type: string
      required:
        - message
        - success
        - version
      type: object
    EndpointsGetActiveDepsOutput:
      properties:
        dependencies:
          items:
            $ref: '#/components/schemas/ModelsDependencyOccurrence'
          nullable: true
          type: array
        nextCursor:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - dependencies
        - nextCursor
        - numItems
        - version
      type: object
    EndpointsGetAssetInventoryResourcesOutput:
      properties:
        nextToken:
          type: string
        resources:
          items:
            $ref: '#/components/schemas/ModelsAssetInventoryHost'
          nullable: true
          type: array
        total:
          type: integer
        version:
          type: string
      required:
        - nextToken
        - resources
        - total
        - version
      type: object
    EndpointsGetClassifierApplicationOutput:
      properties:
        application:
          $ref: '#/components/schemas/ModelsApplication'
        version:
          type: string
      required:
        - application
        - version
      type: object
    EndpointsGetClassifierApplicationsOutput:
      properties:
        applications:
          items:
            $ref: '#/components/schemas/ModelsApplication'
          nullable: true
          type: array
        version:
          type: string
      required:
        - applications
        - version
      type: object
    EndpointsGetCloudIntegrationScanPresignedURLOutput:
      properties:
        presignedUrl:
          description: S3 presigned URL for downloading scan data (valid for 15 minutes)
          type: string
        scanId:
          description: Scan ID
          type: string
        tenantId:
          description: Tenant ID
          type: string
        version:
          description: API version
          type: string
      required:
        - presignedUrl
        - scanId
        - tenantId
        - version
      type: object
    EndpointsGetDepsAtCommitOutput:
      properties:
        commitTimestamp:
          format: date-time
          type: string
        dependencies:
          items:
            $ref: '#/components/schemas/ModelsDependencyOccurrence'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - commitTimestamp
        - dependencies
        - numItems
        - version
      type: object
    EndpointsGetDepsDiffOutput:
      properties:
        diff:
          $ref: '#/components/schemas/ModelsDependencyDiff'
        numItems:
          type: integer
        version:
          type: string
      required:
        - diff
        - numItems
        - version
      type: object
    EndpointsGetDepsHistoryOut:
      properties:
        numItems:
          type: integer
        version:
          type: string
        windows:
          items:
            $ref: '#/components/schemas/ModelsDependencyWindow'
          nullable: true
          type: array
      required:
        - numItems
        - version
        - windows
      type: object
    EndpointsGetDepsOutput:
      properties:
        dependencies:
          items:
            $ref: '#/components/schemas/ModelsDependencyOccurrence'
          nullable: true
          type: array
        nextCursor:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - dependencies
        - nextCursor
        - numItems
        - version
      type: object
    EndpointsGetExposureOutput:
      properties:
        numItems:
          type: integer
        version:
          type: string
        windows:
          items:
            $ref: '#/components/schemas/ModelsDependencyWindow'
          nullable: true
          type: array
      required:
        - numItems
        - version
        - windows
      type: object
    EndpointsGetInfrastructureGraphDownloadOutput:
      properties:
        accountId:
          type: string
        downloadUrl:
          type: string
        expiresAt:
          format: date-time
          type: string
        version:
          type: string
      required:
        - accountId
        - downloadUrl
        - expiresAt
        - version
      type: object
    EndpointsGetInfrastructureGraphOutput:
      properties:
        graph: {}
        version:
          type: string
      required:
        - graph
        - version
      type: object
    EndpointsGetInfrastructureGraphSummaryOutput:
      properties:
        accountDetails:
          items:
            $ref: '#/components/schemas/EndpointsAccountDetailWithURL'
          nullable: true
          type: array
        combinedGraph:
          $ref: '#/components/schemas/EndpointsGraphDownloadInfo'
        graphInfo: {}
        version:
          type: string
      required:
        - accountDetails
        - combinedGraph
        - graphInfo
        - version
      type: object
    EndpointsGetInfrastructureGraphVersionOutput:
      properties:
        graph: {}
        version:
          type: string
      required:
        - graph
        - version
      type: object
    EndpointsGetMemoriesOutput:
      properties:
        count:
          type: integer
        memories:
          items:
            $ref: '#/components/schemas/ModelsMemory'
          nullable: true
          type: array
        nextToken:
          nullable: true
          type: string
        version:
          type: string
      required:
        - count
        - memories
        - nextToken
        - version
      type: object
    EndpointsGetMemoryOutput:
      properties:
        memory:
          $ref: '#/components/schemas/ModelsMemory'
        version:
          type: string
      required:
        - memory
        - version
      type: object
    EndpointsGetMemoryVersionsOutput:
      properties:
        count:
          format: int32
          type: integer
        version:
          type: string
        versions:
          items:
            $ref: '#/components/schemas/ModelsMemory'
          nullable: true
          type: array
      required:
        - count
        - version
        - versions
      type: object
    EndpointsGetOrganizationOutput:
      properties:
        organization:
          $ref: '#/components/schemas/ModelsOrgContext'
        version:
          type: string
      required:
        - organization
        - version
      type: object
    EndpointsGetProjectActiveDepsOutput:
      properties:
        dependencies:
          items:
            $ref: '#/components/schemas/ModelsDependencyOccurrence'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - dependencies
        - numItems
        - version
      type: object
    EndpointsGetProjectExposureOutput:
      properties:
        numItems:
          type: integer
        version:
          type: string
        windows:
          items:
            $ref: '#/components/schemas/ModelsDependencyWindow'
          nullable: true
          type: array
      required:
        - numItems
        - version
        - windows
      type: object
    EndpointsGetProjectOutput:
      properties:
        project:
          $ref: '#/components/schemas/ModelsClassifierProject'
        version:
          type: string
      required:
        - project
        - version
      type: object
    EndpointsGetProjectSchemaMetadataOutput:
      properties:
        downloadUrl:
          type: string
        format:
          $ref: '#/components/schemas/ModelsSchemaFormat'
        numEndpoints:
          type: integer
        size:
          type: integer
        type:
          $ref: '#/components/schemas/ModelsSchemaType'
        version:
          type: string
      required:
        - downloadUrl
        - format
        - numEndpoints
        - size
        - type
        - version
      type: object
    EndpointsGetProjectSchemaOutput:
      properties:
        format:
          $ref: '#/components/schemas/ModelsSchemaFormat'
        schema:
          type: string
        type:
          $ref: '#/components/schemas/ModelsSchemaType'
        version:
          type: string
      required:
        - format
        - schema
        - type
        - version
      type: object
    EndpointsGetRepositoriesOutput:
      properties:
        nextToken:
          type: string
        numItems:
          type: integer
        repositories:
          items:
            $ref: '#/components/schemas/RepocontextRepoContext'
          nullable: true
          type: array
        version:
          type: string
      required:
        - nextToken
        - numItems
        - repositories
        - version
      type: object
    EndpointsGetRepositoryOutput:
      properties:
        repository:
          $ref: '#/components/schemas/RepocontextRepoContext'
        version:
          type: string
      required:
        - repository
        - version
      type: object
    EndpointsGetSBOMSOutput:
      properties:
        sboms:
          items:
            $ref: '#/components/schemas/ModelsCDXGenAtCommit'
          nullable: true
          type: array
        version:
          type: string
      required:
        - sboms
        - version
      type: object
    EndpointsGetSBOMTreeOutput:
      properties:
        repositories:
          items:
            $ref: '#/components/schemas/ModelsSBOMRepository'
          nullable: true
          type: array
        tenantId:
          type: string
        version:
          type: string
      required:
        - repositories
        - tenantId
        - version
      type: object
    EndpointsGetVaultFileOutput:
      properties:
        createdAt:
          format: date-time
          type: string
        documentId:
          type: string
        fileId:
          type: string
        fileName:
          type: string
        filePresignedUrl:
          type: string
        uploaderId:
          type: string
        uploaderUsername:
          type: string
        version:
          type: string
      required:
        - createdAt
        - documentId
        - fileId
        - fileName
        - filePresignedUrl
        - uploaderId
        - uploaderUsername
        - version
      type: object
    EndpointsGetVaultFilesListOutput:
      properties:
        files:
          items:
            $ref: '#/components/schemas/EndpointsVaultFileSimple'
          nullable: true
          type: array
        version:
          type: string
      required:
        - files
        - version
      type: object
    EndpointsGetVaultFilesOutput:
      properties:
        files:
          items:
            $ref: '#/components/schemas/EndpointsVaultFile'
          nullable: true
          type: array
        version:
          type: string
      required:
        - files
        - version
      type: object
    EndpointsGraphDownloadInfo:
      properties:
        downloadUrl:
          type: string
        expiresAt:
          format: date-time
          type: string
      required:
        - downloadUrl
        - expiresAt
      type: object
    EndpointsInfrastructureGraphSummary:
      properties:
        accountId:
          type: string
        edgeCount:
          type: integer
        generatedAt:
          format: date-time
          type: string
        generatedBy:
          type: string
        graphId:
          type: string
        graphType:
          type: string
        lastModified:
          format: date-time
          type: string
        nodeCount:
          type: integer
        region:
          type: string
        tags:
          additionalProperties:
            type: string
          type: object
        version:
          type: string
      required:
        - accountId
        - edgeCount
        - generatedAt
        - generatedBy
        - graphId
        - graphType
        - lastModified
        - nodeCount
        - region
        - tags
        - version
      type: object
    EndpointsInternalPostRepositoryContextInput:
      properties:
        branch:
          type: string
        cloneUrl:
          type: string
        forceRepoContextRegeneration:
          type: boolean
        gitOwnerProvider:
          $ref: '#/components/schemas/ModelsOwnerProvider'
        gitRepositoryProvider:
          $ref: '#/components/schemas/ModelsGitRepositoryProvider'
        headCommit:
          $ref: '#/components/schemas/ModelsCommit'
        isDefaultBranch:
          type: boolean
        timestamp:
          type: string
      required:
        - branch
        - cloneUrl
        - forceRepoContextRegeneration
        - gitOwnerProvider
        - gitRepositoryProvider
        - headCommit
        - isDefaultBranch
        - timestamp
      type: object
    EndpointsInternalPostRepositoryContextOutput:
      properties:
        organization:
          $ref: '#/components/schemas/ModelsOrgContext'
        organizationVersion:
          type: string
        repository:
          $ref: '#/components/schemas/RepocontextRepoContext'
        repositoryVersion:
          type: string
        usedCache:
          type: boolean
        version:
          type: string
      required:
        - organization
        - organizationVersion
        - repository
        - repositoryVersion
        - usedCache
        - version
      type: object
    EndpointsListInfrastructureGraphVersionsOutput:
      properties:
        accountId:
          type: string
        count:
          type: integer
        version:
          type: string
        versions:
          items:
            type: string
          nullable: true
          type: array
      required:
        - accountId
        - count
        - version
        - versions
      type: object
    EndpointsListInfrastructureGraphsOutput:
      properties:
        count:
          type: integer
        graphs:
          items:
            $ref: '#/components/schemas/EndpointsInfrastructureGraphSummary'
          nullable: true
          type: array
        version:
          type: string
      required:
        - count
        - graphs
        - version
      type: object
    EndpointsListRepositoryProjectsOutput:
      properties:
        nextToken:
          nullable: true
          type: string
        projects:
          items:
            $ref: '#/components/schemas/ModelsProjectSummary'
          nullable: true
          type: array
        version:
          type: string
      required:
        - nextToken
        - projects
        - version
      type: object
    EndpointsPatchClassifierApplicationInput:
      properties:
        application:
          $ref: '#/components/schemas/ModelsAppContextSeed'
      required:
        - application
      type: object
    EndpointsPatchClassifierApplicationOutput:
      properties:
        application:
          $ref: '#/components/schemas/ModelsApplication'
        message:
          type: string
        version:
          type: string
      required:
        - application
        - message
        - version
      type: object
    EndpointsPatchMemoryInput:
      properties:
        citations:
          items:
            $ref: '#/components/schemas/ModelsMemoryCitationsElem'
          type: array
        confidence:
          nullable: true
          type: number
        content:
          nullable: true
          type: string
        createNewVersion:
          nullable: true
          type: boolean
        crossReferences:
          items:
            $ref: '#/components/schemas/ModelsMemoryCrossReferencesElem'
          type: array
        metadata:
          $ref: '#/components/schemas/ModelsMemoryMetadata'
        parentNoteId:
          nullable: true
          type: string
        priority:
          $ref: '#/components/schemas/ModelsMemoryPriority'
          nullable: true
        tags:
          items:
            type: string
          type: array
        title:
          nullable: true
          type: string
      required:
        - citations
        - confidence
        - content
        - createNewVersion
        - crossReferences
        - metadata
        - parentNoteId
        - priority
        - tags
        - title
      type: object
    EndpointsPatchMemoryOutput:
      properties:
        memory:
          $ref: '#/components/schemas/ModelsMemory'
        version:
          type: string
      required:
        - memory
        - version
      type: object
    EndpointsPatchVaultFileInput:
      properties:
        documentId:
          type: string
        metadata:
          additionalProperties: {}
          type: object
        processedAt:
          type: string
      required:
        - documentId
        - metadata
        - processedAt
      type: object
    EndpointsPatchVaultFileOutput:
      properties:
        message:
          type: string
        success:
          type: boolean
        version:
          type: string
      required:
        - message
        - success
        - version
      type: object
    EndpointsPostMemoryInput:
      properties:
        citations:
          items:
            $ref: '#/components/schemas/ModelsMemoryCitationsElem'
          type: array
        confidence:
          nullable: true
          type: number
        content:
          type: string
        createdBy:
          nullable: true
          type: string
        crossReferences:
          items:
            $ref: '#/components/schemas/ModelsMemoryCrossReferencesElem'
          type: array
        isUserCreated:
          nullable: true
          type: boolean
        memoryType:
          $ref: '#/components/schemas/ModelsMemoryMemoryType'
        metadata:
          $ref: '#/components/schemas/ModelsMemoryMetadata'
        parentNoteId:
          nullable: true
          type: string
        priority:
          $ref: '#/components/schemas/ModelsMemoryPriority'
          nullable: true
        resourceId:
          type: string
        resourceType:
          $ref: '#/components/schemas/ModelsMemoryResourceType'
        tags:
          items:
            type: string
          type: array
        title:
          nullable: true
          type: string
      required:
        - citations
        - confidence
        - content
        - createdBy
        - crossReferences
        - isUserCreated
        - memoryType
        - metadata
        - parentNoteId
        - priority
        - resourceId
        - resourceType
        - tags
        - title
      type: object
    EndpointsPostMemoryOutput:
      properties:
        memory:
          $ref: '#/components/schemas/ModelsMemory'
        version:
          type: string
      required:
        - memory
        - version
      type: object
    EndpointsPostVaultFileInput:
      properties:
        description:
          nullable: true
          type: string
        fileName:
          type: string
      required:
        - description
        - fileName
      type: object
    EndpointsPostVaultFileOutput:
      properties:
        description:
          nullable: true
          type: string
        documentID:
          type: string
        fileID:
          type: string
        fileName:
          type: string
        presignedUploadURL:
          type: string
        version:
          type: string
      required:
        - description
        - documentID
        - fileID
        - fileName
        - presignedUploadURL
        - version
      type: object
    EndpointsPostVaultOnboardInput:
      properties:
        fileIDs:
          description: List of vault file IDs to process
          items:
            type: string
          nullable: true
          type: array
      required:
        - fileIDs
      type: object
    EndpointsPostVaultOnboardOutput:
      properties:
        message:
          type: string
        success:
          type: boolean
      required:
        - message
        - success
      type: object
    EndpointsRebuildApplicationsInput:
      properties:
        force:
          type: boolean
        providerOwnerId:
          type: string
      required:
        - force
        - providerOwnerId
      type: object
    EndpointsRebuildApplicationsOutput:
      properties:
        status:
          type: string
        version:
          type: string
      required:
        - status
        - version
      type: object
    EndpointsRepositorySortBy:
      enum:
        - ''
        - alphabetical
      type: string
    EndpointsSBOMIngestReplayInput:
      properties:
        globalReplay:
          type: boolean
        projectID:
          type: string
        repositoryID:
          type: string
      required:
        - globalReplay
        - projectID
        - repositoryID
      type: object
    EndpointsSBOMIngestReplayOutput:
      properties:
        message:
          type: string
        version:
          type: string
      required:
        - message
        - version
      type: object
    EndpointsUpdateOrganizationInput:
      properties:
        name:
          nullable: true
          type: string
        notes:
          nullable: true
          type: string
      required:
        - name
        - notes
      type: object
    EndpointsUpdateProjectInput:
      properties:
        deletedAt:
          format: date-time
          nullable: true
          type: string
        description:
          nullable: true
          type: string
        isDeleted:
          nullable: true
          type: boolean
        metadata:
          additionalProperties: {}
          type: object
        tags:
          items:
            type: string
          type: array
      required:
        - deletedAt
        - description
        - isDeleted
        - metadata
        - tags
      type: object
    EndpointsUpdateProjectOutput:
      properties:
        success:
          type: boolean
        version:
          type: string
      required:
        - success
        - version
      type: object
    EndpointsUpdateRepositoryInput:
      properties:
        name:
          nullable: true
          type: string
      required:
        - name
      type: object
    EndpointsVaultFile:
      properties:
        createdAt:
          format: date-time
          type: string
        documentId:
          type: string
        fileId:
          type: string
        fileName:
          type: string
        filePresignedUrl:
          type: string
        uploaderId:
          type: string
        uploaderUsername:
          type: string
      required:
        - createdAt
        - documentId
        - fileId
        - fileName
        - filePresignedUrl
        - uploaderId
        - uploaderUsername
      type: object
    EndpointsVaultFileSimple:
      properties:
        description:
          nullable: true
          type: string
        documentId:
          nullable: true
          type: string
        fileName:
          type: string
      required:
        - description
        - documentId
        - fileName
      type: object
    LanguageCodeLanguage:
      enum:
        - Bicep
        - C
        - CPlusPlus
        - CSharp
        - CloudFormation
        - Containerfile
        - Dockerfile
        - FSharp
        - Go
        - Java
        - JavaScript
        - Kotlin
        - Kubernetes
        - Objective-C
        - OpenAPI
        - PHP
        - Python
        - Renovate
        - Ruby
        - Rust
        - Scala
        - Serverless
        - Swift
        - Terraform
        - TypeScript
        - Unknown
      type: string
    ModelsAPISpecMetadata:
      properties:
        basePath:
          type: string
        numEndpoints:
          type: integer
        servers:
          items:
            type: string
          type: array
        version:
          type: string
      required:
        - basePath
        - numEndpoints
        - servers
        - version
      type: object
    ModelsAPISpecRef:
      properties:
        contentRef:
          $ref: '#/components/schemas/ModelsContentReference'
        format:
          type: string
        id:
          type: string
        metadata:
          $ref: '#/components/schemas/ModelsAPISpecMetadata'
        name:
          type: string
        source:
          type: string
        type:
          type: string
      required:
        - contentRef
        - format
        - id
        - metadata
        - name
        - source
        - type
      type: object
    ModelsAPISurface:
      properties:
        authenticatedEndpoints:
          type: integer
        coverage:
          format: double
          type: number
        publicEndpoints:
          type: integer
        totalEndpoints:
          type: integer
      required:
        - authenticatedEndpoints
        - coverage
        - publicEndpoints
        - totalEndpoints
      type: object
    ModelsAgentAppContextSeed:
      properties:
        description:
          type: string
        id:
          nullable: true
          type: string
        name:
          type: string
      required:
        - description
        - id
        - name
      type: object
    ModelsAppContextSeed:
      properties:
        description:
          type: string
        name:
          type: string
      required:
        - description
        - name
      type: object
    ModelsApplication:
      properties:
        components:
          items:
            $ref: '#/components/schemas/ModelsApplicationComponent'
          nullable: true
          type: array
        createdAt:
          format: date-time
          type: string
        description:
          type: string
        discovery:
          $ref: '#/components/schemas/ModelsApplicationDiscovery'
        id:
          type: string
        metadata:
          $ref: '#/components/schemas/ModelsApplicationMetadata'
        name:
          type: string
        tags:
          items:
            type: string
          type: array
        tenantId:
          type: string
        updatedAt:
          format: date-time
          type: string
        version:
          type: string
      required:
        - components
        - createdAt
        - description
        - discovery
        - id
        - metadata
        - name
        - tags
        - tenantId
        - updatedAt
        - version
      type: object
    ModelsApplicationComponent:
      properties:
        discovery:
          $ref: '#/components/schemas/ModelsComponentDiscovery'
        id:
          type: string
        name:
          type: string
        source:
          $ref: '#/components/schemas/ModelsComponentSource'
        type:
          type: string
      required:
        - discovery
        - id
        - name
        - source
        - type
      type: object
    ModelsApplicationDiscovery:
      properties:
        apiSpecs:
          items:
            $ref: '#/components/schemas/ModelsAPISpecRef'
          nullable: true
          type: array
        apiSurface:
          $ref: '#/components/schemas/ModelsAPISurface'
        securityProfile:
          $ref: '#/components/schemas/ModelsSecurityProfile'
        technologies:
          items:
            type: string
          nullable: true
          type: array
      required:
        - apiSpecs
        - apiSurface
        - securityProfile
        - technologies
      type: object
    ModelsApplicationMetadata:
      properties:
        agentExecutionId:
          type: string
        cacheKey:
          type: string
        customFields:
          additionalProperties:
            type: string
          type: object
        generatedByAgentVersion:
          type: string
        lastRebuildTime:
          format: date-time
          type: string
        sourceRepositories:
          items:
            type: string
          type: array
        sourceRepositoryCount:
          type: integer
        status:
          type: string
      required:
        - agentExecutionId
        - cacheKey
        - customFields
        - generatedByAgentVersion
        - lastRebuildTime
        - sourceRepositories
        - sourceRepositoryCount
        - status
      type: object
    ModelsCDXAuthors:
      properties:
        email:
          type: string
        name:
          type: string
      required:
        - email
        - name
      type: object
    ModelsCDXComponents:
      properties:
        author:
          type: string
        bom-ref:
          type: string
        description:
          type: string
        externalReferences:
          items:
            $ref: '#/components/schemas/ModelsCDXReferences'
          nullable: true
          type: array
        group:
          type: string
        hashes:
          items:
            $ref: '#/components/schemas/ModelsCDXHashes'
          nullable: true
          type: array
        licenses:
          items: {}
          nullable: true
          type: array
        name:
          type: string
        properties:
          items:
            $ref: '#/components/schemas/ModelsCDXProperties'
          nullable: true
          type: array
        publisher:
          type: string
        purl:
          type: string
        scope:
          type: string
        type:
          type: string
        version:
          type: string
      required:
        - author
        - bom-ref
        - description
        - externalReferences
        - group
        - hashes
        - licenses
        - name
        - properties
        - publisher
        - purl
        - scope
        - type
        - version
      type: object
    ModelsCDXDeps:
      properties:
        dependsOn:
          items:
            type: string
          nullable: true
          type: array
        ref:
          type: string
      required:
        - dependsOn
        - ref
      type: object
    ModelsCDXGen:
      properties:
        bomFormat:
          type: string
        components:
          items:
            $ref: '#/components/schemas/ModelsCDXComponents'
          nullable: true
          type: array
        dependencies:
          items:
            $ref: '#/components/schemas/ModelsCDXDeps'
          nullable: true
          type: array
        metadata:
          $ref: '#/components/schemas/ModelsCDXMetaData'
        serialNumber:
          type: string
        services:
          items: {}
          nullable: true
          type: array
        specVersion:
          type: string
        version:
          type: integer
      required:
        - bomFormat
        - components
        - dependencies
        - metadata
        - serialNumber
        - services
        - specVersion
        - version
      type: object
    ModelsCDXGenAtCommit:
      properties:
        cdxGen:
          $ref: '#/components/schemas/ModelsCDXGen'
        commitSha:
          type: string
        commitTimestamp:
          format: date-time
          type: string
      required:
        - cdxGen
        - commitSha
        - commitTimestamp
      type: object
    ModelsCDXHashes:
      properties:
        alg:
          type: string
        content:
          type: string
      required:
        - alg
        - content
      type: object
    ModelsCDXMetaData:
      properties:
        authors:
          items:
            $ref: '#/components/schemas/ModelsCDXAuthors'
          nullable: true
          type: array
        component:
          $ref: '#/components/schemas/ModelsCDXComponents'
        timestamp:
          format: date-time
          type: string
        tools:
          additionalProperties:
            items:
              $ref: '#/components/schemas/ModelsCDXTool'
            type: array
          nullable: true
          type: object
      required:
        - authors
        - component
        - timestamp
        - tools
      type: object
    ModelsCDXProperties:
      properties:
        name:
          type: string
        value:
          type: string
      required:
        - name
        - value
      type: object
    ModelsCDXReferences:
      properties:
        type:
          type: string
        url:
          type: string
      required:
        - type
        - url
      type: object
    ModelsCDXTool:
      properties:
        group:
          type: string
        name:
          type: string
        version:
          type: string
      required:
        - group
        - name
        - version
      type: object
    ModelsClassifierProject:
      properties:
        createdAt:
          format: date-time
          type: string
        deletedAt:
          format: date-time
          nullable: true
          type: string
        dependencies:
          items:
            type: string
          type: array
        description:
          type: string
        framework:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
        language:
          type: string
        metadata:
          additionalProperties: {}
          type: object
        name:
          type: string
        path:
          type: string
        repositoryId:
          type: string
        tags:
          items:
            type: string
          type: array
        updatedAt:
          format: date-time
          type: string
      required:
        - createdAt
        - deletedAt
        - dependencies
        - description
        - framework
        - id
        - isDeleted
        - language
        - metadata
        - name
        - path
        - repositoryId
        - tags
        - updatedAt
      type: object
    ModelsComponentDiscovery:
      properties:
        apiSpecs:
          items:
            $ref: '#/components/schemas/ModelsAPISpecRef'
          type: array
        endpoints:
          items:
            type: string
          type: array
        frontendAssets:
          $ref: '#/components/schemas/ModelsFrontendAssets'
        technologies:
          items:
            type: string
          type: array
      required:
        - apiSpecs
        - endpoints
        - frontendAssets
        - technologies
      type: object
    ModelsComponentSource:
      properties:
        path:
          type: string
        projectId:
          type: string
        repositoryId:
          type: string
        type:
          type: string
      required:
        - path
        - projectId
        - repositoryId
        - type
      type: object
    ModelsContentReference:
      properties:
        hash:
          type: string
        location:
          type: string
        size:
          format: int64
          type: integer
        type:
          type: string
      required:
        - hash
        - location
        - size
        - type
      type: object
    ModelsDependencyDiff:
      properties:
        added:
          items:
            $ref: '#/components/schemas/ModelsDependencyOccurrence'
          nullable: true
          type: array
        removed:
          items:
            $ref: '#/components/schemas/ModelsDependencyOccurrence'
          nullable: true
          type: array
        upgraded:
          items:
            $ref: '#/components/schemas/ModelsDependencyUpgrade'
          nullable: true
          type: array
      required:
        - added
        - removed
        - upgraded
      type: object
    ModelsDependencyOccurrence:
      properties:
        direct:
          nullable: true
          type: boolean
        ecosystem:
          type: string
        introducedAt:
          format: date-time
          nullable: true
          type: string
        introducedByCommit:
          nullable: true
          type: string
        name:
          type: string
        projectId:
          type: string
        projectName:
          type: string
        purl:
          type: string
        removedAt:
          format: date-time
          nullable: true
          type: string
        removedByCommit:
          nullable: true
          type: string
        repoId:
          type: string
        repositoryName:
          type: string
        version:
          type: string
      required:
        - direct
        - ecosystem
        - introducedAt
        - introducedByCommit
        - name
        - projectId
        - projectName
        - purl
        - removedAt
        - removedByCommit
        - repoId
        - repositoryName
        - version
      type: object
    ModelsDependencyUpgrade:
      properties:
        ecosystem:
          type: string
        from:
          type: string
        fromCommit:
          nullable: true
          type: string
        name:
          type: string
        projectId:
          type: string
        projectName:
          type: string
        repoId:
          type: string
        repositoryName:
          type: string
        to:
          type: string
      required:
        - ecosystem
        - from
        - fromCommit
        - name
        - projectId
        - projectName
        - repoId
        - repositoryName
        - to
      type: object
    ModelsDependencyWindow:
      properties:
        ecosystem:
          type: string
        fromCommit:
          type: string
        fromTime:
          format: date-time
          type: string
        name:
          type: string
        projectId:
          type: string
        projectName:
          type: string
        repoId:
          type: string
        repositoryName:
          type: string
        toCommit:
          nullable: true
          type: string
        toTime:
          format: date-time
          nullable: true
          type: string
        version:
          type: string
      required:
        - ecosystem
        - fromCommit
        - fromTime
        - name
        - projectId
        - projectName
        - repoId
        - repositoryName
        - toCommit
        - toTime
        - version
      type: object
    ModelsFrontendAssets:
      properties:
        apiEndpoints:
          items:
            type: string
          type: array
        exposedValues:
          type: integer
        routes:
          items:
            type: string
          type: array
      required:
        - apiEndpoints
        - exposedValues
        - routes
      type: object
    ModelsMemory:
      properties:
        citations:
          items:
            $ref: '#/components/schemas/ModelsMemoryCitationsElem'
          type: array
        classification:
          $ref: '#/components/schemas/ModelsMemoryClassification'
        commentIds:
          items:
            type: string
          type: array
        confidence:
          nullable: true
          type: number
        content:
          type: string
        createdAt:
          format: date-time
          type: string
        createdBy:
          nullable: true
          type: string
        crossReferences:
          items:
            $ref: '#/components/schemas/ModelsMemoryCrossReferencesElem'
          type: array
        id:
          type: string
        isUserCreated:
          type: boolean
        memoryLineage:
          $ref: '#/components/schemas/ModelsMemoryMemoryLineage'
        memoryType:
          $ref: '#/components/schemas/ModelsMemoryMemoryType'
        metadata:
          $ref: '#/components/schemas/ModelsMemoryMetadata'
        priority:
          $ref: '#/components/schemas/ModelsMemoryPriority'
        resourceId:
          type: string
        resourceType:
          $ref: '#/components/schemas/ModelsMemoryResourceType'
        tags:
          items:
            type: string
          type: array
        title:
          nullable: true
          type: string
        updatedAt:
          format: date-time
          nullable: true
          type: string
      required:
        - citations
        - classification
        - commentIds
        - confidence
        - content
        - createdAt
        - createdBy
        - crossReferences
        - id
        - isUserCreated
        - memoryLineage
        - memoryType
        - metadata
        - priority
        - resourceId
        - resourceType
        - tags
        - title
        - updatedAt
      type: object
    ModelsMemoryCitationsElem:
      properties:
        citation_id:
          type: string
        document_id:
          type: string
        document_name:
          type: string
        page:
          type: string
        title:
          nullable: true
          type: string
      required:
        - citation_id
        - document_id
        - document_name
        - page
        - title
      type: object
    ModelsMemoryClassification:
      properties:
        businessImpact:
          $ref: '#/components/schemas/ModelsMemoryClassificationBusinessImpact'
          nullable: true
        computePlatforms:
          items:
            $ref: '#/components/schemas/ModelsMemoryClassificationComputePlatformsElem'
          type: array
        containsSensitiveData:
          nullable: true
          type: boolean
        criticality:
          $ref: '#/components/schemas/ModelsMemoryClassificationCriticality'
          nullable: true
        dataClassification:
          $ref: '#/components/schemas/ModelsMemoryClassificationDataClassification'
          nullable: true
        environments:
          items:
            $ref: '#/components/schemas/ModelsMemoryClassificationEnvironmentsElem'
          type: array
        networkExposure:
          $ref: '#/components/schemas/ModelsMemoryClassificationNetworkExposure'
          nullable: true
        organizationalEntityType:
          $ref: '#/components/schemas/ModelsMemoryClassificationOrganizationalEntityType'
          nullable: true
        riskLevel:
          $ref: '#/components/schemas/ModelsMemoryClassificationRiskLevel'
          nullable: true
        securityDomains:
          items:
            $ref: '#/components/schemas/ModelsMemoryClassificationSecurityDomainsElem'
          type: array
        systemTypes:
          items:
            $ref: '#/components/schemas/ModelsMemoryClassificationSystemTypesElem'
          type: array
      required:
        - businessImpact
        - computePlatforms
        - containsSensitiveData
        - criticality
        - dataClassification
        - environments
        - networkExposure
        - organizationalEntityType
        - riskLevel
        - securityDomains
        - systemTypes
      type: object
    ModelsMemoryClassificationBusinessImpact:
      enum:
        - CUSTOMER_FACING
        - INTERNAL_OPERATIONS
        - REVENUE_CRITICAL
        - SUPPORT_FUNCTION
      type: string
    ModelsMemoryClassificationComputePlatformsElem:
      enum:
        - BARE_METAL
        - CLOUD_FUNCTION
        - CONTAINER
        - DOCKER
        - KUBERNETES
        - SERVERLESS
        - VIRTUAL_MACHINE
      type: string
    ModelsMemoryClassificationCriticality:
      enum:
        - CRITICAL
        - HIGH
        - LOW
        - MEDIUM
      type: string
    ModelsMemoryClassificationDataClassification:
      enum:
        - CONFIDENTIAL
        - INTERNAL
        - PUBLIC
        - RESTRICTED
      type: string
    ModelsMemoryClassificationEnvironmentsElem:
      enum:
        - DEVELOPMENT
        - OTHER
        - PREPRODUCTION
        - PRODUCTION
        - STAGING
        - TEST
      type: string
    ModelsMemoryClassificationNetworkExposure:
      enum:
        - AIR_GAPPED
        - INTERNAL_NETWORK
        - ISOLATED
        - PUBLIC_INTERNET
        - VPN_ONLY
      type: string
    ModelsMemoryClassificationOrganizationalEntityType:
      enum:
        - BUSINESS_UNIT
        - CONTRACTOR
        - DEPARTMENT
        - DIVISION
        - EXTERNAL_PARTNER
        - GROUP
        - ROLE
        - SERVICE_ACCOUNT
        - TEAM
        - USER
        - VENDOR
      type: string
    ModelsMemoryClassificationRiskLevel:
      enum:
        - CRITICAL
        - HIGH
        - LOW
        - MEDIUM
        - MINIMAL
      type: string
    ModelsMemoryClassificationSecurityDomainsElem:
      enum:
        - APPLICATION_SECURITY
        - CLOUD_SECURITY
        - COMPLIANCE
        - DATA_PROTECTION
        - INCIDENT_RESPONSE
        - INFRASTRUCTURE_SECURITY
        - SECURITY_ARCHITECTURE
        - SUPPLY_CHAIN_SECURITY
        - THREAT_INTELLIGENCE
      type: string
    ModelsMemoryClassificationSystemTypesElem:
      enum:
        - API
        - APPLICATION
        - DATABASE
        - ENDPOINT
        - INFRASTRUCTURE
        - SERVICE
      type: string
    ModelsMemoryCrossReferencesElem:
      properties:
        description:
          nullable: true
          type: string
        id:
          type: string
      required:
        - description
        - id
      type: object
    ModelsMemoryMemoryLineage:
      properties:
        agentVersion:
          nullable: true
          type: string
        generationReason:
          $ref: '#/components/schemas/ModelsMemoryMemoryLineageGenerationReason'
          nullable: true
        isLatest:
          type: boolean
        parentMemoryId:
          nullable: true
          type: string
        parentSessionId:
          nullable: true
          type: string
        sessionId:
          type: string
        timestamp:
          format: date-time
          type: string
      required:
        - agentVersion
        - generationReason
        - isLatest
        - parentMemoryId
        - parentSessionId
        - sessionId
        - timestamp
      type: object
    ModelsMemoryMemoryLineageGenerationReason:
      enum:
        - AGENT_UPGRADED
        - DOCUMENT_UPDATED
        - OTHER
        - USER_TRIGGERED
      type: string
    ModelsMemoryMemoryType:
      enum:
        - ANALYSIS
        - AUTOFIX
        - DISCOVERY
        - ESCALATION
        - FOLLOW_UP
        - HISTORICAL
        - KNOWLEDGE
        - OTHER
        - REMEDIATION
        - TRIAGE
        - VALIDATION
      type: string
    ModelsMemoryMetadata:
      properties:
        documentMetadata:
          $ref: '#/components/schemas/ModelsMemoryMetadataDocumentMetadata'
        findingId:
          nullable: true
          type: string
      required:
        - documentMetadata
        - findingId
      type: object
    ModelsMemoryMetadataDocumentMetadata:
      properties:
        documentDescription:
          nullable: true
          type: string
        documentId:
          nullable: true
          type: string
        documentName:
          nullable: true
          type: string
        documentType:
          $ref: '#/components/schemas/ModelsMemoryMetadataDocumentMetadataDocumentType'
          nullable: true
        documentVersion:
          nullable: true
          type: string
        source:
          nullable: true
          type: string
        structuralInfo:
          $ref: '#/components/schemas/ModelsMemoryMetadataDocumentMetadataStructuralInfo'
      required:
        - documentDescription
        - documentId
        - documentName
        - documentType
        - documentVersion
        - source
        - structuralInfo
      type: object
    ModelsMemoryMetadataDocumentMetadataDocumentType:
      enum:
        - API_SPEC
        - ARCHITECTURE
        - AUDIT_REPORT
        - COMPLIANCE_REPORT
        - DOCUMENTATION
        - OTHER
        - POLICY
        - SECURITY_REPORT
        - TEST_RESULT
        - VULNERABILITY_REPORT
      type: string
    ModelsMemoryMetadataDocumentMetadataStructuralInfo:
      properties:
        encoding:
          nullable: true
          type: string
        sections:
          items:
            $ref: '#/components/schemas/ModelsMemoryMetadataDocumentMetadataStructuralInfoSectionsElem'
          type: array
        totalCharacters:
          nullable: true
          type: integer
        totalLines:
          nullable: true
          type: integer
      required:
        - encoding
        - sections
        - totalCharacters
        - totalLines
      type: object
    ModelsMemoryMetadataDocumentMetadataStructuralInfoSectionsElem:
      properties:
        endLine:
          nullable: true
          type: integer
        name:
          nullable: true
          type: string
        startLine:
          nullable: true
          type: integer
        type:
          nullable: true
          type: string
      required:
        - endLine
        - name
        - startLine
        - type
      type: object
    ModelsMemoryPriority:
      enum:
        - CRITICAL
        - HIGH
        - INFO
        - LOW
        - MEDIUM
      type: string
    ModelsMemoryResourceType:
      enum:
        - APP_CONTEXT
        - BUGHUNT_SCAN
        - BUGHUNT_TRIAGE
        - CHAT_SESSION
        - CLOUD_CONTEXT
        - CODE_AUTOFIX
        - CODE_TRIAGE
        - COMPLIANCE_FRAMEWORK
        - CONTAINERS_TRIAGE
        - DEPENDENCIES_AUTOFIX
        - DEPENDENCIES_TRIAGE
        - MANAGER_CAMPAIGN
        - NETWORK_REACHABILITY
        - OPENAPI_REVERSING
        - ORGANIZATION
        - ORG_CONTEXT
        - OTHER
        - PENTEST_AUTH_MATRIX
        - PENTEST_EXPLOIT_ANALYSIS
        - PENTEST_TOOLS
        - PROJECT
        - REPO_CONTEXT
        - SCHEMA_REVERSING
        - SECRETS_TRIAGE
        - TEAM
        - USER
        - VAULT
        - VULNERABILITY_FINDING
      type: string
    ModelsOrgContext:
      properties:
        cacheKey:
          nullable: true
          type: string
        description:
          type: string
        detailedOverview:
          nullable: true
          type: string
        documentCitations:
          items:
            $ref: '#/components/schemas/ModelsOrgContextDocumentCitationsElem'
          type: array
        industries:
          items:
            $ref: '#/components/schemas/ModelsOrgContextIndustriesElem'
          nullable: true
          type: array
        name:
          type: string
        notes:
          items:
            $ref: '#/components/schemas/ModelsMemory'
          type: array
        onboarded:
          nullable: true
          type: boolean
        otherIndustries:
          items:
            type: string
          type: array
        products:
          items:
            $ref: '#/components/schemas/ModelsOrgContextProductsElem'
          type: array
        questionnaire:
          $ref: '#/components/schemas/ModelsSecurityOnboardingAnswers'
        timeZone:
          nullable: true
          type: string
        vaultFiles:
          items:
            $ref: '#/components/schemas/ModelsOrgContextVaultFilesElem'
          type: array
      required:
        - cacheKey
        - description
        - detailedOverview
        - documentCitations
        - industries
        - name
        - notes
        - onboarded
        - otherIndustries
        - products
        - questionnaire
        - timeZone
        - vaultFiles
      type: object
    ModelsOrgContextDocumentCitationsElem:
      properties:
        citation_id:
          type: string
        document_id:
          nullable: true
          type: string
        document_name:
          nullable: true
          type: string
        page:
          nullable: true
          type: string
        source_type:
          $ref: '#/components/schemas/ModelsOrgContextDocumentCitationsElemSourceType'
        title:
          nullable: true
          type: string
      required:
        - citation_id
        - document_id
        - document_name
        - page
        - source_type
        - title
      type: object
    ModelsOrgContextDocumentCitationsElemSourceType:
      enum:
        - document
        - questionnaire
      type: string
    ModelsOrgContextIndustriesElem:
      enum:
        - AGRICULTURE
        - CONSTRUCTION
        - EDUCATION
        - ENERGY
        - ENTERTAINMENT
        - FINANCIAL_SERVICES
        - GOVERNMENT
        - HEALTHCARE
        - INFORMATION_TECHNOLOGY
        - INSURANCE_SERVICES
        - LOGISTICS
        - MANUFACTURING
        - MINING
        - OTHER
        - PROFESSIONAL_SERVICES
        - REAL_ESTATE
        - RETAIL
      type: string
    ModelsOrgContextProductsElem:
      properties:
        description:
          type: string
        name:
          type: string
        productType:
          $ref: '#/components/schemas/ModelsOrgContextProductsElemProductType'
        url:
          type: string
      required:
        - description
        - name
        - productType
        - url
      type: object
    ModelsOrgContextProductsElemProductType:
      enum:
        - B2B_ON_PREMISE
        - B2B_SAAS
        - B2B_SAAS_OSS
        - B2C_SAAS
        - DESKTOP_APPLICATION
        - E_COMMERCE
        - MARKETPLACE
        - MEDIA_STREAMING
        - SOCIAL
      type: string
    ModelsOrgContextVaultFilesElem:
      properties:
        content:
          type: string
        description:
          type: string
        documentId:
          type: string
        fileName:
          type: string
      required:
        - content
        - description
        - documentId
        - fileName
      type: object
    ModelsProjectSummary:
      properties:
        description:
          type: string
        framework:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
        language:
          type: string
        name:
          type: string
        path:
          type: string
        repositoryId:
          type: string
      required:
        - description
        - framework
        - id
        - isDeleted
        - language
        - name
        - path
        - repositoryId
      type: object
    ModelsSBOMProject:
      properties:
        commits:
          items:
            type: string
          nullable: true
          type: array
        projectId:
          type: string
      required:
        - commits
        - projectId
      type: object
    ModelsSBOMRepository:
      properties:
        projects:
          items:
            $ref: '#/components/schemas/ModelsSBOMProject'
          nullable: true
          type: array
        repositoryId:
          type: string
      required:
        - projects
        - repositoryId
      type: object
    ModelsSchemaFormat:
      enum:
        - JSON
        - TEXT
        - YAML
      type: string
    ModelsSchemaType:
      enum:
        - GRAPHQL
        - OPENAPI
      type: string
    ModelsSecurityOnboardingAnswers:
      properties:
        additionalNotes:
          nullable: true
          type: string
        companyName:
          type: string
        complianceStandards:
          items:
            type: string
          type: array
        coreProductsServices:
          type: string
        dataTypes:
          items:
            type: string
          type: array
        files:
          items:
            $ref: '#/components/schemas/ModelsSecurityOnboardingAnswersFilesElem'
          type: array
        impactConcerns:
          items:
            type: string
          type: array
        perceivedThreatActors:
          items:
            type: string
          type: array
      required:
        - additionalNotes
        - companyName
        - complianceStandards
        - coreProductsServices
        - dataTypes
        - files
        - impactConcerns
        - perceivedThreatActors
      type: object
    ModelsSecurityOnboardingAnswersFilesElem:
      properties:
        content:
          type: string
        description:
          type: string
        fileName:
          type: string
      required:
        - content
        - description
        - fileName
      type: object
    ModelsSecurityProfile:
      properties:
        exposedSecrets:
          type: integer
        recommendations:
          items:
            type: string
          type: array
        riskScore:
          type: integer
      required:
        - exposedSecrets
        - recommendations
        - riskScore
      type: object
    RepocontextAPISchema:
      properties:
        content:
          nullable: true
          type: string
        format:
          $ref: '#/components/schemas/RepocontextAPISchemaFormat'
        name:
          type: string
        type:
          $ref: '#/components/schemas/RepocontextAPISchemaType'
        version:
          nullable: true
          type: string
      required:
        - content
        - format
        - name
        - type
        - version
      type: object
    RepocontextAPISchemaFormat:
      enum:
        - JSON
        - PROTO
        - SDL
        - TEXT
        - XML
        - YAML
      type: string
    RepocontextAPISchemaType:
      enum:
        - ASYNCAPI
        - GRAPHQL
        - GRPC
        - INSOMNIA
        - OPENAPI
        - POSTMAN
        - RAML
        - SWAGGER
        - WADL
      type: string
    RepocontextProjectArtifact:
      properties:
        artifactName:
          type: string
        description:
          type: string
        id:
          type: string
        name:
          type: string
        nonProduction:
          type: boolean
        otherArtifactType:
          nullable: true
          type: string
        registries:
          items:
            $ref: '#/components/schemas/RepocontextProjectArtifactRegistriesElem'
          nullable: true
          type: array
        story:
          items:
            $ref: '#/components/schemas/RepocontextProjectArtifactStoryElem'
          type: array
        subArtifactPath:
          nullable: true
          type: string
        subArtifactType:
          $ref: '#/components/schemas/GraphBuildArtifactType'
          nullable: true
        type:
          $ref: '#/components/schemas/GraphBuildArtifactType'
          nullable: true
      required:
        - artifactName
        - description
        - id
        - name
        - nonProduction
        - otherArtifactType
        - registries
        - story
        - subArtifactPath
        - subArtifactType
        - type
      type: object
    RepocontextProjectArtifactRegistriesElem:
      properties:
        baseUrl:
          type: string
        id:
          type: string
        name:
          nullable: true
          type: string
        otherType:
          nullable: true
          type: string
        path:
          type: string
        type:
          $ref: '#/components/schemas/GraphBuildArtifactRepositoryType'
      required:
        - baseUrl
        - id
        - name
        - otherType
        - path
        - type
      type: object
    RepocontextProjectArtifactStoryElem:
      properties:
        command:
          nullable: true
          type: string
        description:
          nullable: true
          type: string
        otherTool:
          nullable: true
          type: string
        relatedFiles:
          items:
            type: string
          type: array
        tool:
          $ref: '#/components/schemas/RepocontextProjectArtifactStoryElemTool'
          nullable: true
        type:
          $ref: '#/components/schemas/RepocontextProjectArtifactStoryElemType'
          nullable: true
      required:
        - command
        - description
        - otherTool
        - relatedFiles
        - tool
        - type
      type: object
    RepocontextProjectArtifactStoryElemTool:
      enum:
        - bazel
        - docker
        - docker-compose
        - go
        - gradle
        - make
        - maven
        - npm
        - other
        - pip
        - yarn
      type: string
    RepocontextProjectArtifactStoryElemType:
      enum:
        - COPY_OR_MOVE_FILE
        - DOCKER_BUILD_COMMAND
        - DOCKER_COPY
        - DOCKET_TAG_COMMAND
        - EXECUTE_CI_STEP
        - PACKAGE_MANAGER_BUILD
        - RUN_SCRIPT
      type: string
    RepocontextProjectContext:
      properties:
        artifacts:
          items:
            $ref: '#/components/schemas/RepocontextProjectContextArtifactsElem'
          type: array
        cacheKey:
          nullable: true
          type: string
        dataHandled:
          items:
            $ref: '#/components/schemas/RepocontextProjectContextDataHandledElem'
          type: array
        description:
          type: string
        entrypoints:
          items:
            $ref: '#/components/schemas/RepocontextProjectEntrypoint'
          type: array
        id:
          type: string
        isTruncatedAnalysis:
          type: boolean
        languages:
          items:
            $ref: '#/components/schemas/LanguageCodeLanguage'
          nullable: true
          type: array
        name:
          type: string
        notes:
          nullable: true
          type: string
        otherDataHandled:
          items:
            type: string
          type: array
        pathPrefix:
          type: string
        projectFiles:
          items:
            type: string
          nullable: true
          type: array
        repositoryReferences:
          items:
            $ref: '#/components/schemas/RepocontextProjectContextRepositoryReferencesElem'
          type: array
        securityImportance:
          $ref: '#/components/schemas/RepocontextProjectContextSecurityImportance'
          nullable: true
      required:
        - artifacts
        - cacheKey
        - dataHandled
        - description
        - entrypoints
        - id
        - isTruncatedAnalysis
        - languages
        - name
        - notes
        - otherDataHandled
        - pathPrefix
        - projectFiles
        - repositoryReferences
        - securityImportance
      type: object
    RepocontextProjectContextArtifactsElem:
      properties:
        artifactType:
          $ref: '#/components/schemas/RepocontextProjectContextArtifactsElemArtifactType'
        availabilityImportance:
          $ref: '#/components/schemas/RepocontextProjectContextArtifactsElemAvailabilityImportance'
        dataConfidentialityImportance:
          $ref: '#/components/schemas/RepocontextProjectContextArtifactsElemDataConfidentialityImportance'
        entrypointPath:
          type: string
        nonProduction:
          type: boolean
        otherType:
          nullable: true
          type: string
        systemIntegrityImportance:
          $ref: '#/components/schemas/RepocontextProjectContextArtifactsElemSystemIntegrityImportance'
      required:
        - artifactType
        - availabilityImportance
        - dataConfidentialityImportance
        - entrypointPath
        - nonProduction
        - otherType
        - systemIntegrityImportance
      type: object
    RepocontextProjectContextArtifactsElemArtifactType:
      enum:
        - BROWSER_CLIENT
        - BROWSER_EXTENSION
        - CLI
        - DESKTOP
        - ETL_PIPELINE
        - GRAPHQL_API
        - IOT_FIRMWARE
        - MOBILE_APP
        - OTHER
        - PLUGIN
        - PRIVATE_LIBRARY
        - PUBLIC_LIBRARY
        - REST_API
        - SPA_BROWSER_APP
        - TEST_SUITE
        - WEB_SERVER
      type: string
    RepocontextProjectContextArtifactsElemAvailabilityImportance:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    RepocontextProjectContextArtifactsElemDataConfidentialityImportance:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    RepocontextProjectContextArtifactsElemSystemIntegrityImportance:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    RepocontextProjectContextDataHandledElem:
      enum:
        - ADDRESS
        - BIRTHDATE
        - CREDIT_CARD
        - EMAIL
        - NAME
        - OTHER
        - PASSWORD
        - PERSONAL_MEDICAL
        - PHONE
        - PROPRIETARY_FINANCIAL
        - SOCIAL_SECURITY
        - TRADE_SECRET
      type: string
    RepocontextProjectContextRepositoryReferencesElem:
      properties:
        description:
          nullable: true
          type: string
        name:
          type: string
        repositoryReferenceType:
          $ref: '#/components/schemas/RepocontextProjectContextRepositoryReferencesElemRepositoryReferenceType'
          nullable: true
        url:
          type: string
        version:
          nullable: true
          type: string
      required:
        - description
        - name
        - repositoryReferenceType
        - url
        - version
      type: object
    RepocontextProjectContextRepositoryReferencesElemRepositoryReferenceType:
      enum:
        - dependency
        - fork
        - framework
        - library
        - related
        - template
        - tool
        - vendor
      type: string
    RepocontextProjectContextSecurityImportance:
      enum:
        - HIGH
        - LOW
        - MEDIUM
      type: string
    RepocontextProjectEntrypoint:
      properties:
        affinityHints:
          items:
            type: string
          type: array
        apiSpecs:
          items:
            $ref: '#/components/schemas/RepocontextAPISchema'
          type: array
        applicationTypes:
          items:
            $ref: '#/components/schemas/GraphCodeArtifactType'
          nullable: true
          type: array
        artifacts:
          items:
            $ref: '#/components/schemas/RepocontextProjectArtifact'
          nullable: true
          type: array
        description:
          nullable: true
          type: string
        id:
          type: string
        lineNumber:
          nullable: true
          type: integer
        name:
          nullable: true
          type: string
        path:
          type: string
      required:
        - affinityHints
        - apiSpecs
        - applicationTypes
        - artifacts
        - description
        - id
        - lineNumber
        - name
        - path
      type: object
    RepocontextRepoContext:
      properties:
        cacheKey:
          nullable: true
          type: string
        cicdPipelineSummary:
          $ref: '#/components/schemas/RepocontextRepoContextCicdPipelineSummary'
        description:
          type: string
        graph:
          $ref: '#/components/schemas/GraphGraph'
        id:
          type: string
        isMonorepo:
          nullable: true
          type: boolean
        isOpenAPISpecAvailable:
          type: boolean
        isTruncatedAnalysis:
          type: boolean
        name:
          type: string
        notes:
          nullable: true
          type: string
        openAPISpecPath:
          items:
            type: string
          type: array
        projects:
          items:
            $ref: '#/components/schemas/RepocontextProjectContext'
          nullable: true
          type: array
        public:
          type: boolean
        repositoryReferences:
          items:
            $ref: '#/components/schemas/RepocontextRepoContextRepositoryReferencesElem'
          type: array
        submodules:
          items:
            $ref: '#/components/schemas/RepocontextRepoContextSubmodulesElem'
          type: array
      required:
        - cacheKey
        - cicdPipelineSummary
        - description
        - graph
        - id
        - isMonorepo
        - isOpenAPISpecAvailable
        - isTruncatedAnalysis
        - name
        - notes
        - openAPISpecPath
        - projects
        - public
        - repositoryReferences
        - submodules
      type: object
    RepocontextRepoContextCicdPipelineSummary:
      properties:
        prWorkflowCount:
          nullable: true
          type: number
        summary:
          nullable: true
          type: string
        workflows:
          items:
            $ref: '#/components/schemas/RepocontextRepoContextCicdPipelineSummaryWorkflowsElem'
          type: array
      required:
        - prWorkflowCount
        - summary
        - workflows
      type: object
    RepocontextRepoContextCicdPipelineSummaryWorkflowsElem:
      properties:
        jobs:
          items:
            $ref: '#/components/schemas/RepocontextRepoContextCicdPipelineSummaryWorkflowsElemJobsElem'
          type: array
        name:
          nullable: true
          type: string
        path:
          nullable: true
          type: string
        platform:
          nullable: true
          type: string
        runsOnPr:
          nullable: true
          type: boolean
      required:
        - jobs
        - name
        - path
        - platform
        - runsOnPr
      type: object
    RepocontextRepoContextCicdPipelineSummaryWorkflowsElemJobsElem:
      properties:
        name:
          nullable: true
          type: string
        steps:
          items:
            $ref: '#/components/schemas/RepocontextRepoContextCicdPipelineSummaryWorkflowsElemJobsElemStepsElem'
          type: array
      required:
        - name
        - steps
      type: object
    RepocontextRepoContextCicdPipelineSummaryWorkflowsElemJobsElemStepsElem:
      properties:
        command:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        uses:
          nullable: true
          type: string
      required:
        - command
        - name
        - uses
      type: object
    RepocontextRepoContextRepositoryReferencesElem:
      properties:
        description:
          nullable: true
          type: string
        isCloudToCodeConnected:
          nullable: true
          type: boolean
        name:
          type: string
        repositoryReferenceType:
          $ref: '#/components/schemas/RepocontextRepoContextRepositoryReferencesElemRepositoryReferenceType'
          nullable: true
        url:
          type: string
      required:
        - description
        - isCloudToCodeConnected
        - name
        - repositoryReferenceType
        - url
      type: object
    RepocontextRepoContextRepositoryReferencesElemRepositoryReferenceType:
      enum:
        - dependency
        - fork
        - related
        - template
        - vendor
      type: string
    RepocontextRepoContextSubmodulesElem:
      properties:
        branch:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        path:
          type: string
        url:
          type: string
      required:
        - branch
        - name
        - path
        - url
      type: object
    EndpointsGetSASTEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsSASTEventInterface'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSASTFindingEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsSASTEventInterface'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - numItems
        - version
      type: object
    EndpointsGetSASTFindingFixOutput:
      properties:
        commit:
          type: string
        diffs:
          items:
            $ref: '#/components/schemas/ModelsDiffFile'
          nullable: true
          type: array
        explanation:
          type: string
        pullRequestBody:
          type: string
        pullRequestTitle:
          type: string
        version:
          type: string
      required:
        - commit
        - diffs
        - explanation
        - pullRequestBody
        - pullRequestTitle
        - version
      type: object
    EndpointsGetSASTFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsSASTFinding'
        presignedUrl:
          type: string
        version:
          type: string
      required:
        - finding
        - presignedUrl
        - version
      type: object
    EndpointsGetSASTFindingTriageOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsTriagedSASTFinding'
        presignedUrl:
          type: string
        version:
          type: string
      required:
        - finding
        - presignedUrl
        - version
      type: object
    EndpointsGetSASTFindingUsersOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsCandidate'
          nullable: true
          type: array
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsGetSASTFindingsDetailedOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsSASTFinding'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSASTFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsSASTFindingPreview'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSASTRepositoriesOutput:
      properties:
        nextToken:
          type: string
        numItems:
          type: integer
        repositories:
          additionalProperties:
            $ref: '#/components/schemas/ModelsRepositoryPublic'
          nullable: true
          type: object
        version:
          type: string
      required:
        - nextToken
        - numItems
        - repositories
        - version
      type: object
    EndpointsGetSASTRepositoryOutput:
      properties:
        repository:
          $ref: '#/components/schemas/ModelsRepositoryPublic'
        version:
          type: string
      required:
        - repository
        - version
      type: object
    EndpointsPatchSASTFindingInput:
      properties:
        priorityOverride:
          nullable: true
          type: string
        severityOverride:
          nullable: true
          type: string
      required:
        - priorityOverride
        - severityOverride
      type: object
    EndpointsPatchSASTFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsSASTFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsPostAllowListSASTFindingBatchInput:
      properties:
        allowlistReason:
          description: The reason for allowing the finding
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        findingIds:
          description: The ID of the finding to allowlist
          items:
            type: string
          nullable: true
          type: array
      required:
        - allowlistReason
        - allowlistType
        - findingIds
      type: object
    EndpointsPostAllowlistSASTFindingInput:
      properties:
        allowlistReason:
          description: The reason for allowlisting the finding
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
      required:
        - allowlistReason
        - allowlistType
      type: object
    EndpointsPostAllowlistSASTFindingOutput:
      properties:
        link:
          description: A link to the pull request
          type: string
        title:
          description: The title of the pull request
          type: string
        version:
          type: string
      required:
        - link
        - title
        - version
      type: object
    EndpointsPostAutofixSASTFindingInput:
      properties:
        assignees:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        message:
          type: string
        originCampaignId:
          type: string
        reasoning:
          type: string
      required:
        - assignees
        - message
        - originCampaignId
        - reasoning
      type: object
    EndpointsPostAutofixSASTFindingOutput:
      properties:
        autoFixState:
          $ref: '#/components/schemas/ModelsAutoFixState'
        error:
          type: string
        version:
          type: string
      required:
        - autoFixState
        - error
        - version
      type: object
    EndpointsPostCacheAutofixSASTFindingInput:
      properties:
        force:
          nullable: true
          type: boolean
      required:
        - force
      type: object
    EndpointsPostCacheAutofixSASTFindingsInput:
      properties:
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        force:
          nullable: true
          type: boolean
      required:
        - findingIds
        - force
      type: object
    EndpointsPostCreatePullRequestSASTFindingInput:
      properties:
        message:
          description: Appended to the PR description body
          type: string
      required:
        - message
      type: object
    EndpointsPostCreatePullRequestSASTFindingOutput:
      properties:
        autoFixState:
          $ref: '#/components/schemas/ModelsAutoFixState'
        error:
          type: string
        version:
          type: string
      required:
        - autoFixState
        - error
        - version
      type: object
    EndpointsPostCreateTicketSASTFindingInput:
      properties:
        assignees:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        campaignId:
          type: string
        campaignTitle:
          type: string
        message:
          type: string
        project:
          type: string
      required:
        - assignees
        - campaignId
        - campaignTitle
        - message
        - project
      type: object
    EndpointsPostCreateTicketSASTFindingOutput:
      properties:
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        version:
          type: string
      required:
        - ticket
        - version
      type: object
    EndpointsPostFixIterateSASTFindingInput:
      properties:
        comments:
          items:
            $ref: '#/components/schemas/ModelsComment'
          nullable: true
          type: array
        diffThreads:
          additionalProperties:
            items:
              $ref: '#/components/schemas/ModelsPullRequestReviewDiffThread'
            type: array
          nullable: true
          type: object
        pullRequestProvider:
          $ref: '#/components/schemas/ModelsGitPullRequestProvider'
        repositoryProvider:
          $ref: '#/components/schemas/ModelsGitRepositoryProvider'
      required:
        - comments
        - diffThreads
        - pullRequestProvider
        - repositoryProvider
      type: object
    EndpointsPostFixSASTFindingsInput:
      properties:
        cacheChangesOnly:
          description: Set to true to only cache the changes and not create a PR
          type: boolean
        findings:
          description: The list of findings to fix
          items:
            $ref: '#/components/schemas/EndpointsSASTFindingIDFixRequest'
          nullable: true
          type: array
        useCachedChanges:
          description: Set to true to use the cached fix if available
          type: boolean
      required:
        - cacheChangesOnly
        - findings
        - useCachedChanges
      type: object
    EndpointsPostFixSASTFindingsOutput:
      properties:
        error:
          type: string
        pullRequests:
          items:
            $ref: '#/components/schemas/EndpointsPullRequestInfo'
          type: array
        version:
          type: string
      required:
        - error
        - pullRequests
        - version
      type: object
    EndpointsPostGetUploadSASTFindingsURLInput:
      properties:
        scanId:
          type: string
      required:
        - scanId
      type: object
    EndpointsPostGetUploadSASTFindingsURLOutput:
      properties:
        s3UploadURL:
          type: string
        version:
          type: string
      required:
        - s3UploadURL
        - version
      type: object
    EndpointsPostSASTFindingTriagePentestInput:
      properties:
        pentest:
          $ref: '#/components/schemas/TriageTriagePentest'
      required:
        - pentest
      type: object
    EndpointsPostUnallowlistSASTFindingInput:
      properties:
        unallowlistReason:
          description: The reason for unallowlisting the finding
          type: string
      required:
        - unallowlistReason
      type: object
    EndpointsPullRequestInfo:
      properties:
        link:
          type: string
        repository:
          type: string
      required:
        - link
        - repository
      type: object
    EndpointsRetriageFindingsInput:
      properties:
        branch:
          nullable: true
          type: string
        continueOnError:
          nullable: true
          type: boolean
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        forceRetriage:
          nullable: true
          type: boolean
        priorityMinimum:
          nullable: true
          type: string
        repositoryIds:
          items:
            type: string
          nullable: true
          type: array
        reprocessFailedTriages:
          nullable: true
          type: boolean
        reprocessFalsePositives:
          nullable: true
          type: boolean
      required:
        - branch
        - continueOnError
        - findingIds
        - forceRetriage
        - priorityMinimum
        - repositoryIds
        - reprocessFailedTriages
        - reprocessFalsePositives
      type: object
    EndpointsRetriageFindingsOutput:
      properties:
        message:
          type: string
        version:
          type: string
      required:
        - message
        - version
      type: object
    EndpointsSASTFindingIDFixRequest:
      properties:
        allowlistReason:
          type: string
        id:
          type: string
      required:
        - allowlistReason
        - id
      type: object
    ModelsSASTEventInterface:
      properties:
        data: {}
        id:
          type: string
        time:
          type: string
        timestampUnix:
          format: int64
          type: integer
        type:
          $ref: '#/components/schemas/EventsEventType'
      required:
        - data
        - id
        - time
        - timestampUnix
        - type
      type: object
    ModelsSASTFinding:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        allowlistState:
          $ref: '#/components/schemas/ModelsAllowlistState'
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        autoFixEndTime:
          format: date-time
          nullable: true
          type: string
        autoFixStartTime:
          format: date-time
          nullable: true
          type: string
        autoFixState:
          $ref: '#/components/schemas/ModelsAutoFixState'
        branch:
          type: string
        budgetExhausted:
          type: boolean
        budgetLimit:
          format: double
          type: number
        budgetUsed:
          format: double
          type: number
        category:
          type: string
        commitHash:
          type: string
        concurrencyLimit:
          type: integer
        createdAt:
          type: string
        cwe:
          type: integer
        deletedAt:
          format: date-time
          type: string
        description:
          type: string
        devDescription:
          type: string
        endLine:
          type: integer
        entrypoint:
          type: string
        exploitabilityConfidence:
          type: string
        exploitabilityLabel:
          type: string
        failedTriage:
          type: boolean
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          type: array
        filePath:
          type: string
        firstSeenCommit:
          type: string
        fixCommit:
          type: string
        fixedAt:
          format: date-time
          type: string
        id:
          type: string
        impactConfidence:
          type: string
        impactLabel:
          type: string
        installationId:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          type: boolean
        isResolved:
          type: boolean
        language:
          $ref: '#/components/schemas/ModelsLanguageName'
        message:
          type: string
        owner:
          type: string
        platform:
          type: string
        priorityLabel:
          type: string
        priorityLabelReason:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        pullRequestsAllowlist:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          type: array
        pullRequestsAutofix:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          type: array
        repository:
          type: string
        repositoryId:
          type: string
        resolvedAt:
          format: date-time
          type: string
        ruleId:
          type: string
        ruleUrl:
          type: string
        severity:
          type: string
        severityConfidence:
          type: string
        severityLabel:
          type: string
        severityOverride:
          type: string
        severityScore:
          type: integer
        startLine:
          type: integer
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        ticketState:
          type: string
        title:
          type: string
        triageAgentVersion:
          type: string
        triageDurationSeconds:
          type: integer
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageLangfuseSessionId:
          nullable: true
          type: string
        triageLangfuseTraceId:
          nullable: true
          type: string
        triageLlmCostUsd:
          nullable: true
          type: number
        triageStart:
          format: date-time
          nullable: true
          type: string
        triageTokenCount:
          nullable: true
          type: integer
        triageTraceId:
          nullable: true
          type: string
        updatedAt:
          type: string
        userNotes:
          type: string
        workflow:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - allowlistState
        - allowlistType
        - autoFixEndTime
        - autoFixStartTime
        - autoFixState
        - branch
        - budgetExhausted
        - budgetLimit
        - budgetUsed
        - category
        - commitHash
        - concurrencyLimit
        - createdAt
        - cwe
        - deletedAt
        - description
        - devDescription
        - endLine
        - entrypoint
        - exploitabilityConfidence
        - exploitabilityLabel
        - failedTriage
        - fileOwners
        - filePath
        - firstSeenCommit
        - fixCommit
        - fixedAt
        - id
        - impactConfidence
        - impactLabel
        - installationId
        - isAllowlisted
        - isArchived
        - isFalsePositive
        - isLatest
        - isResolved
        - language
        - message
        - owner
        - platform
        - priorityLabel
        - priorityLabelReason
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - pullRequestsAllowlist
        - pullRequestsAutofix
        - repository
        - repositoryId
        - resolvedAt
        - ruleId
        - ruleUrl
        - severity
        - severityConfidence
        - severityLabel
        - severityOverride
        - severityScore
        - startLine
        - tenantId
        - ticket
        - ticketState
        - title
        - triageAgentVersion
        - triageDurationSeconds
        - triageEnd
        - triageLangfuseSessionId
        - triageLangfuseTraceId
        - triageLlmCostUsd
        - triageStart
        - triageTokenCount
        - triageTraceId
        - updatedAt
        - userNotes
        - workflow
      type: object
    ModelsSASTFindingPreview:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        allowlistState:
          $ref: '#/components/schemas/ModelsAllowlistState'
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
        autoFixEndTime:
          format: date-time
          nullable: true
          type: string
        autoFixStartTime:
          format: date-time
          nullable: true
          type: string
        autoFixState:
          $ref: '#/components/schemas/ModelsAutoFixState'
        branch:
          type: string
        category:
          type: string
        commitHash:
          type: string
        createdAt:
          type: string
        cwe:
          type: integer
        endLine:
          type: integer
        entrypoint:
          type: string
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
        filePath:
          type: string
        firstSeenCommit:
          type: string
        id:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          type: boolean
        isResolved:
          type: boolean
        language:
          $ref: '#/components/schemas/ModelsLanguageName'
        message:
          type: string
        priorityLabel:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        pullRequestsAllowlist:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          nullable: true
          type: array
        pullRequestsAutofix:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          nullable: true
          type: array
        repository:
          type: string
        repositoryId:
          type: string
        ruleId:
          type: string
        ruleUrl:
          type: string
        severity:
          type: string
        startLine:
          type: integer
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        title:
          type: string
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageStart:
          format: date-time
          nullable: true
          type: string
        updatedAt:
          type: string
        workflow:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - allowlistState
        - allowlistType
        - autoFixEndTime
        - autoFixStartTime
        - autoFixState
        - branch
        - category
        - commitHash
        - createdAt
        - cwe
        - endLine
        - entrypoint
        - fileOwners
        - filePath
        - firstSeenCommit
        - id
        - isAllowlisted
        - isArchived
        - isFalsePositive
        - isLatest
        - isResolved
        - language
        - message
        - priorityLabel
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - pullRequestsAllowlist
        - pullRequestsAutofix
        - repository
        - repositoryId
        - ruleId
        - ruleUrl
        - severity
        - startLine
        - tenantId
        - ticket
        - title
        - triageEnd
        - triageStart
        - updatedAt
        - workflow
      type: object
    ModelsTriagedSASTFinding:
      properties:
        agentVersion:
          type: string
        assessmentFactors:
          items:
            $ref: '#/components/schemas/ModelsAssessmentFactor'
          nullable: true
          type: array
        codeContext:
          $ref: '#/components/schemas/ModelsCodeContext'
        falsePositiveReason:
          nullable: true
          type: string
        finding:
          $ref: '#/components/schemas/ModelsSASTFinding'
        fixStoryPointEstimate:
          type: integer
        investigationSteps:
          items:
            $ref: '#/components/schemas/ModelsInvestigationStep'
          nullable: true
          type: array
        isFalsePositive:
          type: boolean
        orgContextVersion:
          type: string
        priority:
          $ref: '#/components/schemas/ModelsCodeFindingPriority'
        repoContextVersion:
          type: string
        triage:
          $ref: '#/components/schemas/TriageTriage'
        triagedCommitSha:
          type: string
      required:
        - agentVersion
        - assessmentFactors
        - codeContext
        - falsePositiveReason
        - finding
        - fixStoryPointEstimate
        - investigationSteps
        - isFalsePositive
        - orgContextVersion
        - priority
        - repoContextVersion
        - triage
        - triagedCommitSha
      type: object
    EndpointsDeleteChatCommentOutput:
      properties:
        message:
          description: Status message
          type: string
        success:
          description: Whether the deletion was successful
          type: boolean
      required:
        - message
        - success
      type: object
    EndpointsGetChatCommentsByFindingOutput:
      properties:
        comments:
          description: List of chat comments
          items:
            $ref: '#/components/schemas/ModelsChatCommentResponse'
          nullable: true
          type: array
        count:
          description: Total number of comments
          type: integer
        userCanonicalId:
          description: Canonical ID of the user
          type: string
        username:
          description: Username of the user
          type: string
      required:
        - comments
        - count
        - userCanonicalId
        - username
      type: object
    EndpointsGetChatCommentsByNodeOutput:
      properties:
        comments:
          description: List of chat comments
          items:
            $ref: '#/components/schemas/ModelsChatCommentResponse'
          nullable: true
          type: array
        count:
          description: Total number of comments
          type: integer
        userCanonicalId:
          description: Canonical ID of the user
          type: string
        username:
          description: Username of the user
          type: string
      required:
        - comments
        - count
        - userCanonicalId
        - username
      type: object
    EndpointsGetMessagesOutput:
      properties:
        count:
          description: Total count of messages
          type: integer
        messages:
          $ref: '#/components/schemas/EndpointsMessagesByInteractionType'
      required:
        - count
        - messages
      type: object
    EndpointsMessagesByInteractionType:
      properties:
        azure:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
        bitbucket:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
        external:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
        github:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
        gitlab:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
        jira:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
        linear:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
        slack:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
        teams:
          description: List of messages
          items:
            $ref: '#/components/schemas/ModelsInteractionRecord'
          nullable: true
          type: array
      required:
        - azure
        - bitbucket
        - external
        - github
        - gitlab
        - jira
        - linear
        - slack
        - teams
      type: object
    EndpointsPostChatCommentInput:
      properties:
        content:
          description: The content of the comment
          type: string
        findingId:
          description: ID of the finding/graph node this comment is associated with
          type: string
        findingType:
          description: Type of finding (SAST, SCA, SECRETS, DAST, etc.) for retriage triggering
          type: string
        memoryId:
          description: ID of memory created from this comment
          nullable: true
          type: string
        nodeId:
          description: ID of the node where the user makes the comment
          type: string
        user:
          $ref: '#/components/schemas/ModelsUser'
        userCanonicalId:
          description: Canonical ID of the user
          type: string
        username:
          description: Username of the user
          type: string
      required:
        - content
        - findingId
        - findingType
        - memoryId
        - nodeId
        - user
        - userCanonicalId
        - username
      type: object
    EndpointsPostChatCommentOutput:
      properties:
        comment:
          $ref: '#/components/schemas/ModelsChatCommentResponse'
        userCanonicalId:
          description: Canonical ID of the user
          type: string
        username:
          description: Username of the user
          type: string
      required:
        - comment
        - userCanonicalId
        - username
      type: object
    ModelsChatCommentResponse:
      properties:
        content:
          description: The content of the comment
          type: string
        findingId:
          description: ID of the associated finding
          type: string
        id:
          description: Unique identifier of the comment
          type: string
        memoryId:
          description: Optional memory ID
          nullable: true
          type: string
        nodeId:
          description: Optional node ID
          nullable: true
          type: string
        timestamp:
          description: When the comment was created
          type: string
        user:
          $ref: '#/components/schemas/ModelsUser'
      required:
        - content
        - findingId
        - id
        - memoryId
        - nodeId
        - timestamp
        - user
      type: object
    ModelsInteractionRecord:
      properties:
        body:
          nullable: true
          type: string
        branchName:
          nullable: true
          type: string
        channelId:
          type: string
        chatId:
          type: string
        commentHistory:
          items:
            $ref: '#/components/schemas/ModelsComment'
          nullable: true
          type: array
        commitSha:
          nullable: true
          type: string
        date:
          type: string
        gitDiff:
          nullable: true
          type: string
        id:
          type: string
        interactionType:
          $ref: '#/components/schemas/ModelsInteractionType'
        isNullify:
          type: boolean
        parentBody:
          nullable: true
          type: string
        parentId:
          nullable: true
          type: string
        parentTitle:
          nullable: true
          type: string
        platformId:
          type: string
        repositoryId:
          type: string
        repositoryName:
          type: string
        reviewer:
          nullable: true
          type: string
        tenantId:
          type: string
        timestamp:
          type: string
        title:
          nullable: true
          type: string
        userId:
          type: string
        userName:
          type: string
      required:
        - body
        - branchName
        - channelId
        - chatId
        - commentHistory
        - commitSha
        - date
        - gitDiff
        - id
        - interactionType
        - isNullify
        - parentBody
        - parentId
        - parentTitle
        - platformId
        - repositoryId
        - repositoryName
        - reviewer
        - tenantId
        - timestamp
        - title
        - userId
        - userName
      type: object
    ModelsInteractionType:
      enum:
        - pullrequestcomment
        - pullrequestreview
        - pullrequestreviewcomment
        - issuecomment
        - jiraissuecomment
        - chat
      type: string
    EndpointsGetSCAContainerFindingEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsSCAEventInterface'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - numItems
        - version
      type: object
    EndpointsGetSCAContainerFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsSCAContainerfileFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsGetSCAContainerFindingTriageOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsTriagedContainerFinding'
        presignedUrl:
          type: string
        version:
          type: string
      required:
        - finding
        - presignedUrl
        - version
      type: object
    EndpointsGetSCAContainerFindingUsersOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsCandidate'
          nullable: true
          type: array
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsGetSCAContainerFindingsDetailedOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsSCAContainerfileFinding'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSCAContainerFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsSCAContainerfileFindingPreview'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSCADependencyFindingEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsSCAEventInterface'
          nullable: true
          type: array
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - numItems
        - version
      type: object
    EndpointsGetSCADependencyFindingFixOutput:
      properties:
        diffs:
          items:
            $ref: '#/components/schemas/ModelsDiffFile'
          nullable: true
          type: array
        version:
          type: string
      required:
        - diffs
        - version
      type: object
    EndpointsGetSCADependencyFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsSCADependencyFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsGetSCADependencyFindingTriageOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsTriagedDependencyFinding'
        presignedUrl:
          type: string
        version:
          type: string
      required:
        - finding
        - presignedUrl
        - version
      type: object
    EndpointsGetSCADependencyFindingUsersOutput:
      properties:
        users:
          items:
            $ref: '#/components/schemas/ModelsCandidate'
          nullable: true
          type: array
        version:
          type: string
      required:
        - users
        - version
      type: object
    EndpointsGetSCADependencyFindingsDetailedOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsSCADependencyFinding'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSCADependencyFindingsOutput:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/ModelsSCADependencyFindingPreview'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - findings
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSCAEventsOutput:
      properties:
        events:
          items:
            $ref: '#/components/schemas/ModelsSCAEventInterface'
          nullable: true
          type: array
        nextToken:
          type: string
        numItems:
          type: integer
        version:
          type: string
      required:
        - events
        - nextToken
        - numItems
        - version
      type: object
    EndpointsGetSCARepositoriesOutput:
      properties:
        nextToken:
          type: string
        numItems:
          type: integer
        repositories:
          additionalProperties:
            $ref: '#/components/schemas/ModelsSCARepositoryPublic'
          nullable: true
          type: object
        version:
          type: string
      required:
        - nextToken
        - numItems
        - repositories
        - version
      type: object
    EndpointsGetSCARepositoryOutput:
      properties:
        repository:
          $ref: '#/components/schemas/ModelsSCARepositoryPublic'
        version:
          type: string
      required:
        - repository
        - version
      type: object
    EndpointsGetSCARepositorySBOMOutput:
      properties:
        sbom:
          $ref: '#/components/schemas/ModelsCDXGen'
        version:
          type: string
      required:
        - sbom
        - version
      type: object
    EndpointsPatchSCAContainerFindingInput:
      properties:
        priorityOverride:
          nullable: true
          type: string
        severityOverride:
          nullable: true
          type: string
      required:
        - priorityOverride
        - severityOverride
      type: object
    EndpointsPatchSCAContainerFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsSCAContainerfileFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsPatchSCADependencyFindingInput:
      properties:
        priorityOverride:
          nullable: true
          type: string
        severityOverride:
          nullable: true
          type: string
      required:
        - priorityOverride
        - severityOverride
      type: object
    EndpointsPatchSCADependencyFindingOutput:
      properties:
        finding:
          $ref: '#/components/schemas/ModelsSCADependencyFinding'
        version:
          type: string
      required:
        - finding
        - version
      type: object
    EndpointsPostAllowlistSCAContainerFindingInput:
      properties:
        allowlistReason:
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
      required:
        - allowlistReason
        - allowlistType
      type: object
    EndpointsPostAllowlistSCADependencyFindingInput:
      properties:
        allowlistReason:
          type: string
        allowlistType:
          $ref: '#/components/schemas/ModelsAllowlistType'
      required:
        - allowlistReason
        - allowlistType
      type: object
    EndpointsPostCacheAutofixSCADependencyFindingsInput:
      properties:
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        force:
          nullable: true
          type: boolean
      required:
        - findingIds
        - force
      type: object
    EndpointsPostCreateTicketDependencyFindingInput:
      properties:
        assignees:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        message:
          type: string
        project:
          type: string
      required:
        - assignees
        - message
        - project
      type: object
    EndpointsPostCreateTicketDependencyFindingOutput:
      properties:
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        version:
          type: string
      required:
        - ticket
        - version
      type: object
    EndpointsPostFixIterateSCADependencyFindingInput:
      properties:
        comments:
          items:
            $ref: '#/components/schemas/ModelsComment'
          nullable: true
          type: array
        diffThreads:
          additionalProperties:
            items:
              $ref: '#/components/schemas/ModelsPullRequestReviewDiffThread'
            type: array
          nullable: true
          type: object
        pullRequestProvider:
          $ref: '#/components/schemas/ModelsGitPullRequestProvider'
        repositoryProvider:
          $ref: '#/components/schemas/ModelsGitRepositoryProvider'
      required:
        - comments
        - diffThreads
        - pullRequestProvider
        - repositoryProvider
      type: object
    EndpointsPostGetUploadSCAContainerFindingsURLInput:
      properties:
        scanId:
          type: string
      required:
        - scanId
      type: object
    EndpointsPostGetUploadSCAContainerFindingsURLOutput:
      properties:
        s3UploadURL:
          type: string
        version:
          type: string
      required:
        - s3UploadURL
        - version
      type: object
    EndpointsPostGetUploadSCADependencyFindingsURLInput:
      properties:
        scanId:
          type: string
      required:
        - scanId
      type: object
    EndpointsPostGetUploadSCADependencyFindingsURLOutput:
      properties:
        s3UploadURL:
          type: string
        version:
          type: string
      required:
        - s3UploadURL
        - version
      type: object
    EndpointsPostRetriageSCADependenciesFindingsInput:
      properties:
        branch:
          nullable: true
          type: string
        continueOnError:
          nullable: true
          type: boolean
        findingIds:
          items:
            type: string
          nullable: true
          type: array
        forceRetriage:
          nullable: true
          type: boolean
        priorityMinimum:
          nullable: true
          type: string
        repositoryIds:
          items:
            type: string
          nullable: true
          type: array
        reprocessFailedTriage:
          nullable: true
          type: boolean
        reprocessFalsePositives:
          nullable: true
          type: boolean
      required:
        - branch
        - continueOnError
        - findingIds
        - forceRetriage
        - priorityMinimum
        - repositoryIds
        - reprocessFailedTriage
        - reprocessFalsePositives
      type: object
    EndpointsPostRetriageSCADependenciesFindingsOutput:
      properties:
        message:
          type: string
        version:
          type: string
      required:
        - message
        - version
      type: object
    EndpointsPostSCAContainerFindingFixInput:
      properties:
        assignees:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        message:
          type: string
        originCampaignId:
          type: string
        reasoning:
          type: string
      required:
        - assignees
        - message
        - originCampaignId
        - reasoning
      type: object
    EndpointsPostSCADependencyFindingFixInput:
      properties:
        assignees:
          items:
            $ref: '#/components/schemas/ModelsUser'
          type: array
        message:
          type: string
        originCampaignId:
          type: string
        reasoning:
          type: string
      required:
        - assignees
        - message
        - originCampaignId
        - reasoning
      type: object
    EndpointsPostSCADependencyFindingTriagePentestInput:
      properties:
        pentest:
          $ref: '#/components/schemas/TriageTriagePentest'
      required:
        - pentest
      type: object
    EndpointsPostUnallowlistSCAContainerFindingInput:
      properties:
        unallowlistReason:
          type: string
      required:
        - unallowlistReason
      type: object
    EndpointsPostUnallowlistSCADependencyFindingInput:
      properties:
        unallowlistReason:
          type: string
      required:
        - unallowlistReason
      type: object
    ModelsCVE:
      properties:
        cisaKev:
          type: boolean
        cvss:
          format: double
          type: number
        epss:
          format: double
          type: number
        epssPercentile:
          format: double
          type: number
        exploitabilityScore:
          format: double
          type: number
        id:
          type: string
        impactScore:
          format: double
          type: number
        osvReachability:
          $ref: '#/components/schemas/ModelsOSVReachability'
        priority:
          type: string
        reachability:
          $ref: '#/components/schemas/ModelsDepscanReachability'
        reachable:
          type: boolean
        severity:
          type: string
        vectorString:
          type: string
        version:
          type: string
      required:
        - cisaKev
        - cvss
        - epss
        - epssPercentile
        - exploitabilityScore
        - id
        - impactScore
        - osvReachability
        - priority
        - reachability
        - reachable
        - severity
        - vectorString
        - version
      type: object
    ModelsDepscanReachability:
      properties:
        occurrenceCount:
          type: integer
        reachableFlows:
          type: integer
      required:
        - occurrenceCount
        - reachableFlows
      type: object
    ModelsDisplayCVE:
      properties:
        cisaKev:
          type: boolean
        cvss:
          format: double
          type: number
        exploitabilityScore:
          format: double
          type: number
        id:
          type: string
        impactScore:
          format: double
          type: number
        severity:
          type: string
        vectorString:
          type: string
        version:
          type: string
      required:
        - cisaKev
        - cvss
        - exploitabilityScore
        - id
        - impactScore
        - severity
        - vectorString
        - version
      type: object
    ModelsDistro:
      properties:
        name:
          type: string
        version:
          type: string
      required:
        - name
        - version
      type: object
    ModelsImageMetadata:
      properties:
        digest:
          type: string
        distro:
          $ref: '#/components/schemas/ModelsDistro'
        fullReference:
          type: string
        registryDomain:
          type: string
        registryPath:
          type: string
        shortName:
          type: string
        tag:
          type: string
      required:
        - digest
        - distro
        - fullReference
        - registryDomain
        - registryPath
        - shortName
        - tag
      type: object
    ModelsOSVReachability:
      properties:
        called:
          type: boolean
      required:
        - called
      type: object
    ModelsSCAContainerfileArtifact:
      properties:
        name:
          type: string
        purl:
          type: string
        type:
          type: string
        version:
          type: string
      required:
        - name
        - purl
        - type
        - version
      type: object
    ModelsSCAContainerfileFinding:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        autoFixEndTime:
          format: date-time
          nullable: true
          type: string
        autoFixStartTime:
          format: date-time
          nullable: true
          type: string
        autoFixState:
          $ref: '#/components/schemas/ModelsAutoFixState'
        branch:
          type: string
        budgetExhausted:
          type: boolean
        budgetLimit:
          format: double
          type: number
        budgetUsed:
          format: double
          type: number
        commitHash:
          type: string
        concurrencyLimit:
          type: integer
        createdAt:
          type: string
        description:
          type: string
        devDescription:
          type: string
        exploitabilityConfidence:
          type: string
        exploitabilityLabel:
          type: string
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
        filePath:
          type: string
        firstSeenCommit:
          type: string
        id:
          type: string
        imageMetadata:
          $ref: '#/components/schemas/ModelsImageMetadata'
        impactConfidence:
          type: string
        impactLabel:
          type: string
        installationId:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          type: boolean
        isResolved:
          type: boolean
        line:
          type: integer
        numCritical:
          type: integer
        numHigh:
          type: integer
        numLow:
          type: integer
        numMedium:
          type: integer
        numUnknown:
          type: integer
        owner:
          type: string
        priorityLabel:
          type: string
        priorityLabelReason:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        pullRequestsAutofix:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          nullable: true
          type: array
        repository:
          type: string
        repositoryId:
          type: string
        severityConfidence:
          type: string
        severityLabel:
          type: string
        severityOverride:
          type: string
        severityScore:
          type: integer
        suggestedImages:
          items:
            $ref: '#/components/schemas/ModelsImageMetadata'
          nullable: true
          type: array
        suggestions:
          items:
            $ref: '#/components/schemas/ModelsSCAContainerfileSuggestion'
          nullable: true
          type: array
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        ticketState:
          nullable: true
          type: string
        triageAgentVersion:
          type: string
        triageDurationSeconds:
          type: integer
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageLLMCostUSD:
          format: double
          type: number
        triageLangfuseSessionIds:
          items:
            type: string
          nullable: true
          type: array
        triageLangfuseTraceIds:
          items:
            type: string
          nullable: true
          type: array
        triageStart:
          format: date-time
          nullable: true
          type: string
        triageTraceIds:
          items:
            type: string
          nullable: true
          type: array
        updatedAt:
          type: string
        userNotes:
          type: string
        vulnerabilities:
          items:
            $ref: '#/components/schemas/ModelsSCAContainerfileVulnerability'
          nullable: true
          type: array
        vulnerabilitiesCVEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilitiesMaxSeverity:
          type: string
        vulnerablePackages:
          items:
            $ref: '#/components/schemas/ModelsSCAVulnerableContainerPackage'
          nullable: true
          type: array
        workflow:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - autoFixEndTime
        - autoFixStartTime
        - autoFixState
        - branch
        - budgetExhausted
        - budgetLimit
        - budgetUsed
        - commitHash
        - concurrencyLimit
        - createdAt
        - description
        - devDescription
        - exploitabilityConfidence
        - exploitabilityLabel
        - fileOwners
        - filePath
        - firstSeenCommit
        - id
        - imageMetadata
        - impactConfidence
        - impactLabel
        - installationId
        - isAllowlisted
        - isArchived
        - isFalsePositive
        - isLatest
        - isResolved
        - line
        - numCritical
        - numHigh
        - numLow
        - numMedium
        - numUnknown
        - owner
        - priorityLabel
        - priorityLabelReason
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - pullRequestsAutofix
        - repository
        - repositoryId
        - severityConfidence
        - severityLabel
        - severityOverride
        - severityScore
        - suggestedImages
        - suggestions
        - tenantId
        - ticket
        - ticketState
        - triageAgentVersion
        - triageDurationSeconds
        - triageEnd
        - triageLLMCostUSD
        - triageLangfuseSessionIds
        - triageLangfuseTraceIds
        - triageStart
        - triageTraceIds
        - updatedAt
        - userNotes
        - vulnerabilities
        - vulnerabilitiesCVEIds
        - vulnerabilitiesMaxSeverity
        - vulnerablePackages
        - workflow
      type: object
    ModelsSCAContainerfileFindingPreview:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        autoFixEndTime:
          format: date-time
          nullable: true
          type: string
        autoFixStartTime:
          format: date-time
          nullable: true
          type: string
        branch:
          type: string
        commitHash:
          type: string
        createdAt:
          type: string
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
        filePath:
          type: string
        id:
          type: string
        imageMetadata:
          $ref: '#/components/schemas/ModelsImageMetadata'
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          type: boolean
        isResolved:
          type: boolean
        line:
          type: integer
        numCritical:
          type: integer
        numHigh:
          type: integer
        numLow:
          type: integer
        numMedium:
          type: integer
        numUnknown:
          type: integer
        priorityLabel:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        pullRequestsAutofix:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          nullable: true
          type: array
        repository:
          type: string
        repositoryId:
          type: string
        suggestedImages:
          items:
            $ref: '#/components/schemas/ModelsImageMetadata'
          nullable: true
          type: array
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        ticketState:
          type: string
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageStart:
          format: date-time
          nullable: true
          type: string
        updatedAt:
          type: string
        vulnerabilitiesCVEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilitiesMaxSeverity:
          type: string
        workflow:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - autoFixEndTime
        - autoFixStartTime
        - branch
        - commitHash
        - createdAt
        - fileOwners
        - filePath
        - id
        - imageMetadata
        - isAllowlisted
        - isArchived
        - isFalsePositive
        - isLatest
        - isResolved
        - line
        - numCritical
        - numHigh
        - numLow
        - numMedium
        - numUnknown
        - priorityLabel
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - pullRequestsAutofix
        - repository
        - repositoryId
        - suggestedImages
        - tenantId
        - ticket
        - ticketState
        - triageEnd
        - triageStart
        - updatedAt
        - vulnerabilitiesCVEIds
        - vulnerabilitiesMaxSeverity
        - workflow
      type: object
    ModelsSCAContainerfileSuggestion:
      properties:
        imageMetadata:
          $ref: '#/components/schemas/ModelsImageMetadata'
        numCritical:
          type: integer
        numHigh:
          type: integer
        numLow:
          type: integer
        numMedium:
          type: integer
        numUnknown:
          type: integer
        vulnerabilities:
          items:
            $ref: '#/components/schemas/ModelsSCAContainerfileVulnerability'
          nullable: true
          type: array
        vulnerablePackages:
          items:
            $ref: '#/components/schemas/ModelsSCAVulnerableContainerPackage'
          nullable: true
          type: array
      required:
        - imageMetadata
        - numCritical
        - numHigh
        - numLow
        - numMedium
        - numUnknown
        - vulnerabilities
        - vulnerablePackages
      type: object
    ModelsSCAContainerfileVulnerability:
      properties:
        artifact:
          $ref: '#/components/schemas/ModelsSCAContainerfileArtifact'
        cves:
          $ref: '#/components/schemas/ModelsCVE'
        fixed:
          type: string
        hasFix:
          type: boolean
        severity:
          type: string
      required:
        - artifact
        - cves
        - fixed
        - hasFix
        - severity
      type: object
    ModelsSCADependencyFinding:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        autoFixEndTime:
          format: date-time
          nullable: true
          type: string
        autoFixStartTime:
          format: date-time
          nullable: true
          type: string
        autoFixState:
          $ref: '#/components/schemas/ModelsAutoFixState'
        branch:
          type: string
        budgetExhausted:
          type: boolean
        budgetLimit:
          format: double
          type: number
        budgetUsed:
          format: double
          type: number
        commitHash:
          type: string
        concurrencyLimit:
          type: integer
        createdAt:
          type: string
        description:
          type: string
        devDescription:
          type: string
        exploitabilityConfidence:
          type: string
        exploitabilityLabel:
          type: string
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
        filePath:
          type: string
        firstSeenCommit:
          type: string
        hasReachableCVEs:
          type: boolean
        id:
          type: string
        impactConfidence:
          type: string
        impactLabel:
          type: string
        installationId:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isDirect:
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          type: boolean
        isReachabilitySupported:
          type: boolean
        isResolved:
          type: boolean
        line:
          type: integer
        nonAIPriorityLabel:
          type: string
        numCritical:
          type: integer
        numHigh:
          type: integer
        numLow:
          type: integer
        numMedium:
          type: integer
        numUnknown:
          type: integer
        owner:
          type: string
        package:
          type: string
        packageFilePath:
          type: string
        priorityLabel:
          type: string
        priorityLabelReason:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        pullRequestsAutofix:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          nullable: true
          type: array
        repository:
          type: string
        repositoryId:
          type: string
        severityConfidence:
          type: string
        severityLabel:
          type: string
        severityOverride:
          type: string
        severityScore:
          type: integer
        suggestedVersion:
          type: string
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        ticketState:
          nullable: true
          type: string
        triageAgentVersion:
          type: string
        triageDurationSeconds:
          type: integer
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageLLMCostUSD:
          format: double
          type: number
        triageLangfuseSessionIds:
          items:
            type: string
          nullable: true
          type: array
        triageLangfuseTraceIds:
          items:
            type: string
          nullable: true
          type: array
        triageStart:
          format: date-time
          nullable: true
          type: string
        triageTraceIds:
          items:
            type: string
          nullable: true
          type: array
        updatedAt:
          type: string
        userNotes:
          type: string
        version:
          type: string
        vulnerabilities:
          items:
            $ref: '#/components/schemas/ModelsSCADependencyVulnerability'
          nullable: true
          type: array
        vulnerabilitiesCVEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilitiesCWEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilitiesMaxPriority:
          type: string
        vulnerabilitiesMaxSeverity:
          type: string
        workflow:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - autoFixEndTime
        - autoFixStartTime
        - autoFixState
        - branch
        - budgetExhausted
        - budgetLimit
        - budgetUsed
        - commitHash
        - concurrencyLimit
        - createdAt
        - description
        - devDescription
        - exploitabilityConfidence
        - exploitabilityLabel
        - fileOwners
        - filePath
        - firstSeenCommit
        - hasReachableCVEs
        - id
        - impactConfidence
        - impactLabel
        - installationId
        - isAllowlisted
        - isArchived
        - isDirect
        - isFalsePositive
        - isLatest
        - isReachabilitySupported
        - isResolved
        - line
        - nonAIPriorityLabel
        - numCritical
        - numHigh
        - numLow
        - numMedium
        - numUnknown
        - owner
        - package
        - packageFilePath
        - priorityLabel
        - priorityLabelReason
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - pullRequestsAutofix
        - repository
        - repositoryId
        - severityConfidence
        - severityLabel
        - severityOverride
        - severityScore
        - suggestedVersion
        - tenantId
        - ticket
        - ticketState
        - triageAgentVersion
        - triageDurationSeconds
        - triageEnd
        - triageLLMCostUSD
        - triageLangfuseSessionIds
        - triageLangfuseTraceIds
        - triageStart
        - triageTraceIds
        - updatedAt
        - userNotes
        - version
        - vulnerabilities
        - vulnerabilitiesCVEIds
        - vulnerabilitiesCWEIds
        - vulnerabilitiesMaxPriority
        - vulnerabilitiesMaxSeverity
        - workflow
      type: object
    ModelsSCADependencyFindingPreview:
      properties:
        aiDevTitle:
          type: string
        aiTitle:
          type: string
        allowlistReason:
          type: string
        autoFixEndTime:
          format: date-time
          nullable: true
          type: string
        autoFixStartTime:
          format: date-time
          nullable: true
          type: string
        autoFixState:
          $ref: '#/components/schemas/ModelsAutoFixState'
        branch:
          type: string
        commitHash:
          type: string
        createdAt:
          type: string
        fileOwners:
          items:
            $ref: '#/components/schemas/ModelsFileOwner'
          nullable: true
          type: array
        filePath:
          type: string
        firstSeenCommit:
          type: string
        hasReachableCVEs:
          type: boolean
        id:
          type: string
        installationId:
          type: string
        isAllowlisted:
          type: boolean
        isArchived:
          type: boolean
        isAutoFixable:
          type: boolean
        isDirect:
          type: boolean
        isFalsePositive:
          type: boolean
        isLatest:
          type: boolean
        isResolved:
          type: boolean
        isStaticReachabilitySupported:
          type: boolean
        line:
          type: integer
        numCritical:
          type: integer
        numHigh:
          type: integer
        numLow:
          type: integer
        numMedium:
          type: integer
        numUnknown:
          type: integer
        owner:
          type: string
        package:
          type: string
        packageFilePath:
          type: string
        priorityLabel:
          type: string
        priorityOverride:
          type: string
        priorityScore:
          type: integer
        projectId:
          type: string
        projectName:
          type: string
        pullRequestsAutofix:
          items:
            $ref: '#/components/schemas/ModelsPullRequestInfo'
          nullable: true
          type: array
        repository:
          type: string
        repositoryId:
          type: string
        suggestedVersion:
          type: string
        tenantId:
          type: string
        ticket:
          $ref: '#/components/schemas/ModelsTicketProvider'
        ticketState:
          type: string
        triageEnd:
          format: date-time
          nullable: true
          type: string
        triageStart:
          format: date-time
          nullable: true
          type: string
        updatedAt:
          type: string
        version:
          type: string
        vulnerabilitiesCVEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilitiesCWEIds:
          items:
            type: string
          nullable: true
          type: array
        vulnerabilitiesMaxPriority:
          type: string
        vulnerabilitiesMaxSeverity:
          type: string
      required:
        - aiDevTitle
        - aiTitle
        - allowlistReason
        - autoFixEndTime
        - autoFixStartTime
        - autoFixState
        - branch
        - commitHash
        - createdAt
        - fileOwners
        - filePath
        - firstSeenCommit
        - hasReachableCVEs
        - id
        - installationId
        - isAllowlisted
        - isArchived
        - isAutoFixable
        - isDirect
        - isFalsePositive
        - isLatest
        - isResolved
        - isStaticReachabilitySupported
        - line
        - numCritical
        - numHigh
        - numLow
        - numMedium
        - numUnknown
        - owner
        - package
        - packageFilePath
        - priorityLabel
        - priorityOverride
        - priorityScore
        - projectId
        - projectName
        - pullRequestsAutofix
        - repository
        - repositoryId
        - suggestedVersion
        - tenantId
        - ticket
        - ticketState
        - triageEnd
        - triageStart
        - updatedAt
        - version
        - vulnerabilitiesCVEIds
        - vulnerabilitiesCWEIds
        - vulnerabilitiesMaxPriority
        - vulnerabilitiesMaxSeverity
      type: object
    ModelsSCADependencyVulnerability:
      properties:
        cves:
          items:
            $ref: '#/components/schemas/ModelsCVE'
          nullable: true
          type: array
        cwes:
          items:
            type: string
          nullable: true
          type: array
        details:
          type: string
        fixed:
          type: string
        hasFix:
          type: boolean
        id:
          type: string
        introduced:
          type: string
        references:
          items:
            type: string
          nullable: true
          type: array
        severity:
          type: string
        title:
          type: string
        version:
          type: string
      required:
        - cves
        - cwes
        - details
        - fixed
        - hasFix
        - id
        - introduced
        - references
        - severity
        - title
        - version
      type: object
    ModelsSCAEventInterface:
      properties:
        branch:
          type: string
        data: {}
        id:
          type: string
        repository:
          type: string
        time:
          type: string
        timestampUnix:
          format: int64
          type: integer
        type:
          $ref: '#/components/schemas/EventsEventType'
      required:
        - branch
        - data
        - id
        - repository
        - time
        - timestampUnix
        - type
      type: object
    ModelsSCARepositoryPublic:
      type: object
    ModelsSCAVulnerableContainerPackage:
      properties:
        cves:
          items:
            $ref: '#/components/schemas/ModelsDisplayCVE'
          nullable: true
          type: array
        name:
          type: string
        namespace:
          type: string
        purl:
          type: string
        type:
          type: string
        version:
          type: string
      required:
        - cves
        - name
        - namespace
        - purl
        - type
        - version
      type: object
    ModelsTriagedContainerFinding:
      properties:
        agentVersion:
          type: string
        codeContext:
          $ref: '#/components/schemas/ModelsCodeContext'
        finding:
          $ref: '#/components/schemas/ModelsSCAContainerfileFinding'
        fixStoryPointEstimate:
          type: integer
        investigationSteps:
          items:
            $ref: '#/components/schemas/ModelsInvestigationStep'
          nullable: true
          type: array
        orgContextVersion:
          type: string
        repoContextVersion:
          type: string
        triage:
          $ref: '#/components/schemas/TriageTriage'
        triagedCommitSha:
          type: string
      required:
        - agentVersion
        - codeContext
        - finding
        - fixStoryPointEstimate
        - investigationSteps
        - orgContextVersion
        - repoContextVersion
        - triage
        - triagedCommitSha
      type: object
    ModelsTriagedDependencyFinding:
      properties:
        agentVersion:
          type: string
        codeContext:
          $ref: '#/components/schemas/ModelsCodeContext'
        finding:
          $ref: '#/components/schemas/ModelsSCADependencyFinding'
        fixStoryPointEstimate:
          type: integer
        investigationSteps:
          items:
            $ref: '#/components/schemas/ModelsInvestigationStep'
          nullable: true
          type: array
        orgContextVersion:
          type: string
        repoContextVersion:
          type: string
        triage:
          $ref: '#/components/schemas/TriageTriage'
        triagedCommitSha:
          type: string
      required:
        - agentVersion
        - codeContext
        - finding
        - fixStoryPointEstimate
        - investigationSteps
        - orgContextVersion
        - repoContextVersion
        - triage
        - triagedCommitSha
      type: object
