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

Frontend

Endpoints that power the STO micro-frontend

get
/api/v2/frontend/all-issues/filters

Provide list of filters for a projects latest baseline scans

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Responses
200

OK response.

application/json
exploitabilityFlagbooleanRequired

Indicates if exploitability analysis is available (true if any scan uses Harness Code)

Example: true
issueCategoriesstring[]Optional

Distinct non-empty issue categories available for filtering in this project

Example: ["Insecure Direct Object Reference (AI SAST)","SQL Injection"]
reachabilityFlagbooleanRequired

Indicates if reachability analysis is available (true if any scan uses Harness Code)

Example: true
get/api/v2/frontend/all-issues/filters
GET /gateway/sto/api/v2/frontend/all-issues/filters?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "exploitabilityFlag": true,
  "issueCategories": [
    "Insecure Direct Object Reference (AI SAST)",
    "SQL Injection"
  ],
  "latestBaselineScans": [
    {
      "pipelineId": "pipeline_1",
      "scanTool": "owasp",
      "scanToolName": "OWASP",
      "targetId": "abcdef1234567890ghijkl",
      "targetName": "The Target",
      "targetType": "repository"
    },
    {
      "pipelineId": "pipeline_1",
      "scanTool": "owasp",
      "scanToolName": "OWASP",
      "targetId": "abcdef1234567890ghijkl",
      "targetName": "The Target",
      "targetType": "repository"
    }
  ],
  "reachabilityFlag": true
}
get
/api/v2/frontend/all-issues/issues

Provides a paginated list of issues for a project found in the latest baseline scans

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
targetIdsstringOptionalExample: target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
targetTypesstringOptionalExample: repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$
pipelineIdsstringOptionalExample: pipeline1,pipeline2Pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
scanToolsstringOptionalExample: owasp,zapPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
exemptionStatusesstringOptionalExample: None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$
severityOverridenstringOptional

Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.

Default: Yes,NoExample: YesPattern: ^(Yes|No)(,Yes|,No)*$
searchstring · max: 256OptionalExample: CWE-123
searchByIdstringOptional

Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.

Example: abcdef1234567890abcdefPattern: ^[a-zA-Z0-9_-]{22}$
issueTypesstringOptionalExample: SASTPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY|UNKNOWN)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY|,UNKNOWN)*$
statusesstringOptionalExample: Active,Exempted,RemediatedPattern: ^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$
reachabilitystringOptional

Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown-reachability' shows issues where all occurrences are unreachable or have no reachability data.

Example: reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$
exploitabilitystringOptional

Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.

Example: yesPattern: ^(yes|no)(,yes|,no)*$
aiTriagedstringOptional

Filter by AI triage verdict. Comma-separated list of enum values ('LikelyFP', 'LikelyTP', 'NotEvaluatedYet') or UI labels ('Likely FP', 'Likely TP', 'Not Evaluated Yet'). Issues with no triage data are excluded when this filter is set.

Example: Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$
categoriesstring · max: 4096Optional

Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.

Example: Insecure Direct Object Reference (AI SAST),(Blank)
epssstringOptional

EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)

Example: gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$
epssPercentilestringOptional

EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)

Example: gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$
inKevstringOptional

CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)

Example: truePattern: ^(all|true|false)(,true|,false)*$
Responses
200

OK response.

application/json
hasRulesbooleanRequired

Whether the account has at least one exemption rule. When false, clients can skip exemption rule evaluation (no rule-eval loaders).

Example: true
get/api/v2/frontend/all-issues/issues
GET /gateway/sto/api/v2/frontend/all-issues/issues?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "hasRules": true,
  "issues": [
    {
      "aiTriaged": "LikelyFP",
      "epssLastModified": "2025-05-01",
      "epssPercentile": 0.15,
      "epssScore": 0.035,
      "exemptionExpiration": 1651578240,
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "abcdef1234567890ghijkl",
      "issueType": "Voluptatem et quibusdam corporis laborum eum neque.",
      "lastDetected": 1634836529,
      "numOccurrences": 12,
      "numTargetsImpacted": 2,
      "overrides": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "reachability": "reachable",
      "severityCode": "High",
      "status": "Active",
      "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"
    },
    {
      "aiTriaged": "LikelyFP",
      "epssLastModified": "2025-05-01",
      "epssPercentile": 0.15,
      "epssScore": 0.035,
      "exemptionExpiration": 1651578240,
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "abcdef1234567890ghijkl",
      "issueType": "Voluptatem et quibusdam corporis laborum eum neque.",
      "lastDetected": 1634836529,
      "numOccurrences": 12,
      "numTargetsImpacted": 2,
      "overrides": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "reachability": "reachable",
      "severityCode": "High",
      "status": "Active",
      "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"
    },
    {
      "aiTriaged": "LikelyFP",
      "epssLastModified": "2025-05-01",
      "epssPercentile": 0.15,
      "epssScore": 0.035,
      "exemptionExpiration": 1651578240,
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "abcdef1234567890ghijkl",
      "issueType": "Voluptatem et quibusdam corporis laborum eum neque.",
      "lastDetected": 1634836529,
      "numOccurrences": 12,
      "numTargetsImpacted": 2,
      "overrides": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "reachability": "reachable",
      "severityCode": "High",
      "status": "Active",
      "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"
    }
  ],
  "pagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  }
}
get
/api/v2/frontend/all-issues/issues/{issueId}

Provides issue details for a project's latest baseline scans

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
issueIdstringRequired

The ID of the Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
exemptionStatusesstringOptionalExample: None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$
searchstring · max: 256OptionalExample: A Target Name
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
Responses
200

OK response.

application/json
descriptionstringRequired

Issue description

Example: Cumque rerum quas.
epssLastModifiedstringOptional

Last date the issue EPSS data was last modified

Example: 2025-05-01
epssPercentilenumber · doubleOptional

EPSS percentile of the issue CVE identifier

Example: 0.15
epssScorenumber · doubleOptional

EPSS score of the issue CVE identifier

Example: 0.035
exploitabilitystringOptional

Aggregate exploitability status of the issue across all impacted targets. 'yes' if any target has exploitable occurrences.

Example: yes
inKevbooleanOptional

True when any linked CVE is in the CISA KEV catalog

Example: true
issueTypestringOptional

Issue Type

Example: Assumenda est inventore recusandae quis molestiae.
lastDetectedinteger · int64Required

Timestamp of the last detection of this issue

Example: 1634836529
reachabilitystringOptional

Aggregate reachability status of the issue across all impacted targets. 'reachable' if any target has reachable occurrences.

Example: reachable
scanToolstringRequired

Product name of the scan tool used in this step

Example: owasp
severityCodestring · enumRequired

Severity code

Example: HighPossible values:
targetTypestringRequired

Target Type

Example: Laboriosam doloremque voluptas aspernatur.
titlestring · max: 128Required

Title of the Security Issue

Example: Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash
get/api/v2/frontend/all-issues/issues/{issueId}
GET /gateway/sto/api/v2/frontend/all-issues/issues/{issueId}?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "description": "Sapiente aliquam voluptatum autem voluptatem sint.",
  "epssLastModified": "2025-05-01",
  "epssPercentile": 0.15,
  "epssScore": 0.035,
  "exploitability": "yes",
  "impactedTargets": [
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "target1111111111111111",
      "lastDetected": 1634836529,
      "name": "The Target Name",
      "numOccurrences": 10,
      "pipelineId": "example_pipeline",
      "reachability": "reachable",
      "userEmail": "user@gmail.com",
      "userId": "Animi omnis eum provident voluptate et.",
      "userName": "firstname lastname",
      "variantName": "Dolore itaque."
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "target1111111111111111",
      "lastDetected": 1634836529,
      "name": "The Target Name",
      "numOccurrences": 10,
      "pipelineId": "example_pipeline",
      "reachability": "reachable",
      "userEmail": "user@gmail.com",
      "userId": "Animi omnis eum provident voluptate et.",
      "userName": "firstname lastname",
      "variantName": "Dolore itaque."
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "target1111111111111111",
      "lastDetected": 1634836529,
      "name": "The Target Name",
      "numOccurrences": 10,
      "pipelineId": "example_pipeline",
      "reachability": "reachable",
      "userEmail": "user@gmail.com",
      "userId": "Animi omnis eum provident voluptate et.",
      "userName": "firstname lastname",
      "variantName": "Dolore itaque."
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "target1111111111111111",
      "lastDetected": 1634836529,
      "name": "The Target Name",
      "numOccurrences": 10,
      "pipelineId": "example_pipeline",
      "reachability": "reachable",
      "userEmail": "user@gmail.com",
      "userId": "Animi omnis eum provident voluptate et.",
      "userName": "firstname lastname",
      "variantName": "Dolore itaque."
    }
  ],
  "inKev": true,
  "issueType": "Id voluptas fugit placeat repellat tempora cupiditate.",
  "lastDetected": 1634836529,
  "overrides": [
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    }
  ],
  "pagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  },
  "reachability": "reachable",
  "recentActivities": [
    {
      "actorName": "Priya Nair",
      "created": 1781391060,
      "id": "hist111111111111111111",
      "isAutoExpiry": false,
      "status": "Canceled"
    },
    {
      "actorName": "Priya Nair",
      "created": 1781391060,
      "id": "hist111111111111111111",
      "isAutoExpiry": false,
      "status": "Canceled"
    },
    {
      "actorName": "Priya Nair",
      "created": 1781391060,
      "id": "hist111111111111111111",
      "isAutoExpiry": false,
      "status": "Canceled"
    },
    {
      "actorName": "Priya Nair",
      "created": 1781391060,
      "id": "hist111111111111111111",
      "isAutoExpiry": false,
      "status": "Canceled"
    }
  ],
  "referenceIdentifiers": [
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    },
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    },
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    }
  ],
  "scanTool": "owasp",
  "severityCode": "High",
  "targetType": "Sequi cum.",
  "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"
}
get
/api/v2/frontend/all-issues/issues/{issueId}/targets/{targetId}

Provide list of filters for the latest scans of a baseline

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
issueIdstringRequired

The ID of the Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
targetIdstringRequired

Associated Target ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
exemptionStatusesstringOptionalExample: None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$
searchstring · max: 256OptionalExample: A Target Name
Responses
200

OK response.

application/json
aiTriagedstring · enumOptional

Aggregate AI triage verdict. 'LikelyFP' if every occurrence is FALSE_POSITIVE; 'LikelyTP' if any is TRUE_POSITIVE; 'NotEvaluatedYet' if only some are triaged. Field is absent when no occurrence has been triaged yet.

Example: LikelyFPPossible values:
aiTriagedReasoningstringOptional

Representative LLM reasoning quoted from one of the per-occurrence triaged verdicts (FP-verdict reasoning preferred). Field is absent when no occurrence has been triaged yet.

Example: The argument to path.join is __dirname, a constant, not user input.
descriptionstringRequired

Issue description

Example: Quas impedit dolorem recusandae ex fugiat.
exemptionIdstringOptional

ID of Security Test Exemption

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
exploitabilitystringOptional

Exploitability status of the issue for this target. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable.

Example: yes
issueTypestringOptional

Issue Type

Example: Rerum alias necessitatibus illum distinctio.
lastDetectedinteger · int64Required

Timestamp of the last detection of this issue

Example: 1634836529
reachabilitystringOptional

Reachability status of the issue for this target. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable.

Example: reachable
severityCodestring · enumRequired

