Record a policy enforcement violation
One step with Harness. We can help you get access.
Get something done
Record a policy enforcement violation
with Harness
Works with AI assistants
Use Harness: its Harness Enforcement API lets you record a policy enforcement violation in a single step (POST /v1/org/{org}/project/{project}/enforcement-result). 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.
- How does a pipeline record an individual component's policy violation?
- Can an enforcement result be marked as exempted?
Say it to your AI assistant
- Save a {violation_type} violation for image {image_name} under enforcement {enforcement_id} in {org}/{project}.
- Record violation details {violation_details} for artifact {artifact_id}.
For your developer
POST /v1/org/{org}/project/{project}/enforcement-result in Harness Enforcement API. Full spec on APIs.io.