---
title: "VulnerabilityInstance"
url: "https://nov18-dev.movespot.fyi/apis/konnect-service-catalog-dev-1/versions/d755cd20-1635-4c78-a12c-5f42a75fa20d/schemas/VulnerabilityInstance"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-service-catalog-dev-1/versions/d755cd20-1635-4c78-a12c-5f42a75fa20d.md

# VulnerabilityInstance

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.3.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    ServiceReference:
      description: Reference object containing information about a related service.
      type: object
      properties:
        id:
          description: The service ID.
          type: string
          format: uuid
          example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7
          readOnly: true
        name:
          description: The name of the Service.
          type: string
          example: user-svc
          maxLength: 120
          minLength: 1
          pattern: ^[0-9a-z.-]+$
        display_name:
          description: The display name of the Service.
          type: string
          example: User Service
          maxLength: 120
          minLength: 1
      required:
        - id
        - name
        - display_name
      title: ServiceReference
    VulnerabilityInstanceState:
      type: string
      example: open
      enum:
        - open
        - fixed
    VulnerabilitySource:
      type: object
      oneOf:
        - $ref: "#/components/schemas/ScanVulnerabilitySource"
    ScanVulnerabilitySource:
      type: object
      allOf:
        - $ref: "#/components/schemas/BaseVulnerabilitySource"
        - type: object
          properties:
            scan_key:
              type: string
            scan_tool:
              $ref: "#/components/schemas/VulnerabilityScanToolMetadata"
          required:
            - scan_key
            - scan_tool
    BaseVulnerabilitySource:
      type: object
      properties:
        type:
          type: string
          example: grype
        raw_finding:
          type: object
          additionalProperties: true
          nullable: true
      required:
        - type
        - raw_finding
    VulnerabilityScanToolMetadata:
      type: object
      properties:
        name:
          type: string
          example: Trivy
        version:
          type: string
          example: 1.0.0
          nullable: true
      required:
        - name
        - version
    VulnerabilityInstance:
      type: object
      properties:
        vulnerability_id:
          type: string
          format: uuid
          example: 5c3ddf1c-d34a-4860-83c1-180bc741e8d4
        service:
          $ref: "#/components/schemas/ServiceReference"
        state:
          $ref: "#/components/schemas/VulnerabilityInstanceState"
        sources:
          type: array
          items:
            $ref: "#/components/schemas/VulnerabilitySource"
        opened_at:
          type: string
          format: date-time
          example: 2025-01-01T20:41:45.068Z
          readOnly: true
        reopened_at:
          type: string
          format: date-time
          example: 2025-01-02T20:41:45.068Z
          nullable: true
          readOnly: true
        last_opened_at:
          type: string
          format: date-time
          example: 2025-01-02T20:41:45.068Z
          readOnly: true
        fixed_at:
          type: string
          format: date-time
          example: 2025-01-01T22:41:45.068Z
          nullable: true
          readOnly: true
        environment:
          type: string
          example: prod
          nullable: true
        region:
          type: string
          example: us-east-2
          nullable: true
        source_correlation_key:
          description: >
            Key used to correlate and group activity on this vulnerability
            instance across different sources (e.g. trivy, grype).
          type: string
          example: kong/repo-id
          nullable: true
      additionalProperties: false
      required:
        - vulnerability_id
        - service
        - state
        - sources
        - opened_at
        - reopened_at
        - last_opened_at
        - fixed_at
        - environment
        - region
        - source_correlation_key
      title: VulnerabilityInstance
```
