Harness · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Harness Enforcement V2 API

2 actions 2 updates phrasing extends openapi/harness-enforcementv2-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Harness's API. It is a proposal applied on top of the contract, not a document Harness publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 2

$.info
$.paths['/v2/orgs/{org}/projects/{project}/sbom/enforcement'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Harness Enforcement V2 API
  version: 1.0.0
extends: openapi/harness-enforcementv2-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 1
- target: $.paths['/v2/orgs/{org}/projects/{project}/sbom/enforcement'].post
  update:
    x-apievangelist-phrasing:
      intent: Enforce SBOM policies on an artifact
      effect: write
      questions:
      - Can I check an artifact's SBOM against my supply chain policies?
      - Which policy set gets applied when enforcing a normalized SBOM?
      instructions:
      - text: Enforce SBOM policies on artifact {artifact} in {org}/{project} as enforcement {enforcement}.
        slots:
          artifact: requestBody.artifact
          org: path.org
          project: path.project
          enforcement: requestBody.enforcement_id
      - text: Run SBOM enforcement {enforcement} for {artifact} using policy set {policy_set} in project {project} of {org}.
        slots:
          enforcement: requestBody.enforcement_id
          artifact: requestBody.artifact
          policy_set: requestBody.policy_set_ref
          project: path.project
          org: path.org
      method: generated
      generated: '2026-09-26'