> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/api-reference/security-testing-agent-apis/security-testing-orchestration/frontend.md).

# Frontend

Endpoints that power the STO micro-frontend

## GET /api/v2/frontend/all-issues/filters

> Provide list of filters for a projects latest baseline scans

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesFiltersResponseBody":{"$ref":"#/components/schemas/AllIssuesFiltersResult"},"AllIssuesFiltersResult":{"type":"object","properties":{"exploitabilityFlag":{"type":"boolean","description":"Indicates if exploitability analysis is available (true if any scan uses Harness Code)"},"issueCategories":{"type":"array","items":{"type":"string"},"description":"Distinct non-empty issue categories available for filtering in this project"},"latestBaselineScans":{"type":"array","items":{"$ref":"#/components/schemas/LatestBaselineScanInfo"}},"reachabilityFlag":{"type":"boolean","description":"Indicates if reachability analysis is available (true if any scan uses Harness Code)"}},"required":["latestBaselineScans","reachabilityFlag","exploitabilityFlag"]},"LatestBaselineScanInfo":{"type":"object","properties":{"pipelineId":{"type":"string","description":"ID of the Harness pipeline to which this Exemption applies"},"scanTool":{"type":"string","description":"Product name of the scan tool used in this step"},"scanToolName":{"type":"string","description":"Human readable name of the scan tool used in this step"},"targetId":{"type":"string","description":"Associated Target ID","pattern":"^[a-zA-Z0-9_-]{22}$"},"targetName":{"type":"string","description":"The name of the target of the pipeline step's scan"},"targetType":{"type":"string","enum":["container","repository","instance","configuration"]}},"description":"Information about a the latest scan of a targets baseline variant","required":["targetId","targetName","targetType","pipelineId","scanTool","scanToolName"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/filters":{"get":{"description":"Provide list of filters for a projects latest baseline scans","operationId":"Frontend#AllIssuesFilters","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesFiltersResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/all-issues/issues

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesListResponseBody":{"$ref":"#/components/schemas/AllIssuesListResult"},"AllIssuesListResult":{"type":"object","properties":{"hasRules":{"type":"boolean","description":"Whether the account has at least one exemption rule. When false, clients can skip exemption rule evaluation (no rule-eval loaders)."},"issues":{"type":"array","items":{"$ref":"#/components/schemas/AllIssueSummary"},"description":"Issues related to the latest scans of a baseline in a specific project"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["issues","pagination","hasRules"]},"AllIssueSummary":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"Aggregate AI triage verdict across every in-scope occurrence. '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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionExpiration":{"type":"integer","description":"Unix timestamp at which this Exemption will expire","format":"int64"},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatus":{"type":"string","description":"Status of project scoped exemption for this issue"},"exploitability":{"type":"string","description":"Aggregate exploitability status of the issue across all scans. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable."},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"issueType":{"type":"string","description":"Issue Type"},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"numOccurrences":{"type":"number","description":"Number of occurrences of this issue against the latest baseline scan","format":"float"},"numTargetsImpacted":{"type":"number","description":"Number of targets impacted where this issue was found against the latest baseline scan","format":"float"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"reachability":{"type":"string","description":"Aggregate reachability status of the issue across all scans. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable."},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Issue Status","enum":["Active","Exempted","Remediated"]},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128}},"description":"All issue list summary","required":["id","title","severityCode","numTargetsImpacted","numOccurrences","lastDetected"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/issues":{"get":{"description":"Provides a paginated list of issues for a project found in the latest baseline scans","operationId":"Frontend#AllIssuesList","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"targetIds","schema":{"pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetTypes","schema":{"pattern":"^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"pipelineIds","schema":{"pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"scanTools","schema":{"pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityCodes","schema":{"pattern":"^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"exemptionStatuses","schema":{"pattern":"^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.","in":"query","name":"severityOverriden","schema":{"default":"Yes,No","description":"Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.","pattern":"^(Yes|No)(,Yes|,No)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"allowEmptyValue":true,"description":"Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.","in":"query","name":"searchById","schema":{"description":"Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"issueTypes","schema":{"pattern":"^(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)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"statuses","schema":{"pattern":"^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$","type":"string"}},{"allowEmptyValue":true,"description":"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.","in":"query","name":"reachability","schema":{"description":"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.","pattern":"^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","in":"query","name":"exploitability","schema":{"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","pattern":"^(yes|no)(,yes|,no)*$","type":"string"}},{"allowEmptyValue":true,"description":"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.","in":"query","name":"aiTriaged","schema":{"description":"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.","pattern":"^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","in":"query","name":"categories","schema":{"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","maxLength":4096,"type":"string"}},{"allowEmptyValue":true,"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","in":"query","name":"epss","schema":{"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","pattern":"^(all|gte_15|gte_5|gte_1|na)$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","in":"query","name":"epssPercentile","schema":{"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","pattern":"^(all|gte_99|gte_90|gte_80|na)$","type":"string"}},{"allowEmptyValue":true,"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","in":"query","name":"inKev","schema":{"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","pattern":"^(all|true|false)(,true|,false)*$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesListResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/all-issues/issues/{issueId}

> Provides issue details for a project's latest baseline scans

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesDetailsResponseBody":{"$ref":"#/components/schemas/AllIssuesDetailsResult"},"AllIssuesDetailsResult":{"type":"object","properties":{"description":{"type":"string","description":"Issue description"},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exploitability":{"type":"string","description":"Aggregate exploitability status of the issue across all impacted targets. 'yes' if any target has exploitable occurrences."},"impactedTargets":{"type":"array","items":{"$ref":"#/components/schemas/ImpactedTarget"},"description":"List of Impacted Targets"},"inKev":{"type":"boolean","description":"True when any linked CVE is in the CISA KEV catalog"},"issueType":{"type":"string","description":"Issue Type"},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"pagination":{"$ref":"#/components/schemas/Pagination"},"reachability":{"type":"string","description":"Aggregate reachability status of the issue across all impacted targets. 'reachable' if any target has reachable occurrences."},"recentActivities":{"type":"array","items":{"$ref":"#/components/schemas/ExemptionRecentActivity"},"description":"Up to 3 most recent exemption history events for this issue, newest first"},"referenceIdentifiers":{"type":"array","items":{"$ref":"#/components/schemas/RefIds"},"description":"Reference Identifiers"},"scanTool":{"type":"string","description":"Product name of the scan tool used in this step"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"targetType":{"type":"string","description":"Target Type"},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128}},"required":["title","description","severityCode","lastDetected","scanTool","targetType","referenceIdentifiers","impactedTargets","pagination"]},"ImpactedTarget":{"type":"object","properties":{"executionId":{"type":"string","description":"Harness Execution ID","pattern":"^[a-zA-Z0-9_-]{22}$"},"executionSource":{"type":"string","description":"CI/CD platform of the last scan for this target (harness, jenkins, github_actions, gitlab_ci, ...). Omitted when unknown.","maxLength":256},"executionUrl":{"type":"string","description":"Deep link from scan metadata (non-Harness). For Harness, often empty; FE constructs from pipelineId, executionId, and the request org/project."},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatus":{"type":"string","description":"Status of project scoped exemption for this issue"},"exploitability":{"type":"string","description":"Exploitability status of the issue for this target. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable."},"id":{"type":"string","description":"The ID of the impacted target"},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"name":{"type":"string","description":"The name of the impacted target"},"numOccurrences":{"type":"integer","description":"Indicates the number of Occurrences on the Issue","format":"int64"},"pipelineId":{"type":"string","description":"Harness Pipeline ID","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","maxLength":128},"reachability":{"type":"string","description":"Reachability status of the issue for this target. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable."},"userEmail":{"type":"string","description":"The email associated with the user id"},"userId":{"type":"string","description":"The user id associated with the last scan run"},"userName":{"type":"string","description":"The user name associated with the user id"},"variantName":{"type":"string","description":"Variant name"}},"required":["name","id","variantName","numOccurrences","lastDetected","pipelineId","executionId"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"ExemptionRecentActivity":{"type":"object","properties":{"actorName":{"type":"string","description":"Display name of commenter. Omitted for auto-expiry."},"created":{"type":"integer","description":"Unix timestamp (seconds)","format":"int64"},"id":{"type":"string","description":"exemption_history.id — pass to Exemption Log drawer as selectedEventId","pattern":"^[a-zA-Z0-9_-]{22}$"},"isAutoExpiry":{"type":"boolean","description":"True when status=Expired and commenter_id IS NULL","default":false},"status":{"type":"string","enum":["Pending","Approved","Rejected","Expired","Canceled"]}},"description":"Compact exemption history preview for issue detail panels","required":["id","status","created","isAutoExpiry"]},"RefIds":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"}}},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/issues/{issueId}":{"get":{"description":"Provides issue details for a project's latest baseline scans","operationId":"Frontend#AllIssuesDetails","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"exemptionStatuses","schema":{"pattern":"^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"description":"The ID of the Security Issue","in":"path","name":"issueId","required":true,"schema":{"description":"The ID of the Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesDetailsResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/all-issues/issues/{issueId}/targets/{targetId}

