List policy violations from an enforcement
One step with Harness. We can help you get access.
Look something up
List policy violations from an enforcement
with Harness
Works with AI assistants
Use Harness: its Harness Enforcement API lets you list policy violations from an enforcement in a single step (GET /v1/org/{org}/project/{project}/enforcement/{enforcement-id}/policy-violations). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Which components violated SBOM policy in a particular enforcement run?
- Can I search violations by text or filter to one image layer?
Say it to your AI assistant
- List policy violations for enforcement {enforcement-id} in {org}/{project}.
- Find violations in enforcement {enforcement-id} matching {search_text}.
For your developer
GET /v1/org/{org}/project/{project}/enforcement/{enforcement-id}/policy-violations in Harness Enforcement API. Full spec on APIs.io.