Sonatype Policy Violation Details API

Use this REST API to obtain the violation details, violation details across stages (cross stage), violations occurring due to transitive dependencies and all waivers applicable to a violation. Cross-stage policy violations are helpful in performance analysis like MTTR metrics.

Operations 9

GET /api/v2/policyViolations Get policy violations #
GET /api/v2/policyViolations/crossStage Get cross stage policy violation by constituent id #
GET /api/v2/policyViolations/crossStage/{violationId} Get cross stage policy violation by id #
GET /api/v2/policyViolations/transitive/{ownerType}/{ownerId}/stages/{stageId} Get transitive policy violations by owner stage component #
GET /api/v2/policyViolations/transitive/{ownerType}/{ownerId}/{scanId} Get transitive policy violations by app scan component #
GET /api/v2/policyViolations/{violationId}/applicableAutoWaiver Get applicable auto waiver #
GET /api/v2/policyViolations/{violationId}/applicableWaiverRequests Get applicable waiver requests #
GET /api/v2/policyViolations/{violationId}/applicableWaivers Get applicable waivers #
GET /api/v2/policyViolations/{violationId}/similarWaivers Get similar waivers #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sonatype-policy-violation-details-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sonatype-policy-violation-details-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sonatype Policy Violation Details API
  version: '1.0'
  description: 'Operations tagged Policy Violation Details across 2 of this provider''s published API definitions: sonatype-lifecycle-openapi.yml, sonatype-iq-openapi.yml. Each path carries the servers of the definition it was published in.'
security:
- BasicAuth: []
  BearerAuth: []
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sonatype/refs/heads/main/openapi/sonatype-policy-violation-details-api-openapi.yml