Severity code

Example: HighPossible values:
targetNamestringRequired

The name of the target of the pipeline step's scan

Example: The Target
targetTypestringRequired

Target Type

Example: Dolorum qui qui sint qui assumenda.
targetVariantIdstringOptional

Associated Target Variant ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
titlestring · max: 128Required

Title of the Security Issue

Example: Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash
variantNamestringRequired

Variant name

Example: Facere consequatur nobis.
get/api/v2/frontend/all-issues/issues/{issueId}/targets/{targetId}
GET /gateway/sto/api/v2/frontend/all-issues/issues/{issueId}/targets/{targetId}?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "aiTriaged": "LikelyFP",
  "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
  "description": "Esse ducimus voluptas similique molestiae quod ut.",
  "exemptionId": "abcdef1234567890ghijkl",
  "exploitability": "yes",
  "issueType": "Maxime rerum corporis omnis molestiae.",
  "lastDetected": 1634836529,
  "occurrences": [
    {
      "Aut id id quam sed ipsum.": "Expedita blanditiis et nemo.",
      "Et eos.": "Explicabo vel.",
      "Ut omnis qui culpa et quisquam possimus.": "Tempore suscipit."
    },
    {
      "A non hic eaque molestiae.": "Consequuntur veritatis mollitia non.",
      "Rerum ipsum vel et.": "Sunt veritatis non at.",
      "Ut illo velit libero omnis.": "Deleniti sit enim reprehenderit beatae ut."
    },
    {
      "Consequatur libero sapiente sed.": "Alias voluptas aut eveniet qui voluptatum nihil.",
      "Incidunt aut et voluptas et.": "Numquam quo dolor et animi tenetur placeat."
    },
    {
      "Esse sapiente autem.": "At aut aut."
    }
  ],
  "pagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  },
  "reachability": "reachable",
  "referenceIdentifiers": [
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    },
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    },
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    },
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    }
  ],
  "severityCode": "High",
  "targetName": "The Target",
  "targetType": "Distinctio omnis.",
  "targetVariantId": "abcdef1234567890ghijkl",
  "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
  "variantName": "Quis ipsa enim repellendus."
}
get
/api/v2/frontend/all-issues/v2/counts

Returns severity-based and issue-type-based counts for the all-issues page using the pre-aggregated summary table

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
targetIdsstringOptionalExample: target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
targetTypesstringOptionalExample: repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$
pipelineIdsstringOptionalExample: pipeline1,pipeline2Pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
scanToolsstringOptionalExample: owasp,zapPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
exemptionStatusesstringOptionalExample: None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$
severityOverridenstringOptional

Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.

Default: Yes,NoExample: YesPattern: ^(Yes|No)(,Yes|,No)*$
searchstring · max: 256OptionalExample: CWE-123
searchByIdstringOptional

Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.

Example: abcdef1234567890abcdefPattern: ^[a-zA-Z0-9_-]{22}$
issueTypesstringOptionalExample: SASTPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY|UNKNOWN)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY|,UNKNOWN)*$
statusesstringOptionalExample: Active,Exempted,RemediatedPattern: ^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$
reachabilitystringOptional

Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown-reachability' shows issues where all occurrences are unreachable or have no reachability data.

Example: reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$
exploitabilitystringOptional

Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.

Example: yesPattern: ^(yes|no)(,yes|,no)*$
aiTriagedstringOptional

Filter by AI triage verdict. Comma-separated list of enum values ('LikelyFP', 'LikelyTP', 'NotEvaluatedYet') or UI labels ('Likely FP', 'Likely TP', 'Not Evaluated Yet'). Issues with no triage data are excluded when this filter is set.

Example: Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$
categoriesstring · max: 4096Optional

Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.

Example: Insecure Direct Object Reference (AI SAST),(Blank)
epssstringOptional

EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)

Example: gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$
epssPercentilestringOptional

EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)

Example: gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$
inKevstringOptional

CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)

Example: truePattern: ^(all|true|false)(,true|,false)*$
Responses
200

OK response.

application/json
get/api/v2/frontend/all-issues/v2/counts
GET /gateway/sto/api/v2/frontend/all-issues/v2/counts?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "issueTypeCounts": {
    "Exercitationem error nobis perspiciatis et vel molestiae.": 5535858262568911000,
    "Omnis hic reiciendis quo sed dolores.": 8851825498598118000,
    "Sed perspiciatis enim in voluptatibus autem placeat.": 2497240872324136000
  },
  "severityCounts": {
    "critical": 1,
    "high": 3,
    "ignored": 1,
    "info": 11,
    "low": 39,
    "medium": 17
  }
}
get
/api/v2/frontend/all-issues/v2/counts/total

Returns filter-independent total issue count and total occurrences for a project

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Responses
200

OK response.

application/json
totalFpCountinteger · int64Required

Filter-independent count of issues whose project-level AI-Triage rollup is LikelyFP.

Example: 6687443483597629000
totalIssuesinteger · int64Required

Total number of unique issues in the project (filter-independent)

Example: 8178295655254192000
totalOccurrencesinteger · int64Required

Total number of occurrences across all issues in the project (filter-independent)

Example: 146405500809943360
totalTpCountinteger · int64Required

Filter-independent count of issues whose project-level AI-Triage rollup is LikelyTP.

Example: 8052621204997321000
get/api/v2/frontend/all-issues/v2/counts/total
GET /gateway/sto/api/v2/frontend/all-issues/v2/counts/total?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "totalFpCount": 5209134044218328000,
  "totalIssues": 5670453657840666000,
  "totalOccurrences": 1885753578127273200,
  "totalTpCount": 2278104299280159700
}
get
/api/v2/frontend/all-issues/v2/issues

Provides a paginated list of issues for a project using the pre-aggregated summary table

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
targetIdsstringOptionalExample: target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
targetTypesstringOptionalExample: repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$
pipelineIdsstringOptionalExample: pipeline1,pipeline2Pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
scanToolsstringOptionalExample: owasp,zapPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
exemptionStatusesstringOptionalExample: None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$
severityOverridenstringOptional

Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.

Default: Yes,NoExample: YesPattern: ^(Yes|No)(,Yes|,No)*$
searchstring · max: 256OptionalExample: CWE-123
searchByIdstringOptional

Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.

Example: abcdef1234567890abcdefPattern: ^[a-zA-Z0-9_-]{22}$
issueTypesstringOptionalExample: SASTPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY|UNKNOWN)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY|,UNKNOWN)*$
statusesstringOptionalExample: Active,Exempted,RemediatedPattern: ^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$
reachabilitystringOptional

Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown-reachability' shows issues where all occurrences are unreachable or have no reachability data.

Example: reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$
exploitabilitystringOptional

Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.

Example: yesPattern: ^(yes|no)(,yes|,no)*$
aiTriagedstringOptional

Filter by AI triage verdict. Comma-separated list of enum values ('LikelyFP', 'LikelyTP', 'NotEvaluatedYet') or UI labels ('Likely FP', 'Likely TP', 'Not Evaluated Yet'). Issues with no triage data are excluded when this filter is set.

Example: Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$
categoriesstring · max: 4096Optional

Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.

Example: Insecure Direct Object Reference (AI SAST),(Blank)
epssstringOptional

EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)

Example: gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$
epssPercentilestringOptional

EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)

Example: gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$
inKevstringOptional

CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)

Example: truePattern: ^(all|true|false)(,true|,false)*$
Responses
200

OK response.

application/json
hasRulesbooleanRequired

Whether the account has at least one exemption rule. When false, clients can skip exemption rule evaluation (no rule-eval loaders).

Example: true
get/api/v2/frontend/all-issues/v2/issues
GET /gateway/sto/api/v2/frontend/all-issues/v2/issues?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "hasRules": true,
  "issues": [
    {
      "aiTriaged": "LikelyFP",
      "epssLastModified": "2025-05-01",
      "epssPercentile": 0.15,
      "epssScore": 0.035,
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "abcdef1234567890ghijkl",
      "issueType": "Atque sequi in.",
      "lastDetected": 1634836529,
      "numOccurrences": 12,
      "numTargetsImpacted": 2,
      "overrides": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "reachability": "reachable",
      "severityCode": "High",
      "status": "Remediated",
      "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"
    },
    {
      "aiTriaged": "LikelyFP",
      "epssLastModified": "2025-05-01",
      "epssPercentile": 0.15,
      "epssScore": 0.035,
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "abcdef1234567890ghijkl",
      "issueType": "Atque sequi in.",
      "lastDetected": 1634836529,
      "numOccurrences": 12,
      "numTargetsImpacted": 2,
      "overrides": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "reachability": "reachable",
      "severityCode": "High",
      "status": "Remediated",
      "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"
    }
  ],
  "pagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  }
}
get
/api/v2/frontend/all-issues/v2/issues/{issueId}

Provides issue details for a project using the pre-aggregated summary and detection tables

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
issueIdstringRequired

The ID of the Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
exemptionStatusesstringOptionalExample: None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$
searchstring · max: 256OptionalExample: A Target Name
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
Responses
200

OK response.

application/json
aiTriagedstring · enumOptional

Aggregate AI triage verdict. 'LikelyFP' if every occurrence is FALSE_POSITIVE; 'LikelyTP' if any is TRUE_POSITIVE; 'NotEvaluatedYet' if only some are triaged. Field is absent when no occurrence has been triaged yet.

Example: LikelyFPPossible values:
aiTriagedReasoningstringOptional

Representative LLM reasoning quoted from one of the per-occurrence triaged verdicts (FP-verdict reasoning preferred). Field is absent when no occurrence has been triaged yet.

Example: The argument to path.join is __dirname, a constant, not user input.
categorystringOptional

Qwiet AI issue category from issue.details.category

Example: Insecure Direct Object Reference (AI SAST)
descriptionstringRequired

Issue description

Example: Enim quia autem facilis nobis sed nisi.
epssLastModifiedstringOptional

Last date the issue EPSS data was last modified

Example: 2025-05-01
epssPercentilenumber · doubleOptional

EPSS percentile of the issue CVE identifier

Example: 0.15
epssScorenumber · doubleOptional

EPSS score of the issue CVE identifier

Example: 0.035
exemptionStatusstringOptional

Status of project scoped exemption for this issue

Example: Pending
exploitabilitystringOptional

Aggregate exploitability status of the issue across all impacted targets. 'yes' if any target has exploitable occurrences.

Example: yes
inKevbooleanOptional

True when any linked CVE is in the CISA KEV catalog

Example: true
issueTypestringOptional

Issue Type

Example: Saepe architecto nihil qui eum.
lastDetectedinteger · int64Required

Timestamp of the last detection of this issue

Example: 1634836529
reachabilitystringOptional

Aggregate reachability status of the issue across all impacted targets. 'reachable' if any target has reachable occurrences.

Example: reachable
scanToolstringRequired

Product name of the scan tool used in this step

Example: owasp
severityCodestring · enumRequired

Severity code

Example: HighPossible values:
statusstring · enumRequired

Issue Status

Example: RemediatedPossible values:
targetTypestringRequired

Target Type

Example: Sed aut.
titlestring · max: 128Required

Title of the Security Issue

