For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remediation Agent

Project-level remediation agent configuration

Get project remediation config

get

Check whether project-level AI remediation is enabled

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 4ao
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: v
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: q
Responses
200

OK response.

application/json
enabledbooleanRequired

Whether project-level remediation is enabled

Example: true
pipeline_idstringOptional

Remediation pipeline identifier when enabled

Example: Voluptatem neque non tempore aliquam iste.
get/api/orgs/{org}/projects/{project}/remediation/config
GET /api/orgs/{org}/projects/{project}/remediation/config HTTP/1.1
Host: localhost:80
Harness-Account: q
Accept: */*
{
  "enabled": false,
  "pipeline_id": "Et maiores placeat aut incidunt in adipisci."
}

Enable project remediation

put

Enable AI remediation for all workspaces in the project, optionally attaching or replacing a remediation pipeline

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: or
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: e
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 1
Body
pipeline_idstringOptional

Optional remediation pipeline to attach or replace

Example: Placeat et labore consectetur.
Responses
200

OK response.

No content

put/api/orgs/{org}/projects/{project}/remediation/config
PUT /api/orgs/{org}/projects/{project}/remediation/config HTTP/1.1
Host: localhost:80
Harness-Account: 1
Content-Type: application/json
Accept: */*
Content-Length: 56

{
  "pipeline_id": "Earum iste ex quia nobis voluptatibus."
}

No content

Disable project remediation

delete

Disable project-level AI remediation

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 85x
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: bd3
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: y1f
Responses
200

OK response.

No content

delete/api/orgs/{org}/projects/{project}/remediation/config
DELETE /api/orgs/{org}/projects/{project}/remediation/config HTTP/1.1
Host: localhost:80
Harness-Account: y1f
Accept: */*

No content

Last updated

Was this helpful?