Sonatype · Capability

Sonatype Lifecycle Public REST API — Vulnerability Details

Sonatype Lifecycle Public REST API — Vulnerability Details. 2 operations. Lead operation: Vulnerability Details. Self-contained Naftiko capability covering one Sonatype business surface.

Run with Naftiko SonatypeVulnerability Details

What You Can Do

POST
Getsecurityvulnerabilitydetails — Use this method to retrieve bulk details for vulnerabilies using authenticated or non-authenticated requests. A non-authenticated request will retrieve limited details for the vulnerability.
/v1/api/v2/vulnerabilities
GET
Getsecurityvulnerabilitydetails1 — Use this method to retrieve details for a vulnerability using authenticated or non-authenticated requests. A non-authenticated request will retrieve limited details for the vulnerability.
/v1/api/v2/vulnerabilities/{refid}

MCP Tools

use-this-method-retrieve-bulk

Use this method to retrieve bulk details for vulnerabilies using authenticated or non-authenticated requests. A non-authenticated request will retrieve limited details for the vulnerability.

read-only
use-this-method-retrieve-details

Use this method to retrieve details for a vulnerability using authenticated or non-authenticated requests. A non-authenticated request will retrieve limited details for the vulnerability.

read-only idempotent

Capability Spec

lifecycle-vulnerability-details.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Lifecycle Public REST API — Vulnerability Details
  description: 'Sonatype Lifecycle Public REST API — Vulnerability Details. 2 operations. Lead operation: Vulnerability Details.
    Self-contained Naftiko capability covering one Sonatype business surface.'
  tags:
  - Sonatype
  - Vulnerability Details
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SONATYPE_API_KEY: SONATYPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: lifecycle-vulnerability-details
    baseUri: ''
    description: Sonatype Lifecycle Public REST API — Vulnerability Details business capability. Self-contained, no shared
      references.
    resources:
    - name: api-v2-vulnerabilities
      path: /api/v2/vulnerabilities
      operations:
      - name: getsecurityvulnerabilitydetails
        method: POST
        description: Use this method to retrieve bulk details for vulnerabilies using authenticated or non-authenticated requests.
          A non-authenticated request will retrieve limited details for the vulnerability.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-vulnerabilities-refId
      path: /api/v2/vulnerabilities/{refId}
      operations:
      - name: getsecurityvulnerabilitydetails1
        method: GET
        description: Use this method to retrieve details for a vulnerability using authenticated or non-authenticated requests.
          A non-authenticated request will retrieve limited details for the vulnerability.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: refId
          in: path
          type: string
          description: Enter the vulnerability identifier (CVE ID or Sonatype Vulnerability Identifier)
          required: true
        - name: componentIdentifier
          in: query
          type: string
          description: Enter the component identifier.
        - name: identificationSource
          in: query
          type: string
          description: 'Enter the name of the component identification source (third-party) for this vulnerability. The response
            will retrieve vulnerability data from this third-party '
        - name: scanId
          in: query
          type: string
          description: Enter the scanId where the vulnerability was detected. The response will retrieve vulnerability data
            from the third-party data source and not HDS.
        - name: ownerType
          in: query
          type: string
          description: 'Enter the value for ownerType where this vulnerability was detected. The response will retrieve the
            vulnerability data from the third-party data source and not '
        - name: ownerId
          in: query
          type: string
          description: Enter the ownerId where this vulnerability was detected. The response will retrieve data from the third-party
            data source and not HDS.
    authentication:
      type: bearer
      token: '{{env.SONATYPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: lifecycle-vulnerability-details-rest
    port: 8080
    description: REST adapter for Sonatype Lifecycle Public REST API — Vulnerability Details. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/v2/vulnerabilities
      name: api-v2-vulnerabilities
      description: REST surface for api-v2-vulnerabilities.
      operations:
      - method: POST
        name: getsecurityvulnerabilitydetails
        description: Use this method to retrieve bulk details for vulnerabilies using authenticated or non-authenticated requests.
          A non-authenticated request will retrieve limited details for the vulnerability.
        call: lifecycle-vulnerability-details.getsecurityvulnerabilitydetails
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/vulnerabilities/{refid}
      name: api-v2-vulnerabilities-refid
      description: REST surface for api-v2-vulnerabilities-refId.
      operations:
      - method: GET
        name: getsecurityvulnerabilitydetails1
        description: Use this method to retrieve details for a vulnerability using authenticated or non-authenticated requests.
          A non-authenticated request will retrieve limited details for the vulnerability.
        call: lifecycle-vulnerability-details.getsecurityvulnerabilitydetails1
        with:
          refId: rest.refId
          componentIdentifier: rest.componentIdentifier
          identificationSource: rest.identificationSource
          scanId: rest.scanId
          ownerType: rest.ownerType
          ownerId: rest.ownerId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lifecycle-vulnerability-details-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Lifecycle Public REST API — Vulnerability Details. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: use-this-method-retrieve-bulk
      description: Use this method to retrieve bulk details for vulnerabilies using authenticated or non-authenticated requests.
        A non-authenticated request will retrieve limited details for the vulnerability.
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: lifecycle-vulnerability-details.getsecurityvulnerabilitydetails
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: use-this-method-retrieve-details
      description: Use this method to retrieve details for a vulnerability using authenticated or non-authenticated requests.
        A non-authenticated request will retrieve limited details for the vulnerability.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lifecycle-vulnerability-details.getsecurityvulnerabilitydetails1
      with:
        refId: tools.refId
        componentIdentifier: tools.componentIdentifier
        identificationSource: tools.identificationSource
        scanId: tools.scanId
        ownerType: tools.ownerType
        ownerId: tools.ownerId
      outputParameters:
      - type: object
        mapping: $.