Example: Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash
get/api/v2/frontend/all-issues/v2/issues/{issueId}
GET /gateway/sto/api/v2/frontend/all-issues/v2/issues/{issueId}?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "aiTriaged": "LikelyFP",
  "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
  "category": "Insecure Direct Object Reference (AI SAST)",
  "description": "Est non expedita.",
  "epssLastModified": "2025-05-01",
  "epssPercentile": 0.15,
  "epssScore": 0.035,
  "exemptionStatus": "Pending",
  "exploitability": "yes",
  "impactedTargets": [
    {
      "aiTriaged": "LikelyFP",
      "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "target1111111111111111",
      "lastDetected": 1634836529,
      "name": "The Target Name",
      "numOccurrences": 10,
      "pipelineId": "example_pipeline",
      "reachability": "reachable",
      "status": "Exempted",
      "userEmail": "user@gmail.com",
      "userId": "Et harum enim corrupti laborum modi quia.",
      "userName": "firstname lastname",
      "variantName": "Sit nam placeat itaque repellendus."
    },
    {
      "aiTriaged": "LikelyFP",
      "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatus": "Pending",
      "exploitability": "yes",
      "id": "target1111111111111111",
      "lastDetected": 1634836529,
      "name": "The Target Name",
      "numOccurrences": 10,
      "pipelineId": "example_pipeline",
      "reachability": "reachable",
      "status": "Exempted",
      "userEmail": "user@gmail.com",
      "userId": "Et harum enim corrupti laborum modi quia.",
      "userName": "firstname lastname",
      "variantName": "Sit nam placeat itaque repellendus."
    }
  ],
  "inKev": true,
  "issueType": "Sit est sed.",
  "lastDetected": 1634836529,
  "overrides": [
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    }
  ],
  "pagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  },
  "reachability": "reachable",
  "recentActivities": [
    {
      "actorName": "Priya Nair",
      "created": 1781391060,
      "id": "hist111111111111111111",
      "isAutoExpiry": false,
      "status": "Canceled"
    },
    {
      "actorName": "Priya Nair",
      "created": 1781391060,
      "id": "hist111111111111111111",
      "isAutoExpiry": false,
      "status": "Canceled"
    }
  ],
  "referenceIdentifiers": [
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    },
    {
      "id": "Voluptatibus consequatur reiciendis consequatur fugit tempora.",
      "type": "Est exercitationem modi neque."
    }
  ],
  "scanTool": "owasp",
  "severityCode": "High",
  "status": "Remediated",
  "targetType": "Sed blanditiis impedit quaerat ab.",
  "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash"
}
get
/api/v2/frontend/all-issues/v2/trend

Returns daily trend data of issue counts by status for a given time interval

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
scanToolsstringOptionalExample: owasp,zapPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
issueTypesstringOptionalExample: SASTPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY|UNKNOWN)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY|,UNKNOWN)*$
intervalDaysinteger · int64 · min: 1 · max: 90Optional

Number of days to fetch trend data for

Default: 7Example: 7
Responses
200

OK response.

application/json
get/api/v2/frontend/all-issues/v2/trend
GET /gateway/sto/api/v2/frontend/all-issues/v2/trend?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "trend": [
    {
      "active": 10,
      "day": 1710720000,
      "remediated": 5
    },
    {
      "active": 10,
      "day": 1710720000,
      "remediated": 5
    }
  ]
}
get
/api/v2/frontend/executions/trend

Returns per-execution occurrence severity counts (Finding Trend across Scans) for a target variant from execution_summary.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
targetVariantIdstringRequired

Associated Target Variant ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
issueTypesstringOptionalExample: SASTPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY|UNKNOWN)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY|,UNKNOWN)*$
intervalDaysinteger · int64 · min: 1 · max: 90Optional

Number of trailing days of executions to return

Default: 30Example: 30
Responses
200

OK response.

application/json
availableIssueTypesstring[]Required

Distinct issue types present in the selected time range, before applying the issueTypes filter

Example: ["SAST","SCA"]
get/api/v2/frontend/executions/trend
GET /gateway/sto/api/v2/frontend/executions/trend?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project&targetVariantId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "availableIssueTypes": [
    "SAST",
    "SCA"
  ],
  "trend": [
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "PIPELINE",
      "executionStartedAt": 1710720000,
      "executionUrl": "https://jenkins.example.com/job/42",
      "issueTypes": {
        "SAST": 10,
        "SCA": 5
      },
      "pipelineId": "Security_Gate",
      "severities": {
        "critical": 1,
        "high": 2,
        "info": 5,
        "low": 4,
        "medium": 3
      }
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "PIPELINE",
      "executionStartedAt": 1710720000,
      "executionUrl": "https://jenkins.example.com/job/42",
      "issueTypes": {
        "SAST": 10,
        "SCA": 5
      },
      "pipelineId": "Security_Gate",
      "severities": {
        "critical": 1,
        "high": 2,
        "info": 5,
        "low": 4,
        "medium": 3
      }
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "PIPELINE",
      "executionStartedAt": 1710720000,
      "executionUrl": "https://jenkins.example.com/job/42",
      "issueTypes": {
        "SAST": 10,
        "SCA": 5
      },
      "pipelineId": "Security_Gate",
      "severities": {
        "critical": 1,
        "high": 2,
        "info": 5,
        "low": 4,
        "medium": 3
      }
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "PIPELINE",
      "executionStartedAt": 1710720000,
      "executionUrl": "https://jenkins.example.com/job/42",
      "issueTypes": {
        "SAST": 10,
        "SCA": 5
      },
      "pipelineId": "Security_Gate",
      "severities": {
        "critical": 1,
        "high": 2,
        "info": 5,
        "low": 4,
        "medium": 3
      }
    }
  ]
}
get
/api/v2/frontend/exemption/{exemptionId}/issue-severity-change

Provides the severity change for an issue when approving occurrence level exemption

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
exemptionIdstringRequired

ID of Security Test Exemption

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Optional

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Optional

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
scanIdstringOptional

The Security Scan execution that detected this Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
issueIdstringRequired

The ID of the Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Responses
200

OK response.

application/json
currentSeverityCodestring · enumRequired

Current severity code of the issue

Example: HighPossible values:
newSeverityCodestring · enumRequired

New severity code of the issue

Example: MediumPossible values:
get/api/v2/frontend/exemption/{exemptionId}/issue-severity-change
GET /gateway/sto/api/v2/frontend/exemption/{exemptionId}/issue-severity-change?accountId=abcdef1234567890ghijkl&issueId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "currentSeverityCode": "High",
  "newSeverityCode": "Medium"
}
get
/api/v2/frontend/exemption/{exemptionId}/targets

Returns a list of impacted target details for an exemption id

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
exemptionIdstringRequired

ID of Security Test Exemption

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Optional

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Optional

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
searchstring · max: 256OptionalExample: CWE-123
Responses
200

OK response.

application/json

List of targets for an exemption

baselineTargetsExistbooleanRequired

Indicates if the targets have a baseline set, If no show no baseline card

Example: true
get/api/v2/frontend/exemption/{exemptionId}/targets
GET /gateway/sto/api/v2/frontend/exemption/{exemptionId}/targets?accountId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "baselineTargetsExist": true,
  "impactedTargets": [
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
      "lastScanned": 1634836529,
      "name": "NodeGoat",
      "numExemptedOccurrences": 150,
      "numOccurrences": 150,
      "orgId": "example_org",
      "orgName": "Organization Name",
      "parameters": {
        "branch": "main"
      },
      "pipelineId": "pipeline_1",
      "projectId": "example_project",
      "projectName": "Project Name",
      "scanId": "abcdef1234567890ghijkl",
      "targetId": "abcdef1234567890ghijkl",
      "type": "repository"
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
      "lastScanned": 1634836529,
      "name": "NodeGoat",
      "numExemptedOccurrences": 150,
      "numOccurrences": 150,
      "orgId": "example_org",
      "orgName": "Organization Name",
      "parameters": {
        "branch": "main"
      },
      "pipelineId": "pipeline_1",
      "projectId": "example_project",
      "projectName": "Project Name",
      "scanId": "abcdef1234567890ghijkl",
      "targetId": "abcdef1234567890ghijkl",
      "type": "repository"
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
      "lastScanned": 1634836529,
      "name": "NodeGoat",
      "numExemptedOccurrences": 150,
      "numOccurrences": 150,
      "orgId": "example_org",
      "orgName": "Organization Name",
      "parameters": {
        "branch": "main"
      },
      "pipelineId": "pipeline_1",
      "projectId": "example_project",
      "projectName": "Project Name",
      "scanId": "abcdef1234567890ghijkl",
      "targetId": "abcdef1234567890ghijkl",
      "type": "repository"
    },
    {
      "executionId": "abcdef1234567890ghijkl",
      "executionSource": "harness",
      "executionUrl": "https://jenkins.example.com/job/42",
      "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
      "lastScanned": 1634836529,
      "name": "NodeGoat",
      "numExemptedOccurrences": 150,
      "numOccurrences": 150,
      "orgId": "example_org",
      "orgName": "Organization Name",
      "parameters": {
        "branch": "main"
      },
      "pipelineId": "pipeline_1",
      "projectId": "example_project",
      "projectName": "Project Name",
      "scanId": "abcdef1234567890ghijkl",
      "targetId": "abcdef1234567890ghijkl",
      "type": "repository"
    }
  ],
  "pagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  }
}
post
/api/v2/frontend/exemptions

Provides data needed by the Global Exemptions Security Review page

Required scopes
This endpoint requires the following scopes:
Authorizations
X-Api-KeystringRequired
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Optional

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Optional

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
statusstring · enum · max: 8Required

Exemption status

Example: ApprovedPossible values:
searchstring · max: 128OptionalDefault: ""Example: Keyword search. Searches Title, Reason & Type
sortBystring · enum · max: 32Optional

Column to sort by (default: requestedOn)

Example: requestedOnPossible values:
sortOrderstring · enum · max: 4Optional

Sort order: ascending or descending (default: desc)

Example: descPossible values:
Header parameters
X-Api-KeystringOptional

Harness personal or service access token

Example: Sequi neque consequuntur.
Body
approvedBystringOptionalExample: user1111111111111111,user2222222222222222Pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
issueTypesstringOptionalExample: SAST,SCAPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY)*$
orgProjectFilterstring[]Optional

List of organization:project pairs

Example: ["org1:project1","org1:project2"]
pipelineIdsstringOptionalExample: pipeline1,pipeline2Pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
reasonsstringOptionalExample: Acceptable Risk,False PositivePattern: ^(Other|Fix Unavailable|Compensating Controls|False Positive|Acceptable Risk|Acceptable Use)(,Other|,Fix Unavailable|,Compensating Controls|,False Positive|,Acceptable Risk|,Acceptable Use)*$
rejectedBystringOptionalExample: user1111111111111111,user2222222222222222Pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
requestedBystringOptionalExample: user1111111111111111,user2222222222222222Pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
scannersstringOptionalExample: snyk,owaspPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$
scopesstringOptionalExample: PROJECT,PIPELINEPattern: ^(ACCOUNT|ORG|PROJECT|PIPELINE|TARGET)(,ACCOUNT|,ORG|,PROJECT|,PIPELINE|,TARGET)*$
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
targetIdsstringOptionalExample: target1111111111111111,target2222222222222222Pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
targetTypesstringOptionalExample: repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$
Responses
200

OK response.

application/json

Data needed by the Security Review page

post/api/v2/frontend/exemptions
POST /gateway/sto/api/v2/frontend/exemptions?accountId=abcdef1234567890ghijkl&status=Approved HTTP/1.1
Host: app.harness.io
X-Api-Key: YOUR_API_KEY
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 517

