capabilities.work

Upload a policy scan to a repository

One step with Sonatype. We can help you get access.

Get something done

Upload a policy scan to a repository

Use Sonatype: its Sonatype Repositories API lets you upload a policy scan to a repository in a single step (POST /api/v2/repositories/{repositoryManagerId}/{repositoryId}/components). capabilities.work can help you get signed up and connected.

  • How do I upload a policy evaluation scan to a repository?
  • Can I attach a scan file to a component in a repository?
Say it to your AI assistant
  • Upload scan {scanFile} to repository {repositoryId} of manager {repositoryManagerId}.
  • Upload a policy scan for component {componentId} to {repositoryManagerId}/{repositoryId}.
For your developer

POST /api/v2/repositories/{repositoryManagerId}/{repositoryId}/components in Sonatype Repositories API. Full spec on APIs.io.