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

# Get Vulnerability Finding by ID

> Get a vulnerability finding by ID.



## OpenAPI

````yaml get /vulnerability_findings/{vulnerability_finding_id}
openapi: 3.1.0
info:
  title: Leen Security API V2
  version: 0.0.1
servers:
  - url: https://api.leen.dev/v2
    description: Production API V2
  - url: https://api.eu-c1.leen.dev/v2
    description: Production API (EU Region)
security: []
paths:
  /vulnerability_findings/{vulnerability_finding_id}:
    get:
      tags:
        - Vulnerability Findings
      summary: Get Vulnerability Finding by ID
      description: Get a vulnerability finding by ID.
      operationId: get_vulnerability_finding_by_id
      parameters:
        - name: vulnerability_finding_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Vulnerability Finding Id
        - name: use_pool
          in: query
          required: false
          schema:
            type: boolean
            default: true
            title: Use Pool
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VulnerabilityFindingV2RespModel'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - Connection-ID: []
          API-Key: []
components:
  schemas:
    VulnerabilityFindingV2RespModel:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Leen's UUID for the vulnerability finding
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          description: Title of the vulnerability finding
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Description of the vulnerability finding
        analytic_output:
          anyOf:
            - type: string
            - type: 'null'
          title: Analytic Output
          description: Analytic output of the vulnerability finding
        severity:
          allOf:
            - $ref: '#/components/schemas/VulnerabilityFindingV2Severity'
          description: Severity of the vulnerability finding
        state:
          allOf:
            - $ref: '#/components/schemas/VulnerabilityFindingV2State'
          description: State of the vulnerability finding
        type:
          allOf:
            - $ref: '#/components/schemas/VulnerabilityFindingV2Type'
          description: Type of the vulnerability finding
        first_seen:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: First Seen
          description: First seen of the vulnerability finding
        last_seen:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Seen
          description: Last seen of the vulnerability finding
        ticket:
          anyOf:
            - $ref: '#/components/schemas/VulnerabilityFindingV2Ticket'
            - type: 'null'
          description: Ticket of the vulnerability finding
        has_fix:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Has Fix
          description: Has fix of the vulnerability finding
        remediation:
          anyOf:
            - type: string
            - type: 'null'
          title: Remediation
          description: Remediation of the vulnerability finding
        product:
          anyOf:
            - $ref: '#/components/schemas/VulnerabilityFindingV2Product'
            - type: 'null'
          description: Product of the vulnerability finding
        analytic:
          anyOf:
            - $ref: '#/components/schemas/VulnerabilityFindingV2Analytic'
            - type: 'null'
          description: Analytic of the vulnerability finding
        resource_related:
          anyOf:
            - items:
                $ref: '#/components/schemas/VulnerabilityFindingV2ResourceRelated'
              type: array
            - type: 'null'
          title: Resource Related
          description: Resource related of the vulnerability finding
        state_updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: State Updated At
          description: Last time the state was updated for the finding
        resources:
          anyOf:
            - items:
                $ref: '#/components/schemas/ResourceRespModel'
              type: array
            - type: 'null'
          title: Resources
          description: List of resources associated with the finding
        vulnerabilities:
          anyOf:
            - items:
                $ref: '#/components/schemas/VulnCveRespModel'
              type: array
            - type: 'null'
          title: Vulnerabilities
          description: List of CVE Knowledge Base entries associated with the finding
        vendor_attributes:
          allOf:
            - $ref: '#/components/schemas/VulnerabilityFindingV2VendorAttributes'
          description: Vendor-specific attributes of the finding
      type: object
      required:
        - id
        - severity
        - state
        - type
        - vendor_attributes
      title: VulnerabilityFindingV2
    ErrorResponse:
      properties:
        type:
          type: string
          title: Type
          description: Type of error
        code:
          type: string
          title: Code
          description: Error code
        message:
          type: string
          title: Message
          description: Error message
        detail:
          items:
            type: object
          type: array
          title: Detail
          description: List of error dictionaries
      type: object
      required:
        - type
        - code
        - message
        - detail
      title: ErrorResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VulnerabilityFindingV2Severity:
      type: string
      enum:
        - CRITICAL
        - HIGH
        - MEDIUM
        - LOW
        - INFO
        - UNKNOWN
      title: VulnerabilityFindingV2Severity
    VulnerabilityFindingV2State:
      type: string
      enum:
        - OPEN
        - CLOSED
        - REOPENED
        - IGNORED
        - DELETED
        - UNKNOWN
      title: VulnerabilityFindingV2State
    VulnerabilityFindingV2Type:
      type: string
      enum:
        - DEPENDENCY
        - CODE
        - SECRET
        - CONTAINER
        - IAC
        - HOST
        - UNKNOWN
      title: VulnerabilityFindingV2Type
    VulnerabilityFindingV2Ticket:
      properties:
        uid:
          anyOf:
            - type: string
            - type: 'null'
          title: Uid
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
      type: object
      title: VulnerabilityFindingV2Ticket
    VulnerabilityFindingV2Product:
      properties:
        vendor_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Vendor Name
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
      type: object
      title: VulnerabilityFindingV2Product
    VulnerabilityFindingV2Analytic:
      properties:
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
        uid:
          anyOf:
            - type: string
            - type: 'null'
          title: Uid
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
      type: object
      title: VulnerabilityFindingV2Analytic
    VulnerabilityFindingV2ResourceRelated:
      properties:
        affected_code:
          anyOf:
            - $ref: >-
                #/components/schemas/VulnerabilityFindingV2ResourceRelatedAffectedCode
            - type: 'null'
        affected_image:
          anyOf:
            - type: string
            - type: 'null'
          title: Affected Image
        affected_os:
          anyOf:
            - type: string
            - type: 'null'
          title: Affected Os
        affected_package:
          anyOf:
            - $ref: >-
                #/components/schemas/VulnerabilityFindingV2ResourceRelatedAffectedPackage
            - type: 'null'
        affected_platform:
          anyOf:
            - type: string
            - type: 'null'
          title: Affected Platform
        port:
          anyOf:
            - type: integer
            - type: 'null'
          title: Port
        protocol:
          anyOf:
            - type: string
            - type: 'null'
          title: Protocol
        service:
          anyOf:
            - type: string
            - type: 'null'
          title: Service
      type: object
      title: VulnerabilityFindingV2ResourceRelated
    ResourceRespModel:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Leen's UUID for the resource
        name:
          type: string
          title: Name
          description: Resource name
        tags:
          anyOf:
            - items:
                $ref: '#/components/schemas/ResourceTag'
              type: array
            - type: 'null'
          title: Tags
          description: List of arbitrary tags/metadata for the resource
        type:
          allOf:
            - $ref: '#/components/schemas/ResourceTypeEnum'
          description: Type of the resource
        state:
          allOf:
            - $ref: '#/components/schemas/ResourceStateEnum'
          description: State of the resource
        groups:
          anyOf:
            - items:
                $ref: '#/components/schemas/ResourceGroup'
              type: array
            - type: 'null'
          title: Groups
          description: Groups associated with the resource
        data:
          anyOf:
            - $ref: '#/components/schemas/ResourceContainer'
            - $ref: '#/components/schemas/ResourceHost'
            - $ref: '#/components/schemas/ResourceImage'
            - $ref: '#/components/schemas/ResourceBranch'
            - type: 'null'
          title: Data
          description: Additional data or properties about the resource
        cloud_metadata:
          anyOf:
            - $ref: '#/components/schemas/ResourceCloudMetadata'
            - type: 'null'
          description: Cloud metadata for the resource
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
          description: URL associated with the resource
        vendor:
          type: string
          title: Vendor
          description: The source vendor of the resource
        first_seen:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: First Seen
          description: Timestamp when the resource was first seen
        last_seen:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Seen
          description: Timestamp when the resource was last seen
        vendor_attributes:
          allOf:
            - $ref: '#/components/schemas/ResourceVendorAttributes'
          description: Vendor-specific attributes like IDs
      type: object
      required:
        - id
        - name
        - type
        - state
        - vendor
        - vendor_attributes
      title: Resource
      description: Response model for returning resource details via an API endpoint.
    VulnCveRespModel:
      properties:
        uid:
          type: string
          title: Uid
        published:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Published
        last_modified:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Modified
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        source_identifier:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Identifier
        cvss_scores:
          anyOf:
            - items:
                $ref: '#/components/schemas/VulnCvssScoreRespModel'
              type: array
            - type: 'null'
          title: Cvss Scores
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        references:
          anyOf:
            - items:
                $ref: '#/components/schemas/NvdCveReference'
              type: array
            - type: 'null'
          title: References
        weaknesses:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Weaknesses
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - uid
      title: VulnCveRespModel
    VulnerabilityFindingV2VendorAttributes:
      properties:
        id:
          type: string
          title: Id
          description: Vendor-reported ID of the vulnerability finding
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
          description: URL to the finding in the vendor platform
        state:
          anyOf:
            - type: string
            - type: 'null'
          title: State
          description: Vendor-reported state of the vulnerability finding
        severity:
          anyOf:
            - type: string
            - type: 'null'
          title: Severity
          description: Vendor-reported severity of the vulnerability finding
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
          description: Timestamp when the vendor last updated the finding
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
          description: Timestamp when the vendor first created the finding
        vulnerability_identifiers:
          anyOf:
            - items:
                anyOf:
                  - $ref: '#/components/schemas/AppSecIssueVulnIdentifierCVE'
                  - $ref: '#/components/schemas/AppSecIssueVulnIdentifierCWE'
                  - $ref: '#/components/schemas/AppSecIssueVulnIdentifierOWASP'
                  - $ref: '#/components/schemas/AppSecIssueVulnIdentifierOther'
                  - $ref: '#/components/schemas/AppSecIssueVulnIdentifierGHSA'
              type: array
            - type: 'null'
          title: Vulnerability Identifiers
          description: >-
            List of additional vulnerability identifiers (CVE, CWE, …) reported
            by the vendor
        data:
          anyOf:
            - oneOf:
                - $ref: >-
                    #/components/schemas/GitlabGraphqlVulnerabilityVendorAttributesData
                - $ref: >-
                    #/components/schemas/UpwindVulnerabilityFindingVendorAttributesData
                - $ref: >-
                    #/components/schemas/CheckmarxVulnerabilityFindingVendorAttributesData
                - $ref: '#/components/schemas/SemgrepVendorAttributesData'
                - $ref: >-
                    #/components/schemas/AikidoVulnerabilityFindingVendorAttributesData
                - $ref: '#/components/schemas/ArnicaVendorAttributesData'
                - $ref: '#/components/schemas/QualysVulnerabilityVendorData'
                - $ref: >-
                    #/components/schemas/GitHubVulnerabilityFindingVendorAttributesData
                - $ref: '#/components/schemas/TenableVulnerabilityVendorData'
                - $ref: >-
                    #/components/schemas/OrcaVulnerabilityFindingVendorAttributesData
                - $ref: '#/components/schemas/WizCodeVendorAttributesData'
              discriminator:
                propertyName: vendor
                mapping:
                  AIKIDO:
                    $ref: >-
                      #/components/schemas/AikidoVulnerabilityFindingVendorAttributesData
                  ARNICA:
                    $ref: '#/components/schemas/ArnicaVendorAttributesData'
                  CHECKMARX:
                    $ref: >-
                      #/components/schemas/CheckmarxVulnerabilityFindingVendorAttributesData
                  GITHUB:
                    $ref: >-
                      #/components/schemas/GitHubVulnerabilityFindingVendorAttributesData
                  GITLAB:
                    $ref: >-
                      #/components/schemas/GitlabGraphqlVulnerabilityVendorAttributesData
                  ORCA:
                    $ref: >-
                      #/components/schemas/OrcaVulnerabilityFindingVendorAttributesData
                  SEMGREP:
                    $ref: '#/components/schemas/SemgrepVendorAttributesData'
                  UPWIND:
                    $ref: >-
                      #/components/schemas/UpwindVulnerabilityFindingVendorAttributesData
                  WIZ_CODE:
                    $ref: '#/components/schemas/WizCodeVendorAttributesData'
                  qualys:
                    $ref: '#/components/schemas/QualysVulnerabilityVendorData'
                  tenable:
                    $ref: '#/components/schemas/TenableVulnerabilityVendorData'
            - type: 'null'
          title: Data
          description: Vendor-specific data associated with the finding
      type: object
      required:
        - id
        - state
        - severity
      title: VulnerabilityFindingV2VendorAttributes
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    VulnerabilityFindingV2ResourceRelatedAffectedCode:
      properties:
        file_path:
          anyOf:
            - type: string
            - type: 'null'
          title: File Path
        start_line_number:
          anyOf:
            - type: integer
            - type: 'null'
          title: Start Line Number
        end_line_number:
          anyOf:
            - type: integer
            - type: 'null'
          title: End Line Number
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
      type: object
      title: VulnerabilityFindingV2ResourceRelatedAffectedCode
    VulnerabilityFindingV2ResourceRelatedAffectedPackage:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        version:
          anyOf:
            - type: string
            - type: 'null'
          title: Version
        package_manager:
          anyOf:
            - type: string
            - type: 'null'
          title: Package Manager
        reachability:
          anyOf:
            - $ref: '#/components/schemas/VulnerabilityFindingV2Reachability'
            - type: 'null'
      type: object
      title: VulnerabilityFindingV2ResourceRelatedAffectedPackage
    ResourceTag:
      properties:
        key:
          type: string
          title: Key
        value:
          type: string
          title: Value
        source:
          type: string
          enum:
            - wiz_vms
            - gitlab
            - checkmarx
            - mend
            - qualys
            - aws
            - insight_vm
            - orca
          title: Source
      type: object
      required:
        - key
        - value
        - source
      title: ResourceTag
    ResourceTypeEnum:
      type: string
      enum:
        - BRANCH
        - HOST
        - CONTAINER
        - DEPENDENCY
        - IMAGE
        - REPOSITORY
        - UNKNOWN
      title: ResourceTypeEnum
      description: Enumeration for resource types.
    ResourceStateEnum:
      type: string
      enum:
        - ACTIVE
        - IGNORED
        - DELETED
        - INACTIVE
        - QUARANTINED
        - UNKNOWN
      title: ResourceStateEnum
    ResourceGroup:
      properties:
        name:
          type: string
          title: Name
          description: The name of the group.
        uid:
          type: string
          title: Uid
          description: The unique identifier of the group.
      type: object
      required:
        - name
        - uid
      title: ResourceGroup
      description: ORM model representing a groups in a resource.
    ResourceContainer:
      properties:
        hostnames:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Hostnames
          description: List of hostnames for the container
        image:
          anyOf:
            - type: string
            - type: 'null'
          title: Image
          description: Container image identifier
      type: object
      title: ResourceContainer
      description: ORM model representing a container in a resource.
    ResourceHost:
      properties:
        image:
          anyOf:
            - type: string
            - type: 'null'
          title: Image
          description: Host image identifier
        fqdns:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Fqdns
          description: Fully qualified domain names of the host
        hostnames:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Hostnames
          description: List of hostnames for the host
        installed_software:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Installed Software
          description: Installed software on the host
        ipv4s:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Ipv4S
          description: IPv4 addresses associated with the host
        ipv6s:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Ipv6S
          description: IPv6 addresses associated with the host
        mac_addresses:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Mac Addresses
          description: MAC addresses associated with the host
        os_major_version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Os Major Version
          description: Major version of the host's operating system
        os_minor_version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Os Minor Version
          description: Minor version of the host's operating system
        os_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Os Version
          description: Full operating system version of the host
        platform:
          anyOf:
            - $ref: '#/components/schemas/ResourcePlatformEnum'
            - type: 'null'
          description: Platform on which the host is running
        agents:
          anyOf:
            - items:
                $ref: '#/components/schemas/ResourceHostAgent'
              type: array
            - type: 'null'
          title: Agents
          description: Agent information for the host
        ad_org_unit:
          anyOf:
            - type: string
            - type: 'null'
          title: Ad Org Unit
          description: Active Directory organizational unit
        ad_site_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Ad Site Name
          description: Active Directory site name
        ad_domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Ad Domain
          description: Active Directory domain
        ad_device_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Ad Device Id
          description: Active Directory device ID
        is_deleted:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Deleted
          description: Whether the host is deleted
        deleted_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Deleted At
          description: When the host was deleted
      type: object
      title: ResourceHost
      description: ORM model representing a host in a resource.
    ResourceImage:
      properties:
        labels:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Labels
          description: Image labels
        hash:
          anyOf:
            - $ref: '#/components/schemas/ResourceHash'
            - type: 'null'
          description: Image hash
      type: object
      title: ResourceImage
      description: ORM model representing an image in a resource.
    ResourceBranch:
      properties:
        code_repo:
          anyOf:
            - type: string
            - type: 'null'
          title: Code Repo
          description: Code repository name
        repo_branch_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Branch Name
          description: Repository branch name
      type: object
      title: ResourceBranch
      description: ORM model representing a branch in a resource.
    ResourceCloudMetadata:
      properties:
        account_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Id
          description: Cloud account identifier
        account_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Name
          description: Cloud account name
        cloud_provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Cloud Provider
          description: Cloud service provider
        image_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Id
          description: Cloud image identifier
        instance_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Instance Id
          description: Cloud instance identifier
        instance_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Instance Type
          description: Type of cloud instance
        region:
          anyOf:
            - type: string
            - type: 'null'
          title: Region
          description: Cloud region
        subnet_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Subnet Id
          description: Cloud subnet identifier
        vpc_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Vpc Id
          description: Cloud VPC identifier
      type: object
      title: ResourceCloudMetadata
      description: ORM model representing cloud metadata in a resource.
    ResourceVendorAttributes:
      properties:
        id:
          type: string
          title: Id
          description: Vendor specific ID
        data:
          anyOf:
            - $ref: '#/components/schemas/QualysDeviceVendorData'
            - $ref: '#/components/schemas/TenableDeviceVendorData'
            - $ref: '#/components/schemas/OrcaResourceVendorAttributesData'
            - type: 'null'
          title: Data
          description: Vendor specific data
      type: object
      required:
        - id
      title: ResourceVendorAttributes
    VulnCvssScoreRespModel:
      properties:
        version:
          type: string
          title: Version
        score:
          type: number
          title: Score
        vector:
          type: string
          title: Vector
        severity:
          anyOf:
            - type: string
            - type: 'null'
          title: Severity
      type: object
      required:
        - version
        - score
        - vector
      title: VulnCvssScoreRespModel
    NvdCveReference:
      properties:
        url:
          type: string
          title: Url
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
      type: object
      required:
        - url
      title: NvdCveReference
    AppSecIssueVulnIdentifierCVE:
      properties:
        type:
          type: string
          enum:
            - CVE
          const: CVE
          title: Type
        value:
          type: string
          title: Value
          examples:
            - CVE-2021-34527
      type: object
      required:
        - type
        - value
      title: AppSecIssueVulnIdentifierCVE
    AppSecIssueVulnIdentifierCWE:
      properties:
        type:
          type: string
          enum:
            - CWE
          const: CWE
          title: Type
        value:
          type: string
          title: Value
          examples:
            - CWE-79
      type: object
      required:
        - type
        - value
      title: AppSecIssueVulnIdentifierCWE
    AppSecIssueVulnIdentifierOWASP:
      properties:
        type:
          type: string
          enum:
            - OWASP
          const: OWASP
          title: Type
        value:
          type: string
          title: Value
          examples:
            - A06:2021
      type: object
      required:
        - type
        - value
      title: AppSecIssueVulnIdentifierOWASP
    AppSecIssueVulnIdentifierOther:
      properties:
        type:
          type: string
          enum:
            - OTHER
          const: OTHER
          title: Type
        value:
          type: string
          title: Value
          examples:
            - SNYK-CC-TF-130
      type: object
      required:
        - type
        - value
      title: AppSecIssueVulnIdentifierOther
    AppSecIssueVulnIdentifierGHSA:
      properties:
        type:
          type: string
          enum:
            - GHSA
          const: GHSA
          title: Type
        value:
          type: string
          title: Value
          examples:
            - GHSA-968p-4wvh-cqc8
      type: object
      required:
        - type
        - value
      title: AppSecIssueVulnIdentifierGHSA
    GitlabGraphqlVulnerabilityVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - GITLAB
          const: GITLAB
          title: Vendor
          default: GITLAB
        report_type:
          $ref: '#/components/schemas/GitlabGraphqlVulnerabilityReportTypeEnum'
        scanner:
          $ref: '#/components/schemas/GitlabGraphqlVulnerabilityScanner'
      type: object
      required:
        - report_type
        - scanner
      title: GitlabGraphqlVulnerabilityVendorAttributesData
    UpwindVulnerabilityFindingVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - UPWIND
          const: UPWIND
          title: Vendor
          default: UPWIND
        image:
          $ref: '#/components/schemas/UpwindVulnerabilityFindingImage'
      type: object
      required:
        - image
      title: UpwindVulnerabilityFindingVendorAttributesData
    CheckmarxVulnerabilityFindingVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - CHECKMARX
          const: CHECKMARX
          title: Vendor
          default: CHECKMARX
        alternate_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Alternate Id
        project_id:
          type: string
          title: Project Id
        image_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Name
        image_tag:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Tag
        image_file_path:
          anyOf:
            - type: string
            - type: 'null'
          title: Image File Path
        package_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Package Name
        package_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Package Version
      type: object
      required:
        - project_id
      title: CheckmarxVulnerabilityFindingVendorAttributesData
    SemgrepVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - SEMGREP
          const: SEMGREP
          title: Vendor
          default: SEMGREP
        line_of_code_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Line Of Code Url
        found_dependency_ecosystem:
          anyOf:
            - type: string
            - type: 'null'
          title: Found Dependency Ecosystem
        code_repo:
          anyOf:
            - type: string
            - type: 'null'
          title: Code Repo
        repo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Url
        repo_branch_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Branch Name
      type: object
      title: SemgrepVendorAttributesData
      description: >-
        Minimal Semgrep-specific structured data for
        ScopedVulnerabilityFindingV2VendorAttributes.
    AikidoVulnerabilityFindingVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - AIKIDO
          const: AIKIDO
          title: Vendor
          default: AIKIDO
        finding_type:
          $ref: '#/components/schemas/AikidoIssueTypeEnum'
        attack_surface_type:
          anyOf:
            - $ref: '#/components/schemas/AikidoIssueAttackSurfaceEnum'
            - type: 'null'
        attack_surface:
          anyOf:
            - $ref: '#/components/schemas/AikidoCodeRepository'
            - $ref: '#/components/schemas/AkikidoCloud'
            - $ref: '#/components/schemas/AikidoContainer'
            - type: 'null'
          title: Attack Surface
        code_repo:
          anyOf:
            - type: string
            - type: 'null'
          title: Code Repo
        repo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Url
        repo_branch_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Branch Name
      type: object
      required:
        - finding_type
      title: AikidoVulnerabilityFindingVendorAttributesData
    ArnicaVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - ARNICA
          const: ARNICA
          title: Vendor
          default: ARNICA
        rule_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Rule Id
        commit_hash:
          anyOf:
            - type: string
            - type: 'null'
          title: Commit Hash
        commit_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Commit Message
        commit_author:
          anyOf:
            - type: string
            - type: 'null'
          title: Commit Author
        asset_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Asset Link
        asset_hash:
          anyOf:
            - type: integer
            - type: 'null'
          title: Asset Hash
        code_repo:
          anyOf:
            - type: string
            - type: 'null'
          title: Code Repo
        repo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Url
        repo_branch_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Branch Name
      type: object
      title: ArnicaVendorAttributesData
    QualysVulnerabilityVendorData:
      properties:
        vendor:
          type: string
          enum:
            - qualys
          const: qualys
          title: Vendor
        unique_vulnerability_id:
          type: string
          title: Unique Vulnerability Id
        cve_list:
          anyOf:
            - items:
                type: object
              type: array
            - type: 'null'
          title: Cve List
        software_list:
          anyOf:
            - items:
                type: object
              type: array
            - type: 'null'
          title: Software List
      type: object
      required:
        - vendor
        - unique_vulnerability_id
      title: QualysVulnerabilityVendorData
    GitHubVulnerabilityFindingVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - GITHUB
          const: GITHUB
          title: Vendor
          default: GITHUB
        dismissed_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Dismissed Reason
        dismissed_comment:
          anyOf:
            - type: string
            - type: 'null'
          title: Dismissed Comment
        commit_sha:
          anyOf:
            - type: string
            - type: 'null'
          title: Commit Sha
        ref:
          anyOf:
            - type: string
            - type: 'null'
          title: Ref
        environment:
          anyOf:
            - type: string
            - type: 'null'
          title: Environment
        analysis_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Analysis Key
        classifications:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Classifications
        validity:
          anyOf:
            - type: string
            - type: 'null'
          title: Validity
        publicly_leaked:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Publicly Leaked
        multi_repo:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Multi Repo
        is_base64_encoded:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Base64 Encoded
        has_more_locations:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Has More Locations
        bypassed:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Bypassed
        bypassed_comment:
          anyOf:
            - type: string
            - type: 'null'
          title: Bypassed Comment
        resolution:
          anyOf:
            - type: string
            - type: 'null'
          title: Resolution
      type: object
      title: GitHubVulnerabilityFindingVendorAttributesData
    TenableVulnerabilityVendorData:
      properties:
        vendor:
          type: string
          enum:
            - tenable
          const: tenable
          title: Vendor
          default: tenable
        previous_vulnerability_state:
          anyOf:
            - type: string
            - type: 'null'
          title: Previous Vulnerability State
      type: object
      title: TenableVulnerabilityVendorData
    OrcaVulnerabilityFindingVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - ORCA
          const: ORCA
          title: Vendor
          default: ORCA
        patch_release_date:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Patch Release Date
        patched_versions:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Patched Versions
      type: object
      title: OrcaVulnerabilityFindingVendorAttributesData
    WizCodeVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - WIZ_CODE
          const: WIZ_CODE
          title: Vendor
          default: WIZ_CODE
        code_repo:
          anyOf:
            - type: string
            - type: 'null'
          title: Code Repo
        repo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Url
        repo_branch_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Repo Branch Name
        source_code_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Code Url
        cloud_platform:
          anyOf:
            - type: string
            - type: 'null'
          title: Cloud Platform
        cloud_provider_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Cloud Provider Url
        location_path:
          anyOf:
            - type: string
            - type: 'null'
          title: Location Path
        line_number:
          anyOf:
            - type: integer
            - type: 'null'
          title: Line Number
        related_issues:
          anyOf:
            - items:
                $ref: '#/components/schemas/WizRelatedIssuesNode'
              type: array
            - type: 'null'
          title: Related Issues
      type: object
      title: WizCodeVendorAttributesData
    VulnerabilityFindingV2Reachability:
      type: string
      enum:
        - REACHABLE
        - POTENTIALLY_REACHABLE
        - UNREACHABLE
        - UNKNOWN
      title: VulnerabilityFindingV2Reachability
    ResourcePlatformEnum:
      type: string
      enum:
        - WINDOWS
        - LINUX
        - MAC
        - UNKNOWN
      title: ResourcePlatformEnum
      description: Enumeration for resource platforms.
    ResourceHostAgent:
      properties:
        vendor:
          type: string
          title: Vendor
          description: Vendor of the agent
        product:
          type: string
          title: Product
          description: Product name of the agent
        version:
          anyOf:
            - type: string
            - type: 'null'
          title: Version
          description: Version of the agent
        signature_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Signature Version
          description: Signature version of the agent, usually related to EDR agents
        vendor_attributes:
          anyOf:
            - $ref: '#/components/schemas/ResourceHostAgentVendorAttributes'
            - type: 'null'
          description: Vendor-specific attributes of the agent
      type: object
      required:
        - vendor
        - product
      title: ResourceHostAgent
      description: ORM model representing agent information in a resource.
    ResourceHash:
      properties:
        algorithm:
          anyOf:
            - type: string
            - type: 'null'
          title: Algorithm
        value:
          anyOf:
            - type: string
            - type: 'null'
          title: Value
      type: object
      title: ResourceHash
    QualysDeviceVendorData:
      properties:
        vendor:
          type: string
          enum:
            - qualys
          const: qualys
          title: Vendor
        asset_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Asset Id
        host_id:
          type: string
          title: Host Id
        tracking_method:
          anyOf:
            - type: string
            - type: 'null'
          title: Tracking Method
      type: object
      required:
        - vendor
        - host_id
      title: QualysDeviceVendorData
    TenableDeviceVendorData:
      properties:
        vendor:
          type: string
          enum:
            - tenable
          const: tenable
          title: Vendor
          default: tenable
        is_licensed:
          type: boolean
          title: Is Licensed
        first_seen:
          anyOf:
            - type: string
            - type: 'null'
          title: First Seen
        last_seen:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Seen
      type: object
      required:
        - is_licensed
      title: TenableDeviceVendorData
    OrcaResourceVendorAttributesData:
      properties:
        vendor:
          type: string
          enum:
            - ORCA
          const: ORCA
          title: Vendor
          default: ORCA
        category:
          type: string
          title: Category
        subcategory:
          type: string
          title: Subcategory
        type:
          type: string
          title: Type
      type: object
      required:
        - category
        - subcategory
        - type
      title: OrcaResourceVendorAttributesData
    GitlabGraphqlVulnerabilityReportTypeEnum:
      type: string
      enum:
        - SAST
        - DEPENDENCY_SCANNING
        - CONTAINER_SCANNING
        - SECRET_DETECTION
      title: GitlabGraphqlVulnerabilityReportTypeEnum
    GitlabGraphqlVulnerabilityScanner:
      properties:
        id:
          type: string
          title: Id
        vendor:
          type: string
          title: Vendor
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - vendor
        - name
      title: GitlabGraphqlVulnerabilityScanner
    UpwindVulnerabilityFindingImage:
      properties:
        name:
          type: string
          title: Name
        uri:
          type: string
          title: Uri
        osName:
          anyOf:
            - type: string
            - type: 'null'
          title: Osname
        osVersion:
          anyOf:
            - type: string
            - type: 'null'
          title: Osversion
      type: object
      required:
        - name
        - uri
      title: UpwindVulnerabilityFindingImage
    AikidoIssueTypeEnum:
      type: string
      enum:
        - cloud
        - eol
        - iac
        - leaked_secret
        - malware
        - mobile
        - open_source
        - sast
        - surface_monitoring
        - scm_security
        - license
      title: AikidoIssueTypeEnum
    AikidoIssueAttackSurfaceEnum:
      type: string
      enum:
        - backend
        - cloud
        - docker_container
        - frontend
        - scm
        - cloud_instance
        - ''
      title: AikidoIssueAttackSurfaceEnum
    AikidoCodeRepository:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        external_repo_id:
          type: string
          title: External Repo Id
        provider:
          type: string
          title: Provider
        active:
          type: boolean
          title: Active
        branch:
          type: string
          title: Branch
      type: object
      required:
        - id
        - name
        - external_repo_id
        - provider
        - active
        - branch
      title: AikidoCodeRepository
    AkikidoCloud:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        provider:
          type: string
          title: Provider
        environment:
          type: string
          title: Environment
        external_id:
          type: string
          title: External Id
      type: object
      required:
        - id
        - name
        - provider
        - environment
        - external_id
      title: AkikidoCloud
    AikidoContainer:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        provider:
          type: string
          title: Provider
        registry_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Registry Name
      type: object
      required:
        - id
        - name
        - provider
      title: AikidoContainer
    WizRelatedIssuesNode:
      properties:
        nodes:
          anyOf:
            - items:
                $ref: '#/components/schemas/WizRelatedIssues'
              type: array
            - type: 'null'
          title: Nodes
      type: object
      title: WizRelatedIssuesNode
    ResourceHostAgentVendorAttributes:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
          description: Vendor ID of the agent
        policies:
          anyOf:
            - items:
                type: object
              type: array
            - type: 'null'
          title: Policies
          description: Policies associated with the agent
      type: object
      title: ResourceHostAgentVendorAttributes
    WizRelatedIssues:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        severity:
          anyOf:
            - type: string
            - type: 'null'
          title: Severity
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
      type: object
      title: WizRelatedIssues
  securitySchemes:
    Connection-ID:
      type: apiKey
      in: header
      name: X-CONNECTION-ID
    API-Key:
      type: apiKey
      in: header
      name: X-API-KEY

````