{
  "approvedBy": "user1111111111111111,user2222222222222222",
  "issueTypes": "SAST,SCA",
  "orgProjectFilter": [
    "org1:project1",
    "org1:project2"
  ],
  "pipelineIds": "pipeline1,pipeline2",
  "reasons": "Acceptable Risk,False Positive",
  "rejectedBy": "user1111111111111111,user2222222222222222",
  "requestedBy": "user1111111111111111,user2222222222222222",
  "scanners": "snyk,owasp",
  "scopes": "PROJECT,PIPELINE",
  "severityCodes": "Critical,High,Medium",
  "targetIds": "target1111111111111111,target2222222222222222",
  "targetTypes": "repository,container"
}
{
  "counts": {
    "Approved": 150,
    "Expired": 150,
    "Pending": 150,
    "Rejected": 150
  },
  "exemptions": [
    {
      "approverEmail": "user@harness.io",
      "approverId": "user111111111111111111",
      "approverName": "firstname lastname",
      "canApproveFor": [
        "ACCOUNT",
        "ORG",
        "PROJECT",
        "PIPELINE"
      ],
      "canCancel": true,
      "canCreate": true,
      "canReApprove": true,
      "canReject": true,
      "created": 1651578240,
      "expiration": 1651578240,
      "id": "abcdef1234567890ghijkl",
      "isDeleted": true,
      "isOccurrenceLevelExemption": true,
      "issueSummary": {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      },
      "lastModified": 1651578240,
      "link": "Upstream bug",
      "numOccurrences": 10,
      "orgId": "STO",
      "orgName": "Organization Name",
      "pendingChanges": {
        "durationDays": 7
      },
      "pipelineId": "pipeline_1",
      "projectId": "STO",
      "projectName": "Project Name",
      "reason": "Upstream bug",
      "requestedOn": 1651578240,
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname",
      "reviewedOn": 1651578240,
      "scope": "PROJECT",
      "status": "Approved",
      "targetId": "target2222222222222222",
      "targetName": "my-target",
      "totalOccurrences": 10,
      "type": "Other"
    },
    {
      "approverEmail": "user@harness.io",
      "approverId": "user111111111111111111",
      "approverName": "firstname lastname",
      "canApproveFor": [
        "ACCOUNT",
        "ORG",
        "PROJECT",
        "PIPELINE"
      ],
      "canCancel": true,
      "canCreate": true,
      "canReApprove": true,
      "canReject": true,
      "created": 1651578240,
      "expiration": 1651578240,
      "id": "abcdef1234567890ghijkl",
      "isDeleted": true,
      "isOccurrenceLevelExemption": true,
      "issueSummary": {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      },
      "lastModified": 1651578240,
      "link": "Upstream bug",
      "numOccurrences": 10,
      "orgId": "STO",
      "orgName": "Organization Name",
      "pendingChanges": {
        "durationDays": 7
      },
      "pipelineId": "pipeline_1",
      "projectId": "STO",
      "projectName": "Project Name",
      "reason": "Upstream bug",
      "requestedOn": 1651578240,
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname",
      "reviewedOn": 1651578240,
      "scope": "PROJECT",
      "status": "Approved",
      "targetId": "target2222222222222222",
      "targetName": "my-target",
      "totalOccurrences": 10,
      "type": "Other"
    }
  ],
  "pagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  }
}
post
/api/v2/frontend/exemptions/filters

Provide list of filters for exemptions

Required scopes
This endpoint requires the following scopes:
Authorizations
X-Api-KeystringRequired
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Optional

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Optional

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Header parameters
X-Api-KeystringOptional

Harness personal or service access token

Example: At recusandae quo ut vel a.
Body
orgProjectFilterstring[]Optional

List of organization:project pairs

Example: ["org1:project1","org1:project2"]
Responses
200

OK response.

application/json

Available filters for exemptions

pipelinesstring[]Required

List of pipeline IDs with exemptions

Example: ["Quam est asperiores ipsam impedit perferendis ipsa.","Sed aliquam et repudiandae."]
reasonsstring[]Required

List of exemption reasons

Example: ["Cupiditate sit quasi repudiandae culpa totam.","Debitis deserunt eos."]
post/api/v2/frontend/exemptions/filters
POST /gateway/sto/api/v2/frontend/exemptions/filters?accountId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
X-Api-Key: YOUR_API_KEY
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "orgProjectFilter": [
    "org1:project1",
    "org1:project2"
  ]
}
{
  "pipelines": [
    "Est reiciendis tempore culpa porro architecto eaque.",
    "Quos nisi eveniet sequi.",
    "Molestias culpa eos quia sit."
  ],
  "reasons": [
    "Sequi debitis similique.",
    "Quis qui rerum voluptate.",
    "Molestiae vero.",
    "Minima fugiat tenetur."
  ],
  "scanners": [
    {
      "scannerId": "snyk",
      "scannerName": "Snyk"
    },
    {
      "scannerId": "snyk",
      "scannerName": "Snyk"
    },
    {
      "scannerId": "snyk",
      "scannerName": "Snyk"
    }
  ],
  "targets": [
    {
      "targetId": "target1111111111111111",
      "targetName": "my-repo",
      "targetType": "repository"
    },
    {
      "targetId": "target1111111111111111",
      "targetName": "my-repo",
      "targetType": "repository"
    },
    {
      "targetId": "target1111111111111111",
      "targetName": "my-repo",
      "targetType": "repository"
    }
  ],
  "users": [
    {
      "email": "john.doe@example.com",
      "name": "John Doe",
      "userId": "user1111111111111111"
    },
    {
      "email": "john.doe@example.com",
      "name": "John Doe",
      "userId": "user1111111111111111"
    }
  ]
}
get
/api/v2/frontend/expiring-exemptions/{executionId}

Returns issue summaries that are going to expire

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
executionIdstringRequired

Harness pipeline execution ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
daysinteger · int64 · min: 1 · max: 9999Optional

Number of days of Baseline Issue counts to return

Default: 7Example: 1163
Responses
200

OK response.

application/json

List of issue summaries

get/api/v2/frontend/expiring-exemptions/{executionId}
GET /gateway/sto/api/v2/frontend/expiring-exemptions/{executionId}?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "issues": [
    {
      "aiTriaged": "LikelyFP",
      "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
      "category": "Insecure Direct Object Reference (AI SAST)",
      "currentStatus": "Pending",
      "epssLastModified": "2025-05-01",
      "epssPercentile": 0.15,
      "epssScore": 0.035,
      "exemptionCoverage": "PartiallyExempted",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatusAtScan": "Pending",
      "id": "abcdef1234567890ghijkl",
      "inKev": true,
      "isNew": true,
      "key": "json-schema@0.2.3",
      "lastDetected": 1634836529,
      "numNewOccurrences": 8792778859503945000,
      "numOccurrences": 1373034228967736600,
      "numRemediatedOccurrences": 8362657607324500000,
      "occurrenceInternalId": 12345,
      "originStatus": "approved",
      "origins": [
        "app",
        "base"
      ],
      "overrides": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "overridesAtScan": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "remAgentPrNumber": 13114,
      "remAgentPrStatus": "Open",
      "remAgentPrTitle": "[13114] Security fix",
      "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
      "remAgentRepository": "harness/nodegoat",
      "remAgentSummaryId": 42,
      "scanId": "scan111111111111111111",
      "severity": 8.5,
      "severityCode": "High",
      "status": "Remediated",
      "targetVariantName": "nodegoat:master",
      "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
      "type": "SAST"
    },
    {
      "aiTriaged": "LikelyFP",
      "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
      "category": "Insecure Direct Object Reference (AI SAST)",
      "currentStatus": "Pending",
      "epssLastModified": "2025-05-01",
      "epssPercentile": 0.15,
      "epssScore": 0.035,
      "exemptionCoverage": "PartiallyExempted",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatusAtScan": "Pending",
      "id": "abcdef1234567890ghijkl",
      "inKev": true,
      "isNew": true,
      "key": "json-schema@0.2.3",
      "lastDetected": 1634836529,
      "numNewOccurrences": 8792778859503945000,
      "numOccurrences": 1373034228967736600,
      "numRemediatedOccurrences": 8362657607324500000,
      "occurrenceInternalId": 12345,
      "originStatus": "approved",
      "origins": [
        "app",
        "base"
      ],
      "overrides": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "overridesAtScan": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "remAgentPrNumber": 13114,
      "remAgentPrStatus": "Open",
      "remAgentPrTitle": "[13114] Security fix",
      "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
      "remAgentRepository": "harness/nodegoat",
      "remAgentSummaryId": 42,
      "scanId": "scan111111111111111111",
      "severity": 8.5,
      "severityCode": "High",
      "status": "Remediated",
      "targetVariantName": "nodegoat:master",
      "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
      "type": "SAST"
    },
    {
      "aiTriaged": "LikelyFP",
      "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
      "category": "Insecure Direct Object Reference (AI SAST)",
      "currentStatus": "Pending",
      "epssLastModified": "2025-05-01",
      "epssPercentile": 0.15,
      "epssScore": 0.035,
      "exemptionCoverage": "PartiallyExempted",
      "exemptionId": "abcdef1234567890ghijkl",
      "exemptionStatusAtScan": "Pending",
      "id": "abcdef1234567890ghijkl",
      "inKev": true,
      "isNew": true,
      "key": "json-schema@0.2.3",
      "lastDetected": 1634836529,
      "numNewOccurrences": 8792778859503945000,
      "numOccurrences": 1373034228967736600,
      "numRemediatedOccurrences": 8362657607324500000,
      "occurrenceInternalId": 12345,
      "originStatus": "approved",
      "origins": [
        "app",
        "base"
      ],
      "overrides": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "overridesAtScan": [
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        },
        {
          "created": 1651578240,
          "fieldName": "severityCode",
          "impactedTargetId": "target1111111111111111",
          "originalFieldValue": "Low",
          "overrideFieldValue": "Low",
          "overrideId": "override1234",
          "reason": "Waiting on upstream bug fix",
          "requesterEmail": "user@harness.io",
          "requesterId": "user111111111111111111",
          "requesterName": "firstname lastname"
        }
      ],
      "remAgentPrNumber": 13114,
      "remAgentPrStatus": "Open",
      "remAgentPrTitle": "[13114] Security fix",
      "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
      "remAgentRepository": "harness/nodegoat",
      "remAgentSummaryId": 42,
      "scanId": "scan111111111111111111",
      "severity": 8.5,
      "severityCode": "High",
      "status": "Remediated",
      "targetVariantName": "nodegoat:master",
      "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
      "type": "SAST"
    }
  ]
}
get
/api/v2/frontend/issue-counts

Returns counts of active Security Issues for one or more Pipeline Executions

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
executionIdsstringRequired

Comma-separated list of Harness Execution IDs for which to count Security Issues

Example: abcdef1234567890ghijkl,mnopqr0987654321stuvwxPattern: [\dA-Za-z_-]{22}(,[\dA-Za-z_-]{22})*
Responses
200

OK response.

application/json
get/api/v2/frontend/issue-counts
GET /gateway/sto/api/v2/frontend/issue-counts?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project&executionIds=abcdef1234567890ghijkl%2Cmnopqr0987654321stuvwx HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "Cupiditate aut.": {
    "critical": 1,
    "high": 3,
    "ignored": 1,
    "info": 11,
    "low": 39,
    "medium": 17,
    "newCritical": 1,
    "newHigh": 3,
    "newInfo": 11,
    "newLow": 39,
    "newMedium": 17,
    "newUnassigned": 0,
    "unassigned": 0
  }
}
get
/api/v2/frontend/issue-exemption/{exemptionId}

