> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cybedefend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get all container vulnerabilities of a project

> Retrieves paginated container vulnerabilities with filtering options



## OpenAPI

````yaml get /project/{projectId}/results/container
openapi: 3.0.0
info:
  title: Cybedefend API
  description: >-
    CybeDefend is an advanced API for application security analysis. Key
    features include OAuth 2.0 authentication, user/organization/project
    management, and REBAC-based permissions. It excels in static, dynamic, and
    IaC security analyses (SAST, DAST, IaC, etc.).
  version: '1.0'
  contact: {}
servers:
  - url: https://api-eu.cybedefend.com
    description: EU
  - url: https://api-us.cybedefend.com
    description: US
security: []
tags: []
paths:
  /project/{projectId}/results/container:
    get:
      tags:
        - Results & Vulnerabilities
      summary: Get all container vulnerabilities of a project
      description: Retrieves paginated container vulnerabilities with filtering options
      operationId: ResultController_findAllContainer
      parameters:
        - name: projectId
          required: true
          in: path
          description: Project identifier
          schema:
            format: uuid
            type: string
        - name: sort
          required: false
          in: query
          schema:
            type: string
        - name: order
          required: false
          in: query
          schema:
            type: string
        - name: severity
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: status
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: priority
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: classType
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: imageId
          required: false
          in: query
          description: Filter results by a specific container image ID.
          schema:
            format: uuid
            type: string
        - name: searchQuery
          required: false
          in: query
          schema:
            type: string
        - name: page
          required: false
          in: query
          schema:
            type: number
        - name: limit
          required: false
          in: query
          schema:
            type: number
        - name: branch
          required: false
          in: query
          description: Filter by branch name (e.g. main, develop, feature/xyz)
          schema:
            type: string
        - name: hasAutofix
          required: false
          in: query
          description: >-
            Filter by autofix status: true = only with autofix, false = only
            without autofix, omit = all
          schema:
            type: boolean
      responses:
        '200':
          description: Container vulnerabilities retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProjectVulnerabilitiesResponseDto'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                example:
                  message: Unauthorized
                  statusCode: 401
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                example:
                  message: Forbidden
                  statusCode: 403
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
components:
  schemas:
    GetProjectVulnerabilitiesResponseDto:
      type: object
      properties:
        projectId:
          type: string
          description: Project unique identifier
        projectName:
          type: string
          description: Project name
        page:
          type: number
          description: Current page number
          minimum: 1
        limit:
          type: number
          description: Number of items per page
          minimum: 10
          maximum: 25
        totalPages:
          type: number
          description: Total number of pages
        sort:
          type: string
          description: Field used for sorting
          enum:
            - currentState
            - currentSeverity
            - currentPriority
            - language
            - createdAt
            - updateAt
        order:
          type: string
          description: Order of sorting
          enum:
            - asc
            - desc
        severity:
          type: array
          description: Filter by severity
          items:
            type: string
            enum:
              - critical
              - high
              - medium
              - low
        status:
          type: array
          description: Filter by vulnerability status
          items:
            type: string
            enum:
              - to_verify
              - resolved
              - confirmed
              - ignored
        language:
          type: string
          description: Filter by programming language
        priority:
          type: array
          description: Filter by priority levels
          items:
            type: string
            enum:
              - critical_urgent
              - urgent
              - normal
              - low
              - very_low
        vulnerabilities:
          description: List of vulnerabilities matching the filters
          additionalProperties: true
          type: array
          items:
            type: object
        total:
          type: number
          description: Total number of vulnerabilities found
        scanProjectInfo:
          description: Information about the ongoing or last scan
          allOf:
            - $ref: '#/components/schemas/ScanProjectInfoDto'
        vulnCountByType:
          description: Count of vulnerabilities grouped by type (SAST, SCA, IaC)
          allOf:
            - $ref: '#/components/schemas/CountVulnerabilitiesCountByType'
      required:
        - projectId
        - projectName
        - page
        - limit
        - totalPages
        - vulnerabilities
        - total
    ErrorDto:
      type: object
      properties:
        timestamp:
          type: string
          example: '2025-02-18T12:31:18.491Z'
          description: Timestamp of the error
        service:
          type: string
          example: AiService
          description: Name of the service where the error occurred
        method:
          type: string
          example: startConversation
          description: Method name where the error occurred
        message:
          type: string
          example: Invalid parameters provided
          description: Error message
        code:
          type: number
          example: 400
          description: HTTP status code
          minimum: 100
          maximum: 599
      required:
        - timestamp
        - service
        - method
        - message
        - code
    ScanProjectInfoDto:
      type: object
      properties:
        scanId:
          type: string
          description: Scan unique identifier
        state:
          type: string
          description: Scan state
          enum:
            - queued
            - running
            - completed
            - failed
        createAt:
          type: string
          description: Date when the scan was created
          format: date-time
        scanType:
          type: string
          description: Type of the scan (optional)
      required:
        - scanId
        - state
        - createAt
    CountVulnerabilitiesCountByType:
      type: object
      properties:
        sast:
          type: number
          description: Number of SAST vulnerabilities
        iac:
          type: number
          description: Number of IaC vulnerabilities
        sca:
          type: number
          description: Number of SCA vulnerabilities
        container:
          type: number
          description: Number of Container vulnerabilities
        cicd:
          type: number
          description: Number of CICD vulnerabilities
        secret:
          type: number
          description: Number of Secret vulnerabilities
      required:
        - sast
        - iac
        - sca
        - container
        - cicd
        - secret

````