> Provide list of filters for the latest scans of a baseline

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesOccurrenceDetailsResponseBody":{"$ref":"#/components/schemas/AllIssuesOccurrenceDetailsResult"},"AllIssuesOccurrenceDetailsResult":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"aiTriagedReasoning":{"type":"string","description":"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."},"description":{"type":"string","description":"Issue description"},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exploitability":{"type":"string","description":"Exploitability status of the issue for this target. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable."},"issueType":{"type":"string","description":"Issue Type"},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"occurrences":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"List of occurrences"},"pagination":{"$ref":"#/components/schemas/Pagination"},"reachability":{"type":"string","description":"Reachability status of the issue for this target. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable."},"referenceIdentifiers":{"type":"array","items":{"$ref":"#/components/schemas/RefIds"},"description":"Reference Identifiers"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"targetName":{"type":"string","description":"The name of the target of the pipeline step's scan"},"targetType":{"type":"string","description":"Target Type"},"targetVariantId":{"type":"string","description":"Associated Target Variant ID","pattern":"^[a-zA-Z0-9_-]{22}$"},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128},"variantName":{"type":"string","description":"Variant name"}},"required":["title","targetName","variantName","targetType","severityCode","description","occurrences","lastDetected"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"RefIds":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"}}},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/issues/{issueId}/targets/{targetId}":{"get":{"description":"Provide list of filters for the latest scans of a baseline","operationId":"Frontend#AllIssuesOccurrenceDetails","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"exemptionStatuses","schema":{"pattern":"^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"description":"The ID of the Security Issue","in":"path","name":"issueId","required":true,"schema":{"description":"The ID of the Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"description":"Associated Target ID","in":"path","name":"targetId","required":true,"schema":{"description":"Associated Target ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesOccurrenceDetailsResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/all-issues/v2/counts

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesCountsV2ResponseBody":{"$ref":"#/components/schemas/AllIssuesCountsV2Result"},"AllIssuesCountsV2Result":{"type":"object","properties":{"issueTypeCounts":{"type":"object","description":"Issue counts grouped by issue type (e.g. SAST, SCA, DAST, UNKNOWN)","additionalProperties":{"type":"integer","format":"int64"}},"severityCounts":{"$ref":"#/components/schemas/MinimalIssueCounts"}},"required":["severityCounts","issueTypeCounts"]},"MinimalIssueCounts":{"type":"object","properties":{"critical":{"type":"integer","description":"The number of Critical-severity Issues","format":"int32"},"high":{"type":"integer","description":"The number of High-severity Issues","format":"int32"},"ignored":{"type":"integer","description":"The number of Issues ignored due to Exemptions, and therefore not included in other counts","format":"int32"},"info":{"type":"integer","description":"The number of Informational Issues","format":"int32"},"low":{"type":"integer","description":"The number of Low-severity Issues","format":"int32"},"medium":{"type":"integer","description":"The number of Medium-severity Issues","format":"int32"}},"description":"The count of Security Issues, by severity code, for a given Harness Pipeline Execution","required":["critical","high","medium","low","info"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/v2/counts":{"get":{"description":"Returns severity-based and issue-type-based counts for the all-issues page using the pre-aggregated summary table","operationId":"Frontend#AllIssuesCountsV2","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetIds","schema":{"pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetTypes","schema":{"pattern":"^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"pipelineIds","schema":{"pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"scanTools","schema":{"pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityCodes","schema":{"pattern":"^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"exemptionStatuses","schema":{"pattern":"^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.","in":"query","name":"severityOverriden","schema":{"default":"Yes,No","description":"Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.","pattern":"^(Yes|No)(,Yes|,No)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"allowEmptyValue":true,"description":"Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.","in":"query","name":"searchById","schema":{"description":"Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"issueTypes","schema":{"pattern":"^(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)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"statuses","schema":{"pattern":"^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$","type":"string"}},{"allowEmptyValue":true,"description":"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.","in":"query","name":"reachability","schema":{"description":"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.","pattern":"^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","in":"query","name":"exploitability","schema":{"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","pattern":"^(yes|no)(,yes|,no)*$","type":"string"}},{"allowEmptyValue":true,"description":"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.","in":"query","name":"aiTriaged","schema":{"description":"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.","pattern":"^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","in":"query","name":"categories","schema":{"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","maxLength":4096,"type":"string"}},{"allowEmptyValue":true,"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","in":"query","name":"epss","schema":{"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","pattern":"^(all|gte_15|gte_5|gte_1|na)$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","in":"query","name":"epssPercentile","schema":{"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","pattern":"^(all|gte_99|gte_90|gte_80|na)$","type":"string"}},{"allowEmptyValue":true,"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","in":"query","name":"inKev","schema":{"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","pattern":"^(all|true|false)(,true|,false)*$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesCountsV2ResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/all-issues/v2/counts/total

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesTotalsV2ResponseBody":{"$ref":"#/components/schemas/AllIssuesTotalsV2Result"},"AllIssuesTotalsV2Result":{"type":"object","properties":{"totalFpCount":{"type":"integer","description":"Filter-independent count of issues whose project-level AI-Triage rollup is LikelyFP.","format":"int64"},"totalIssues":{"type":"integer","description":"Total number of unique issues in the project (filter-independent)","format":"int64"},"totalOccurrences":{"type":"integer","description":"Total number of occurrences across all issues in the project (filter-independent)","format":"int64"},"totalTpCount":{"type":"integer","description":"Filter-independent count of issues whose project-level AI-Triage rollup is LikelyTP.","format":"int64"}},"required":["totalOccurrences","totalIssues","totalFpCount","totalTpCount"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/v2/counts/total":{"get":{"description":"Returns filter-independent total issue count and total occurrences for a project","operationId":"Frontend#AllIssuesTotalsV2","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesTotalsV2ResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/all-issues/v2/issues

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesListV2ResponseBody":{"$ref":"#/components/schemas/AllIssuesListV2Result"},"AllIssuesListV2Result":{"type":"object","properties":{"hasRules":{"type":"boolean","description":"Whether the account has at least one exemption rule. When false, clients can skip exemption rule evaluation (no rule-eval loaders)."},"issues":{"type":"array","items":{"$ref":"#/components/schemas/AllBaselineIssueSummary"},"description":"Issues from the pre-aggregated summary table for the latest baseline scans in a project"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["issues","pagination","hasRules"]},"AllBaselineIssueSummary":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"Aggregate AI triage verdict across every in-scope occurrence. '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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionStatus":{"type":"string","description":"Status of project scoped exemption for this issue"},"exploitability":{"type":"string","description":"Aggregate exploitability status of the issue across all scans. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable."},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"issueType":{"type":"string","description":"Issue Type"},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"numOccurrences":{"type":"number","description":"Number of occurrences of this issue against the latest baseline scan","format":"float"},"numTargetsImpacted":{"type":"number","description":"Number of targets impacted where this issue was found against the latest baseline scan","format":"float"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"reachability":{"type":"string","description":"Aggregate reachability status of the issue across all scans. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable."},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Issue Status","enum":["Active","Exempted","Remediated"]},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128}},"description":"All issue list summary from pre-aggregated baseline issue summary table","required":["id","title","severityCode","numTargetsImpacted","numOccurrences","lastDetected","status"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/v2/issues":{"get":{"description":"Provides a paginated list of issues for a project using the pre-aggregated summary table","operationId":"Frontend#AllIssuesListV2","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"targetIds","schema":{"pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetTypes","schema":{"pattern":"^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"pipelineIds","schema":{"pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"scanTools","schema":{"pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityCodes","schema":{"pattern":"^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"exemptionStatuses","schema":{"pattern":"^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.","in":"query","name":"severityOverriden","schema":{"default":"Yes,No","description":"Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues.","pattern":"^(Yes|No)(,Yes|,No)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"allowEmptyValue":true,"description":"Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.","in":"query","name":"searchById","schema":{"description":"Return only the baseline issue with this exact issue ID. Intended for deeplink targeting (e.g. opening the issue details side panel from a JIRA ticket); not exposed in the UI search box and applied independently of the free-text 'search' filter.","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"issueTypes","schema":{"pattern":"^(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)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"statuses","schema":{"pattern":"^(Active|Exempted|Remediated)(,Active|,Exempted|,Remediated)*$","type":"string"}},{"allowEmptyValue":true,"description":"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.","in":"query","name":"reachability","schema":{"description":"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.","pattern":"^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","in":"query","name":"exploitability","schema":{"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","pattern":"^(yes|no)(,yes|,no)*$","type":"string"}},{"allowEmptyValue":true,"description":"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.","in":"query","name":"aiTriaged","schema":{"description":"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.","pattern":"^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","in":"query","name":"categories","schema":{"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","maxLength":4096,"type":"string"}},{"allowEmptyValue":true,"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","in":"query","name":"epss","schema":{"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","pattern":"^(all|gte_15|gte_5|gte_1|na)$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","in":"query","name":"epssPercentile","schema":{"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","pattern":"^(all|gte_99|gte_90|gte_80|na)$","type":"string"}},{"allowEmptyValue":true,"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","in":"query","name":"inKev","schema":{"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","pattern":"^(all|true|false)(,true|,false)*$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesListV2ResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/all-issues/v2/issues/{issueId}

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesDetailsV2ResponseBody":{"$ref":"#/components/schemas/AllIssuesDetailsV2Result"},"AllIssuesDetailsV2Result":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"aiTriagedReasoning":{"type":"string","description":"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."},"category":{"type":"string","description":"Qwiet AI issue category from issue.details.category"},"description":{"type":"string","description":"Issue description"},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionStatus":{"type":"string","description":"Status of project scoped exemption for this issue"},"exploitability":{"type":"string","description":"Aggregate exploitability status of the issue across all impacted targets. 'yes' if any target has exploitable occurrences."},"impactedTargets":{"type":"array","items":{"$ref":"#/components/schemas/ImpactedTargetV2"},"description":"List of Impacted Targets"},"inKev":{"type":"boolean","description":"True when any linked CVE is in the CISA KEV catalog"},"issueType":{"type":"string","description":"Issue Type"},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"pagination":{"$ref":"#/components/schemas/Pagination"},"reachability":{"type":"string","description":"Aggregate reachability status of the issue across all impacted targets. 'reachable' if any target has reachable occurrences."},"recentActivities":{"type":"array","items":{"$ref":"#/components/schemas/ExemptionRecentActivity"},"description":"Up to 3 most recent exemption history events for this issue, newest first"},"referenceIdentifiers":{"type":"array","items":{"$ref":"#/components/schemas/RefIds"},"description":"Reference Identifiers"},"scanTool":{"type":"string","description":"Product name of the scan tool used in this step"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Issue Status","enum":["Active","Exempted","Remediated"]},"targetType":{"type":"string","description":"Target Type"},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128}},"required":["title","description","severityCode","lastDetected","scanTool","targetType","referenceIdentifiers","impactedTargets","pagination","status"]},"ImpactedTargetV2":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"aiTriagedReasoning":{"type":"string","description":"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."},"executionId":{"type":"string","description":"Harness Execution ID","pattern":"^[a-zA-Z0-9_-]{22}$"},"executionSource":{"type":"string","description":"CI/CD platform of the last scan for this target (harness, jenkins, github_actions, gitlab_ci, ...). Omitted when unknown.","maxLength":256},"executionUrl":{"type":"string","description":"Deep link from scan metadata (non-Harness). For Harness, often empty; FE constructs from pipelineId, executionId, and the request org/project."},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatus":{"type":"string","description":"Status of project scoped exemption for this issue"},"exploitability":{"type":"string","description":"Exploitability status of the issue for this target. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable."},"id":{"type":"string","description":"The ID of the impacted target"},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"name":{"type":"string","description":"The name of the impacted target"},"numOccurrences":{"type":"integer","description":"Indicates the number of Occurrences on the Issue","format":"int64"},"pipelineId":{"type":"string","description":"Harness Pipeline ID","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","maxLength":128},"reachability":{"type":"string","description":"Reachability status of the issue for this target. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable."},"status":{"type":"string","description":"Issue Status","enum":["Active","Exempted","Remediated"]},"userEmail":{"type":"string","description":"The email associated with the user id"},"userId":{"type":"string","description":"The user id associated with the last scan run"},"userName":{"type":"string","description":"The user name associated with the user id"},"variantName":{"type":"string","description":"Variant name"}},"required":["name","id","variantName","numOccurrences","lastDetected","pipelineId","executionId","status"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"ExemptionRecentActivity":{"type":"object","properties":{"actorName":{"type":"string","description":"Display name of commenter. Omitted for auto-expiry."},"created":{"type":"integer","description":"Unix timestamp (seconds)","format":"int64"},"id":{"type":"string","description":"exemption_history.id — pass to Exemption Log drawer as selectedEventId","pattern":"^[a-zA-Z0-9_-]{22}$"},"isAutoExpiry":{"type":"boolean","description":"True when status=Expired and commenter_id IS NULL","default":false},"status":{"type":"string","enum":["Pending","Approved","Rejected","Expired","Canceled"]}},"description":"Compact exemption history preview for issue detail panels","required":["id","status","created","isAutoExpiry"]},"RefIds":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"}}},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/v2/issues/{issueId}":{"get":{"description":"Provides issue details for a project using the pre-aggregated summary and detection tables","operationId":"Frontend#AllIssuesDetailsV2","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"exemptionStatuses","schema":{"pattern":"^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"description":"The ID of the Security Issue","in":"path","name":"issueId","required":true,"schema":{"description":"The ID of the Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesDetailsV2ResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/all-issues/v2/trend

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendAllIssuesTrendV2ResponseBody":{"$ref":"#/components/schemas/AllIssuesTrendV2Result"},"AllIssuesTrendV2Result":{"type":"object","properties":{"trend":{"type":"array","items":{"$ref":"#/components/schemas/DailyIssueTrend"},"description":"Daily trend data showing issue counts by status"}},"required":["trend"]},"DailyIssueTrend":{"type":"object","properties":{"active":{"type":"integer","description":"Count of active issues on this day","format":"int64"},"day":{"type":"integer","description":"Unix timestamp for the day (midnight UTC)","format":"int64"},"remediated":{"type":"integer","description":"Count of remediated issues on this day","format":"int64"}},"description":"Issue counts for a specific day grouped by status","required":["day","active","remediated"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/all-issues/v2/trend":{"get":{"description":"Returns daily trend data of issue counts by status for a given time interval","operationId":"Frontend#AllIssuesTrendV2","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"scanTools","schema":{"pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityCodes","schema":{"pattern":"^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"issueTypes","schema":{"pattern":"^(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)*$","type":"string"}},{"allowEmptyValue":true,"description":"Number of days to fetch trend data for","in":"query","name":"intervalDays","schema":{"default":7,"description":"Number of days to fetch trend data for","format":"int64","maximum":90,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendAllIssuesTrendV2ResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/executions/trend

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"ArtifactsArtifactFindingsTrendResponseBody":{"$ref":"#/components/schemas/ExecutionTrendResult"},"ExecutionTrendResult":{"type":"object","properties":{"availableIssueTypes":{"type":"array","items":{"type":"string"},"description":"Distinct issue types present in the selected time range, before applying the issueTypes filter"},"trend":{"type":"array","items":{"$ref":"#/components/schemas/ExecutionTrendPoint"},"description":"Per-execution occurrence severity counts, ordered oldest to newest"}},"required":["trend","availableIssueTypes"]},"ExecutionTrendPoint":{"type":"object","properties":{"executionId":{"type":"string","description":"Harness execution ID"},"executionSource":{"type":"string","description":"Source/trigger of the execution"},"executionStartedAt":{"type":"integer","description":"Unix timestamp when the execution started","format":"int64"},"executionUrl":{"type":"string","description":"Deep link from scan metadata (non-Harness). For Harness, often empty; FE constructs from pipelineId, executionId, and the request org/project."},"issueTypes":{"type":"object","description":"Occurrence counts grouped by issue type (e.g. SAST, SCA, SECRET)","additionalProperties":{"type":"integer","format":"int64"}},"pipelineId":{"type":"string","description":"Harness pipeline identifier. Used with executionId and the request org/project to construct a Harness execution URL when executionUrl is empty.","maxLength":128},"severities":{"type":"object","description":"Occurrence counts grouped by severity (critical, high, medium, low, info)","additionalProperties":{"type":"integer","format":"int64"}}},"description":"Occurrence severity counts and metadata for a single execution","required":["executionId","executionStartedAt","severities","issueTypes"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/executions/trend":{"get":{"description":"Returns per-execution occurrence severity counts (Finding Trend across Scans) for a target variant from execution_summary.","operationId":"Frontend#ExecutionTrend","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Associated Target Variant ID","in":"query","name":"targetVariantId","required":true,"schema":{"description":"Associated Target Variant ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"issueTypes","schema":{"pattern":"^(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)*$","type":"string"}},{"allowEmptyValue":true,"description":"Number of trailing days of executions to return","in":"query","name":"intervalDays","schema":{"default":30,"description":"Number of trailing days of executions to return","format":"int64","maximum":90,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactsArtifactFindingsTrendResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/exemption/{exemptionId}/issue-severity-change

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendIssueSeverityChangeResponseBody":{"$ref":"#/components/schemas/IssueSeverityChangeResult"},"IssueSeverityChangeResult":{"type":"object","properties":{"currentSeverityCode":{"type":"string","description":"Current severity code of the issue","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"newSeverityCode":{"type":"string","description":"New severity code of the issue","enum":["Critical","High","Medium","Low","Info","Unassigned"]}},"required":["currentSeverityCode","newSeverityCode"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/exemption/{exemptionId}/issue-severity-change":{"get":{"description":"Provides the severity change for an issue when approving occurrence level exemption","operationId":"Frontend#IssueSeverityChange","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"The Security Scan execution that detected this Security Issue","in":"query","name":"scanId","schema":{"description":"The Security Scan execution that detected this Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"The ID of the Security Issue","in":"query","name":"issueId","required":true,"schema":{"description":"The ID of the Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"description":"ID of Security Test Exemption","in":"path","name":"exemptionId","required":true,"schema":{"description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendIssueSeverityChangeResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/exemption/{exemptionId}/targets

> Returns a list of impacted target details for an exemption id

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendImpactedTargetsForExemptionResponseBody":{"$ref":"#/components/schemas/ExemptionImpactedTargetsResult"},"ExemptionImpactedTargetsResult":{"type":"object","properties":{"baselineTargetsExist":{"type":"boolean","description":"Indicates if the targets have a baseline set, If no show no baseline card"},"impactedTargets":{"type":"array","items":{"$ref":"#/components/schemas/FrontendExemptionTargets"},"description":"Impacted target details"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"description":"List of targets for an exemption","required":["impactedTargets","pagination","baselineTargetsExist"]},"FrontendExemptionTargets":{"type":"object","properties":{"executionId":{"type":"string","description":"Harness Execution ID","pattern":"^[a-zA-Z0-9_-]{22}$"},"executionSource":{"type":"string","description":"CI/CD platform of the last scan for this target (harness, jenkins, github_actions, gitlab_ci, ...). Omitted when unknown.","maxLength":256},"executionUrl":{"type":"string","description":"Deep link from scan metadata (non-Harness). For Harness, often empty; FE constructs from pipelineId, executionId, and the request org/project."},"hash":{"type":"string","description":"Git Commit or Container Image hash","maxLength":64},"lastScanned":{"type":"number","description":"Timestamp of the last detection of this issue","format":"float"},"name":{"type":"string","description":"Name of the Test Target","pattern":"^[a-zA-Z0-9_.:/|()-]+$","maxLength":128},"numExemptedOccurrences":{"type":"integer","description":"Total number of occurrences exempted for an impacted target","default":0,"format":"int32"},"numOccurrences":{"type":"integer","description":"Total number of occurrences for an impacted target","default":0,"format":"int32"},"orgId":{"type":"string","description":"Harness Organization ID","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","maxLength":128},"orgName":{"type":"string","description":"Name of the Harness Org to which this Exemption applies"},"parameters":{"type":"object","description":"Parameters for this Variant, as a JSON-encoded string","additionalProperties":{"type":"string"}},"pipelineId":{"type":"string","description":"ID of the Harness pipeline of the scan"},"projectId":{"type":"string","description":"Harness Project ID","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","maxLength":128},"projectName":{"type":"string","description":"Name of the Harness project"},"scanId":{"type":"string","description":"The Security Scan execution that detected this Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$"},"targetId":{"type":"string","description":"Associated Target ID","pattern":"^[a-zA-Z0-9_-]{22}$"},"type":{"type":"string","description":"Test Target's type","enum":["container","repository","instance","configuration"]}},"description":"Impacted targets from an exemption for frontend issue details","required":["targetId","parameters"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/exemption/{exemptionId}/targets":{"get":{"description":"Returns a list of impacted target details for an exemption id","operationId":"Frontend#ImpactedTargetsForExemption","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"description":"ID of Security Test Exemption","in":"path","name":"exemptionId","required":true,"schema":{"description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendImpactedTargetsForExemptionResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## POST /api/v2/frontend/exemptions

> Provides data needed by the Global Exemptions Security Review page

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"X-Api-Key_header_X-Api-Key":[],"jwt_header_Authorization":["sto_exemption_view"]}],"components":{"securitySchemes":{"X-Api-Key_header_X-Api-Key":{"type":"apiKey","name":"X-Api-Key","in":"header"},"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"GlobalExemptionsRequestBody":{"type":"object","properties":{"approvedBy":{"type":"string","pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$"},"issueTypes":{"type":"string","pattern":"^(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)*$"},"orgProjectFilter":{"type":"array","items":{"type":"string","description":"Organization:project pair","pattern":"^[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$"},"description":"List of organization:project pairs"},"pipelineIds":{"type":"string","pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$"},"reasons":{"type":"string","pattern":"^(Other|Fix Unavailable|Compensating Controls|False Positive|Acceptable Risk|Acceptable Use)(,Other|,Fix Unavailable|,Compensating Controls|,False Positive|,Acceptable Risk|,Acceptable Use)*$"},"rejectedBy":{"type":"string","pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$"},"requestedBy":{"type":"string","pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$"},"scanners":{"type":"string","pattern":"^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$"},"scopes":{"type":"string","pattern":"^(ACCOUNT|ORG|PROJECT|PIPELINE|TARGET)(,ACCOUNT|,ORG|,PROJECT|,PIPELINE|,TARGET)*$"},"severityCodes":{"type":"string","pattern":"^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$"},"targetIds":{"type":"string","pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$"},"targetTypes":{"type":"string","pattern":"^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$"}}},"FrontendSecurityReviewResponseBody":{"$ref":"#/components/schemas/SecurityReviewResult"},"SecurityReviewResult":{"type":"object","properties":{"counts":{"$ref":"#/components/schemas/FrontendExemptionCounts"},"exemptions":{"type":"array","items":{"$ref":"#/components/schemas/FrontendExemption"},"description":"Security Review data"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"description":"Data needed by the Security Review page","required":["exemptions","pagination","counts"]},"FrontendExemptionCounts":{"type":"object","properties":{"Approved":{"type":"integer","description":"The count of approved Exemptions","default":0,"format":"int32"},"Expired":{"type":"integer","description":"The count of expired Exemptions","default":0,"format":"int32"},"Pending":{"type":"integer","description":"The count of pending Exemptions","default":0,"format":"int32"},"Rejected":{"type":"integer","description":"The count of rejected Exemptions","default":0,"format":"int32"}}},"FrontendExemption":{"type":"object","properties":{"approverEmail":{"type":"string","description":"Email of the user who approved this Exemption"},"approverId":{"type":"string","description":"User ID of the user who approved this Exemption"},"approverName":{"type":"string","description":"Name of the user who approved this Exemption"},"canApproveFor":{"type":"array","items":{"type":"string","enum":["ACCOUNT","ORG","PROJECT","PIPELINE","TARGET"]},"description":"Scopes that the user has permission to approve for this Exemption"},"canCancel":{"type":"boolean","description":"States if the user can cancel the exemption","default":false},"canCreate":{"type":"boolean","description":"States if the user can create or reopen the exemption","default":false},"canReApprove":{"type":"boolean","description":"States if the user can re-approve the exemption for the exemption's scope","default":false},"canReject":{"type":"boolean","description":"States if the user can reject the exemption","default":false},"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"expiration":{"type":"integer","description":"Unix timestamp at which this Exemption will expire","format":"int64"},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"isDeleted":{"type":"boolean","description":"States if the exemption is deleted","default":false},"isOccurrenceLevelExemption":{"type":"boolean","description":"States if the exemption is an occurrence level exemption","default":false},"issueSummary":{"$ref":"#/components/schemas/IssueSummary"},"lastModified":{"type":"integer","description":"Unix timestamp at which the resource was most recently modified","format":"int64"},"link":{"type":"string","description":"Link related to this Exemption"},"numOccurrences":{"type":"integer","description":"States how may occurrences are associated with the exemption, if not an issue level exemption","default":0,"format":"int64"},"orgId":{"type":"string","description":"ID of the Harness Org to which this Exemption applies"},"orgName":{"type":"string","description":"Name of the Harness Org to which this Exemption applies"},"pendingChanges":{"$ref":"#/components/schemas/PendingChanges"},"pipelineId":{"type":"string","description":"ID of the Harness pipeline to which this Exemption applies"},"projectId":{"type":"string","description":"ID of the Harness project to which this Exemption applies"},"projectName":{"type":"string","description":"Name of the Harness project"},"reason":{"type":"string","description":"Reason for Exemption"},"requestedOn":{"type":"integer","description":"Unix timestamp of the exemption's current request. Updates each time the exemption is reopened; falls back to the original creation time when never reopened.","format":"int64"},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested this Exemption"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"},"reviewedOn":{"type":"integer","description":"Unix timestamp when this exemption was reviewed (approved or rejected). Populated only for approved and rejected exemptions.","format":"int64"},"scope":{"type":"string","description":"The scope of the exemption","enum":["ACCOUNT","ORG","PROJECT","PIPELINE","TARGET"]},"status":{"type":"string","description":"Status of this Exemption"},"targetId":{"type":"string","description":"ID of Target to which this Exemption applies"},"targetName":{"type":"string","description":"Name of Target to which this Exemption applies"},"totalOccurrences":{"type":"integer","description":"States total occurrences associated with the issue exemption","default":0,"format":"int64"},"type":{"type":"string","description":"Type of Exemption"}},"description":"Exemption summary for frontend use","required":["id","issueSummary","status","reason","created","type","lastModified","requesterId","pendingChanges"]},"IssueSummary":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"aiTriagedReasoning":{"type":"string","description":"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."},"category":{"type":"string","description":"Qwiet AI issue category from issue.details.category"},"currentStatus":{"type":"string","description":"Current status of the Exemption","enum":["Pending","Approved","Rejected","Expired"]},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionCoverage":{"type":"string","description":"Indicates if the Security Issue was found to be Exempted or PartiallyExempted."},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatusAtScan":{"type":"string","description":"Exemption's status at the Security Scan created time","enum":["Pending","Approved","Rejected","Expired"]},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"inKev":{"type":"boolean","description":"True when any linked CVE is in the CISA KEV catalog"},"isNew":{"type":"boolean","description":"True if this issue is new in the current scan (not present in the baseline/previous scan). Only populated by the combined pipeline security issues V2 endpoint."},"key":{"type":"string","description":"Compression/deduplication key","maxLength":512},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"numNewOccurrences":{"type":"integer","format":"int64"},"numOccurrences":{"type":"integer","format":"int64"},"numRemediatedOccurrences":{"type":"integer","format":"int64"},"occurrenceInternalId":{"type":"integer","description":"Internal ID of the occurrence for this row; used for dataflow API (e.g. scan/issue/occurrences and pipeline security issues)","format":"int64"},"originStatus":{"type":"string","description":"The status of the origin, either 'approved' or 'unapproved'"},"origins":{"type":"array","items":{"type":"string"},"description":"The origin of the issue, either 'app' or 'base'"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"overridesAtScan":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides at scan time"},"remAgentPrNumber":{"type":"integer","description":"PR number from remediation_agent_summary.pr_metadata","format":"int64"},"remAgentPrStatus":{"type":"string","description":"PR status from rem-agent pr_metadata.Status (same enum as RemediationAgentActivity.status)","enum":["Open","Merged","Closed"]},"remAgentPrTitle":{"type":"string","description":"PR title from remediation_agent_summary.pr_metadata"},"remAgentPrUrl":{"type":"string","description":"PR URL from remediation_agent_summary.pr_metadata for the linked rem-agent summary"},"remAgentRepository":{"type":"string","description":"Repository from remediation_agent_summary.pr_metadata.RepositoryName"},"remAgentSummaryId":{"type":"integer","description":"remediation_agent_summary.internal_id when this issue occurrence is linked via issue_augmentation to a rem-agent summary with non-null pr_metadata. Used to filter the remediations tab after all-tab counts are computed.","format":"int64"},"scanId":{"type":"string","description":"The ID of the Scan that detected this Security Issue"},"severity":{"type":"number","description":"Numeric severity, from 0 (lowest) to 10 (highest)","format":"float"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Indicates if the Security Issue was found to be remediated, ignored, etc.","enum":["Remediated","Compensating Controls","Acceptable Use","Acceptable Risk","False Positive","Fix Unavailable","Exempted"]},"targetVariantName":{"type":"string","description":"Name of the associated Target and Variant","pattern":"^[a-zA-Z0-9_-]{22}$"},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128},"type":{"type":"string","description":"The type of vulnerability or quality issue for this Issue","enum":["SAST","DAST","SCA","IAC","SECRET","MISCONFIG","BUG_SMELLS","CODE_SMELLS","CODE_COVERAGE","EXTERNAL_POLICY"]}},"description":"Short summary of an Issue","required":["title","key","severity","severityCode","id","scanId"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"PendingChanges":{"type":"object","properties":{"durationDays":{"type":"integer","description":"The number of days an issue should be exempted for","format":"int64"}}},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/exemptions":{"post":{"description":"Provides data needed by the Global Exemptions Security Review page","operationId":"Frontend#GlobalExemptions","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"description":"Exemption status","in":"query","name":"status","required":true,"schema":{"description":"Exemption status","enum":["Approved","Pending","Expired","Rejected","Canceled"],"maxLength":8,"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"default":"","maxLength":128,"type":"string"}},{"allowEmptyValue":true,"description":"Column to sort by (default: requestedOn)","in":"query","name":"sortBy","schema":{"description":"Column to sort by (default: requestedOn)","enum":["severity","requestedBy","approvedBy","rejectedBy","requestedOn","expiredOn","exemptionDuration"],"maxLength":32,"type":"string"}},{"allowEmptyValue":true,"description":"Sort order: ascending or descending (default: desc)","in":"query","name":"sortOrder","schema":{"description":"Sort order: ascending or descending (default: desc)","enum":["asc","desc"],"maxLength":4,"type":"string"}},{"allowEmptyValue":true,"description":"Harness personal or service access token","in":"header","name":"X-Api-Key","schema":{"description":"Harness personal or service access token","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalExemptionsRequestBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendSecurityReviewResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## POST /api/v2/frontend/exemptions/filters

> Provide list of filters for exemptions

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"X-Api-Key_header_X-Api-Key":[],"jwt_header_Authorization":["sto_exemption_view"]}],"components":{"securitySchemes":{"X-Api-Key_header_X-Api-Key":{"type":"apiKey","name":"X-Api-Key","in":"header"},"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"ExemptionsFiltersRequestBody":{"type":"object","properties":{"orgProjectFilter":{"type":"array","items":{"type":"string","description":"Organization:project pair","pattern":"^[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$"},"description":"List of organization:project pairs"}}},"FrontendExemptionsFiltersResponseBody":{"$ref":"#/components/schemas/ExemptionsFiltersResult"},"ExemptionsFiltersResult":{"type":"object","properties":{"pipelines":{"type":"array","items":{"type":"string"},"description":"List of pipeline IDs with exemptions"},"reasons":{"type":"array","items":{"type":"string"},"description":"List of exemption reasons"},"scanners":{"type":"array","items":{"$ref":"#/components/schemas/ExemptionFilterScanner"},"description":"List of scanners with exemptions"},"targets":{"type":"array","items":{"$ref":"#/components/schemas/ExemptionFilterTarget"},"description":"List of targets with exemptions"},"users":{"type":"array","items":{"$ref":"#/components/schemas/ExemptionFilterUser"},"description":"List of all users in the account/scope"}},"description":"Available filters for exemptions","required":["targets","pipelines","scanners","users","reasons"]},"ExemptionFilterScanner":{"type":"object","properties":{"scannerId":{"type":"string","description":"Scanner ID"},"scannerName":{"type":"string","description":"Scanner display name"}},"description":"Scanner for filtering","required":["scannerId","scannerName"]},"ExemptionFilterTarget":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID"},"targetName":{"type":"string","description":"Target name"},"targetType":{"type":"string","description":"Target type"}},"description":"Target for filtering","required":["targetId","targetName","targetType"]},"ExemptionFilterUser":{"type":"object","properties":{"email":{"type":"string","description":"User email"},"name":{"type":"string","description":"User name"},"userId":{"type":"string","description":"User ID"}},"description":"User for filtering","required":["userId"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/exemptions/filters":{"post":{"description":"Provide list of filters for exemptions","operationId":"Frontend#ExemptionsFilters","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness personal or service access token","in":"header","name":"X-Api-Key","schema":{"description":"Harness personal or service access token","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExemptionsFiltersRequestBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendExemptionsFiltersResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/expiring-exemptions/{executionId}

> Returns issue summaries that are going to expire

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendExpiringExemptionsResponseBody":{"$ref":"#/components/schemas/IssueSummaries"},"IssueSummaries":{"type":"object","properties":{"issues":{"type":"array","items":{"$ref":"#/components/schemas/IssueSummary"},"description":"Short summary of an Issue"}},"description":"List of issue summaries","required":["issues"]},"IssueSummary":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"aiTriagedReasoning":{"type":"string","description":"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."},"category":{"type":"string","description":"Qwiet AI issue category from issue.details.category"},"currentStatus":{"type":"string","description":"Current status of the Exemption","enum":["Pending","Approved","Rejected","Expired"]},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionCoverage":{"type":"string","description":"Indicates if the Security Issue was found to be Exempted or PartiallyExempted."},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatusAtScan":{"type":"string","description":"Exemption's status at the Security Scan created time","enum":["Pending","Approved","Rejected","Expired"]},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"inKev":{"type":"boolean","description":"True when any linked CVE is in the CISA KEV catalog"},"isNew":{"type":"boolean","description":"True if this issue is new in the current scan (not present in the baseline/previous scan). Only populated by the combined pipeline security issues V2 endpoint."},"key":{"type":"string","description":"Compression/deduplication key","maxLength":512},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"numNewOccurrences":{"type":"integer","format":"int64"},"numOccurrences":{"type":"integer","format":"int64"},"numRemediatedOccurrences":{"type":"integer","format":"int64"},"occurrenceInternalId":{"type":"integer","description":"Internal ID of the occurrence for this row; used for dataflow API (e.g. scan/issue/occurrences and pipeline security issues)","format":"int64"},"originStatus":{"type":"string","description":"The status of the origin, either 'approved' or 'unapproved'"},"origins":{"type":"array","items":{"type":"string"},"description":"The origin of the issue, either 'app' or 'base'"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"overridesAtScan":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides at scan time"},"remAgentPrNumber":{"type":"integer","description":"PR number from remediation_agent_summary.pr_metadata","format":"int64"},"remAgentPrStatus":{"type":"string","description":"PR status from rem-agent pr_metadata.Status (same enum as RemediationAgentActivity.status)","enum":["Open","Merged","Closed"]},"remAgentPrTitle":{"type":"string","description":"PR title from remediation_agent_summary.pr_metadata"},"remAgentPrUrl":{"type":"string","description":"PR URL from remediation_agent_summary.pr_metadata for the linked rem-agent summary"},"remAgentRepository":{"type":"string","description":"Repository from remediation_agent_summary.pr_metadata.RepositoryName"},"remAgentSummaryId":{"type":"integer","description":"remediation_agent_summary.internal_id when this issue occurrence is linked via issue_augmentation to a rem-agent summary with non-null pr_metadata. Used to filter the remediations tab after all-tab counts are computed.","format":"int64"},"scanId":{"type":"string","description":"The ID of the Scan that detected this Security Issue"},"severity":{"type":"number","description":"Numeric severity, from 0 (lowest) to 10 (highest)","format":"float"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Indicates if the Security Issue was found to be remediated, ignored, etc.","enum":["Remediated","Compensating Controls","Acceptable Use","Acceptable Risk","False Positive","Fix Unavailable","Exempted"]},"targetVariantName":{"type":"string","description":"Name of the associated Target and Variant","pattern":"^[a-zA-Z0-9_-]{22}$"},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128},"type":{"type":"string","description":"The type of vulnerability or quality issue for this Issue","enum":["SAST","DAST","SCA","IAC","SECRET","MISCONFIG","BUG_SMELLS","CODE_SMELLS","CODE_COVERAGE","EXTERNAL_POLICY"]}},"description":"Short summary of an Issue","required":["title","key","severity","severityCode","id","scanId"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/expiring-exemptions/{executionId}":{"get":{"description":"Returns issue summaries that are going to expire","operationId":"Frontend#ExpiringExemptions","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Number of days of Baseline Issue counts to return","in":"query","name":"days","schema":{"default":7,"description":"Number of days of Baseline Issue counts to return","format":"int64","maximum":9999,"minimum":1,"type":"integer"}},{"description":"Harness pipeline execution ID","in":"path","name":"executionId","required":true,"schema":{"description":"Harness pipeline execution ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendExpiringExemptionsResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/issue-counts

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"IssueCounts":{"type":"object","properties":{"critical":{"type":"integer","description":"The number of Critical-severity Issues","format":"int32"},"high":{"type":"integer","description":"The number of High-severity Issues","format":"int32"},"ignored":{"type":"integer","description":"The number of Issues ignored due to Exemptions, and therefore not included in other counts","format":"int32"},"info":{"type":"integer","description":"The number of Informational Issues","format":"int32"},"low":{"type":"integer","description":"The number of Low-severity Issues","format":"int32"},"medium":{"type":"integer","description":"The number of Medium-severity Issues","format":"int32"},"newCritical":{"type":"integer","description":"The number of new Critical-severity Issues","format":"int32"},"newHigh":{"type":"integer","description":"The number of new High-severity Issues","format":"int32"},"newInfo":{"type":"integer","description":"The number of new Informational Issues","format":"int32"},"newLow":{"type":"integer","description":"The number of new Low-severity Issues","format":"int32"},"newMedium":{"type":"integer","description":"The number of new Medium-severity Issues","format":"int32"},"newUnassigned":{"type":"integer","description":"The number of new Issues with no associated severity code","format":"int32"},"unassigned":{"type":"integer","description":"The number of Issues with no associated severity code","format":"int32"}},"description":"The count of Security Issues, by severity code, for a given Harness Pipeline Execution","required":["critical","high","medium","low","info"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/issue-counts":{"get":{"description":"Returns counts of active Security Issues for one or more Pipeline Executions","operationId":"Frontend#ExecutionIssueCounts","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Comma-separated list of Harness Execution IDs for which to count Security Issues","in":"query","name":"executionIds","required":true,"schema":{"description":"Comma-separated list of Harness Execution IDs for which to count Security Issues","pattern":"[\\dA-Za-z_-]{22}(,[\\dA-Za-z_-]{22})*","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"$ref":"#/components/schemas/IssueCounts"},"type":"object"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/issue-exemption/{exemptionId}

> Returns a specific issue exemption

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendIssueForExemptionResponseBody":{"$ref":"#/components/schemas/IssueForExemptionResult"},"IssueForExemptionResult":{"type":"object","properties":{"baseImageName":{"type":"string","description":"base image name of the issue"},"baselineVariantId":{"type":"string","description":"The Baseline Target Variant related to this Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$"},"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"currentStatus":{"type":"string","description":"Current status of the Exemption","enum":["Pending","Approved","Rejected","Expired"]},"details":{"type":"object","description":"Issue details common to all occurrences","additionalProperties":true},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionCoverage":{"type":"string","description":"Indicates if the Security Issue was found to be Exempted or PartiallyExempted."},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatusAtScan":{"type":"string","description":"Exemption's status at the Security Scan created time","enum":["Pending","Approved","Rejected","Expired"]},"exploitability":{"type":"string","description":"Exploitability status of the issue (yes or no)"},"fallbackSeverityCode":{"type":"string","description":"Issue-table severity code used as occurrence fallback at read time; omitted from API responses","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"gracePeriodDays":{"type":"integer","description":"Issue-level grace period rollup in days. Only populated when scan honorGracePeriod is enabled.","format":"int64"},"harnessAugmentation":{"type":"object","description":"Harness Augmentation details","additionalProperties":true},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"inGrace":{"type":"boolean","description":"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."},"key":{"type":"string","description":"Compression/deduplication key","maxLength":512},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"numOccurrences":{"type":"integer","description":"Indicates the number of Occurrences on the Issue","format":"int32"},"occurrenceId":{"type":"integer","format":"int64","minimum":1},"occurrences":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Array of details unique to each occurrence"},"occurrencesPagination":{"$ref":"#/components/schemas/Pagination"},"originStatus":{"type":"string","description":"The status of the origin, either 'approved' or 'unapproved'"},"origins":{"type":"array","items":{"type":"string"},"description":"The origins of the issue"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"overridesAtScan":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides at scan time"},"productId":{"type":"string","description":"The scan tool that identified this Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$"},"reachability":{"type":"string","description":"Reachability status of the issue (reachable or unreachable)"},"recentActivities":{"type":"array","items":{"$ref":"#/components/schemas/ExemptionRecentActivity"},"description":"Up to 3 most recent exemption history events for this issue, newest first"},"severity":{"type":"number","description":"Numeric severity, from 0 (lowest) to 10 (highest)","format":"float"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Indicates if the Security Issue was found to be remediated, ignored, etc.","enum":["Remediated","Compensating Controls","Acceptable Use","Acceptable Risk","False Positive","Fix Unavailable","Exempted"]},"subproduct":{"type":"string","description":"The subproduct that identified this Security Issue"},"targetId":{"type":"string","description":"The Target that this Security Issue affects","pattern":"^[a-zA-Z0-9_-]{22}$"},"targetName":{"type":"string","description":"The Name of the Target that this Security Issue affects","pattern":"^[a-zA-Z0-9_-]{22}$"},"targetType":{"type":"string","description":"The type of the Target that this Security Issue affects","enum":["container","repository","instance","configuration"]},"targetVariantId":{"type":"string","description":"The Target Variant that this Security Issue affects","pattern":"^[a-zA-Z0-9_-]{22}$"},"targetVariantName":{"type":"string","description":"Name of the associated Target and Variant","pattern":"^[a-zA-Z0-9_-]{22}$"},"targets":{"type":"array","items":{"type":"object","additionalProperties":true}},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128},"type":{"type":"string","description":"The type of vulnerability or quality issue for this Issue","enum":["SAST","DAST","SCA","IAC","SECRET","MISCONFIG","BUG_SMELLS","CODE_SMELLS","CODE_COVERAGE","EXTERNAL_POLICY"]}},"required":["targets","targetType","title","key","severity","severityCode","productId","details","id","created"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"ExemptionRecentActivity":{"type":"object","properties":{"actorName":{"type":"string","description":"Display name of commenter. Omitted for auto-expiry."},"created":{"type":"integer","description":"Unix timestamp (seconds)","format":"int64"},"id":{"type":"string","description":"exemption_history.id — pass to Exemption Log drawer as selectedEventId","pattern":"^[a-zA-Z0-9_-]{22}$"},"isAutoExpiry":{"type":"boolean","description":"True when status=Expired and commenter_id IS NULL","default":false},"status":{"type":"string","enum":["Pending","Approved","Rejected","Expired","Canceled"]}},"description":"Compact exemption history preview for issue detail panels","required":["id","status","created","isAutoExpiry"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/issue-exemption/{exemptionId}":{"get":{"description":"Returns a specific issue exemption","operationId":"Frontend#IssueForExemption","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID of the user's current view context","in":"query","name":"viewOrgId","schema":{"description":"Harness Organization ID of the user's current view context","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID of the user's current view context","in":"query","name":"viewProjectId","schema":{"description":"Harness Project ID of the user's current view context","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness STO Target ID","in":"query","name":"targetId","schema":{"description":"Harness STO Target ID","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"description":"ID of Security Test Exemption","in":"path","name":"exemptionId","required":true,"schema":{"description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendIssueForExemptionResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## 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.

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendOccurrenceDataflowResponseBody":{"$ref":"#/components/schemas/OccurrenceDataflowResult"},"OccurrenceDataflowResult":{"type":"object","properties":{"dataflow":{"type":"object","description":"Raw dataflow data as received from external scanner","additionalProperties":true},"hasDataflow":{"type":"boolean","description":"Indicates if dataflow data exists for this occurrence"},"occurrenceInternalId":{"type":"integer","description":"Internal ID of the occurrence","format":"int64"}},"description":"Dataflow information for an occurrence","required":["occurrenceInternalId","hasDataflow"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/issues/{issueId}/occurrence/{occurrenceInternalId}/dataflow":{"get":{"description":"Returns dataflow information for a specific occurrence. This endpoint is designed for async fetching of dataflow data separately from occurrence details.","operationId":"Frontend#OccurrenceDataflow","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"description":"The ID of the Security Issue","in":"path","name":"issueId","required":true,"schema":{"description":"The ID of the Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"description":"Internal ID of the occurrence to fetch dataflow for","in":"path","name":"occurrenceInternalId","required":true,"schema":{"description":"Internal ID of the occurrence to fetch dataflow for","format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendOccurrenceDataflowResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"summary":"Get dataflow for an occurrence","tags":["Frontend"]}}}}
```

## 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.

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/issues/{issueId}/occurrence/{occurrenceInternalId}/sca-reachability":{"get":{"description":"Proxy Qwiet new-style SCA reachability for an occurrence. Same request as occurrence dataflow; success body is the unmodified Qwiet response.","operationId":"Frontend#OccurrenceScaReachability","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"description":"The ID of the Security Issue","in":"path","name":"issueId","required":true,"schema":{"description":"The ID of the Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"description":"Internal ID of the occurrence to fetch SCA reachability for","in":"path","name":"occurrenceInternalId","required":true,"schema":{"description":"Internal ID of the occurrence to fetch SCA reachability for","format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"format":"binary","type":"string"}}},"description":"OK response.","headers":{"Content-Type":{"description":"Content-Type of the Qwiet reachability body","schema":{"description":"Content-Type of the Qwiet reachability body","type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"summary":"Get SCA reachability for an occurrence","tags":["Frontend"]}}}}
```

## Provision Qwiet trial license

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["core_account_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendProvisionQwietTrialResponseBody":{"$ref":"#/components/schemas/ProvisionQwietTrialResult"},"ProvisionQwietTrialResult":{"type":"object","properties":{"message":{"type":"string","description":"Status message describing the result"}},"description":"Result of Qwiet trial provisioning","required":["message"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/licenses/qwiet/trial":{"post":{"description":"Provisions a Qwiet trial license for the account. Calls Qwiet first, then updates the STO license in ng-manager.","operationId":"Frontend#ProvisionQwietTrial","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendProvisionQwietTrialResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"summary":"Provision Qwiet trial license","tags":["Frontend"]}}}}
```

## Get Qwiet license usage

> Returns Qwiet license usage metrics

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["core_account_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendQwietLicenseUsageResponseBody":{"$ref":"#/components/schemas/QwietLicenseUsageResult"},"QwietLicenseUsageResult":{"type":"object","properties":{"ok":{"type":"boolean","description":"Indicates if the request was successful"},"response":{"$ref":"#/components/schemas/HarnessSastScaUsage"}},"description":"Qwiet license usage metrics","required":["ok","response"]},"HarnessSastScaUsage":{"type":"object","properties":{"totalContributingDevelopers":{"type":"integer","description":"Total number of contributing developers","format":"int64"}},"description":"License usage response data","required":["totalContributingDevelopers"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/metrics/licenseUsage":{"get":{"description":"Returns Qwiet license usage metrics","operationId":"Frontend#QwietLicenseUsage","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendQwietLicenseUsageResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"summary":"Get Qwiet license usage","tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/overview/baselines

> Provides baseline execution data needed by the Overview page

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendOverviewBaselinesResponseBody":{"$ref":"#/components/schemas/BaselineExecutions"},"BaselineExecutions":{"type":"object","properties":{"executionIds":{"type":"array","items":{"type":"string"},"description":"Harness Execution IDs of the most recent baseline scans"}},"required":["executionIds"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/overview/baselines":{"get":{"description":"Provides baseline execution data needed by the Overview page","operationId":"Frontend#OverviewBaselines","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendOverviewBaselinesResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/overview/historical-counts

> Provides historical issue data needed by the Overview page

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendOverviewHistoricalCountsResponseBody":{"$ref":"#/components/schemas/HistoricalCounts"},"HistoricalCounts":{"type":"object","properties":{"counts":{"type":"array","items":{"$ref":"#/components/schemas/HistoricalIssueCounts"},"description":"Counts of active issues on baselines for each of the past several days"}},"required":["counts"]},"HistoricalIssueCounts":{"type":"object","properties":{"active":{"type":"boolean","description":"True if at least one baseline was scanned on this date"},"counts":{"$ref":"#/components/schemas/MinimalIssueCounts"},"date":{"type":"integer","format":"int64"},"detections":{"$ref":"#/components/schemas/MinimalIssueCounts"},"remediations":{"$ref":"#/components/schemas/MinimalIssueCounts"}},"required":["date","counts","detections","remediations","active"]},"MinimalIssueCounts":{"type":"object","properties":{"critical":{"type":"integer","description":"The number of Critical-severity Issues","format":"int32"},"high":{"type":"integer","description":"The number of High-severity Issues","format":"int32"},"ignored":{"type":"integer","description":"The number of Issues ignored due to Exemptions, and therefore not included in other counts","format":"int32"},"info":{"type":"integer","description":"The number of Informational Issues","format":"int32"},"low":{"type":"integer","description":"The number of Low-severity Issues","format":"int32"},"medium":{"type":"integer","description":"The number of Medium-severity Issues","format":"int32"}},"description":"The count of Security Issues, by severity code, for a given Harness Pipeline Execution","required":["critical","high","medium","low","info"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/overview/historical-counts":{"get":{"description":"Provides historical issue data needed by the Overview page","operationId":"Frontend#OverviewHistoricalCounts","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Number of days of Baseline Issue counts to return","in":"query","name":"days","schema":{"default":30,"description":"Number of days of Baseline Issue counts to return","format":"int64","maximum":90,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendOverviewHistoricalCountsResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/pipeline-security/issues

> Provide issue data needed by the PipelineSecurityView

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendPipelineSecurityIssuesResponseBody":{"$ref":"#/components/schemas/PipelineSecurityIssuesResult"},"PipelineSecurityIssuesResult":{"type":"object","properties":{"counts":{"$ref":"#/components/schemas/PipelineSecurityCounts"},"existing":{"$ref":"#/components/schemas/PaginatedIssueSummaries"},"matchingSteps":{"type":"array","items":{"$ref":"#/components/schemas/StageStepID"}},"new":{"$ref":"#/components/schemas/PaginatedIssueSummaries"}},"description":"Data needed by the PipelineSecurityView","required":["existing","new","counts","matchingSteps"]},"PipelineSecurityCounts":{"type":"object","properties":{"activeIssueCount":{"type":"integer","format":"int64"},"existing":{"$ref":"#/components/schemas/FrontendIssueCounts"},"new":{"$ref":"#/components/schemas/FrontendIssueCounts"},"remAgentPRClosedCount":{"type":"integer","description":"Distinct rem-agent PRs in the current filtered issue set whose SCM status resolves to Closed.","format":"int64"},"remAgentPRMergedCount":{"type":"integer","description":"Distinct rem-agent PRs in the current filtered issue set whose SCM status resolves to Merged.","format":"int64"},"remAgentPROpenCount":{"type":"integer","description":"Distinct rem-agent PRs in the current filtered issue set whose SCM status resolves to Open.","format":"int64"},"remediated":{"$ref":"#/components/schemas/FrontendIssueCounts"},"totalActive":{"type":"integer","format":"int64"},"totalApp":{"type":"integer","format":"int64"},"totalBase":{"type":"integer","format":"int64"},"totalDeduplicationRate":{"type":"number","format":"float"},"totalExempted":{"type":"integer","format":"int64"},"totalNoLayer":{"type":"integer","format":"int64"},"totalNumOccurrence":{"type":"integer","format":"int64"},"totalPartiallyExempted":{"type":"integer","format":"int64"},"totalPending":{"type":"integer","format":"int64"},"totalRejected":{"type":"integer","format":"int64"},"totalRemAgentPRCount":{"type":"integer","description":"Historic/unfiltered distinct rem-agent PRs for the aggregated scans (same population as RemediationAgentActivities.total). Not limited to the current filtered issue set.","format":"int64"},"totalRemediated":{"type":"integer","format":"int64"}},"required":["new","existing","remediated","totalActive"]},"FrontendIssueCounts":{"type":"object","properties":{"active":{"type":"integer","description":"The total of active Issues","format":"int32"},"critical":{"type":"integer","description":"The number of Critical-severity Issues","format":"int32"},"high":{"type":"integer","description":"The number of High-severity Issues","format":"int32"},"ignored":{"type":"integer","description":"The number of Issues ignored due to Exemptions, and therefore not included in other counts","format":"int32"},"info":{"type":"integer","description":"The number of Informational Issues","format":"int32"},"low":{"type":"integer","description":"The number of Low-severity Issues","format":"int32"},"medium":{"type":"integer","description":"The number of Medium-severity Issues","format":"int32"}},"required":["active","critical","high","medium","low","info"]},"PaginatedIssueSummaries":{"type":"object","properties":{"issues":{"type":"array","items":{"$ref":"#/components/schemas/IssueSummary"},"description":"Diff-ed Issues related to this scan step, resulting from a diff between a scan and its target's latest baseline scan (previous scan if no baseline)"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["issues","pagination"]},"IssueSummary":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"aiTriagedReasoning":{"type":"string","description":"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."},"category":{"type":"string","description":"Qwiet AI issue category from issue.details.category"},"currentStatus":{"type":"string","description":"Current status of the Exemption","enum":["Pending","Approved","Rejected","Expired"]},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionCoverage":{"type":"string","description":"Indicates if the Security Issue was found to be Exempted or PartiallyExempted."},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatusAtScan":{"type":"string","description":"Exemption's status at the Security Scan created time","enum":["Pending","Approved","Rejected","Expired"]},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"inKev":{"type":"boolean","description":"True when any linked CVE is in the CISA KEV catalog"},"isNew":{"type":"boolean","description":"True if this issue is new in the current scan (not present in the baseline/previous scan). Only populated by the combined pipeline security issues V2 endpoint."},"key":{"type":"string","description":"Compression/deduplication key","maxLength":512},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"numNewOccurrences":{"type":"integer","format":"int64"},"numOccurrences":{"type":"integer","format":"int64"},"numRemediatedOccurrences":{"type":"integer","format":"int64"},"occurrenceInternalId":{"type":"integer","description":"Internal ID of the occurrence for this row; used for dataflow API (e.g. scan/issue/occurrences and pipeline security issues)","format":"int64"},"originStatus":{"type":"string","description":"The status of the origin, either 'approved' or 'unapproved'"},"origins":{"type":"array","items":{"type":"string"},"description":"The origin of the issue, either 'app' or 'base'"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"overridesAtScan":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides at scan time"},"remAgentPrNumber":{"type":"integer","description":"PR number from remediation_agent_summary.pr_metadata","format":"int64"},"remAgentPrStatus":{"type":"string","description":"PR status from rem-agent pr_metadata.Status (same enum as RemediationAgentActivity.status)","enum":["Open","Merged","Closed"]},"remAgentPrTitle":{"type":"string","description":"PR title from remediation_agent_summary.pr_metadata"},"remAgentPrUrl":{"type":"string","description":"PR URL from remediation_agent_summary.pr_metadata for the linked rem-agent summary"},"remAgentRepository":{"type":"string","description":"Repository from remediation_agent_summary.pr_metadata.RepositoryName"},"remAgentSummaryId":{"type":"integer","description":"remediation_agent_summary.internal_id when this issue occurrence is linked via issue_augmentation to a rem-agent summary with non-null pr_metadata. Used to filter the remediations tab after all-tab counts are computed.","format":"int64"},"scanId":{"type":"string","description":"The ID of the Scan that detected this Security Issue"},"severity":{"type":"number","description":"Numeric severity, from 0 (lowest) to 10 (highest)","format":"float"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Indicates if the Security Issue was found to be remediated, ignored, etc.","enum":["Remediated","Compensating Controls","Acceptable Use","Acceptable Risk","False Positive","Fix Unavailable","Exempted"]},"targetVariantName":{"type":"string","description":"Name of the associated Target and Variant","pattern":"^[a-zA-Z0-9_-]{22}$"},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128},"type":{"type":"string","description":"The type of vulnerability or quality issue for this Issue","enum":["SAST","DAST","SCA","IAC","SECRET","MISCONFIG","BUG_SMELLS","CODE_SMELLS","CODE_COVERAGE","EXTERNAL_POLICY"]}},"description":"Short summary of an Issue","required":["title","key","severity","severityCode","id","scanId"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"StageStepID":{"type":"object","properties":{"parentStageId":{"type":"string","description":"The stageId of the stage in parent pipeline which runs this scan from chain pipeline"},"stageId":{"type":"string"},"stepId":{"type":"string"}},"required":["stageId","stepId"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/pipeline-security/issues":{"get":{"description":"Provide issue data needed by the PipelineSecurityView","operationId":"Frontend#PipelineSecurityIssues","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Execution ID","in":"query","name":"executionId","required":true,"schema":{"description":"Harness Execution ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"pageExisting","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSizeExisting","schema":{"default":50,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"pageNew","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSizeNew","schema":{"default":50,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"stages","schema":{"pattern":"^([a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"steps","schema":{"pattern":"^([a-zA-Z0-9_]+\\.[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+\\.[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetIds","schema":{"pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetTypes","schema":{"pattern":"^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"productNames","schema":{"pattern":"^([a-zA-Z0-9_-]+(\\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\\|[a-zA-Z0-9_ -]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityCodes","schema":{"pattern":"^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"includeExempted","schema":{"default":true,"type":"boolean"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"issueTypes","schema":{"pattern":"^(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)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"status","schema":{"pattern":"^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"origins","schema":{"pattern":"^(app|base|no_layer)(,app|,base|,no_layer)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"originStatuses","schema":{"pattern":"^(approved|unapproved)(,approved|,unapproved)*$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","in":"query","name":"epss","schema":{"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","pattern":"^(all|gte_15|gte_5|gte_1|na)$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","in":"query","name":"epssPercentile","schema":{"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","pattern":"^(all|gte_99|gte_90|gte_80|na)$","type":"string"}},{"allowEmptyValue":true,"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","in":"query","name":"inKev","schema":{"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","pattern":"^(all|true|false)(,true|,false)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityOverridden","schema":{"pattern":"^(Yes|No)(,Yes|,No)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.","in":"query","name":"reachability","schema":{"description":"Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.","pattern":"^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","in":"query","name":"exploitability","schema":{"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","pattern":"^(yes|no)(,yes|,no)*$","type":"string"}},{"allowEmptyValue":true,"description":"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).","in":"query","name":"aiTriaged","schema":{"description":"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).","pattern":"^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","in":"query","name":"categories","schema":{"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","maxLength":4096,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendPipelineSecurityIssuesResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## Export security issues data

> Export pipeline security issues as JSON data for CSV generation

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"ExportPipelineSecurityIssuesCSVResponseBody":{"type":"object","properties":{"data":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"CSV data rows"},"executionId":{"type":"string","description":"Execution ID for this export"},"filename":{"type":"string","description":"Suggested filename for download"},"headers":{"type":"array","items":{"type":"string"},"description":"CSV column headers"},"totalRows":{"type":"integer","description":"Total number of data rows","format":"int64"}},"required":["headers","data","filename","totalRows","executionId"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/pipeline-security/issues/csv":{"get":{"description":"Export pipeline security issues as JSON data for CSV generation","operationId":"Frontend#PipelineSecurityIssuesCSV","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Execution ID","in":"query","name":"executionId","required":true,"schema":{"description":"Harness Execution ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"pageExisting","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSizeExisting","schema":{"default":50,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"pageNew","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSizeNew","schema":{"default":50,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"stages","schema":{"pattern":"^([a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"steps","schema":{"pattern":"^([a-zA-Z0-9_]+\\.[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+\\.[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetIds","schema":{"pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetTypes","schema":{"pattern":"^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"productNames","schema":{"pattern":"^([a-zA-Z0-9_-]+(\\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\\|[a-zA-Z0-9_ -]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityCodes","schema":{"pattern":"^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"includeExempted","schema":{"default":true,"type":"boolean"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"issueTypes","schema":{"pattern":"^(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)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"status","schema":{"pattern":"^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"origins","schema":{"pattern":"^(app|base|no_layer)(,app|,base|,no_layer)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"originStatuses","schema":{"pattern":"^(approved|unapproved)(,approved|,unapproved)*$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","in":"query","name":"epss","schema":{"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","pattern":"^(all|gte_15|gte_5|gte_1|na)$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","in":"query","name":"epssPercentile","schema":{"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","pattern":"^(all|gte_99|gte_90|gte_80|na)$","type":"string"}},{"allowEmptyValue":true,"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","in":"query","name":"inKev","schema":{"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","pattern":"^(all|true|false)(,true|,false)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityOverridden","schema":{"pattern":"^(Yes|No)(,Yes|,No)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.","in":"query","name":"reachability","schema":{"description":"Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.","pattern":"^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","in":"query","name":"exploitability","schema":{"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","pattern":"^(yes|no)(,yes|,no)*$","type":"string"}},{"allowEmptyValue":true,"description":"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).","in":"query","name":"aiTriaged","schema":{"description":"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).","pattern":"^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","in":"query","name":"categories","schema":{"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","maxLength":4096,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportPipelineSecurityIssuesCSVResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"summary":"Export security issues data","tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/pipeline-security/steps

> Provide step data needed by the PipelineSecurityView

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendPipelineSecurityStepsResponseBody":{"$ref":"#/components/schemas/PipelineSecurityStepsResult"},"PipelineSecurityStepsResult":{"type":"object","properties":{"exploitabilityFlag":{"type":"boolean","description":"Indicates if exploitability analysis is available (true if any step uses Harness Code)"},"issueCategories":{"type":"array","items":{"type":"string"},"description":"Distinct non-empty issue categories present in this pipeline execution"},"reachabilityFlag":{"type":"boolean","description":"Indicates if reachability analysis is available (true if any step uses Harness Code)"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/StepInfo"}}},"required":["steps","reachabilityFlag","exploitabilityFlag"]},"StepInfo":{"type":"object","properties":{"baselineVariant":{"type":"string","description":"A short description of the baseline target variant for the pipeline step's scan diff"},"parentStageId":{"type":"string","description":"The stageId of the stage in parent pipeline which runs this scan from chain pipeline"},"scanId":{"type":"string","description":"Scan id"},"scanTool":{"type":"string","description":"Product name of the scan tool used in this step"},"scanToolName":{"type":"string","description":"Human readable name of the scan tool used in this step"},"stageId":{"type":"string"},"stepId":{"type":"string"},"subproduct":{"type":"string","description":"The subproduct that identified this Security Issue"},"targetId":{"type":"string","description":"The ID of the target of the pipeline step's scan"},"targetName":{"type":"string","description":"The name of the target of the pipeline step's scan"},"targetType":{"type":"string","description":"The type of the target of the pipeline step's scan","enum":["repository","container","instance","configuration"]},"targetVariant":{"type":"string","description":"A short description of the target variant of the pipeline step's scan"}},"description":"Information about a Scan Step","required":["scanId","scanTool","scanToolName","targetId","targetName","targetType","targetVariant","stageId","stepId"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/pipeline-security/steps":{"get":{"description":"Provide step data needed by the PipelineSecurityView","operationId":"Frontend#PipelineSecuritySteps","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Execution ID","in":"query","name":"executionId","required":true,"schema":{"description":"Harness Execution ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendPipelineSecurityStepsResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/pipeline-security/v2/issues

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendPipelineSecurityIssuesV2ResponseBody":{"$ref":"#/components/schemas/PipelineSecurityIssuesV2Result"},"PipelineSecurityIssuesV2Result":{"type":"object","properties":{"counts":{"$ref":"#/components/schemas/PipelineSecurityCounts"},"issues":{"$ref":"#/components/schemas/PaginatedIssueSummaries"},"matchingSteps":{"type":"array","items":{"$ref":"#/components/schemas/StageStepID"}},"remediationCounts":{"$ref":"#/components/schemas/PipelineSecurityCounts"}},"description":"Combined, paginated list of pipeline security issues for the PipelineSecurityView","required":["issues","counts","matchingSteps"]},"PipelineSecurityCounts":{"type":"object","properties":{"activeIssueCount":{"type":"integer","format":"int64"},"existing":{"$ref":"#/components/schemas/FrontendIssueCounts"},"new":{"$ref":"#/components/schemas/FrontendIssueCounts"},"remAgentPRClosedCount":{"type":"integer","description":"Distinct rem-agent PRs in the current filtered issue set whose SCM status resolves to Closed.","format":"int64"},"remAgentPRMergedCount":{"type":"integer","description":"Distinct rem-agent PRs in the current filtered issue set whose SCM status resolves to Merged.","format":"int64"},"remAgentPROpenCount":{"type":"integer","description":"Distinct rem-agent PRs in the current filtered issue set whose SCM status resolves to Open.","format":"int64"},"remediated":{"$ref":"#/components/schemas/FrontendIssueCounts"},"totalActive":{"type":"integer","format":"int64"},"totalApp":{"type":"integer","format":"int64"},"totalBase":{"type":"integer","format":"int64"},"totalDeduplicationRate":{"type":"number","format":"float"},"totalExempted":{"type":"integer","format":"int64"},"totalNoLayer":{"type":"integer","format":"int64"},"totalNumOccurrence":{"type":"integer","format":"int64"},"totalPartiallyExempted":{"type":"integer","format":"int64"},"totalPending":{"type":"integer","format":"int64"},"totalRejected":{"type":"integer","format":"int64"},"totalRemAgentPRCount":{"type":"integer","description":"Historic/unfiltered distinct rem-agent PRs for the aggregated scans (same population as RemediationAgentActivities.total). Not limited to the current filtered issue set.","format":"int64"},"totalRemediated":{"type":"integer","format":"int64"}},"required":["new","existing","remediated","totalActive"]},"FrontendIssueCounts":{"type":"object","properties":{"active":{"type":"integer","description":"The total of active Issues","format":"int32"},"critical":{"type":"integer","description":"The number of Critical-severity Issues","format":"int32"},"high":{"type":"integer","description":"The number of High-severity Issues","format":"int32"},"ignored":{"type":"integer","description":"The number of Issues ignored due to Exemptions, and therefore not included in other counts","format":"int32"},"info":{"type":"integer","description":"The number of Informational Issues","format":"int32"},"low":{"type":"integer","description":"The number of Low-severity Issues","format":"int32"},"medium":{"type":"integer","description":"The number of Medium-severity Issues","format":"int32"}},"required":["active","critical","high","medium","low","info"]},"PaginatedIssueSummaries":{"type":"object","properties":{"issues":{"type":"array","items":{"$ref":"#/components/schemas/IssueSummary"},"description":"Diff-ed Issues related to this scan step, resulting from a diff between a scan and its target's latest baseline scan (previous scan if no baseline)"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["issues","pagination"]},"IssueSummary":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"aiTriagedReasoning":{"type":"string","description":"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."},"category":{"type":"string","description":"Qwiet AI issue category from issue.details.category"},"currentStatus":{"type":"string","description":"Current status of the Exemption","enum":["Pending","Approved","Rejected","Expired"]},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionCoverage":{"type":"string","description":"Indicates if the Security Issue was found to be Exempted or PartiallyExempted."},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatusAtScan":{"type":"string","description":"Exemption's status at the Security Scan created time","enum":["Pending","Approved","Rejected","Expired"]},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"inKev":{"type":"boolean","description":"True when any linked CVE is in the CISA KEV catalog"},"isNew":{"type":"boolean","description":"True if this issue is new in the current scan (not present in the baseline/previous scan). Only populated by the combined pipeline security issues V2 endpoint."},"key":{"type":"string","description":"Compression/deduplication key","maxLength":512},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"numNewOccurrences":{"type":"integer","format":"int64"},"numOccurrences":{"type":"integer","format":"int64"},"numRemediatedOccurrences":{"type":"integer","format":"int64"},"occurrenceInternalId":{"type":"integer","description":"Internal ID of the occurrence for this row; used for dataflow API (e.g. scan/issue/occurrences and pipeline security issues)","format":"int64"},"originStatus":{"type":"string","description":"The status of the origin, either 'approved' or 'unapproved'"},"origins":{"type":"array","items":{"type":"string"},"description":"The origin of the issue, either 'app' or 'base'"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"overridesAtScan":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides at scan time"},"remAgentPrNumber":{"type":"integer","description":"PR number from remediation_agent_summary.pr_metadata","format":"int64"},"remAgentPrStatus":{"type":"string","description":"PR status from rem-agent pr_metadata.Status (same enum as RemediationAgentActivity.status)","enum":["Open","Merged","Closed"]},"remAgentPrTitle":{"type":"string","description":"PR title from remediation_agent_summary.pr_metadata"},"remAgentPrUrl":{"type":"string","description":"PR URL from remediation_agent_summary.pr_metadata for the linked rem-agent summary"},"remAgentRepository":{"type":"string","description":"Repository from remediation_agent_summary.pr_metadata.RepositoryName"},"remAgentSummaryId":{"type":"integer","description":"remediation_agent_summary.internal_id when this issue occurrence is linked via issue_augmentation to a rem-agent summary with non-null pr_metadata. Used to filter the remediations tab after all-tab counts are computed.","format":"int64"},"scanId":{"type":"string","description":"The ID of the Scan that detected this Security Issue"},"severity":{"type":"number","description":"Numeric severity, from 0 (lowest) to 10 (highest)","format":"float"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Indicates if the Security Issue was found to be remediated, ignored, etc.","enum":["Remediated","Compensating Controls","Acceptable Use","Acceptable Risk","False Positive","Fix Unavailable","Exempted"]},"targetVariantName":{"type":"string","description":"Name of the associated Target and Variant","pattern":"^[a-zA-Z0-9_-]{22}$"},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128},"type":{"type":"string","description":"The type of vulnerability or quality issue for this Issue","enum":["SAST","DAST","SCA","IAC","SECRET","MISCONFIG","BUG_SMELLS","CODE_SMELLS","CODE_COVERAGE","EXTERNAL_POLICY"]}},"description":"Short summary of an Issue","required":["title","key","severity","severityCode","id","scanId"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"StageStepID":{"type":"object","properties":{"parentStageId":{"type":"string","description":"The stageId of the stage in parent pipeline which runs this scan from chain pipeline"},"stageId":{"type":"string"},"stepId":{"type":"string"}},"required":["stageId","stepId"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/pipeline-security/v2/issues":{"get":{"description":"Provide a single combined, paginated list of pipeline security issues (new-first, then existing) for the PipelineSecurityView","operationId":"Frontend#PipelineSecurityIssuesV2","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Execution ID","in":"query","name":"executionId","required":true,"schema":{"description":"Harness Execution ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"stages","schema":{"pattern":"^([a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"steps","schema":{"pattern":"^([a-zA-Z0-9_]+\\.[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+\\.[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetIds","schema":{"pattern":"^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"targetTypes","schema":{"pattern":"^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"productNames","schema":{"pattern":"^([a-zA-Z0-9_-]+(\\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\\|[a-zA-Z0-9_ -]+)?)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityCodes","schema":{"pattern":"^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"includeExempted","schema":{"default":true,"type":"boolean"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":256,"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"issueTypes","schema":{"pattern":"^(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)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"status","schema":{"pattern":"^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"origins","schema":{"pattern":"^(app|base|no_layer)(,app|,base|,no_layer)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"originStatuses","schema":{"pattern":"^(approved|unapproved)(,approved|,unapproved)*$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","in":"query","name":"epss","schema":{"description":"EPSS Probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (N/A - No EPSS data)","pattern":"^(all|gte_15|gte_5|gte_1|na)$","type":"string"}},{"allowEmptyValue":true,"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","in":"query","name":"epssPercentile","schema":{"description":"EPSS Percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (N/A - No EPSS data)","pattern":"^(all|gte_99|gte_90|gte_80|na)$","type":"string"}},{"allowEmptyValue":true,"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","in":"query","name":"inKev","schema":{"description":"CISA KEV catalog filter (multi-select, OR within): all (no filter), true (in KEV catalog), false (not in KEV catalog, including no CVE refs)","pattern":"^(all|true|false)(,true|,false)*$","type":"string"}},{"allowEmptyValue":true,"in":"query","name":"severityOverridden","schema":{"pattern":"^(Yes|No)(,Yes|,No)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.","in":"query","name":"reachability","schema":{"description":"Filter by reachability status. 'reachable' shows issues with any reachable occurrence. 'unknown' shows issues where all occurrences are unreachable.","pattern":"^(reachable|unknown-reachability)(,reachable|,unknown-reachability)*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","in":"query","name":"exploitability","schema":{"description":"Filter by exploitability status. 'yes' shows issues with any exploitable occurrence. 'no' shows issues where no occurrence is exploitable.","pattern":"^(yes|no)(,yes|,no)*$","type":"string"}},{"allowEmptyValue":true,"description":"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).","in":"query","name":"aiTriaged","schema":{"description":"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).","pattern":"^(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet)(,(LikelyFP|LikelyTP|NotEvaluatedYet|Likely FP|Likely TP|Not Evaluated Yet))*$","type":"string"}},{"allowEmptyValue":true,"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","in":"query","name":"categories","schema":{"description":"Filter by Qwiet AI issue category from issue.details.category. Comma-separated. Use (Blank) for issues without a category.","maxLength":4096,"type":"string"}},{"allowEmptyValue":true,"description":"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.","in":"query","name":"detectionType","schema":{"description":"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.","pattern":"^(new|existing)(,new|,existing)*$","type":"string"}},{"allowEmptyValue":true,"description":"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.","in":"query","name":"isRemediationAgentTab","schema":{"default":false,"description":"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.","type":"boolean"}},{"allowEmptyValue":true,"description":"When set with isRemediationAgentTab, restrict rem-agent issues to occurrences linked to this remediation_agent_summary.internal_id that still appear on current-execution scans.","in":"query","name":"remAgentSummaryId","schema":{"description":"When set with isRemediationAgentTab, restrict rem-agent issues to occurrences linked to this remediation_agent_summary.internal_id that still appear on current-execution scans.","format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendPipelineSecurityIssuesV2ResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/remediation-agent/activities

> List remediation-agent PR activities for pipeline scans of this execution (same scan aggregation as pipeline counts: STO\_AGGREGATE\_RETRY\_EXECUTIONS / STO\_AGGREGATE\_CHAIN\_EXECUTIONS), ordered by remediation\_agent\_summary.created DESC. total matches totalRemAgentPRCount for the same aggregated scans.

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendRemediationAgentActivitiesResponseBody":{"$ref":"#/components/schemas/RemediationAgentActivitiesResult"},"RemediationAgentActivitiesResult":{"type":"object","properties":{"activities":{"type":"array","items":{"$ref":"#/components/schemas/RemediationAgentActivity"}},"index":{"type":"integer","description":"Echo of request index","format":"int64"},"total":{"type":"integer","description":"Total matching summary rows across all pages (same population as PipelineSecurityCounts.totalRemAgentPRCount for these aggregated scans). Not the page length.","format":"int64"}},"required":["activities","total","index"]},"RemediationAgentActivity":{"type":"object","properties":{"buildId":{"type":"string","description":"pr_metadata.BuildId from post-plugin"},"commits":{"type":"integer","description":"pr_metadata.CommitsCount from post-plugin","format":"int64"},"createdAt":{"type":"string","description":"RFC3339 remediation_agent_summary.created","format":"date-time"},"executionId":{"type":"string","description":"Pipeline execution id of original_scan_id (for PSI V2)","pattern":"^[a-zA-Z0-9_-]{22}$"},"fixVerified":{"type":"string","description":"Mapped validation_metadata.remediation.status","enum":["success","failure","unverified"]},"fixVerifiedPipeline":{"$ref":"#/components/schemas/RemediationPipelineRef"},"id":{"type":"string","description":"remediation_agent_summary.internal_id as string (remAgentSummaryId)"},"jiraTicketId":{"type":"string"},"jiraTicketUrl":{"type":"string"},"prNumber":{"type":"integer","format":"int64"},"prTitle":{"type":"string"},"prUrl":{"type":"string"},"regression":{"type":"string","description":"Mapped validation_metadata.build.status","enum":["success","failure","unverified"]},"regressionPipeline":{"$ref":"#/components/schemas/RemediationPipelineRef"},"repository":{"type":"string"},"scanId":{"type":"string","pattern":"^[a-zA-Z0-9_-]{22}$"},"sourceBranch":{"type":"string"},"status":{"type":"string","description":"PR status for View Remediations (Open|Merged|Closed; synced by background task into pr_metadata)","enum":["Open","Merged","Closed"]},"targetBranch":{"type":"string"}},"description":"One remediation-agent PR activity for the View Remediations drawer","required":["id","scanId","executionId","repository","prNumber","prTitle","prUrl","status","commits","sourceBranch","targetBranch","buildId","createdAt","fixVerified","regression"]},"RemediationPipelineRef":{"type":"object","properties":{"executionId":{"type":"string","pattern":"^[a-zA-Z0-9_-]{22}$"},"orgId":{"type":"string"},"pipelineId":{"type":"string"},"projectId":{"type":"string"}},"description":"Harness pipeline execution coordinates so the FE can build an execution URL"},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/remediation-agent/activities":{"get":{"description":"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.","operationId":"Frontend#RemediationAgentActivities","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Execution ID","in":"query","name":"executionId","required":true,"schema":{"description":"Harness Execution ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"0-based offset into activities ordered by created DESC","in":"query","name":"index","schema":{"default":0,"description":"0-based offset into activities ordered by created DESC","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of activities to return per request (FE typically loads 100 and paginates locally)","in":"query","name":"pageSize","schema":{"default":1,"description":"Number of activities to return per request (FE typically loads 100 and paginates locally)","format":"int64","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendRemediationAgentActivitiesResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/remediation/trend

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

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_issue_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"ArtifactsArtifactRemediationTrendResponseBody":{"$ref":"#/components/schemas/RemediationTrendResult"},"RemediationTrendResult":{"type":"object","properties":{"trend":{"type":"array","items":{"$ref":"#/components/schemas/RemediationTrendPoint"},"description":"Per-execution cumulative discovered vs remediated occurrence counts, ordered by execution start oldest to newest"}},"required":["trend"]},"RemediationTrendPoint":{"type":"object","properties":{"cumulativeNew":{"type":"integer","description":"Cumulative discovered occurrences as of this execution's end","format":"int64"},"cumulativeRemediated":{"type":"integer","description":"Cumulative remediated occurrences as of this execution's end","format":"int64"},"executionId":{"type":"string","description":"Harness execution ID"},"timestamp":{"type":"string","description":"ISO-8601 timestamp when the execution started"}},"description":"Cumulative new vs remediated occurrence counts for a single execution","required":["executionId","timestamp","cumulativeNew","cumulativeRemediated"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/remediation/trend":{"get":{"description":"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).","operationId":"Frontend#RemediationTrend","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Associated Target Variant ID","in":"query","name":"targetVariantId","schema":{"description":"Associated Target Variant ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Number of days to fetch trend data for","in":"query","name":"intervalDays","schema":{"default":30,"description":"Number of days to fetch trend data for","format":"int64","maximum":90,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactsArtifactRemediationTrendResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/security-review

> Provides data needed by the Security Review page

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_exemption_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendSecurityReviewResponseBody":{"$ref":"#/components/schemas/SecurityReviewResult"},"SecurityReviewResult":{"type":"object","properties":{"counts":{"$ref":"#/components/schemas/FrontendExemptionCounts"},"exemptions":{"type":"array","items":{"$ref":"#/components/schemas/FrontendExemption"},"description":"Security Review data"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"description":"Data needed by the Security Review page","required":["exemptions","pagination","counts"]},"FrontendExemptionCounts":{"type":"object","properties":{"Approved":{"type":"integer","description":"The count of approved Exemptions","default":0,"format":"int32"},"Expired":{"type":"integer","description":"The count of expired Exemptions","default":0,"format":"int32"},"Pending":{"type":"integer","description":"The count of pending Exemptions","default":0,"format":"int32"},"Rejected":{"type":"integer","description":"The count of rejected Exemptions","default":0,"format":"int32"}}},"FrontendExemption":{"type":"object","properties":{"approverEmail":{"type":"string","description":"Email of the user who approved this Exemption"},"approverId":{"type":"string","description":"User ID of the user who approved this Exemption"},"approverName":{"type":"string","description":"Name of the user who approved this Exemption"},"canApproveFor":{"type":"array","items":{"type":"string","enum":["ACCOUNT","ORG","PROJECT","PIPELINE","TARGET"]},"description":"Scopes that the user has permission to approve for this Exemption"},"canCancel":{"type":"boolean","description":"States if the user can cancel the exemption","default":false},"canCreate":{"type":"boolean","description":"States if the user can create or reopen the exemption","default":false},"canReApprove":{"type":"boolean","description":"States if the user can re-approve the exemption for the exemption's scope","default":false},"canReject":{"type":"boolean","description":"States if the user can reject the exemption","default":false},"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"expiration":{"type":"integer","description":"Unix timestamp at which this Exemption will expire","format":"int64"},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"isDeleted":{"type":"boolean","description":"States if the exemption is deleted","default":false},"isOccurrenceLevelExemption":{"type":"boolean","description":"States if the exemption is an occurrence level exemption","default":false},"issueSummary":{"$ref":"#/components/schemas/IssueSummary"},"lastModified":{"type":"integer","description":"Unix timestamp at which the resource was most recently modified","format":"int64"},"link":{"type":"string","description":"Link related to this Exemption"},"numOccurrences":{"type":"integer","description":"States how may occurrences are associated with the exemption, if not an issue level exemption","default":0,"format":"int64"},"orgId":{"type":"string","description":"ID of the Harness Org to which this Exemption applies"},"orgName":{"type":"string","description":"Name of the Harness Org to which this Exemption applies"},"pendingChanges":{"$ref":"#/components/schemas/PendingChanges"},"pipelineId":{"type":"string","description":"ID of the Harness pipeline to which this Exemption applies"},"projectId":{"type":"string","description":"ID of the Harness project to which this Exemption applies"},"projectName":{"type":"string","description":"Name of the Harness project"},"reason":{"type":"string","description":"Reason for Exemption"},"requestedOn":{"type":"integer","description":"Unix timestamp of the exemption's current request. Updates each time the exemption is reopened; falls back to the original creation time when never reopened.","format":"int64"},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested this Exemption"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"},"reviewedOn":{"type":"integer","description":"Unix timestamp when this exemption was reviewed (approved or rejected). Populated only for approved and rejected exemptions.","format":"int64"},"scope":{"type":"string","description":"The scope of the exemption","enum":["ACCOUNT","ORG","PROJECT","PIPELINE","TARGET"]},"status":{"type":"string","description":"Status of this Exemption"},"targetId":{"type":"string","description":"ID of Target to which this Exemption applies"},"targetName":{"type":"string","description":"Name of Target to which this Exemption applies"},"totalOccurrences":{"type":"integer","description":"States total occurrences associated with the issue exemption","default":0,"format":"int64"},"type":{"type":"string","description":"Type of Exemption"}},"description":"Exemption summary for frontend use","required":["id","issueSummary","status","reason","created","type","lastModified","requesterId","pendingChanges"]},"IssueSummary":{"type":"object","properties":{"aiTriaged":{"type":"string","description":"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.","enum":["LikelyFP","LikelyTP","NotEvaluatedYet"]},"aiTriagedReasoning":{"type":"string","description":"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."},"category":{"type":"string","description":"Qwiet AI issue category from issue.details.category"},"currentStatus":{"type":"string","description":"Current status of the Exemption","enum":["Pending","Approved","Rejected","Expired"]},"epssLastModified":{"type":"string","description":"Last date the issue EPSS data was last modified"},"epssPercentile":{"type":"number","description":"EPSS percentile of the issue CVE identifier","format":"double"},"epssScore":{"type":"number","description":"EPSS score of the issue CVE identifier","format":"double"},"exemptionCoverage":{"type":"string","description":"Indicates if the Security Issue was found to be Exempted or PartiallyExempted."},"exemptionId":{"type":"string","description":"ID of Security Test Exemption","pattern":"^[a-zA-Z0-9_-]{22}$"},"exemptionStatusAtScan":{"type":"string","description":"Exemption's status at the Security Scan created time","enum":["Pending","Approved","Rejected","Expired"]},"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"inKev":{"type":"boolean","description":"True when any linked CVE is in the CISA KEV catalog"},"isNew":{"type":"boolean","description":"True if this issue is new in the current scan (not present in the baseline/previous scan). Only populated by the combined pipeline security issues V2 endpoint."},"key":{"type":"string","description":"Compression/deduplication key","maxLength":512},"lastDetected":{"type":"integer","description":"Timestamp of the last detection of this issue","format":"int64"},"numNewOccurrences":{"type":"integer","format":"int64"},"numOccurrences":{"type":"integer","format":"int64"},"numRemediatedOccurrences":{"type":"integer","format":"int64"},"occurrenceInternalId":{"type":"integer","description":"Internal ID of the occurrence for this row; used for dataflow API (e.g. scan/issue/occurrences and pipeline security issues)","format":"int64"},"originStatus":{"type":"string","description":"The status of the origin, either 'approved' or 'unapproved'"},"origins":{"type":"array","items":{"type":"string"},"description":"The origin of the issue, either 'app' or 'base'"},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides"},"overridesAtScan":{"type":"array","items":{"$ref":"#/components/schemas/OverrideResult"},"description":"List of issue overrides at scan time"},"remAgentPrNumber":{"type":"integer","description":"PR number from remediation_agent_summary.pr_metadata","format":"int64"},"remAgentPrStatus":{"type":"string","description":"PR status from rem-agent pr_metadata.Status (same enum as RemediationAgentActivity.status)","enum":["Open","Merged","Closed"]},"remAgentPrTitle":{"type":"string","description":"PR title from remediation_agent_summary.pr_metadata"},"remAgentPrUrl":{"type":"string","description":"PR URL from remediation_agent_summary.pr_metadata for the linked rem-agent summary"},"remAgentRepository":{"type":"string","description":"Repository from remediation_agent_summary.pr_metadata.RepositoryName"},"remAgentSummaryId":{"type":"integer","description":"remediation_agent_summary.internal_id when this issue occurrence is linked via issue_augmentation to a rem-agent summary with non-null pr_metadata. Used to filter the remediations tab after all-tab counts are computed.","format":"int64"},"scanId":{"type":"string","description":"The ID of the Scan that detected this Security Issue"},"severity":{"type":"number","description":"Numeric severity, from 0 (lowest) to 10 (highest)","format":"float"},"severityCode":{"type":"string","description":"Severity code","enum":["Critical","High","Medium","Low","Info","Unassigned"]},"status":{"type":"string","description":"Indicates if the Security Issue was found to be remediated, ignored, etc.","enum":["Remediated","Compensating Controls","Acceptable Use","Acceptable Risk","False Positive","Fix Unavailable","Exempted"]},"targetVariantName":{"type":"string","description":"Name of the associated Target and Variant","pattern":"^[a-zA-Z0-9_-]{22}$"},"title":{"type":"string","description":"Title of the Security Issue","maxLength":128},"type":{"type":"string","description":"The type of vulnerability or quality issue for this Issue","enum":["SAST","DAST","SCA","IAC","SECRET","MISCONFIG","BUG_SMELLS","CODE_SMELLS","CODE_COVERAGE","EXTERNAL_POLICY"]}},"description":"Short summary of an Issue","required":["title","key","severity","severityCode","id","scanId"]},"OverrideResult":{"type":"object","properties":{"created":{"type":"integer","description":"Unix timestamp at which the resource was created","format":"int64"},"fieldName":{"type":"string","description":"Name of the field that is being overridden"},"impactedTargetId":{"type":"string","description":"ID of the impacted target"},"originalFieldValue":{"type":"string","description":"Original value of the field that is being overridden"},"overrideFieldValue":{"type":"string","description":"Value of the field that is being overridden","maxLength":1024},"overrideId":{"type":"string","description":"Override Id of the override"},"reason":{"type":"string","description":"Text describing why this override is necessary","maxLength":1024},"requesterEmail":{"type":"string","description":"Email of the user who requested this Exemption"},"requesterId":{"type":"string","description":"User ID of the user who requested the override"},"requesterName":{"type":"string","description":"Name of the user who requested this Exemption"}},"required":["fieldName","originalFieldValue","overrideFieldValue","reason","created"]},"PendingChanges":{"type":"object","properties":{"durationDays":{"type":"integer","description":"The number of days an issue should be exempted for","format":"int64"}}},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/security-review":{"get":{"description":"Provides data needed by the Security Review page","operationId":"Frontend#SecurityReview","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"description":"Exemption status","in":"query","name":"status","required":true,"schema":{"description":"Exemption status","enum":["Approved","Pending","Expired","Rejected","Canceled"],"maxLength":8,"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"default":"","maxLength":128,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendSecurityReviewResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## GET /api/v2/frontend/test-targets

> Provides data needed by the Test Targets page

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_testtarget_view"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"FrontendTestTargetsResponseBody":{"$ref":"#/components/schemas/TestTargetResult"},"TestTargetResult":{"type":"object","properties":{"targets":{"type":"array","items":{"$ref":"#/components/schemas/TestTarget"},"description":"Test Targets data"},"targetsPagination":{"$ref":"#/components/schemas/Pagination"}},"description":"Data needed by the Test Targets page","required":["targets","targetsPagination"]},"TestTarget":{"type":"object","properties":{"approvedVariantsCount":{"type":"integer","description":"Number of approved variants for a test target","format":"int64"},"baseline":{"$ref":"#/components/schemas/TestTargetVariant"},"baselineRegEx":{"type":"string","description":"RegEx to match for dynamically selecting the Baseline for this Scan Target. Must be compatible with the RE2 standard.","maxLength":128},"directory":{"type":"string","description":"Directory of target"},"id":{"type":"string","description":"ID of target"},"lastScanned":{"type":"integer","description":"Timestamp at which the Baseline was last scanned","format":"int64"},"name":{"type":"string","description":"Name of Target"},"status":{"type":"string","description":"Status of target as base image","enum":["approved","unapproved"]},"totalVariantsCount":{"type":"integer","description":"Number of total variants for a test target","format":"int64"},"type":{"type":"string","description":"Type of target","enum":["container","repository","instance","configuration"]},"url":{"type":"string","description":"Url of target"},"variants":{"type":"array","items":{"$ref":"#/components/schemas/TestTargetVariant"}}},"description":"Individual TestTarget","required":["id","name","type","variants","lastScanned","approvedVariantsCount","totalVariantsCount"]},"TestTargetVariant":{"type":"object","properties":{"id":{"type":"string","description":"Target Variant ID"},"name":{"type":"string","description":"Name of Target Variant"},"status":{"type":"string","description":"Status of target variant","enum":["approved","unapproved"]}},"description":"Individual Test Target Variant","required":["id","name"]},"Pagination":{"type":"object","properties":{"link":{"type":"string","description":"Link-based paging"},"page":{"type":"integer","description":"Page number (starting from 0)","format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","format":"int64"},"totalItems":{"type":"integer","description":"Total results available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["page","pageSize","totalPages","totalItems"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/test-targets":{"get":{"description":"Provides data needed by the Test Targets page","operationId":"Frontend#TestTargets","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Page number to fetch (starting from 0)","in":"query","name":"page","schema":{"default":0,"description":"Page number to fetch (starting from 0)","format":"int64","minimum":0,"type":"integer"}},{"allowEmptyValue":true,"description":"Number of results per page","in":"query","name":"pageSize","schema":{"default":30,"description":"Number of results per page","format":"int64","maximum":100,"minimum":1,"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"search","schema":{"maxLength":128,"type":"string"}},{"allowEmptyValue":true,"description":"Associated Target ID","in":"query","name":"targetId","schema":{"description":"Associated Target ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendTestTargetsResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## PUT /api/v2/frontend/test-targets/{targetId}/variants/status

> Updates statuses for a list of Test Target Variants

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_testtarget_approve"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"UpdateTestTargetVariantsRequestBody":{"type":"object","properties":{"targetVariants":{"type":"array","items":{"$ref":"#/components/schemas/TargetVariantStatusInfo"},"description":"List of target variants with their status","minItems":1,"maxItems":100}}},"TargetVariantStatusInfo":{"type":"object","properties":{"id":{"type":"string","description":"Resource identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"status":{"type":"string","description":"Associated Target Variant Status","pattern":"^(approved|unapproved)$"}},"required":["id","status"]},"Status":{"type":"object","properties":{"status":{"type":"string","description":"Status"}},"required":["status"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/test-targets/{targetId}/variants/status":{"put":{"description":"Updates statuses for a list of Test Target Variants","operationId":"Frontend#UpdateTestTargetVariants","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"description":"Associated Target ID","in":"path","name":"targetId","required":true,"schema":{"description":"Associated Target ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTestTargetVariantsRequestBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## POST /api/v2/frontend/tickets

> Create or link Jira ticket for an issue with standardized details

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_ticket_edit"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"CreateTicketForIssueRequestBody":{"type":"object","properties":{"customFields":{"type":"object","description":"Custom fields to add to this External Ticket","additionalProperties":true},"harnessStoUrl":{"type":"string","description":"Pre-built Harness STO UI URL for Jira description"},"identifiers":{"type":"object","description":"Identifier(s) to associate with this ticket, in \"key\":\"value\" and/or \"key\":ArrayOf(\"values\"...) form","additionalProperties":true},"issueId":{"type":"string","description":"The ID of the Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$"},"issueType":{"type":"string","description":"Jira issue type"},"notes":{"type":"string","description":"Optional notes to append to ticket description"},"projectKey":{"type":"string","description":"Jira project key"},"scanId":{"type":"string","description":"The Security Scan execution that detected this Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$"},"targetId":{"type":"string","description":"Associated Target ID","pattern":"^[a-zA-Z0-9_-]{22}$"},"title":{"type":"string","description":"Optional title override for this ticket"}},"required":["issueId","projectKey","issueType"]},"FrontendCreateTicketForIssueResponseBody":{"$ref":"#/components/schemas/CreateTicketForIssueResult"},"CreateTicketForIssueResult":{"type":"object","properties":{"externalId":{"type":"string","description":"External ticket key from provider"},"id":{"type":"string","description":"Stored ticket identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"url":{"type":"string","description":"External ticket URL"}},"required":["id"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/tickets":{"post":{"description":"Create or link Jira ticket for an issue with standardized details","operationId":"Frontend#CreateTicketForIssue","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTicketForIssueRequestBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendCreateTicketForIssueResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```

## POST /api/v2/frontend/tickets/occurrence

> Create Jira ticket for a single occurrence

```json
{"openapi":"3.0.3","info":{"title":"Harness Security Test Orchestration API","version":"1.0.0"},"tags":[{"name":"Frontend","description":"Endpoints that power the STO micro-frontend"}],"servers":[{"url":"https://app.harness.io/gateway/sto"},{"url":"http://127.0.0.1:4000"}],"security":[{"jwt_header_Authorization":["sto_ticket_edit"]}],"components":{"securitySchemes":{"jwt_header_Authorization":{"type":"http","scheme":"bearer"}},"schemas":{"CreateTicketForOccurrenceRequestBody":{"type":"object","properties":{"customFields":{"type":"object","description":"Custom fields to add to this External Ticket","additionalProperties":true},"issueId":{"type":"string","description":"The ID of the Security Issue","pattern":"^[a-zA-Z0-9_-]{22}$"},"issueType":{"type":"string","description":"Jira issue type"},"notes":{"type":"string","description":"Optional notes to append to ticket description"},"occurrenceDeeplinkUrl":{"type":"string","description":"Pre-built Harness STO UI URL for this occurrence; omitted from description when empty"},"occurrenceInternalId":{"type":"integer","description":"Internal ID of the occurrence (occurrence.internal_id); also used as the ticket 'occurrence' identifier value","format":"int64"},"projectKey":{"type":"string","description":"Jira project key"},"targetId":{"type":"string","description":"Associated Target ID","pattern":"^[a-zA-Z0-9_-]{22}$"},"title":{"type":"string","description":"Optional title override for this ticket"}},"required":["issueId","targetId","occurrenceInternalId","projectKey","issueType"]},"FrontendCreateTicketForIssueResponseBody":{"$ref":"#/components/schemas/CreateTicketForIssueResult"},"CreateTicketForIssueResult":{"type":"object","properties":{"externalId":{"type":"string","description":"External ticket key from provider"},"id":{"type":"string","description":"Stored ticket identifier","pattern":"^[a-zA-Z0-9_-]{22}$"},"url":{"type":"string","description":"External ticket URL"}},"required":["id"]},"NotFound":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"integer","default":404,"format":"int64"}},"required":["message"]}}},"paths":{"/api/v2/frontend/tickets/occurrence":{"post":{"description":"Create Jira ticket for a single occurrence","operationId":"Frontend#CreateTicketForOccurrence","parameters":[{"allowEmptyValue":true,"description":"Harness Account ID","in":"query","name":"accountId","required":true,"schema":{"description":"Harness Account ID","pattern":"^[a-zA-Z0-9_-]{22}$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Organization ID","in":"query","name":"orgId","required":true,"schema":{"description":"Harness Organization ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}},{"allowEmptyValue":true,"description":"Harness Project ID","in":"query","name":"projectId","required":true,"schema":{"description":"Harness Project ID","maxLength":128,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTicketForOccurrenceRequestBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontendCreateTicketForIssueResponseBody"}}},"description":"OK response."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"BadRequest: Bad Request response."},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Unauthorized: Unauthorized response."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"Forbidden: Forbidden response."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"NotFound: Not Found response."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"TooManyRequests: Too Many Requests response."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}},"description":"InternalServerError: Internal Server Error response."}},"tags":["Frontend"]}}}}
```