Returns a specific issue exemption

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
exemptionIdstringRequired

ID of Security Test Exemption

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Optional

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Optional

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
viewOrgIdstring · max: 128Optional

Harness Organization ID of the user's current view context

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
viewProjectIdstring · max: 128Optional

Harness Project ID of the user's current view context

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
targetIdstringOptional

Harness STO Target ID

Example: abcdef1234567890ghijkl
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
Responses
200

OK response.

application/json
baseImageNamestringOptional

base image name of the issue

Example: baseImageName
baselineVariantIdstringOptional

The Baseline Target Variant related to this Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
createdinteger · int64Required

Unix timestamp at which the resource was created

Example: 1651578240
currentStatusstring · enumOptional

Current status of the Exemption

Example: RejectedPossible values:
epssLastModifiedstringOptional

Last date the issue EPSS data was last modified

Example: 2025-05-01
epssPercentilenumber · doubleOptional

EPSS percentile of the issue CVE identifier

Example: 0.15
epssScorenumber · doubleOptional

EPSS score of the issue CVE identifier

Example: 0.035
exemptionCoveragestringOptional

Indicates if the Security Issue was found to be Exempted or PartiallyExempted.

Example: PartiallyExempted
exemptionIdstringOptional

ID of Security Test Exemption

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
exemptionStatusAtScanstring · enumOptional

Exemption's status at the Security Scan created time

Example: PendingPossible values:
exploitabilitystringOptional

Exploitability status of the issue (yes or no)

Example: yes
fallbackSeverityCodestring · enumOptional

Issue-table severity code used as occurrence fallback at read time; omitted from API responses

Example: HighPossible values:
gracePeriodDaysinteger · int64Optional

Issue-level grace period rollup in days. Only populated when scan honorGracePeriod is enabled.

Example: 13
idstringRequired

Resource identifier

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
inGracebooleanOptional

True when the displayed severity is grace-sheltered: at the display-max severity band, all non-exempt occurrences are in grace. Only populated when scan honorGracePeriod is enabled.

Example: true
keystring · max: 512Required

Compression/deduplication key

Example: json-schema@0.2.3
lastDetectedinteger · int64Optional

Timestamp of the last detection of this issue

Example: 1634836529
numOccurrencesinteger · int32Optional

Indicates the number of Occurrences on the Issue

Example: 10
occurrenceIdinteger · int64 · min: 1OptionalExample: 12345
originStatusstringOptional

The status of the origin, either 'approved' or 'unapproved'

Example: approved
originsstring[]Optional

The origins of the issue

Example: ["app","base"]
productIdstringRequired

The scan tool that identified this Security Issue

Example: product1234567890abcdePattern: ^[a-zA-Z0-9_-]{22}$
reachabilitystringOptional

Reachability status of the issue (reachable or unreachable)

Example: reachable
severitynumber · floatRequired

Numeric severity, from 0 (lowest) to 10 (highest)

Example: 8.5
severityCodestring · enumRequired

Severity code

Example: HighPossible values:
statusstring · enumOptional

Indicates if the Security Issue was found to be remediated, ignored, etc.

Example: RemediatedPossible values:
subproductstringOptional

The subproduct that identified this Security Issue

Example: product
targetIdstringOptional

The Target that this Security Issue affects

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
targetNamestringOptional

The Name of the Target that this Security Issue affects

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
targetTypestring · enumRequired

The type of the Target that this Security Issue affects

Example: repositoryPossible values:
targetVariantIdstringOptional

The Target Variant that this Security Issue affects

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
targetVariantNamestringOptional

Name of the associated Target and Variant

Example: nodegoat:masterPattern: ^[a-zA-Z0-9_-]{22}$
titlestring · max: 128Required

Title of the Security Issue

Example: Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash
typestring · enumOptional

The type of vulnerability or quality issue for this Issue

Example: SASTPossible values:
get/api/v2/frontend/issue-exemption/{exemptionId}
GET /gateway/sto/api/v2/frontend/issue-exemption/{exemptionId}?accountId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "baseImageName": "baseImageName",
  "baselineVariantId": "abcdef1234567890ghijkl",
  "created": 1651578240,
  "currentStatus": "Pending",
  "details": {
    "package": "json-schema",
    "version": "v0.2.3"
  },
  "epssLastModified": "2025-05-01",
  "epssPercentile": 0.15,
  "epssScore": 0.035,
  "exemptionCoverage": "PartiallyExempted",
  "exemptionId": "abcdef1234567890ghijkl",
  "exemptionStatusAtScan": "Approved",
  "exploitability": "yes",
  "fallbackSeverityCode": "High",
  "gracePeriodDays": 13,
  "harnessAugmentation": {
    "Quis culpa iure et.": "Voluptate quod.",
    "Repellat culpa vero autem et voluptas.": "Aut sint est."
  },
  "id": "abcdef1234567890ghijkl",
  "inGrace": true,
  "key": "json-schema@0.2.3",
  "lastDetected": 1634836529,
  "numOccurrences": 10,
  "occurrenceId": 12345,
  "occurrences": [
    {
      "line": "42"
    },
    {
      "line": "666"
    }
  ],
  "occurrencesPagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  },
  "originStatus": "approved",
  "origins": [
    "app",
    "base"
  ],
  "overrides": [
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    }
  ],
  "overridesAtScan": [
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    },
    {
      "created": 1651578240,
      "fieldName": "severityCode",
      "impactedTargetId": "target1111111111111111",
      "originalFieldValue": "Low",
      "overrideFieldValue": "Low",
      "overrideId": "override1234",
      "reason": "Waiting on upstream bug fix",
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname"
    }
  ],
  "productId": "product1234567890abcde",
  "reachability": "reachable",
  "recentActivities": [
    {
      "actorName": "Priya Nair",
      "created": 1781391060,
      "id": "hist111111111111111111",
      "isAutoExpiry": false,
      "status": "Canceled"
    },
    {
      "actorName": "Priya Nair",
      "created": 1781391060,
      "id": "hist111111111111111111",
      "isAutoExpiry": false,
      "status": "Canceled"
    }
  ],
  "severity": 8.5,
  "severityCode": "High",
  "status": "Remediated",
  "subproduct": "product",
  "targetId": "abcdef1234567890ghijkl",
  "targetName": "abcdef1234567890ghijkl",
  "targetType": "repository",
  "targetVariantId": "abcdef1234567890ghijkl",
  "targetVariantName": "nodegoat:master",
  "targets": [
    {
      "targetId": "target2222222222222222",
      "targetName": "Target 1"
    }
  ],
  "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
  "type": "SAST"
}

Get dataflow for an occurrence

get
/api/v2/frontend/issues/{issueId}/occurrence/{occurrenceInternalId}/dataflow

Returns dataflow information for a specific occurrence. This endpoint is designed for async fetching of dataflow data separately from occurrence details.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
issueIdstringRequired

The ID of the Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
occurrenceInternalIdinteger · int64Required

Internal ID of the occurrence to fetch dataflow for

Example: 12345
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Responses
200

OK response.

application/json

Dataflow information for an occurrence

hasDataflowbooleanRequired

Indicates if dataflow data exists for this occurrence

Example: true
occurrenceInternalIdinteger · int64Required

Internal ID of the occurrence

Example: 12345
get/api/v2/frontend/issues/{issueId}/occurrence/{occurrenceInternalId}/dataflow
GET /gateway/sto/api/v2/frontend/issues/{issueId}/occurrence/{occurrenceInternalId}/dataflow?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "dataflow": {
    "Animi labore aperiam ea.": "Magni sint et nesciunt.",
    "Asperiores tenetur nulla sit.": "Neque quis accusantium quos quo.",
    "Iure qui quas.": "Voluptatem sed temporibus sed dignissimos maxime."
  },
  "hasDataflow": true,
  "occurrenceInternalId": 12345
}

Get SCA reachability for an occurrence

get
/api/v2/frontend/issues/{issueId}/occurrence/{occurrenceInternalId}/sca-reachability

Proxy Qwiet new-style SCA reachability for an occurrence. Same request as occurrence dataflow; success body is the unmodified Qwiet response.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
issueIdstringRequired

The ID of the Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
occurrenceInternalIdinteger · int64Required

Internal ID of the occurrence to fetch SCA reachability for

Example: 12345
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Responses
200

OK response.

application/json
Responsestring · binary
get/api/v2/frontend/issues/{issueId}/occurrence/{occurrenceInternalId}/sca-reachability
GET /gateway/sto/api/v2/frontend/issues/{issueId}/occurrence/{occurrenceInternalId}/sca-reachability?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary

Provision Qwiet trial license

post
/api/v2/frontend/licenses/qwiet/trial

Provisions a Qwiet trial license for the account. Calls Qwiet first, then updates the STO license in ng-manager.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Responses
200

OK response.

application/json

Result of Qwiet trial provisioning

messagestringRequired

Status message describing the result

Example: Qwiet trial license provisioned successfully
post/api/v2/frontend/licenses/qwiet/trial
POST /gateway/sto/api/v2/frontend/licenses/qwiet/trial?accountId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "message": "Qwiet trial license provisioned successfully"
}

Get Qwiet license usage

get
/api/v2/frontend/metrics/licenseUsage

Returns Qwiet license usage metrics

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Responses
200

OK response.

application/json

Qwiet license usage metrics

okbooleanRequired

Indicates if the request was successful

Example: true
get/api/v2/frontend/metrics/licenseUsage
GET /gateway/sto/api/v2/frontend/metrics/licenseUsage?accountId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true,
  "response": {
    "totalContributingDevelopers": 42
  }
}
get
/api/v2/frontend/overview/baselines

Provides baseline execution data needed by the Overview page

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Responses
200

OK response.

application/json
executionIdsstring[]Required

Harness Execution IDs of the most recent baseline scans

Example: ["Odio vitae ducimus vero.","Neque magni.","Nihil voluptatem molestias."]
get/api/v2/frontend/overview/baselines
GET /gateway/sto/api/v2/frontend/overview/baselines?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "executionIds": [
    "Consectetur quisquam molestias.",
    "Velit qui aliquid.",
    "Velit voluptas maiores praesentium eum ducimus."
  ]
}
get
/api/v2/frontend/overview/historical-counts

Provides historical issue data needed by the Overview page

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
daysinteger · int64 · min: 1 · max: 90Optional

Number of days of Baseline Issue counts to return

Default: 30Example: 37
Responses
200

OK response.

application/json
get/api/v2/frontend/overview/historical-counts
GET /gateway/sto/api/v2/frontend/overview/historical-counts?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "counts": [
    {
      "active": false,
      "counts": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      },
      "date": 1651578240,
      "detections": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      },
      "remediations": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      }
    },
    {
      "active": false,
      "counts": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      },
      "date": 1651578240,
      "detections": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      },
      "remediations": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      }
    },
    {
      "active": false,
      "counts": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      },
      "date": 1651578240,
      "detections": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      },
      "remediations": {
        "critical": 1,
        "high": 3,
        "ignored": 1,
        "info": 11,
        "low": 39,
        "medium": 17
      }
    }
  ]
}
get
/api/v2/frontend/pipeline-security/issues

