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: vri
projectstring · min: 1 · max: 128Required

Project is the project identifier.

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

Account is the internal customer account ID.

Example: aft
Responses
200

OK response.

application/json
enabledbooleanRequired

Whether project-level remediation is enabled

Example: false
pipeline_idstringOptional

Remediation pipeline identifier when enabled

Example: Officiis neque officiis soluta vel magnam molestias.
get/api/orgs/{org}/projects/{project}/remediation/config
GET /api/orgs/{org}/projects/{project}/remediation/config HTTP/1.1
Host: localhost:80
Harness-Account: aft
Accept: */*
{
  "enabled": true,
  "pipeline_id": "Earum deserunt."
}

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: 19
projectstring · min: 1 · max: 128Required

Project is the project identifier.

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

Account is the internal customer account ID.

Example: d7
Body
pipeline_idstringOptional

Optional remediation pipeline to attach or replace

Example: Blanditiis magni non esse officia repellendus non.
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: d7
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "pipeline_id": "Ipsam autem."
}

No content

Disable project remediation

delete

Disable project-level AI remediation

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

Org is the organisation identifier.

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

Project is the project identifier.

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

Account is the internal customer account ID.

Example: lz
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: lz
Accept: */*

No content

Last updated

Was this helpful?