Frontend
Endpoints that power the STO micro-frontend
Provide list of filters for a projects latest baseline scans
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$OK response.
Indicates if exploitability analysis is available (true if any scan uses Harness Code)
trueDistinct non-empty issue categories available for filtering in this project
["Insecure Direct Object Reference (AI SAST)","SQL Injection"]Indicates if reachability analysis is available (true if any scan uses Harness Code)
trueBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}Provides a paginated list of issues for a project found in the latest baseline scans
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$pipeline1,pipeline2Pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$owasp,zapPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.
Yes,NoExample: YesPattern: ^(Yes|No)(,Yes|,No)*$CWE-123Return 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.
abcdef1234567890abcdefPattern: ^[a-zA-Z0-9_-]{22}$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)*$Active,Exempted,RemediatedPattern: ^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$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.
reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.
yesPattern: ^(yes|no)(,yes|,no)*$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.
Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.
Insecure Direct Object Reference (AI SAST),(Blank)EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)
truePattern: ^(all|true|false)(,true|,false)*$OK response.
Whether the account has at least one exemption rule. When false, clients can skip exemption rule evaluation (no rule-eval loaders).
trueBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Provides issue details for a project's latest baseline scans
The ID of the Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$A Target NamePage number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50OK response.
Issue description
Cumque rerum quas.Last date the issue EPSS data was last modified
2025-05-01EPSS percentile of the issue CVE identifier
0.15EPSS score of the issue CVE identifier
0.035Aggregate exploitability status of the issue across all impacted targets. 'yes' if any target has exploitable occurrences.
yesTrue when any linked CVE is in the CISA KEV catalog
trueIssue Type
Assumenda est inventore recusandae quis molestiae.Timestamp of the last detection of this issue
1634836529Aggregate reachability status of the issue across all impacted targets. 'reachable' if any target has reachable occurrences.
reachableProduct name of the scan tool used in this step
owaspSeverity code
HighPossible values: Target Type
Laboriosam doloremque voluptas aspernatur.Title of the Security Issue
Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hashBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}Provide list of filters for the latest scans of a baseline
The ID of the Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Associated Target ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$A Target NameOK response.
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.
LikelyFPPossible values: 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.
The argument to path.join is __dirname, a constant, not user input.Issue description
Quas impedit dolorem recusandae ex fugiat.ID of Security Test Exemption
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Exploitability status of the issue for this target. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable.
yesIssue Type
Rerum alias necessitatibus illum distinctio.Timestamp of the last detection of this issue
1634836529Reachability status of the issue for this target. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable.
reachableSeverity code
HighPossible values: The name of the target of the pipeline step's scan
The TargetTarget Type
Dolorum qui qui sint qui assumenda.Associated Target Variant ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Title of the Security Issue
Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hashVariant name
Facere consequatur nobis.BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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."
}Returns severity-based and issue-type-based counts for the all-issues page using the pre-aggregated summary table
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$pipeline1,pipeline2Pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$owasp,zapPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.
Yes,NoExample: YesPattern: ^(Yes|No)(,Yes|,No)*$CWE-123Return 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.
abcdef1234567890abcdefPattern: ^[a-zA-Z0-9_-]{22}$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)*$Active,Exempted,RemediatedPattern: ^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$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.
reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.
yesPattern: ^(yes|no)(,yes|,no)*$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.
Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.
Insecure Direct Object Reference (AI SAST),(Blank)EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)
truePattern: ^(all|true|false)(,true|,false)*$OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Returns filter-independent total issue count and total occurrences for a project
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$OK response.
Filter-independent count of issues whose project-level AI-Triage rollup is LikelyFP.
6687443483597629000Total number of unique issues in the project (filter-independent)
8178295655254192000Total number of occurrences across all issues in the project (filter-independent)
146405500809943360Filter-independent count of issues whose project-level AI-Triage rollup is LikelyTP.
8052621204997321000BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}Provides a paginated list of issues for a project using the pre-aggregated summary table
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$pipeline1,pipeline2Pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$owasp,zapPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.
Yes,NoExample: YesPattern: ^(Yes|No)(,Yes|,No)*$CWE-123Return 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.
abcdef1234567890abcdefPattern: ^[a-zA-Z0-9_-]{22}$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)*$Active,Exempted,RemediatedPattern: ^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$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.
reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.
yesPattern: ^(yes|no)(,yes|,no)*$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.
Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.
Insecure Direct Object Reference (AI SAST),(Blank)EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)
truePattern: ^(all|true|false)(,true|,false)*$OK response.
Whether the account has at least one exemption rule. When false, clients can skip exemption rule evaluation (no rule-eval loaders).
trueBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Provides issue details for a project using the pre-aggregated summary and detection tables
The ID of the Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$None,Pending,Rejected,Expired,PartiallyExemptedPattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$A Target NamePage number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50OK response.
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.
LikelyFPPossible values: 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.
The argument to path.join is __dirname, a constant, not user input.Qwiet AI issue category from issue.details.category
Insecure Direct Object Reference (AI SAST)Issue description
Enim quia autem facilis nobis sed nisi.Last date the issue EPSS data was last modified
2025-05-01EPSS percentile of the issue CVE identifier
0.15EPSS score of the issue CVE identifier
0.035Status of project scoped exemption for this issue
PendingAggregate exploitability status of the issue across all impacted targets. 'yes' if any target has exploitable occurrences.
yesTrue when any linked CVE is in the CISA KEV catalog
trueIssue Type
Saepe architecto nihil qui eum.Timestamp of the last detection of this issue
1634836529Aggregate reachability status of the issue across all impacted targets. 'reachable' if any target has reachable occurrences.
reachableProduct name of the scan tool used in this step
owaspSeverity code
HighPossible values: Issue Status
RemediatedPossible values: Target Type
Sed aut.Title of the Security Issue
Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hashBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}Returns daily trend data of issue counts by status for a given time interval
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$owasp,zapPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$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)*$Number of days to fetch trend data for
7Example: 7OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
]
}Returns per-execution occurrence severity counts (Finding Trend across Scans) for a target variant from execution_summary.
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Associated Target Variant ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$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)*$Number of trailing days of executions to return
30Example: 30OK response.
Distinct issue types present in the selected time range, before applying the issueTypes filter
["SAST","SCA"]BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}
]
}Provides the severity change for an issue when approving occurrence level exemption
ID of Security Test Exemption
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$The Security Scan execution that detected this Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$The ID of the Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$OK response.
Current severity code of the issue
HighPossible values: New severity code of the issue
MediumPossible values: BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}Returns a list of impacted target details for an exemption id
ID of Security Test Exemption
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50CWE-123OK response.
List of targets for an exemption
Indicates if the targets have a baseline set, If no show no baseline card
trueBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Provides data needed by the Global Exemptions Security Review page
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50Exemption status
ApprovedPossible values: ""Example: Keyword search. Searches Title, Reason & TypeColumn to sort by (default: requestedOn)
requestedOnPossible values: Sort order: ascending or descending (default: desc)
descPossible values: Harness personal or service access token
Sequi neque consequuntur.user1111111111111111,user2222222222222222Pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$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)*$List of organization:project pairs
["org1:project1","org1:project2"]pipeline1,pipeline2Pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$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)*$user1111111111111111,user2222222222222222Pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$user1111111111111111,user2222222222222222Pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$snyk,owaspPattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$PROJECT,PIPELINEPattern: ^(ACCOUNT|ORG|PROJECT|PIPELINE|TARGET)(,ACCOUNT|,ORG|,PROJECT|,PIPELINE|,TARGET)*$Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$target1111111111111111,target2222222222222222Pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$OK response.
Data needed by the Security Review page
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Provide list of filters for exemptions
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness personal or service access token
At recusandae quo ut vel a.List of organization:project pairs
["org1:project1","org1:project2"]OK response.
Available filters for exemptions
List of pipeline IDs with exemptions
["Quam est asperiores ipsam impedit perferendis ipsa.","Sed aliquam et repudiandae."]List of exemption reasons
["Cupiditate sit quasi repudiandae culpa totam.","Debitis deserunt eos."]BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}
]
}Returns issue summaries that are going to expire
Harness pipeline execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Number of days of Baseline Issue counts to return
7Example: 1163OK response.
List of issue summaries
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}
]
}Returns counts of active Security Issues for one or more Pipeline Executions
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Comma-separated list of Harness Execution IDs for which to count Security Issues
abcdef1234567890ghijkl,mnopqr0987654321stuvwxPattern: [\dA-Za-z_-]{22}(,[\dA-Za-z_-]{22})*OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Returns a specific issue exemption
ID of Security Test Exemption
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Organization ID of the user's current view context
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID of the user's current view context
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness STO Target ID
abcdef1234567890ghijklPage number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50OK response.
base image name of the issue
baseImageNameThe Baseline Target Variant related to this Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Unix timestamp at which the resource was created
1651578240Current status of the Exemption
RejectedPossible values: Last date the issue EPSS data was last modified
2025-05-01EPSS percentile of the issue CVE identifier
0.15EPSS score of the issue CVE identifier
0.035Indicates if the Security Issue was found to be Exempted or PartiallyExempted.
PartiallyExemptedID of Security Test Exemption
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Exemption's status at the Security Scan created time
PendingPossible values: Exploitability status of the issue (yes or no)
yesIssue-table severity code used as occurrence fallback at read time; omitted from API responses
HighPossible values: Issue-level grace period rollup in days. Only populated when scan honorGracePeriod is enabled.
13Resource identifier
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$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.
trueCompression/deduplication key
json-schema@0.2.3Timestamp of the last detection of this issue
1634836529Indicates the number of Occurrences on the Issue
1012345The status of the origin, either 'approved' or 'unapproved'
approvedThe origins of the issue
["app","base"]The scan tool that identified this Security Issue
product1234567890abcdePattern: ^[a-zA-Z0-9_-]{22}$Reachability status of the issue (reachable or unreachable)
reachableNumeric severity, from 0 (lowest) to 10 (highest)
8.5Severity code
HighPossible values: Indicates if the Security Issue was found to be remediated, ignored, etc.
RemediatedPossible values: The subproduct that identified this Security Issue
productThe Target that this Security Issue affects
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$The Name of the Target that this Security Issue affects
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$The type of the Target that this Security Issue affects
repositoryPossible values: The Target Variant that this Security Issue affects
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Name of the associated Target and Variant
nodegoat:masterPattern: ^[a-zA-Z0-9_-]{22}$Title of the Security Issue
Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hashThe type of vulnerability or quality issue for this Issue
SASTPossible values: BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
Returns dataflow information for a specific occurrence. This endpoint is designed for async fetching of dataflow data separately from occurrence details.
The ID of the Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Internal ID of the occurrence to fetch dataflow for
12345Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$OK response.
Dataflow information for an occurrence
Indicates if dataflow data exists for this occurrence
trueInternal ID of the occurrence
12345BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
Proxy Qwiet new-style SCA reachability for an occurrence. Same request as occurrence dataflow; success body is the unmodified Qwiet response.
The ID of the Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Internal ID of the occurrence to fetch SCA reachability for
12345Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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: */*
binaryProvisions a Qwiet trial license for the account. Calls Qwiet first, then updates the STO license in ng-manager.
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$OK response.
Result of Qwiet trial provisioning
Status message describing the result
Qwiet trial license provisioned successfullyBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}Returns Qwiet license usage metrics
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$OK response.
Qwiet license usage metrics
Indicates if the request was successful
trueBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Provides baseline execution data needed by the Overview page
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$OK response.
Harness Execution IDs of the most recent baseline scans
["Odio vitae ducimus vero.","Neque magni.","Nihil voluptatem molestias."]BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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."
]
}Provides historical issue data needed by the Overview page
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Number of days of Baseline Issue counts to return
30Example: 37OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}
]
}Provide issue data needed by the PipelineSecurityView
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Page number to fetch (starting from 0)
0Example: 4Number of results per page
50Example: 50Page number to fetch (starting from 0)
0Example: 4Number of results per page
50Example: 50stage1,parent.stage2,stage3Pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$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_]+)?)*$target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$owasp,zapPattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$trueExample: trueCWE-123SASTPattern: ^(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)*$active,remediatedPattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$appPattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$approvedPattern: ^(approved|unapproved)(,approved|,unapproved)*$EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)
truePattern: ^(all|true|false)(,true|,false)*$YesPattern: ^(Yes|No)(,Yes|,No)*$Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.
reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.
yesPattern: ^(yes|no)(,yes|,no)*$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).
Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.
Insecure Direct Object Reference (AI SAST),(Blank)OK response.
Data needed by the PipelineSecurityView
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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 pipeline security issues as JSON data for CSV generation
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Page number to fetch (starting from 0)
0Example: 4Number of results per page
50Example: 50Page number to fetch (starting from 0)
0Example: 4Number of results per page
50Example: 50stage1,parent.stage2,stage3Pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$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_]+)?)*$target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$owasp,zapPattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$trueExample: trueCWE-123SASTPattern: ^(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)*$active,remediatedPattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$appPattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$approvedPattern: ^(approved|unapproved)(,approved|,unapproved)*$EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)
truePattern: ^(all|true|false)(,true|,false)*$YesPattern: ^(Yes|No)(,Yes|,No)*$Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.
reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.
yesPattern: ^(yes|no)(,yes|,no)*$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).
Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.
Insecure Direct Object Reference (AI SAST),(Blank)OK response.
Execution ID for this export
Placeat rerum perferendis laboriosam aut velit accusantium.Suggested filename for download
Nulla ut et.CSV column headers
["Voluptatem et vitae vel ullam rem omnis.","Ut ut.","Velit laudantium excepturi."]Total number of data rows
2833597844172476000BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}Provide step data needed by the PipelineSecurityView
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$OK response.
Indicates if exploitability analysis is available (true if any step uses Harness Code)
trueDistinct non-empty issue categories present in this pipeline execution
["Insecure Direct Object Reference (AI SAST)","SQL Injection"]Indicates if reachability analysis is available (true if any step uses Harness Code)
trueBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}
]
}Provide a single combined, paginated list of pipeline security issues (new-first, then existing) for the PipelineSecurityView
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50stage1,parent.stage2,stage3Pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$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_]+)?)*$target1111111111111111,abcdef1234567890abcdefPattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$owasp,zapPattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$trueExample: trueCWE-123SASTPattern: ^(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)*$active,remediatedPattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$appPattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$approvedPattern: ^(approved|unapproved)(,approved|,unapproved)*$EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)
gte_15Pattern: ^(all|gte_15|gte_5|gte_1|na)$EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)
gte_99Pattern: ^(all|gte_99|gte_90|gte_80|na)$CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)
truePattern: ^(all|true|false)(,true|,false)*$YesPattern: ^(Yes|No)(,Yes|,No)*$Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.
reachablePattern: ^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.
yesPattern: ^(yes|no)(,yes|,no)*$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).
Likely FPPattern: ^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.
Insecure Direct Object Reference (AI SAST),(Blank)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.
newPattern: ^(new|existing)(,new|,existing)*$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.
falseExample: trueWhen set with isRemediationAgentTab, restrict rem-agent issues to occurrences linked to this remediation_agent_summary.internal_id that still appear on current-execution scans.
42OK response.
Combined, paginated list of pipeline security issues for the PipelineSecurityView
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}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.
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$0-based offset into activities ordered by created DESC
0Example: 0Number of activities to return per request (FE typically loads 100 and paginates locally)
1Example: 100OK response.
Echo of request index
0Total matching summary rows across all pages (same population as PipelineSecurityCounts.totalRemAgentPRCount for these aggregated scans). Not the page length.
4BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}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).
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Associated Target Variant ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Number of days to fetch trend data for
30Example: 30OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}
]
}Provides data needed by the Security Review page
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50Exemption status
ApprovedPossible values: ""Example: Keyword search. Searches Title, Reason & TypeOK response.
Data needed by the Security Review page
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Provides data needed by the Test Targets page
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Page number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50The TargetAssociated Target ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$OK response.
Data needed by the Test Targets page
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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
}
}Updates statuses for a list of Test Target Variants
Associated Target ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$OK response.
Status
okBadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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."
}Create or link Jira ticket for an issue with standardized details
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Pre-built Harness STO UI URL for Jira description
https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/pipelines/pipeline1/executions/exec1/security?storeType=INLINE&issue=issueIdThe ID of the Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Jira issue type
BugOptional notes to append to ticket description
Investigate in next sprintJira project key
ABCThe Security Scan execution that detected this Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Associated Target ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Optional title override for this ticket
CVE-2024-1234 in backend-apiOK response.
External ticket key from provider
ABC-1234Stored ticket identifier
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$External ticket URL
https://example.atlassian.net/browse/ABC-1234BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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"
}Create Jira ticket for a single occurrence
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$The ID of the Security Issue
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Jira issue type
BugOptional notes to append to ticket description
Investigate in next sprintPre-built Harness STO UI URL for this occurrence; omitted from description when empty
https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/issues?issue=issueId&occurrence=12345Internal ID of the occurrence (occurrence.internal_id); also used as the ticket 'occurrence' identifier value
12345Jira project key
ABCAssociated Target ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Optional title override for this ticket
CVE-2024-1234 in backend-apiOK response.
External ticket key from provider
ABC-1234Stored ticket identifier
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$External ticket URL
https://example.atlassian.net/browse/ABC-1234BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
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?