Provide issue data needed by the PipelineSecurityView

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
executionIdstringRequired

Harness Execution ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
pageExistinginteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeExistinginteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 50Example: 50
pageNewinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeNewinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 50Example: 50
stagesstringOptionalExample: stage1,parent.stage2,stage3Pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$
stepsstringOptionalExample: stage.step1,parent.stage.step2,stage2.step3Pattern: ^([a-zA-Z0-9_]+\.[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$
targetIdsstringOptionalExample: target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
targetTypesstringOptionalExample: repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$
productNamesstringOptionalExample: owasp,zapPattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
includeExemptedbooleanOptionalDefault: trueExample: true
searchstring · max: 256OptionalExample: CWE-123
issueTypesstringOptionalExample: SASTPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY|UNKNOWN)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY|,UNKNOWN)*$
statusstringOptionalExample: active,remediatedPattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$
originsstringOptionalExample: appPattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$
originStatusesstringOptionalExample: approvedPattern: ^(approved|unapproved)(,approved|,unapproved)*$
epssstringOptional

EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)

Example: gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$
epssPercentilestringOptional

EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)

Example: gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$
inKevstringOptional

CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)

Example: truePattern: ^(all|true|false)(,true|,false)*$
severityOverriddenstringOptionalExample: YesPattern: ^(Yes|No)(,Yes|,No)*$
reachabilitystringOptional

Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.

Example: reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$
exploitabilitystringOptional

Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.

Example: yesPattern: ^(yes|no)(,yes|,no)*$
aiTriagedstringOptional

Filter by AI triage verdict. Comma-separated list of enum values ('LikelyFP', 'LikelyTP', 'NotEvaluatedYet') or UI labels ('Likely FP', 'Likely TP', 'Not Evaluated Yet'). Aggregation matches the all-issues page: an issue is LikelyTP if any in-scope occurrence is TRUE_POSITIVE, LikelyFP only when every in-scope occurrence is FALSE_POSITIVE, otherwise NotEvaluatedYet (also covers zero-verdict issues when this filter is selected).

Example: Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$
categoriesstring · max: 4096Optional

Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.

Example: Insecure Direct Object Reference (AI SAST),(Blank)
Responses
200

OK response.

application/json

Data needed by the PipelineSecurityView

get/api/v2/frontend/pipeline-security/issues
GET /gateway/sto/api/v2/frontend/pipeline-security/issues?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project&executionId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "counts": {
    "activeIssueCount": 6640954693013607000,
    "existing": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "new": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "remAgentPRClosedCount": 4060525593986811400,
    "remAgentPRMergedCount": 6939128800878907000,
    "remAgentPROpenCount": 4925351459101307000,
    "remediated": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "totalActive": 2353065727104609000,
    "totalApp": 6631149810113844000,
    "totalBase": 243975292344706200,
    "totalDeduplicationRate": 0.50045913,
    "totalExempted": 6033675440759896000,
    "totalNoLayer": 8839971465397730000,
    "totalNumOccurrence": 8723115429104575000,
    "totalPartiallyExempted": 244830501630303330,
    "totalPending": 8013758536851510000,
    "totalRejected": 1774871447296016600,
    "totalRemAgentPRCount": 1458561592956425200,
    "totalRemediated": 2583891170867556400
  },
  "existing": {
    "issues": [
      {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      },
      {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      }
    ],
    "pagination": {
      "link": "",
      "page": 4,
      "pageSize": 20,
      "totalItems": 230,
      "totalPages": 12
    }
  },
  "matchingSteps": [
    {
      "parentStageId": "stage_id",
      "stageId": "stage_id",
      "stepId": "step_id"
    },
    {
      "parentStageId": "stage_id",
      "stageId": "stage_id",
      "stepId": "step_id"
    },
    {
      "parentStageId": "stage_id",
      "stageId": "stage_id",
      "stepId": "step_id"
    }
  ],
  "new": {
    "issues": [
      {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      },
      {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      }
    ],
    "pagination": {
      "link": "",
      "page": 4,
      "pageSize": 20,
      "totalItems": 230,
      "totalPages": 12
    }
  }
}

Export security issues data

get
/api/v2/frontend/pipeline-security/issues/csv

Export pipeline security issues as JSON data for CSV generation

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
executionIdstringRequired

Harness Execution ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
pageExistinginteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeExistinginteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 50Example: 50
pageNewinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeNewinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 50Example: 50
stagesstringOptionalExample: stage1,parent.stage2,stage3Pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$
stepsstringOptionalExample: stage.step1,parent.stage.step2,stage2.step3Pattern: ^([a-zA-Z0-9_]+\.[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$
targetIdsstringOptionalExample: target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
targetTypesstringOptionalExample: repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$
productNamesstringOptionalExample: owasp,zapPattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
includeExemptedbooleanOptionalDefault: trueExample: true
searchstring · max: 256OptionalExample: CWE-123
issueTypesstringOptionalExample: SASTPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY|UNKNOWN)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY|,UNKNOWN)*$
statusstringOptionalExample: active,remediatedPattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$
originsstringOptionalExample: appPattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$
originStatusesstringOptionalExample: approvedPattern: ^(approved|unapproved)(,approved|,unapproved)*$
epssstringOptional

EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)

Example: gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$
epssPercentilestringOptional

EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)

Example: gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$
inKevstringOptional

CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)

Example: truePattern: ^(all|true|false)(,true|,false)*$
severityOverriddenstringOptionalExample: YesPattern: ^(Yes|No)(,Yes|,No)*$
reachabilitystringOptional

Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.

Example: reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$
exploitabilitystringOptional

Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.

Example: yesPattern: ^(yes|no)(,yes|,no)*$
aiTriagedstringOptional

Filter by AI triage verdict. Comma-separated list of enum values ('LikelyFP', 'LikelyTP', 'NotEvaluatedYet') or UI labels ('Likely FP', 'Likely TP', 'Not Evaluated Yet'). Aggregation matches the all-issues page: an issue is LikelyTP if any in-scope occurrence is TRUE_POSITIVE, LikelyFP only when every in-scope occurrence is FALSE_POSITIVE, otherwise NotEvaluatedYet (also covers zero-verdict issues when this filter is selected).

Example: Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$
categoriesstring · max: 4096Optional

Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.

Example: Insecure Direct Object Reference (AI SAST),(Blank)
Responses
200

OK response.

application/json
executionIdstringRequired

Execution ID for this export

Example: Placeat rerum perferendis laboriosam aut velit accusantium.
filenamestringRequired

Suggested filename for download

Example: Nulla ut et.
headersstring[]Required

CSV column headers

Example: ["Voluptatem et vitae vel ullam rem omnis.","Ut ut.","Velit laudantium excepturi."]
totalRowsinteger · int64Required

Total number of data rows

Example: 2833597844172476000
get/api/v2/frontend/pipeline-security/issues/csv
GET /gateway/sto/api/v2/frontend/pipeline-security/issues/csv?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project&executionId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    [
      "Et autem voluptatum quia modi voluptas.",
      "Et velit nostrum omnis qui qui.",
      "Laborum provident impedit accusamus quia cupiditate animi.",
      "Nostrum ipsam eius delectus dolores."
    ],
    [
      "Consequatur deserunt.",
      "Debitis commodi sit."
    ]
  ],
  "executionId": "Qui quibusdam molestiae atque.",
  "filename": "Voluptas minima consequuntur non aut laudantium.",
  "headers": [
    "Eius et praesentium.",
    "Numquam harum."
  ],
  "totalRows": 5826124642853091000
}
get
/api/v2/frontend/pipeline-security/steps

Provide step data needed by the PipelineSecurityView

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
executionIdstringRequired

Harness Execution ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Responses
200

OK response.

application/json
exploitabilityFlagbooleanRequired

Indicates if exploitability analysis is available (true if any step uses Harness Code)

Example: true
issueCategoriesstring[]Optional

Distinct non-empty issue categories present in this pipeline execution

Example: ["Insecure Direct Object Reference (AI SAST)","SQL Injection"]
reachabilityFlagbooleanRequired

Indicates if reachability analysis is available (true if any step uses Harness Code)

Example: true
get/api/v2/frontend/pipeline-security/steps
GET /gateway/sto/api/v2/frontend/pipeline-security/steps?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project&executionId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "exploitabilityFlag": true,
  "issueCategories": [
    "Insecure Direct Object Reference (AI SAST)",
    "SQL Injection"
  ],
  "reachabilityFlag": true,
  "steps": [
    {
      "baselineVariant": "branch: main",
      "parentStageId": "stage_id",
      "scanId": "scan111111111111111111",
      "scanTool": "owasp",
      "scanToolName": "OWASP",
      "stageId": "stage_id",
      "stepId": "step_id",
      "subproduct": "product",
      "targetId": "target1111111111111111",
      "targetName": "The Target",
      "targetType": "repository",
      "targetVariant": "branch: feature"
    },
    {
      "baselineVariant": "branch: main",
      "parentStageId": "stage_id",
      "scanId": "scan111111111111111111",
      "scanTool": "owasp",
      "scanToolName": "OWASP",
      "stageId": "stage_id",
      "stepId": "step_id",
      "subproduct": "product",
      "targetId": "target1111111111111111",
      "targetName": "The Target",
      "targetType": "repository",
      "targetVariant": "branch: feature"
    },
    {
      "baselineVariant": "branch: main",
      "parentStageId": "stage_id",
      "scanId": "scan111111111111111111",
      "scanTool": "owasp",
      "scanToolName": "OWASP",
      "stageId": "stage_id",
      "stepId": "step_id",
      "subproduct": "product",
      "targetId": "target1111111111111111",
      "targetName": "The Target",
      "targetType": "repository",
      "targetVariant": "branch: feature"
    },
    {
      "baselineVariant": "branch: main",
      "parentStageId": "stage_id",
      "scanId": "scan111111111111111111",
      "scanTool": "owasp",
      "scanToolName": "OWASP",
      "stageId": "stage_id",
      "stepId": "step_id",
      "subproduct": "product",
      "targetId": "target1111111111111111",
      "targetName": "The Target",
      "targetType": "repository",
      "targetVariant": "branch: feature"
    }
  ]
}
get
/api/v2/frontend/pipeline-security/v2/issues

Provide a single combined, paginated list of pipeline security issues (new-first, then existing) for the PipelineSecurityView

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
executionIdstringRequired

Harness Execution ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
stagesstringOptionalExample: stage1,parent.stage2,stage3Pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$
stepsstringOptionalExample: stage.step1,parent.stage.step2,stage2.step3Pattern: ^([a-zA-Z0-9_]+\.[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$
targetIdsstringOptionalExample: target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$
targetTypesstringOptionalExample: repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$
productNamesstringOptionalExample: owasp,zapPattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
includeExemptedbooleanOptionalDefault: trueExample: true
searchstring · max: 256OptionalExample: CWE-123
issueTypesstringOptionalExample: SASTPattern: ^(SAST|DAST|SCA|IAC|SECRET|MISCONFIG|BUG_SMELLS|CODE_SMELLS|CODE_COVERAGE|EXTERNAL_POLICY|UNKNOWN)(,SAST|,DAST|,SCA|,IAC|,SECRET|,MISCONFIG|,BUG_SMELLS|,CODE_SMELLS|,CODE_COVERAGE|,EXTERNAL_POLICY|,UNKNOWN)*$
statusstringOptionalExample: active,remediatedPattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$
originsstringOptionalExample: appPattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$
originStatusesstringOptionalExample: approvedPattern: ^(approved|unapproved)(,approved|,unapproved)*$
epssstringOptional

EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)

Example: gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$
epssPercentilestringOptional

EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)

Example: gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$
inKevstringOptional

CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)

Example: truePattern: ^(all|true|false)(,true|,false)*$
severityOverriddenstringOptionalExample: YesPattern: ^(Yes|No)(,Yes|,No)*$
reachabilitystringOptional

Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.

Example: reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$
exploitabilitystringOptional

Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.

Example: yesPattern: ^(yes|no)(,yes|,no)*$
aiTriagedstringOptional

Filter by AI triage verdict. Comma-separated list of enum values ('LikelyFP', 'LikelyTP', 'NotEvaluatedYet') or UI labels ('Likely FP', 'Likely TP', 'Not Evaluated Yet'). Aggregation matches the all-issues page: an issue is LikelyTP if any in-scope occurrence is TRUE_POSITIVE, LikelyFP only when every in-scope occurrence is FALSE_POSITIVE, otherwise NotEvaluatedYet (also covers zero-verdict issues when this filter is selected).

Example: Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$
categoriesstring · max: 4096Optional

Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.

Example: Insecure Direct Object Reference (AI SAST),(Blank)
detectionTypestringOptional

Filter by detection type. 'new' shows only issues not present in the baseline/previous scan. 'existing' shows only issues that were already present. Comma-separated values are ORed.

Example: newPattern: ^(new|existing)(,new|,existing)*$
isRemediationAgentTabbooleanOptional

When true (and AST_REMEDIATION_AGENT FF on), return only issues whose current-execution occurrences intersect remediation-agent issue_augmentation. Previous-scan comparison is restricted to those issues so remediated (before-only) rows are omitted.

Default: falseExample: true
remAgentSummaryIdinteger · int64Optional

When set with isRemediationAgentTab, restrict rem-agent issues to occurrences linked to this remediation_agent_summary.internal_id that still appear on current-execution scans.

Example: 42
Responses
200

OK response.

application/json

Combined, paginated list of pipeline security issues for the PipelineSecurityView

get/api/v2/frontend/pipeline-security/v2/issues
GET /gateway/sto/api/v2/frontend/pipeline-security/v2/issues?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project&executionId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "counts": {
    "activeIssueCount": 6640954693013607000,
    "existing": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "new": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "remAgentPRClosedCount": 4060525593986811400,
    "remAgentPRMergedCount": 6939128800878907000,
    "remAgentPROpenCount": 4925351459101307000,
    "remediated": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "totalActive": 2353065727104609000,
    "totalApp": 6631149810113844000,
    "totalBase": 243975292344706200,
    "totalDeduplicationRate": 0.50045913,
    "totalExempted": 6033675440759896000,
    "totalNoLayer": 8839971465397730000,
    "totalNumOccurrence": 8723115429104575000,
    "totalPartiallyExempted": 244830501630303330,
    "totalPending": 8013758536851510000,
    "totalRejected": 1774871447296016600,
    "totalRemAgentPRCount": 1458561592956425200,
    "totalRemediated": 2583891170867556400
  },
  "issues": {
    "issues": [
      {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      },
      {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      }
    ],
    "pagination": {
      "link": "",
      "page": 4,
      "pageSize": 20,
      "totalItems": 230,
      "totalPages": 12
    }
  },
  "matchingSteps": [
    {
      "parentStageId": "stage_id",
      "stageId": "stage_id",
      "stepId": "step_id"
    },
    {
      "parentStageId": "stage_id",
      "stageId": "stage_id",
      "stepId": "step_id"
    },
    {
      "parentStageId": "stage_id",
      "stageId": "stage_id",
      "stepId": "step_id"
    }
  ],
  "remediationCounts": {
    "activeIssueCount": 6640954693013607000,
    "existing": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "new": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "remAgentPRClosedCount": 4060525593986811400,
    "remAgentPRMergedCount": 6939128800878907000,
    "remAgentPROpenCount": 4925351459101307000,
    "remediated": {
      "active": 150,
      "critical": 1,
      "high": 3,
      "ignored": 1,
      "info": 11,
      "low": 39,
      "medium": 17
    },
    "totalActive": 2353065727104609000,
    "totalApp": 6631149810113844000,
    "totalBase": 243975292344706200,
    "totalDeduplicationRate": 0.50045913,
    "totalExempted": 6033675440759896000,
    "totalNoLayer": 8839971465397730000,
    "totalNumOccurrence": 8723115429104575000,
    "totalPartiallyExempted": 244830501630303330,
    "totalPending": 8013758536851510000,
    "totalRejected": 1774871447296016600,
    "totalRemAgentPRCount": 1458561592956425200,
    "totalRemediated": 2583891170867556400
  }
}
get
/api/v2/frontend/remediation-agent/activities

List remediation-agent PR activities for pipeline scans of this execution (same scan aggregation as pipeline counts: STO_AGGREGATE_RETRY_EXECUTIONS / STO_AGGREGATE_CHAIN_EXECUTIONS), ordered by remediation_agent_summary.created DESC. total matches totalRemAgentPRCount for the same aggregated scans.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
executionIdstringRequired

Harness Execution ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
indexinteger · int64Optional

0-based offset into activities ordered by created DESC

Default: 0Example: 0
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of activities to return per request (FE typically loads 100 and paginates locally)

Default: 1Example: 100
Responses
200

OK response.

application/json
indexinteger · int64Required

Echo of request index

Example: 0
totalinteger · int64Required

Total matching summary rows across all pages (same population as PipelineSecurityCounts.totalRemAgentPRCount for these aggregated scans). Not the page length.

Example: 4
get/api/v2/frontend/remediation-agent/activities
GET /gateway/sto/api/v2/frontend/remediation-agent/activities?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project&executionId=abcdef1234567890ghijkl HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "activities": [
    {
      "buildId": "4",
      "commits": 3,
      "createdAt": "2026-07-04T12:45:00Z",
      "executionId": "execution1111111111111",
      "fixVerified": "success",
      "fixVerifiedPipeline": {
        "executionId": "execution1111111111111",
        "orgId": "default",
        "pipelineId": "security_pipeline",
        "projectId": "STO"
      },
      "id": "42",
      "jiraTicketId": "STO-87236",
      "jiraTicketUrl": "https://jira.example.com/browse/STO-87236",
      "prNumber": 13114,
      "prTitle": "[13114] Security fix",
      "prUrl": "https://github.com/harness/example/pull/13114",
      "regression": "success",
      "regressionPipeline": {
        "executionId": "execution1111111111111",
        "orgId": "default",
        "pipelineId": "security_pipeline",
        "projectId": "STO"
      },
      "repository": "harness/nodegoat",
      "scanId": "scan111111111111111111",
      "sourceBranch": "remediation/sast-13114",
      "status": "Open",
      "targetBranch": "master"
    },
    {
      "buildId": "4",
      "commits": 3,
      "createdAt": "2026-07-04T12:45:00Z",
      "executionId": "execution1111111111111",
      "fixVerified": "success",
      "fixVerifiedPipeline": {
        "executionId": "execution1111111111111",
        "orgId": "default",
        "pipelineId": "security_pipeline",
        "projectId": "STO"
      },
      "id": "42",
      "jiraTicketId": "STO-87236",
      "jiraTicketUrl": "https://jira.example.com/browse/STO-87236",
      "prNumber": 13114,
      "prTitle": "[13114] Security fix",
      "prUrl": "https://github.com/harness/example/pull/13114",
      "regression": "success",
      "regressionPipeline": {
        "executionId": "execution1111111111111",
        "orgId": "default",
        "pipelineId": "security_pipeline",
        "projectId": "STO"
      },
      "repository": "harness/nodegoat",
      "scanId": "scan111111111111111111",
      "sourceBranch": "remediation/sast-13114",
      "status": "Open",
      "targetBranch": "master"
    }
  ],
  "index": 0,
  "total": 4
}
get
/api/v2/frontend/remediation/trend

Returns a per-execution Active Remediation trend from execution_summary, plotted at execution start time. Omit targetVariantId for the project-wide aggregate over each target's tracked variant from target_summary (one variant per target).

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
targetVariantIdstringOptional

Associated Target Variant ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
intervalDaysinteger · int64 · min: 1 · max: 90Optional

Number of days to fetch trend data for

Default: 30Example: 30
Responses
200

OK response.

application/json
get/api/v2/frontend/remediation/trend
GET /gateway/sto/api/v2/frontend/remediation/trend?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "trend": [
    {
      "cumulativeNew": 5,
      "cumulativeRemediated": 2,
      "executionId": "exec-0001",
      "timestamp": "2025-07-30T02:32:00.000Z"
    },
    {
      "cumulativeNew": 5,
      "cumulativeRemediated": 2,
      "executionId": "exec-0001",
      "timestamp": "2025-07-30T02:32:00.000Z"
    },
    {
      "cumulativeNew": 5,
      "cumulativeRemediated": 2,
      "executionId": "exec-0001",
      "timestamp": "2025-07-30T02:32:00.000Z"
    },
    {
      "cumulativeNew": 5,
      "cumulativeRemediated": 2,
      "executionId": "exec-0001",
      "timestamp": "2025-07-30T02:32:00.000Z"
    }
  ]
}
get
/api/v2/frontend/security-review

Provides data needed by the Security Review page

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
statusstring · enum · max: 8Required

Exemption status

Example: ApprovedPossible values:
searchstring · max: 128OptionalDefault: ""Example: Keyword search. Searches Title, Reason & Type
Responses
200

OK response.

application/json

Data needed by the Security Review page

get/api/v2/frontend/security-review
GET /gateway/sto/api/v2/frontend/security-review?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project&status=Approved HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "counts": {
    "Approved": 150,
    "Expired": 150,
    "Pending": 150,
    "Rejected": 150
  },
  "exemptions": [
    {
      "approverEmail": "user@harness.io",
      "approverId": "user111111111111111111",
      "approverName": "firstname lastname",
      "canApproveFor": [
        "ACCOUNT",
        "ORG",
        "PROJECT",
        "PIPELINE"
      ],
      "canCancel": true,
      "canCreate": true,
      "canReApprove": true,
      "canReject": true,
      "created": 1651578240,
      "expiration": 1651578240,
      "id": "abcdef1234567890ghijkl",
      "isDeleted": true,
      "isOccurrenceLevelExemption": true,
      "issueSummary": {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      },
      "lastModified": 1651578240,
      "link": "Upstream bug",
      "numOccurrences": 10,
      "orgId": "STO",
      "orgName": "Organization Name",
      "pendingChanges": {
        "durationDays": 7
      },
      "pipelineId": "pipeline_1",
      "projectId": "STO",
      "projectName": "Project Name",
      "reason": "Upstream bug",
      "requestedOn": 1651578240,
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname",
      "reviewedOn": 1651578240,
      "scope": "PROJECT",
      "status": "Approved",
      "targetId": "target2222222222222222",
      "targetName": "my-target",
      "totalOccurrences": 10,
      "type": "Other"
    },
    {
      "approverEmail": "user@harness.io",
      "approverId": "user111111111111111111",
      "approverName": "firstname lastname",
      "canApproveFor": [
        "ACCOUNT",
        "ORG",
        "PROJECT",
        "PIPELINE"
      ],
      "canCancel": true,
      "canCreate": true,
      "canReApprove": true,
      "canReject": true,
      "created": 1651578240,
      "expiration": 1651578240,
      "id": "abcdef1234567890ghijkl",
      "isDeleted": true,
      "isOccurrenceLevelExemption": true,
      "issueSummary": {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      },
      "lastModified": 1651578240,
      "link": "Upstream bug",
      "numOccurrences": 10,
      "orgId": "STO",
      "orgName": "Organization Name",
      "pendingChanges": {
        "durationDays": 7
      },
      "pipelineId": "pipeline_1",
      "projectId": "STO",
      "projectName": "Project Name",
      "reason": "Upstream bug",
      "requestedOn": 1651578240,
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname",
      "reviewedOn": 1651578240,
      "scope": "PROJECT",
      "status": "Approved",
      "targetId": "target2222222222222222",
      "targetName": "my-target",
      "totalOccurrences": 10,
      "type": "Other"
    },
    {
      "approverEmail": "user@harness.io",
      "approverId": "user111111111111111111",
      "approverName": "firstname lastname",
      "canApproveFor": [
        "ACCOUNT",
        "ORG",
        "PROJECT",
        "PIPELINE"
      ],
      "canCancel": true,
      "canCreate": true,
      "canReApprove": true,
      "canReject": true,
      "created": 1651578240,
      "expiration": 1651578240,
      "id": "abcdef1234567890ghijkl",
      "isDeleted": true,
      "isOccurrenceLevelExemption": true,
      "issueSummary": {
        "aiTriaged": "LikelyFP",
        "aiTriagedReasoning": "The argument to path.join is __dirname, a constant, not user input.",
        "category": "Insecure Direct Object Reference (AI SAST)",
        "currentStatus": "Pending",
        "epssLastModified": "2025-05-01",
        "epssPercentile": 0.15,
        "epssScore": 0.035,
        "exemptionCoverage": "PartiallyExempted",
        "exemptionId": "abcdef1234567890ghijkl",
        "exemptionStatusAtScan": "Pending",
        "id": "abcdef1234567890ghijkl",
        "inKev": true,
        "isNew": true,
        "key": "json-schema@0.2.3",
        "lastDetected": 1634836529,
        "numNewOccurrences": 8792778859503945000,
        "numOccurrences": 1373034228967736600,
        "numRemediatedOccurrences": 8362657607324500000,
        "occurrenceInternalId": 12345,
        "originStatus": "approved",
        "origins": [
          "app",
          "base"
        ],
        "overrides": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "overridesAtScan": [
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          },
          {
            "created": 1651578240,
            "fieldName": "severityCode",
            "impactedTargetId": "target1111111111111111",
            "originalFieldValue": "Low",
            "overrideFieldValue": "Low",
            "overrideId": "override1234",
            "reason": "Waiting on upstream bug fix",
            "requesterEmail": "user@harness.io",
            "requesterId": "user111111111111111111",
            "requesterName": "firstname lastname"
          }
        ],
        "remAgentPrNumber": 13114,
        "remAgentPrStatus": "Open",
        "remAgentPrTitle": "[13114] Security fix",
        "remAgentPrUrl": "https://github.com/harness/example/pull/13114",
        "remAgentRepository": "harness/nodegoat",
        "remAgentSummaryId": 42,
        "scanId": "scan111111111111111111",
        "severity": 8.5,
        "severityCode": "High",
        "status": "Remediated",
        "targetVariantName": "nodegoat:master",
        "title": "Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash",
        "type": "SAST"
      },
      "lastModified": 1651578240,
      "link": "Upstream bug",
      "numOccurrences": 10,
      "orgId": "STO",
      "orgName": "Organization Name",
      "pendingChanges": {
        "durationDays": 7
      },
      "pipelineId": "pipeline_1",
      "projectId": "STO",
      "projectName": "Project Name",
      "reason": "Upstream bug",
      "requestedOn": 1651578240,
      "requesterEmail": "user@harness.io",
      "requesterId": "user111111111111111111",
      "requesterName": "firstname lastname",
      "reviewedOn": 1651578240,
      "scope": "PROJECT",
      "status": "Approved",
      "targetId": "target2222222222222222",
      "targetName": "my-target",
      "totalOccurrences": 10,
      "type": "Other"
    }
  ],
  "pagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  }
}
get
/api/v2/frontend/test-targets

Provides data needed by the Test Targets page

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
pageinteger · int64Optional

Page number to fetch (starting from 0)

Default: 0Example: 4
pageSizeinteger · int64 · min: 1 · max: 100Optional

Number of results per page

Default: 30Example: 50
searchstring · max: 128OptionalExample: The Target
targetIdstringOptional

Associated Target ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Responses
200

OK response.

application/json

Data needed by the Test Targets page

get/api/v2/frontend/test-targets
GET /gateway/sto/api/v2/frontend/test-targets?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "targets": [
    {
      "approvedVariantsCount": 1,
      "baseline": {
        "id": "variant111111111111111",
        "name": "Branch: feature-1",
        "status": "approved"
      },
      "baselineRegEx": "release_.*",
      "directory": "/",
      "id": "target1111111111111111",
      "lastScanned": 1634836529,
      "name": "target 1",
      "status": "approved",
      "totalVariantsCount": 10,
      "type": "repository",
      "url": "github.com/harness/sto-core",
      "variants": [
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        }
      ]
    },
    {
      "approvedVariantsCount": 1,
      "baseline": {
        "id": "variant111111111111111",
        "name": "Branch: feature-1",
        "status": "approved"
      },
      "baselineRegEx": "release_.*",
      "directory": "/",
      "id": "target1111111111111111",
      "lastScanned": 1634836529,
      "name": "target 1",
      "status": "approved",
      "totalVariantsCount": 10,
      "type": "repository",
      "url": "github.com/harness/sto-core",
      "variants": [
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        }
      ]
    },
    {
      "approvedVariantsCount": 1,
      "baseline": {
        "id": "variant111111111111111",
        "name": "Branch: feature-1",
        "status": "approved"
      },
      "baselineRegEx": "release_.*",
      "directory": "/",
      "id": "target1111111111111111",
      "lastScanned": 1634836529,
      "name": "target 1",
      "status": "approved",
      "totalVariantsCount": 10,
      "type": "repository",
      "url": "github.com/harness/sto-core",
      "variants": [
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        },
        {
          "id": "variant111111111111111",
          "name": "Branch: feature-1",
          "status": "approved"
        }
      ]
    }
  ],
  "targetsPagination": {
    "link": "",
    "page": 4,
    "pageSize": 20,
    "totalItems": 230,
    "totalPages": 12
  }
}
put
/api/v2/frontend/test-targets/{targetId}/variants/status

Updates statuses for a list of Test Target Variants

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
targetIdstringRequired

Associated Target ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Body
Responses
200

OK response.

application/json
statusstringRequired

Status

Example: ok
put/api/v2/frontend/test-targets/{targetId}/variants/status
PUT /gateway/sto/api/v2/frontend/test-targets/{targetId}/variants/status?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 126

{
  "targetVariants": [
    {
      "id": "abcdef1234567890ghijkl",
      "status": "approved"
    },
    {
      "id": "xyz987zyx654wvu321tsr9",
      "status": "unapproved"
    }
  ]
}
{
  "status": "Doloremque ut."
}
post
/api/v2/frontend/tickets

Create or link Jira ticket for an issue with standardized details

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Body
harnessStoUrlstringOptional

Pre-built Harness STO UI URL for Jira description

Example: https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/pipelines/pipeline1/executions/exec1/security?storeType=INLINE&issue=issueId
issueIdstringRequired

The ID of the Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
issueTypestringRequired

Jira issue type

Example: Bug
notesstringOptional

Optional notes to append to ticket description

Example: Investigate in next sprint
projectKeystringRequired

Jira project key

Example: ABC
scanIdstringOptional

The Security Scan execution that detected this Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
targetIdstringOptional

Associated Target ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
titlestringOptional

Optional title override for this ticket

Example: CVE-2024-1234 in backend-api
Responses
200

OK response.

application/json
externalIdstringOptional

External ticket key from provider

Example: ABC-1234
idstringRequired

Stored ticket identifier

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
urlstringOptional

External ticket URL

Example: https://example.atlassian.net/browse/ABC-1234
post/api/v2/frontend/tickets
POST /gateway/sto/api/v2/frontend/tickets?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 540

{
  "customFields": {
    "customfield_1": {
      "id": "12345"
    },
    "customfield_2": [
      {
        "value": "value1"
      },
      {
        "value": "value2"
      }
    ]
  },
  "harnessStoUrl": "https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/pipelines/pipeline1/executions/exec1/security?storeType=INLINE&issue=issueId",
  "identifiers": {
    "idName": [
      "value1",
      "value2",
      "value3"
    ]
  },
  "issueId": "abcdef1234567890ghijkl",
  "issueType": "Bug",
  "notes": "Investigate in next sprint",
  "projectKey": "ABC",
  "scanId": "abcdef1234567890ghijkl",
  "targetId": "abcdef1234567890ghijkl",
  "title": "CVE-2024-1234 in backend-api"
}
{
  "externalId": "ABC-1234",
  "id": "abcdef1234567890ghijkl",
  "url": "https://example.atlassian.net/browse/ABC-1234"
}
post
/api/v2/frontend/tickets/occurrence

Create Jira ticket for a single occurrence

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdstringRequired

Harness Account ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
orgIdstring · max: 128Required

Harness Organization ID

Example: example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$
projectIdstring · max: 128Required

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Body
issueIdstringRequired

The ID of the Security Issue

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
issueTypestringRequired

Jira issue type

Example: Bug
notesstringOptional

Optional notes to append to ticket description

Example: Investigate in next sprint
occurrenceDeeplinkUrlstringOptional

Pre-built Harness STO UI URL for this occurrence; omitted from description when empty

Example: https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/issues?issue=issueId&occurrence=12345
occurrenceInternalIdinteger · int64Required

Internal ID of the occurrence (occurrence.internal_id); also used as the ticket 'occurrence' identifier value

Example: 12345
projectKeystringRequired

Jira project key

Example: ABC
targetIdstringRequired

Associated Target ID

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
titlestringOptional

Optional title override for this ticket

Example: CVE-2024-1234 in backend-api
Responses
200

OK response.

application/json
externalIdstringOptional

External ticket key from provider

Example: ABC-1234
idstringRequired

Stored ticket identifier

Example: abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$
urlstringOptional

External ticket URL

Example: https://example.atlassian.net/browse/ABC-1234
post/api/v2/frontend/tickets/occurrence
POST /gateway/sto/api/v2/frontend/tickets/occurrence?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 450

{
  "customFields": {
    "customfield_1": {
      "id": "12345"
    },
    "customfield_2": [
      {
        "value": "value1"
      },
      {
        "value": "value2"
      }
    ]
  },
  "issueId": "abcdef1234567890ghijkl",
  "issueType": "Bug",
  "notes": "Investigate in next sprint",
  "occurrenceDeeplinkUrl": "https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/issues?issue=issueId&occurrence=12345",
  "occurrenceInternalId": 12345,
  "projectKey": "ABC",
  "targetId": "abcdef1234567890ghijkl",
  "title": "CVE-2024-1234 in backend-api"
}
{
  "externalId": "ABC-1234",
  "id": "abcdef1234567890ghijkl",
  "url": "https://example.atlassian.net/browse/ABC-1234"
}

Last updated

Was this helpful?