openapi: 3.0.3 info: title: Harness Security Test Orchestration API description: Read and manage Security Test results. version: 1.0.0 servers: - url: https://app.harness.io/gateway/sto - url: http://127.0.0.1:4000 paths: /api/usage: get: description: Report usage operationId: Usage#ReportUsage parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Timestamp indicating the end of the usage interval (in milliseconds since Unix epoch) example: 1670427991307 in: query name: timestamp required: true schema: description: Timestamp indicating the end of the usage interval (in milliseconds since Unix epoch) example: 1670427991307 format: int64 type: integer - allowEmptyValue: true description: Usage calculation interval (in days) example: 30 in: query name: interval schema: default: 30 description: Usage calculation interval (in days) example: 30 format: int64 type: integer responses: "200": content: application/json: example: accountIdentifier: BdsgiWzwT7CQFeJl9XkQ3A activeDevelopers: count: 0 displayName: Last 30 Days references: - Vitae dolorum ullam atque aut cum qui. - Dolore tempore incidunt expedita voluptatem excepturi. - Eos culpa. activeScans: count: 0 displayName: Last 30 Days references: - Vitae dolorum ullam atque aut cum qui. - Dolore tempore incidunt expedita voluptatem excepturi. - Eos culpa. module: STO timestamp: 1670427991307 schema: $ref: '#/components/schemas/UsageReportUsageResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - core_account_view tags: - Usage x-internal: true /api/usage/all-accounts: get: description: Report usage for all accounts operationId: Usage#UsageAllAccounts parameters: - allowEmptyValue: true description: Timestamp indicating the end of the usage interval (in milliseconds since Unix epoch) example: 1670427991307 in: query name: timestamp required: true schema: description: Timestamp indicating the end of the usage interval (in milliseconds since Unix epoch) example: 1670427991307 format: int64 type: integer - allowEmptyValue: true description: Usage calculation interval (in days) example: 30 in: query name: interval schema: default: 30 description: Usage calculation interval (in days) example: 30 format: int64 type: integer responses: "200": content: application/json: example: timestamp: 1670427991307 usage: - accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 - accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 - accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 schema: $ref: '#/components/schemas/UsageUsageAllAccountsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_internal_use_only tags: - Usage x-internal: true /api/v1/qwiet/scan-status: post: description: Record a terminal Qwiet scan and publish it for downstream ingestion operationId: QwietIngestion#ReportScanStatus parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: external_scan_id: 5601662927485064743 external_target_name: "83" scan_completed_at: "2009-05-06T03:36:11Z" scan_status: Success scan_types: - ke - yd source: ujk target_name: j target_variant: 1n user_id: 1ka schema: example: external_scan_id: 3385895546843506570 external_target_name: etd scan_completed_at: "1974-09-19T02:26:29Z" scan_status: Success scan_types: - el9 - wu - ipx source: tap target_name: h2u target_variant: mb user_id: nr properties: external_scan_id: description: Qwiet polyglot scan id for a compound scan or project scan id for a non-compound scan example: 2505877547503253994 format: int64 minimum: 1 type: integer external_target_name: description: Exact Qwiet compound name or project id used by APIs with compound-to-project fallback example: "6" maxLength: 256 minLength: 1 type: string scan_completed_at: example: "2015-10-09T18:27:05Z" format: date-time type: string scan_status: enum: - Success - Partial - Fail example: Fail type: string scan_types: description: Scan types already recorded for this scan. Qwiet sends sast, sca, secrets, container_sca, and ai_risk; other names are ignored for product selection example: - 6k - pn - 9pg items: example: vj6 minLength: 1 type: string minItems: 1 type: array source: description: Client that started the scan, e.g. cli or ide example: ly maxLength: 32 minLength: 1 type: string target_name: example: a maxLength: 256 minLength: 1 type: string target_variant: example: nec maxLength: 256 minLength: 1 type: string user_id: description: Harness user id of the user who ran the scan, read from the scan tags on the Qwiet side example: "72" maxLength: 128 minLength: 1 type: string type: object required: true responses: "202": content: application/json: example: duplicate: true event_published: true schema: $ref: '#/components/schemas/ReportScanStatusResponseBody' description: Accepted response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_scan_edit summary: Report terminal Qwiet scan status tags: - QwietIngestion x-internal: true /api/v2/accounts/{id}/data: delete: description: Delete all account data operationId: Accounts#DeleteAccountData parameters: - description: The ID of the account to delete data for example: abcdef1234567890ghijkl in: path name: id required: true schema: description: The ID of the account to delete data for example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: status: ok schema: $ref: '#/components/schemas/Status' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_internal_use_only tags: - Accounts x-internal: true /api/v2/applications: get: tags: - Applications summary: List applications description: List applications in a project. Counts, findings, scan types, and last scan are read from each member scoreboard. operationId: Applications#ListApplications parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: page in: query description: Page number to fetch, starting from 0 allowEmptyValue: true schema: type: integer description: Page number to fetch, starting from 0 default: 0 example: 0 format: int64 minimum: 0 example: 0 - name: pageSize in: query description: Results per page allowEmptyValue: true schema: type: integer description: Results per page default: 10 example: 10 format: int64 minimum: 1 maximum: 100 example: 10 - name: search in: query description: Case-insensitive application name substring allowEmptyValue: true schema: type: string description: Case-insensitive application name substring example: Payment maxLength: 256 example: Payment - name: sort in: query description: Sort field allowEmptyValue: true schema: type: string description: Sort field default: lastScanAt example: lastScanAt enum: - lastScanAt - severity - targetCount example: lastScanAt - name: order in: query description: Sort direction allowEmptyValue: true schema: type: string description: Sort direction default: DESC example: DESC enum: - ASC - DESC example: DESC - name: severity in: query description: Comma-separated severities. Keeps an application whose summed occurrence count for any listed severity is greater than 0. allowEmptyValue: true schema: type: string description: Comma-separated severities. Keeps an application whose summed occurrence count for any listed severity is greater than 0. example: critical,high pattern: ^((critical|high|medium|low|info|unassigned)(,(critical|high|medium|low|info|unassigned))*)?$ example: critical,high - name: scanTypes in: query description: Comma-separated scan types. Keeps an application whose member scan types overlap this list. allowEmptyValue: true schema: type: string description: Comma-separated scan types. Keeps an application whose member scan types overlap this list. example: SAST,SCA pattern: ^([^,]+(,[^,]+)*)?$ maxLength: 256 example: SAST,SCA - name: scanners in: query description: Comma-separated scanner product names. Keeps an application whose member targets' scanners overlap this list. allowEmptyValue: true schema: type: string description: Comma-separated scanner product names. Keeps an application whose member targets' scanners overlap this list. example: snyk,owasp pattern: ^([^,]+(,[^,]+)*)?$ maxLength: 256 example: snyk,owasp - name: businessCriticality in: query description: Comma-separated true/false. Keeps an application whose businessCriticality matches any listed value. allowEmptyValue: true schema: type: string description: Comma-separated true/false. Keeps an application whose businessCriticality matches any listed value. example: "true" pattern: ^((true|false)(,(true|false))*)?$ example: "true" - name: deploymentEnvironment in: query description: Comma-separated deployment environments. Keeps an application whose deploymentEnvironment matches any listed value. Applications with deploymentEnvironment unset are excluded when this filter is set. allowEmptyValue: true schema: type: string description: Comma-separated deployment environments. Keeps an application whose deploymentEnvironment matches any listed value. Applications with deploymentEnvironment unset are excluded when this filter is set. example: Production,Development pattern: ^((Production|Pre-production|Development)(,(Production|Pre-production|Development))*)?$ example: Production,Development - name: internetExposure in: query description: Comma-separated true/false. Keeps an application whose internetExposure matches any listed value. Applications with internetExposure unset are excluded when this filter is set. allowEmptyValue: true schema: type: string description: Comma-separated true/false. Keeps an application whose internetExposure matches any listed value. Applications with internetExposure unset are excluded when this filter is set. example: "true" pattern: ^((true|false)(,(true|false))*)?$ example: "true" - name: dataSensitivity in: query description: Comma-separated true/false. Keeps an application whose dataSensitivity matches any listed value. Applications with dataSensitivity unset are excluded when this filter is set. allowEmptyValue: true schema: type: string description: Comma-separated true/false. Keeps an application whose dataSensitivity matches any listed value. Applications with dataSensitivity unset are excluded when this filter is set. example: "true" pattern: ^((true|false)(,(true|false))*)?$ example: "true" - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Nam numquam ut sequi. example: Fugit nostrum iste laudantium ea totam officia. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ApplicationsListApplicationsResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Eligendi perspiciatis quia facere quia non cum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 - artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Eligendi perspiciatis quia facere quia non cum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 - artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Eligendi perspiciatis quia facere quia non cum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 - artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Eligendi perspiciatis quia facere quia non cum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view post: tags: - Applications summary: Create an application description: Create an application and its members in one transaction. Does not start a scan. operationId: Applications#CreateApplication parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Amet impedit tempore culpa. example: Est enim et ad omnis. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateApplicationRequestBody' example: businessCriticality: true dataSensitivity: true deploymentEnvironment: Production internetExposure: true name: Payment Platform targetIds: - abcdef1234567890ghijkl - xyz987zyx654wvu321tsr9 responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesCreateExemptionRuleResponseBody' example: id: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/applications/{id}: delete: tags: - Applications summary: Delete an application description: Soft-delete an application. Member targets and their scans stay. operationId: Applications#DeleteApplication parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: id in: path description: Application id required: true schema: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ example: appid1234567890abcdefgh responses: "200": description: OK response. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - jwt_header_Authorization: - sto_testtarget_edit get: tags: - Applications summary: Get an application description: Load one live application and its current members. operationId: Applications#FindApplicationByID parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: id in: path description: Application id required: true schema: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ example: appid1234567890abcdefgh - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Quisquam ducimus enim. example: Temporibus autem asperiores qui in nulla. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ApplicationsFindApplicationByIDResponseBody' example: businessCriticality: true created: 1651578240 createdBy: user111111111111111111 dataSensitivity: true deploymentEnvironment: Production id: appid1234567890abcdefgh internetExposure: true lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: Payment Platform targets: - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view patch: tags: - Applications summary: Patch an application description: Patch name and replace members in one transaction. Risk fields are not changed by this endpoint. Does not start a scan. operationId: Applications#PatchApplication parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: id in: path description: Application id required: true schema: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ example: appid1234567890abcdefgh - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Magni nihil commodi. example: Ducimus omnis asperiores expedita omnis unde. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PatchApplicationRequestBody' example: name: Payment Platform targetIds: - abcdef1234567890ghijkl - xyz987zyx654wvu321tsr9 responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ApplicationsFindApplicationByIDResponseBody' example: businessCriticality: true created: 1651578240 createdBy: user111111111111111111 dataSensitivity: true deploymentEnvironment: Production id: appid1234567890abcdefgh internetExposure: true lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: Payment Platform targets: - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/applications/{id}/overview: get: tags: - Applications summary: Get an application overview description: One application's list-row scoreboard. Target counts, scan types, and findings are unique inside this application. operationId: Applications#ApplicationOverview parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: id in: path description: Application id required: true schema: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ example: appid1234567890abcdefgh - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Minus fuga praesentium. example: Voluptatum dolor provident. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ApplicationsApplicationOverviewResponseBody' example: artifactCount: 4 id: appid1234567890abcdefgh issueFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 lastScanAt: 1751793300000 name: Payment Platform occurrenceFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Error tempore et.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Rerum vel.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view /api/v2/applications/{id}/targets: get: tags: - Applications summary: List application targets description: List the scanned members of one application. operationId: Applications#ListApplicationTargets parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: page in: query description: Page number to fetch, starting from 0 allowEmptyValue: true schema: type: integer description: Page number to fetch, starting from 0 default: 0 example: 0 format: int64 minimum: 0 example: 0 - name: pageSize in: query description: Results per page allowEmptyValue: true schema: type: integer description: Results per page default: 10 example: 10 format: int64 minimum: 1 maximum: 100 example: 10 - name: search in: query description: Case-insensitive target name substring allowEmptyValue: true schema: type: string description: Case-insensitive target name substring example: payments maxLength: 256 example: payments - name: type in: query description: Target type. repository or container. container is an artifact. allowEmptyValue: true schema: type: string description: Target type. repository or container. container is an artifact. example: repository enum: - repository - container example: repository - name: severity in: query description: Comma-separated severities. Keeps a member whose own occurrence count for any listed severity is greater than 0. allowEmptyValue: true schema: type: string description: Comma-separated severities. Keeps a member whose own occurrence count for any listed severity is greater than 0. example: critical pattern: ^((critical|high|medium|low|info|unassigned)(,(critical|high|medium|low|info|unassigned))*)?$ example: critical - name: isBaseline in: query description: When set, keeps only members whose tracked target_summary row is baseline (same semantics as repository and artifact lists). allowEmptyValue: true schema: type: boolean description: When set, keeps only members whose tracked target_summary row is baseline (same semantics as repository and artifact lists). example: true example: true - name: sort in: query description: Sort field allowEmptyValue: true schema: type: string description: Sort field default: lastScanAt example: lastScanAt enum: - lastScanAt - severity - name example: lastScanAt - name: order in: query description: Sort direction. Omitted with sort=name means ASC. Otherwise omitted means DESC. allowEmptyValue: true schema: type: string description: Sort direction. Omitted with sort=name means ASC. Otherwise omitted means DESC. example: DESC enum: - ASC - DESC example: DESC - name: id in: path description: Application id required: true schema: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ example: appid1234567890abcdefgh - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Eos quaerat. example: Quia sit porro tempora. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ApplicationsListApplicationTargetsResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view /api/v2/applications/{id}/trend/findings: get: tags: - Applications summary: Get an application's findings trend description: 'Daily findings bars for one application: occurrence counts by severity and issue type, summed over the member targets'' baseline series for each UTC day. Each target contributes its latest execution that ended before the next UTC midnight, carried forward on days with no new execution.' operationId: Applications#ApplicationFindingsTrend parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: intervalDays in: query description: Number of trailing days to return allowEmptyValue: true schema: type: integer description: Number of trailing days to return default: 30 example: 30 format: int64 minimum: 1 maximum: 90 example: 30 - name: issueTypes in: query description: Comma-separated issue types to include. Empty means all. allowEmptyValue: true schema: type: string description: Comma-separated issue types to include. Empty means all. example: SAST,SCA 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)*$ example: SAST,SCA - name: id in: path description: Application id required: true schema: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ example: appid1234567890abcdefgh - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Officiis autem. example: Quasi facere porro et voluptatem blanditiis iste. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ApplicationsApplicationFindingsTrendResponseBody' example: availableIssueTypes: - SAST - SCA trend: - critical: 1 day: 1710720000 high: 2 info: 5 issueTypes: SAST: 10 SCA: 5 low: 4 medium: 3 - critical: 1 day: 1710720000 high: 2 info: 5 issueTypes: SAST: 10 SCA: 5 low: 4 medium: 3 - critical: 1 day: 1710720000 high: 2 info: 5 issueTypes: SAST: 10 SCA: 5 low: 4 medium: 3 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view /api/v2/applications/{id}/trend/remediation: get: tags: - Applications summary: Get an application's remediation trend description: 'Daily remediation points for one application: cumulative new and cumulative remediated occurrences, summed over the member targets'' baseline series for each UTC day. Each target contributes its latest execution that ended before the next UTC midnight, carried forward on days with no new execution.' operationId: Applications#ApplicationRemediationTrend parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: intervalDays in: query description: Number of trailing days to return allowEmptyValue: true schema: type: integer description: Number of trailing days to return default: 30 example: 30 format: int64 minimum: 1 maximum: 90 example: 30 - name: id in: path description: Application id required: true schema: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ example: appid1234567890abcdefgh - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Corporis at dolore cupiditate facilis maxime molestiae. example: Blanditiis vero iure vel omnis. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ApplicationsApplicationRemediationTrendResponseBody' example: trend: - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view /api/v2/applications/overview: get: tags: - Applications summary: Get applications overview description: Project cards. A target that belongs to several applications is counted once. operationId: Applications#ApplicationsOverview parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Similique voluptatum explicabo. example: Sequi fugiat veniam. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ApplicationsApplicationsOverviewResponseBody' example: artifactCount: 310 occurrenceNewDelta: 240 occurrenceRemediatedDelta: 12 occurrenceSeverityTotals: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 420 scanType: Est eos nihil doloremque rerum beatae aut.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Explicabo et.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA totalApplications: 20 totalTargets: 1240 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view /api/v2/artifacts: get: description: List artifacts for a project. operationId: Artifacts#ListArtifacts parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true description: Sort field example: severity in: query name: sort schema: default: lastScanAt description: Sort field enum: - severity - lastScanAt example: severity type: string - allowEmptyValue: true description: Sort direction example: DESC in: query name: order schema: default: DESC description: Sort direction enum: - ASC - DESC example: DESC type: string - allowEmptyValue: true description: Case-insensitive name substring example: ng-manager in: query name: search schema: description: Case-insensitive name substring example: ng-manager maxLength: 256 type: string - allowEmptyValue: true description: Comma-separated target types. Empty means container. example: container in: query name: types schema: description: Comma-separated target types. Empty means container. example: container maxLength: 64 pattern: ^((container|instance|configuration)(,(container|instance|configuration))*)?$ type: string - allowEmptyValue: true description: Comma-separated artifact sources. Use Unknown for null/empty artifact_source. example: harness,docker_hub,Unknown in: query name: source schema: description: Comma-separated artifact sources. Use Unknown for null/empty artifact_source. example: harness,docker_hub,Unknown maxLength: 1024 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Comma-separated scan types example: CONTAINER,SCA in: query name: scanTypes schema: description: Comma-separated scan types example: CONTAINER,SCA maxLength: 256 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Comma-separated scanner names example: aqua-trivy,snyk in: query name: scanners schema: description: Comma-separated scanner names example: aqua-trivy,snyk maxLength: 512 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Comma-separated severities with a non-zero occurrence count example: critical,high in: query name: severity schema: description: Comma-separated severities with a non-zero occurrence count example: critical,high pattern: ^((critical|high|medium|low|info|unassigned)(,(critical|high|medium|low|info|unassigned))*)?$ type: string responses: "200": content: application/json: example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 schema: $ref: '#/components/schemas/ArtifactsListArtifactsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: List artifacts tags: - Artifacts x-internal: true /api/v2/artifacts/{id}/digests: get: description: Paginated unique digest strings for an artifact target. When variantId is omitted, unique digests come from the target's executions newest-first up to pageSize. When set, the same unique list is scoped to that version. Empty fingerprints fall back to the variant/tag name. Used as the scan-history digest filter dropdown. operationId: Artifacts#ListArtifactDigests parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Artifact target id example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Artifact target id example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional target variant id for version/tag scope example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional target variant id for version/tag scope example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Case-insensitive substring match on effective digest (fingerprint or variant-name fallback) example: sha256:c381 in: query name: search schema: description: Case-insensitive substring match on effective digest (fingerprint or variant-name fallback) example: sha256:c381 maxLength: 256 type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Results per page example: 50 in: query name: pageSize schema: default: 15 description: Results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer responses: "200": content: application/json: example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - sha256:c3810867466a - v4.11.3 schema: $ref: '#/components/schemas/ArtifactsListArtifactDigestsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: List an artifact target's digests tags: - Artifacts x-internal: true /api/v2/artifacts/{id}/overview: get: description: 'Artifact detail overview for the selected version (target variant): identity, latest-execution tiles, and per-digest severity matrix.' operationId: Artifacts#ArtifactOverview parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Artifact target id example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Artifact target id example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional version scope; when omitted, uses the tracked version example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional version scope; when omitted, uses the tracked version example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: baselineVariantId: abcdef1234567890ghijkl deployments: nonProd: 10 prod: 8 total: 18 digestFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 120 rows: - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 digests: - sha256:c38108674664dnekvnke - sha256:aa11bb22cc33 executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hasShiftLeftScan: false isBaseline: true name: harness/payments-api occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate registryUrl: app.harness.io/ng/module/har/harness/payments-api sbomCount: 135 scannedAt: 1751793300000 source: harness targetId: abcdef1234567890ghijkl type: container variantId: xyz987zyx654wvu321tsr9 variantName: v4.11.3 versionsCount: 3 schema: $ref: '#/components/schemas/ArtifactsArtifactOverviewResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: Get artifact overview tags: - Artifacts x-internal: true /api/v2/artifacts/{id}/trend/findings: get: description: Per-execution occurrence severity counts (Findings Trend across Scans) for an artifact tag, same chart as the repository findings trend. Pass the lane (virtual baseline) variant id in targetVariantId to get the cross-tag baseline trend. operationId: Artifacts#ArtifactFindingsTrend parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Artifact target id example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Artifact target id example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Associated Target Variant ID example: abcdef1234567890ghijkl in: query name: targetVariantId required: true schema: description: Associated Target Variant ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: 30 in: query name: intervalDays schema: default: 30 description: Number of trailing days of executions to return example: 30 format: int64 maximum: 90 minimum: 1 type: integer responses: "200": content: application/json: example: availableIssueTypes: - SAST - SCA trend: - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 schema: $ref: '#/components/schemas/ArtifactsArtifactFindingsTrendResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: Get an artifact's findings trend tags: - Artifacts x-internal: true /api/v2/artifacts/{id}/trend/remediation: get: description: Per-execution cumulative new vs remediated occurrence counts for an artifact tag, same chart as the repository remediation trend. Pass the lane (virtual baseline) variant id in targetVariantId to get the cross-tag baseline trend. operationId: Artifacts#ArtifactRemediationTrend parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Artifact target id example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Artifact target id example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Associated Target Variant ID example: abcdef1234567890ghijkl in: query name: targetVariantId schema: description: Associated Target Variant ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Number of days to fetch trend data for example: 30 in: query name: intervalDays schema: default: 30 description: Number of days to fetch trend data for example: 30 format: int64 maximum: 90 minimum: 1 type: integer responses: "200": content: application/json: example: trend: - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" schema: $ref: '#/components/schemas/ArtifactsArtifactRemediationTrendResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: Get an artifact's remediation trend tags: - Artifacts x-internal: true /api/v2/artifacts/{id}/variants: get: description: List scanned versions for an artifact, newest first. Optional search matches version name or exact variant id. operationId: Artifacts#ListArtifactVariants parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Artifact target id example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Artifact target id example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Case-insensitive version name substring, or exact variant id example: v4.11 in: query name: search schema: description: Case-insensitive version name substring, or exact variant id example: v4.11 maxLength: 256 type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Results per page example: 50 in: query name: pageSize schema: default: 10 description: Results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer responses: "200": content: application/json: example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl schema: $ref: '#/components/schemas/ArtifactsListArtifactVariantsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: List an artifact's scanned versions tags: - Artifacts x-internal: true /api/v2/artifacts/overview: get: description: Aggregate widgets for the Artifacts page. operationId: Artifacts#ArtifactsOverview parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string responses: "200": content: application/json: example: baselineSet: 22 deployments: nonProd: 10 prod: 8 total: 18 exploitRisk: 5 fixAvailable: 13 issueRemediations: 40 issueSeverityDeltas: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 issueSeverityTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceRemediations: 100 occurrenceSeverityDeltas: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 occurrenceSeverityTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 sourceBreakdown: - count: 7 source: harness - count: 7 source: harness - count: 7 source: harness totalArtifacts: 12 schema: $ref: '#/components/schemas/ArtifactsArtifactsOverviewResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: Get artifacts overview tags: - Artifacts x-internal: true /api/v2/exemption-rules: get: tags: - ExemptionRules description: List a collection of Exemption Rules operationId: ExemptionRules#ListExemptionRules parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Molestias iste suscipit quo corporis doloribus. example: Sapiente perspiciatis eum. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesListExemptionRulesResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view post: tags: - ExemptionRules description: Create a new Exemption Rule operationId: ExemptionRules#CreateExemptionRule parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Quis molestiae ea. example: Quidem et. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateExemptionRuleRequestBody' example: actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true name: 'Critical reachable issues: 3 days max' priority: 0 userId: abcdef1234567890ghijkl responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesCreateExemptionRuleResponseBody' example: id: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_approve /api/v2/exemption-rules/{id}: delete: description: Delete an existing Exemption Rule operationId: ExemptionRules#DeleteExemptionRule parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: The ID of the Exemption Rule to delete example: abcdef1234567890ghijkl in: path name: id required: true schema: description: The ID of the Exemption Rule to delete example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "204": description: No Content response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_exemption_approve tags: - ExemptionRules x-internal: true get: tags: - ExemptionRules description: Find Exemption Rule by ID operationId: ExemptionRules#FindExemptionRuleById parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: id in: path description: The ID of the Exemption Rule to retrieve required: true schema: type: string description: The ID of the Exemption Rule to retrieve example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Quisquam nihil excepturi consequatur aut. example: Recusandae rerum. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRule' example: actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view put: tags: - ExemptionRules description: Update an existing Exemption Rule operationId: ExemptionRules#UpdateExemptionRule parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: id in: path description: The ID of the Exemption Rule to update required: true schema: type: string description: The ID of the Exemption Rule to update example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Et doloremque beatae ab qui doloribus nesciunt. example: Eligendi quidem dolore accusantium molestias id esse. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateExemptionRuleRequestBody' example: actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true name: 'Critical reachable issues: 3 days max' priority: 0 userId: abcdef1234567890ghijkl responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRule' example: actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_approve /api/v2/exemption-rules/constraints: post: tags: - ExemptionRules summary: Get exemption constraints for issues or occurrences description: |- Evaluate the exemption rule engine and return the **strictest** constraint that applies to an exemption request. Pass `items[]` (max 100); a single exemption is just a one-element list. Each item self-describes its own scope and kind: • **target-scoped issue**: set `targetId`. • **pipeline-scoped issue**: set `pipelineId` (mutually exclusive with `targetId`). • **project-scoped issue**: set neither (scope comes from the request-level `orgId`/`projectId`). • **occurrence-level**: set `occurrences[]`, or set `scanId` (with `targetId`) to evaluate all non-exempted occurrences from that scan — used when "Exempt all future occurrences" is unchecked. Items in a single batch may mix scopes and kinds freely. The response carries the strictest matched constraint across everything evaluated: `maxDurationDays` is the minimum of every non-null per-item cap (or null if all are unconstrained), and `matchedRuleId` names the rule contributing that minimum. Optional `type` carries the FE "Reason" dropdown value (same enum as POST /exemptions.type) so rules with `reason` conditions evaluate correctly. operationId: ExemptionRules#GetExemptionConstraints parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Accusamus in repellendus corrupti. example: Debitis perspiciatis odit est et quia. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GetExemptionConstraintsRequestBody' example: items: - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl orgId: default projectId: my_project type: False Positive responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesGetExemptionConstraintsResponseBody' example: matchedRuleId: rule11111111111111111a maxDurationDays: 7 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view /api/v2/exemptions: get: tags: - Exemptions description: List a collection of Exemptions operationId: Exemptions#ListExemptions parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Vero rerum quia. example: Fugit et autem. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionsListExemptionsResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view post: tags: - Exemptions description: Create a new Exemption operationId: Exemptions#CreateExemption parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: ID of the Harness Organization to which the exemption applies. Cannot be specified alongside "targetId". allowEmptyValue: true required: true schema: type: string description: ID of the Harness Organization to which the exemption applies. Cannot be specified alongside "targetId". example: your_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: your_project - name: projectId in: query description: ID of the Harness Project to which the exemption applies. You must also specify "orgId". Cannot be specified alongside "targetId". allowEmptyValue: true required: true schema: type: string description: ID of the Harness Project to which the exemption applies. You must also specify "orgId". Cannot be specified alongside "targetId". example: your_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: your_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sunt iusto. example: Blanditiis libero. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateExemptionRequestBody' example: exemptFutureOccurrences: false expiration: 1651578240 issueId: abcdef1234567890ghijkl link: https://example.com/ABC-1234 occurrences: - 42 - 666 pendingChanges: durationDays: 7 pipelineId: your_pipeline reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterName: firstname lastname scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl type: Other responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesCreateExemptionRuleResponseBody' example: id: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_create /api/v2/exemptions/{id}: delete: description: Delete an existing Exemption operationId: Exemptions#DeleteExemption parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID examples: default: summary: default value: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID examples: default: summary: default value: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: The ID of the Exemption to delete example: abcdef1234567890ghijkl in: path name: id required: true schema: description: The ID of the Exemption to delete example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "204": description: No Content response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_exemption_create tags: - Exemptions x-internal: true get: tags: - Exemptions description: Find Exemption by ID operationId: Exemptions#FindExemptionById parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: executionId in: query description: Harness Execution ID allowEmptyValue: true schema: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: ignoreScope in: query description: Ignore scope allowEmptyValue: true schema: type: boolean description: Ignore scope example: false example: false - name: id in: path description: The ID of the Exemption to retrieve required: true schema: type: string description: The ID of the Exemption to retrieve example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Rerum perferendis iusto deserunt natus cumque. example: Quibusdam illum error a et aspernatur qui. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Exemption' example: approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view put: tags: - Exemptions description: Update an existing Exemption operationId: Exemptions#UpdateExemption parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: ID of the Harness Organization to which the exemption applies. Cannot be specified alongside "targetId". allowEmptyValue: true schema: type: string description: ID of the Harness Organization to which the exemption applies. Cannot be specified alongside "targetId". example: your_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: your_project - name: projectId in: query description: ID of the Harness Project to which the exemption applies. You must also specify "orgId". Cannot be specified alongside "targetId". allowEmptyValue: true schema: type: string description: ID of the Harness Project to which the exemption applies. You must also specify "orgId". Cannot be specified alongside "targetId". example: your_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: your_project - name: id in: path description: The ID of the Exemption to update required: true schema: type: string description: The ID of the Exemption to update example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Dolore voluptate vel corporis. example: In hic culpa. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateExemptionRequestBody' example: expiration: 1651578240 link: https://example.com/ABC-1234 pendingChanges: durationDays: 7 pipelineId: your_pipeline reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterName: firstname lastname targetId: abcdef1234567890ghijkl type: Other responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Exemption' example: approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_create /api/v2/exemptions/{id}/{action}: put: tags: - Exemptions description: Approve/reject an existing Exemption operationId: Exemptions#ApproveExemption parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: id in: path description: The ID of the Exemption to update required: true schema: type: string description: The ID of the Exemption to update example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: action in: path description: The approval action to take on the Exemption required: true schema: type: string description: The approval action to take on the Exemption example: approve enum: - approve - reject example: approve - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Quia doloribus voluptatibus harum. example: Et quas iste ut quod. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ApproveExemptionRequestBody' example: comment: This is a comment for the approval or rejection of the exemption pendingChangesOverride: durationDays: 30 responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Exemption' example: approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_approve /api/v2/exemptions/{id}/promote: put: tags: - Exemptions description: Promote an existing Exemption to a higher scope operationId: Exemptions#PromoteExemption parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: id in: path description: The ID of the Exemption to promote required: true schema: type: string description: The ID of the Exemption to promote example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Expedita pariatur aut dignissimos excepturi eos. example: Placeat repudiandae incidunt et. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PromoteExemptionRequestBody' example: comment: This is a comment for the approval or rejection of the exemption pendingChangesOverride: durationDays: 30 pipelineId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Exemption' example: approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_approve /api/v2/exemptions/bulk: post: tags: - Exemptions summary: Bulk create exemptions description: 'Create multiple Exemptions in bulk. The batch is all-or-none for policy violations: if any item would violate an exemption rule, the entire batch is rejected with HTTP 400 and a single error message naming the failing issue and rule (no DB writes happen). Infrastructure failures (DB constraint violations, transaction errors) also fail the entire batch and are surfaced per-item in the response body so ops can diagnose which item triggered the failure.' operationId: Exemptions#BulkCreateExemptions parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Ducimus cupiditate. example: Omnis nobis optio omnis et. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BulkCreateExemptionsRequestBody' example: exemptFutureOccurrences: false expiration: 1651578240 items: - issueId: abcdef1234567890ghijkl occurrences: - 42 - 666 pipelineId: your_pipeline scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 42 - 666 pipelineId: your_pipeline scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl link: https://example.com/ABC-1234 pendingChanges: durationDays: 7 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterName: firstname lastname type: Other responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionsBulkCreateExemptionsResponseBody' example: failed: 1 results: - error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 - error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 - error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 succeeded: 5 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_create /api/v2/exemptions/issue/{issueId}: get: tags: - Exemptions summary: Get exemption for issue description: Get the highest-priority exemption for an issue across all scopes (account, org, project) operationId: Exemptions#GetExemptionForIssue parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: issueId in: path description: Issue ID to find exemption for required: true schema: type: string description: Issue ID to find exemption for example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Vel ducimus nihil. example: Aut laudantium. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Exemption' example: approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view /api/v2/exemptions/issue/{issueId}/history: get: tags: - Exemptions summary: List exemption history for issue description: Paginated flat timeline of exemption history events for an issue operationId: Exemptions#ListIssueExemptionHistory parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: pipelineId in: query description: Harness pipeline ID. When set with targetId, scopes history to that pipeline/target (Vulnerabilities tab). Requires orgId and projectId. allowEmptyValue: true schema: type: string description: Harness pipeline ID. When set with targetId, scopes history to that pipeline/target (Vulnerabilities tab). Requires orgId and projectId. example: sto-core-ci pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: sto-core-ci - name: targetId in: query description: Harness target ID. When set with pipelineId, scopes history to that pipeline/target (Vulnerabilities tab). Requires orgId and projectId. allowEmptyValue: true schema: type: string description: Harness target ID. When set with pipelineId, scopes history to that pipeline/target (Vulnerabilities tab). Requires orgId and projectId. example: target1111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ example: target1111111111111111 - name: issueId in: path description: Issue ID required: true schema: type: string description: Issue ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Recusandae omnis. example: Non delectus deleniti non sint aut minus. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionsListIssueExemptionHistoryResponseBody' example: events: - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view /api/v2/exemptions/issue/{issueId}/history/export: get: tags: - Exemptions summary: Export exemption history for issue as CSV description: CSV export of the full exemption history timeline for an issue (fetch-all, no pagination) operationId: Exemptions#ExportIssueExemptionHistory parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: pipelineId in: query description: Harness pipeline ID. When set with targetId, scopes history to that pipeline/target (Vulnerabilities tab). Requires orgId and projectId. allowEmptyValue: true schema: type: string description: Harness pipeline ID. When set with targetId, scopes history to that pipeline/target (Vulnerabilities tab). Requires orgId and projectId. example: sto-core-ci pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: sto-core-ci - name: targetId in: query description: Harness target ID. When set with pipelineId, scopes history to that pipeline/target (Vulnerabilities tab). Requires orgId and projectId. allowEmptyValue: true schema: type: string description: Harness target ID. When set with pipelineId, scopes history to that pipeline/target (Vulnerabilities tab). Requires orgId and projectId. example: target1111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ example: target1111111111111111 - name: issueId in: path description: Issue ID required: true schema: type: string description: Issue ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sed voluptatem. example: Dolor quibusdam cupiditate accusantium. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExportIssueExemptionHistoryResponseBody' example: data: - - Et enim itaque laborum totam. - Eligendi distinctio sequi porro asperiores labore. - Voluptatem sapiente perspiciatis debitis aut. - Minima quas ducimus blanditiis voluptas. - - Voluptatem eum nam sunt qui animi laborum. - Ullam eos expedita impedit aut. - - Voluptatem quisquam veritatis. - Qui est. - - Accusantium voluptas facere autem tenetur et. - Quia tempora nobis minima. filename: Eum aut et qui eos rem. headers: - Quis cupiditate. - Omnis ipsum repellendus et. - Tempore nisi. issueId: Iure illum ipsam accusantium. totalRows: 169356730981085791 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view /api/v2/fp-triage/occurrences-in-scope: get: tags: - FpTriage summary: ListOccurrencesInScope FpTriage description: List the (issue, occurrence) tuples the FP Triage agent's pre-plugin needs to build LLM prompts. Without scanId, returns the baseline-only working set for the whole project. With scanId, narrows to the one scan's occurrences. operationId: FpTriage#ListOccurrencesInScope parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: scanId in: query description: Optional STO scan id. When set, the working set is narrowed to occurrences produced by that one scan (scan-completion trigger path). Omit on the cron / project-level trigger path. ssca-manager passes the scanId it received from the stoScanInfo Redis Streams event. allowEmptyValue: true schema: type: string description: Optional STO scan id. When set, the working set is narrowed to occurrences produced by that one scan (scan-completion trigger path). Omit on the cron / project-level trigger path. ssca-manager passes the scanId it received from the stoScanInfo Redis Streams event. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: targetId in: query description: Optional STO target id. Used in conjunction with scanId on the scan-completion trigger path as a defensive predicate against scan.target. Ignored when scanId is empty. ssca-manager passes the targetId it received from the stoScanInfo Redis Streams event. allowEmptyValue: true schema: type: string description: Optional STO target id. Used in conjunction with scanId on the scan-completion trigger path as a defensive predicate against scan.target. Ignored when scanId is empty. ssca-manager passes the targetId it received from the stoScanInfo Redis Streams event. example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ example: xyz987zyx654wvu321tsr9 - name: includeAlreadyTriaged in: query description: When false, skip occurrences that already have an fp_triage_agent verdict. Honoured with or without scanId. allowEmptyValue: true schema: type: boolean description: When false, skip occurrences that already have an fp_triage_agent verdict. Honoured with or without scanId. default: true example: false example: false - name: limit in: query description: Maximum number of occurrences to return allowEmptyValue: true schema: type: integer description: Maximum number of occurrences to return default: 1000 example: 1000 format: int64 minimum: 1 maximum: 10000 example: 1000 - name: scanTypes in: query description: 'Per-checkbox subset of the Configuration tab''s "Scan Types to Triage". Allowed: SCA (issue_type=SCA AND target.type=repository), SAST (issue_type=SAST), CONTAINER (issue_type=SCA AND target.type IN (''container'',''instance'')), SECRET (issue_type=SECRET), IAC (issue_type IN (''IAC'',''MISCONFIG'')), DAST (issue_type=DAST). Empty / absent means "include every supported (issue_type, target.type) tuple".' allowEmptyValue: true schema: type: array items: type: string example: IAC enum: - SCA - SAST - CONTAINER - SECRET - IAC - DAST description: 'Per-checkbox subset of the Configuration tab''s "Scan Types to Triage". Allowed: SCA (issue_type=SCA AND target.type=repository), SAST (issue_type=SAST), CONTAINER (issue_type=SCA AND target.type IN (''container'',''instance'')), SECRET (issue_type=SECRET), IAC (issue_type IN (''IAC'',''MISCONFIG'')), DAST (issue_type=DAST). Empty / absent means "include every supported (issue_type, target.type) tuple".' example: - SCA - SAST - SECRET example: - SCA - SAST - SECRET - name: severityCodes in: query description: 'Per-checkbox subset of the Configuration tab''s "Severity Types to Triage". Allowed: CRITICAL, HIGH, MEDIUM, LOW, INFO (compared case-insensitively against per-occurrence severity). Empty / absent means "include every severity".' allowEmptyValue: true schema: type: array items: type: string example: MEDIUM enum: - CRITICAL - HIGH - MEDIUM - LOW - INFO description: 'Per-checkbox subset of the Configuration tab''s "Severity Types to Triage". Allowed: CRITICAL, HIGH, MEDIUM, LOW, INFO (compared case-insensitively against per-occurrence severity). Empty / absent means "include every severity".' example: - CRITICAL - HIGH example: - CRITICAL - HIGH - name: excludeRepoPatterns in: query description: 'Glob patterns matching target.name on repository targets (target.type=''repository''). Any occurrence whose target name matches ANY pattern is excluded. Glob syntax: ''*'' = any run of chars, ''?'' = single char. The handler converts each glob to a Postgres LIKE pattern server-side. Empty / absent means "exclude no repositories".' allowEmptyValue: true schema: type: array items: type: string example: jyg maxLength: 256 description: 'Glob patterns matching target.name on repository targets (target.type=''repository''). Any occurrence whose target name matches ANY pattern is excluded. Glob syntax: ''*'' = any run of chars, ''?'' = single char. The handler converts each glob to a Postgres LIKE pattern server-side. Empty / absent means "exclude no repositories".' example: - '*-test' - dev-* - sandbox/* example: - '*-test' - dev-* - sandbox/* - name: excludeArtifactPatterns in: query description: Glob patterns matching target.name on artifact targets (target.type IN ('container','instance')). Same semantics as excludeRepoPatterns but applied to the artifact target buckets. Empty / absent means "exclude no artifacts". allowEmptyValue: true schema: type: array items: type: string example: 6n5 maxLength: 256 description: Glob patterns matching target.name on artifact targets (target.type IN ('container','instance')). Same semantics as excludeRepoPatterns but applied to the artifact target buckets. Empty / absent means "exclude no artifacts". example: - org/frontend-app - '*-SNAPSHOT' example: - org/frontend-app - '*-SNAPSHOT' - name: baselineOnly in: query description: When true (default), the scanId path only returns occurrences from the latest baseline scan for that target (existing FP-triage behaviour). When false AND scanId is set, both baseline restrictions are removed so any user-chosen scan can be read. Ignored on the project path (empty scanId), which always iterates latest baseline scans. allowEmptyValue: true schema: type: boolean description: When true (default), the scanId path only returns occurrences from the latest baseline scan for that target (existing FP-triage behaviour). When false AND scanId is set, both baseline restrictions are removed so any user-chosen scan can be read. Ignored on the project path (empty scanId), which always iterates latest baseline scans. default: true example: false example: false - name: includeExempted in: query description: When false (default), occurrences covered by an Approved exemption are dropped. When true, those rows are returned with exempted=true instead of being filtered out. Applies on both scan and project paths. allowEmptyValue: true schema: type: boolean description: When false (default), occurrences covered by an Approved exemption are dropped. When true, those rows are returned with exempted=true instead of being filtered out. Applies on both scan and project paths. default: false example: true example: true - name: afterOccurrenceInternalId in: query description: Keyset pagination cursor. When set, only rows with occurrenceInternalId strictly greater than this value are returned. Both paths already ORDER BY occurrenceInternalId ascending. Omit (or pass with hasMore/nextCursor from a prior page) to start from the beginning. allowEmptyValue: true schema: type: integer description: Keyset pagination cursor. When set, only rows with occurrenceInternalId strictly greater than this value are returned. Both paths already ORDER BY occurrenceInternalId ascending. Omit (or pass with hasMore/nextCursor from a prior page) to start from the beginning. example: 67890 format: int64 minimum: 0 example: 67890 - name: issueDetailsOncePerPage in: query description: When false (default), every row carries its issueDetails blob. When true, issueDetails is populated only on the first row (lowest occurrenceInternalId) of each issue within the returned page; subsequent rows of the same issue get null. Reduces payload size for large SCA scans where many occurrences share one issue. allowEmptyValue: true schema: type: boolean description: When false (default), every row carries its issueDetails blob. When true, issueDetails is populated only on the first row (lowest occurrenceInternalId) of each issue within the returned page; subsequent rows of the same issue get null. Reduces payload size for large SCA scans where many occurrences share one issue. default: false example: true example: true responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ListOccurrencesInScopeResponseBody2' example: hasMore: true nextCursor: 67890 results: - cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Debitis odio omnis voluptate amet. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Laudantium quis amet exercitationem qui. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 - cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Debitis odio omnis voluptate amet. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Laudantium quis amet exercitationem qui. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 - cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Debitis odio omnis voluptate amet. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Laudantium quis amet exercitationem qui. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - jwt_header_Authorization: - sto_internal_use_only /api/v2/fp-triage/verdicts/batch: post: tags: - FpTriage summary: BatchUpsertVerdicts FpTriage description: Atomically upsert a batch of per-occurrence FP triage verdicts produced by one agent run. The store-level transaction rolls back the whole batch on any single failure so the aggregated rollup stays consistent. operationId: FpTriage#BatchUpsertVerdicts parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BatchUpsertVerdictsRequestBody' example: verdicts: - confidence: 0.87 issueId: abcdef1234567890ghijkl modelName: anthropic.claude-3-5-sonnet-20241022 occurrenceInternalId: 67890 promptVersion: v1.3.0 reasoning: The argument to path.join is __dirname, a constant, not user input. targetId: xyz987zyx654wvu321tsr9 verdict: FALSE_POSITIVE workflowExecutionId: wf-exec-2026-05-21-payment-service-247 workflowType: FP_TRIAGE responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/BatchUpsertVerdictsResponseBody' example: written: 42 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - jwt_header_Authorization: - sto_internal_use_only /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string responses: "200": content: application/json: example: exploitabilityFlag: true issueCategories: - Insecure Direct Object Reference (AI SAST) - SQL Injection latestBaselineScans: - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository reachabilityFlag: true schema: $ref: '#/components/schemas/FrontendAllIssuesFiltersResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true example: target1111111111111111,abcdef1234567890abcdef in: query name: targetIds schema: example: target1111111111111111,abcdef1234567890abcdef pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ type: string - allowEmptyValue: true example: repository,container in: query name: targetTypes schema: example: repository,container pattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$ type: string - allowEmptyValue: true example: pipeline1,pipeline2 in: query name: pipelineIds schema: example: pipeline1,pipeline2 pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ type: string - allowEmptyValue: true example: owasp,zap in: query name: scanTools schema: example: owasp,zap pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ type: string - allowEmptyValue: true example: Critical,High,Medium in: query name: severityCodes schema: example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ type: string - allowEmptyValue: true example: None,Pending,Rejected,Expired,PartiallyExempted in: query name: exemptionStatuses schema: example: None,Pending,Rejected,Expired,PartiallyExempted 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. example: "Yes" in: query name: severityOverriden schema: default: Yes,No description: Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues. example: "Yes" pattern: ^(Yes|No)(,Yes|,No)*$ type: string - allowEmptyValue: true example: CWE-123 in: query name: search schema: example: CWE-123 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. example: abcdef1234567890abcdef 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. example: abcdef1234567890abcdef pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: Active,Exempted,Remediated in: query name: statuses schema: example: Active,Exempted,Remediated 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. example: reachable 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. example: reachable 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. example: "yes" 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. example: "yes" 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. example: Likely FP 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. example: Likely FP 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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)' example: gte_15 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)' example: gte_15 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)' example: gte_99 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)' example: gte_99 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)' example: "true" 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)' example: "true" pattern: ^(all|true|false)(,true|,false)*$ type: string responses: "200": content: application/json: example: hasRules: true issues: - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 schema: $ref: '#/components/schemas/FrontendAllIssuesListResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: None,Pending,Rejected,Expired,PartiallyExempted in: query name: exemptionStatuses schema: example: None,Pending,Rejected,Expired,PartiallyExempted pattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$ type: string - allowEmptyValue: true example: A Target Name in: query name: search schema: example: A Target Name maxLength: 256 type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - description: The ID of the Security Issue example: abcdef1234567890ghijkl in: path name: issueId required: true schema: description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: description: Non non culpa. epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exploitability: "yes" impactedTargets: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. inKev: true issueType: Harum perspiciatis dolores ut. lastDetected: 1634836529 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanTool: owasp severityCode: High targetType: Maiores dolor velit quidem harum. title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' schema: $ref: '#/components/schemas/FrontendAllIssuesDetailsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true example: None,Pending,Rejected,Expired,PartiallyExempted in: query name: exemptionStatuses schema: example: None,Pending,Rejected,Expired,PartiallyExempted pattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$ type: string - allowEmptyValue: true example: A Target Name in: query name: search schema: example: A Target Name maxLength: 256 type: string - description: The ID of the Security Issue example: abcdef1234567890ghijkl in: path name: issueId required: true schema: description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: Associated Target ID example: abcdef1234567890ghijkl in: path name: targetId required: true schema: description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. description: Beatae corrupti iure nobis ad nemo. exemptionId: abcdef1234567890ghijkl exploitability: "yes" issueType: Facilis et consequuntur occaecati quia perferendis explicabo. lastDetected: 1634836529 occurrences: - Et illo.: Ipsum consequuntur. Nihil et sit et ut quia.: Aut qui qui sapiente. Rem quia quis.: Dolorem voluptate quod. - Consectetur qui vel.: Aperiam quasi similique cum esse velit. - Iure voluptatem dolores voluptatem quod.: Qui omnis. Tenetur non adipisci debitis sed quia.: Mollitia consequatur iusto. - Dolore suscipit.: Dolores ut. Eveniet nostrum aut.: Reiciendis deleniti doloribus expedita. pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. severityCode: High targetName: The Target targetType: Eum ipsam qui tempora velit odio. targetVariantId: abcdef1234567890ghijkl title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' variantName: Sed laudantium. schema: $ref: '#/components/schemas/FrontendAllIssuesOccurrenceDetailsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: target1111111111111111,abcdef1234567890abcdef in: query name: targetIds schema: example: target1111111111111111,abcdef1234567890abcdef pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ type: string - allowEmptyValue: true example: repository,container in: query name: targetTypes schema: example: repository,container pattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$ type: string - allowEmptyValue: true example: pipeline1,pipeline2 in: query name: pipelineIds schema: example: pipeline1,pipeline2 pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ type: string - allowEmptyValue: true example: owasp,zap in: query name: scanTools schema: example: owasp,zap pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ type: string - allowEmptyValue: true example: Critical,High,Medium in: query name: severityCodes schema: example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ type: string - allowEmptyValue: true example: None,Pending,Rejected,Expired,PartiallyExempted in: query name: exemptionStatuses schema: example: None,Pending,Rejected,Expired,PartiallyExempted 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. example: "Yes" in: query name: severityOverriden schema: default: Yes,No description: Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues. example: "Yes" pattern: ^(Yes|No)(,Yes|,No)*$ type: string - allowEmptyValue: true example: CWE-123 in: query name: search schema: example: CWE-123 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. example: abcdef1234567890abcdef 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. example: abcdef1234567890abcdef pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: Active,Exempted,Remediated in: query name: statuses schema: example: Active,Exempted,Remediated 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. example: reachable 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. example: reachable 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. example: "yes" 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. example: "yes" 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. example: Likely FP 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. example: Likely FP 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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)' example: gte_15 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)' example: gte_15 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)' example: gte_99 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)' example: gte_99 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)' example: "true" 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)' example: "true" pattern: ^(all|true|false)(,true|,false)*$ type: string responses: "200": content: application/json: example: issueTypeCounts: Est ex sed blanditiis cum.: 7913013131325366118 Exercitationem dolores quae aut.: 4877698247977860108 Pariatur necessitatibus nesciunt repellendus omnis.: 443740934354816959 severityCounts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 schema: $ref: '#/components/schemas/FrontendAllIssuesCountsV2ResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string responses: "200": content: application/json: example: totalFpCount: 8019258482406980634 totalIssues: 3886694368132150303 totalOccurrences: 1925281621361529961 totalTpCount: 5503569881932872624 schema: $ref: '#/components/schemas/FrontendAllIssuesTotalsV2ResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true example: target1111111111111111,abcdef1234567890abcdef in: query name: targetIds schema: example: target1111111111111111,abcdef1234567890abcdef pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ type: string - allowEmptyValue: true example: repository,container in: query name: targetTypes schema: example: repository,container pattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$ type: string - allowEmptyValue: true example: pipeline1,pipeline2 in: query name: pipelineIds schema: example: pipeline1,pipeline2 pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ type: string - allowEmptyValue: true example: owasp,zap in: query name: scanTools schema: example: owasp,zap pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ type: string - allowEmptyValue: true example: Critical,High,Medium in: query name: severityCodes schema: example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ type: string - allowEmptyValue: true example: None,Pending,Rejected,Expired,PartiallyExempted in: query name: exemptionStatuses schema: example: None,Pending,Rejected,Expired,PartiallyExempted 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. example: "Yes" in: query name: severityOverriden schema: default: Yes,No description: Filter issues by whether their severity has been overridden. Use 'Yes,No' for all issues. example: "Yes" pattern: ^(Yes|No)(,Yes|,No)*$ type: string - allowEmptyValue: true example: CWE-123 in: query name: search schema: example: CWE-123 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. example: abcdef1234567890abcdef 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. example: abcdef1234567890abcdef pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: Active,Exempted,Remediated in: query name: statuses schema: example: Active,Exempted,Remediated 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. example: reachable 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. example: reachable 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. example: "yes" 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. example: "yes" 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. example: Likely FP 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. example: Likely FP 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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)' example: gte_15 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)' example: gte_15 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)' example: gte_99 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)' example: gte_99 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)' example: "true" 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)' example: "true" pattern: ^(all|true|false)(,true|,false)*$ type: string responses: "200": content: application/json: example: hasRules: true issues: - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 schema: $ref: '#/components/schemas/FrontendAllIssuesListV2ResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: None,Pending,Rejected,Expired,PartiallyExempted in: query name: exemptionStatuses schema: example: None,Pending,Rejected,Expired,PartiallyExempted pattern: ^(None|Pending|Approved|Rejected|Expired|PartiallyExempted)(,None|,Pending|,Approved|,Rejected|,Expired|,PartiallyExempted)*$ type: string - allowEmptyValue: true example: A Target Name in: query name: search schema: example: A Target Name maxLength: 256 type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - description: The ID of the Security Issue example: abcdef1234567890ghijkl in: path name: issueId required: true schema: description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) description: Suscipit voluptas incidunt similique commodi. epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" impactedTargets: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. inKev: true issueType: Aut repudiandae tenetur itaque. lastDetected: 1634836529 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanTool: owasp severityCode: High status: Active targetType: Mollitia suscipit est delectus rerum qui quis. title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' schema: $ref: '#/components/schemas/FrontendAllIssuesDetailsV2ResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: owasp,zap in: query name: scanTools schema: example: owasp,zap pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ type: string - allowEmptyValue: true example: Critical,High,Medium in: query name: severityCodes schema: example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: 7 in: query name: intervalDays schema: default: 7 description: Number of days to fetch trend data for example: 7 format: int64 maximum: 90 minimum: 1 type: integer responses: "200": content: application/json: example: trend: - active: 10 day: 1710720000 remediated: 5 - active: 10 day: 1710720000 remediated: 5 - active: 10 day: 1710720000 remediated: 5 - active: 10 day: 1710720000 remediated: 5 schema: $ref: '#/components/schemas/FrontendAllIssuesTrendV2ResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Associated Target Variant ID example: abcdef1234567890ghijkl in: query name: targetVariantId required: true schema: description: Associated Target Variant ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: 30 in: query name: intervalDays schema: default: 30 description: Number of trailing days of executions to return example: 30 format: int64 maximum: 90 minimum: 1 type: integer responses: "200": content: application/json: example: availableIssueTypes: - SAST - SCA trend: - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 schema: $ref: '#/components/schemas/ArtifactsArtifactFindingsTrendResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl in: query name: scanId schema: description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: The ID of the Security Issue example: abcdef1234567890ghijkl in: query name: issueId required: true schema: description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: ID of Security Test Exemption example: abcdef1234567890ghijkl in: path name: exemptionId required: true schema: description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: currentSeverityCode: High newSeverityCode: Medium schema: $ref: '#/components/schemas/FrontendIssueSeverityChangeResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true example: CWE-123 in: query name: search schema: example: CWE-123 maxLength: 256 type: string - description: ID of Security Test Exemption example: abcdef1234567890ghijkl in: path name: exemptionId required: true schema: description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: baselineTargetsExist: true impactedTargets: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 schema: $ref: '#/components/schemas/FrontendImpactedTargetsForExemptionResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true description: Exemption status example: Approved in: query name: status required: true schema: description: Exemption status enum: - Approved - Pending - Expired - Rejected - Canceled example: Approved maxLength: 8 type: string - allowEmptyValue: true example: Keyword search. Searches Title, Reason & Type in: query name: search schema: default: "" example: Keyword search. Searches Title, Reason & Type maxLength: 128 type: string - allowEmptyValue: true description: 'Column to sort by (default: requestedOn)' example: requestedOn in: query name: sortBy schema: description: 'Column to sort by (default: requestedOn)' enum: - severity - requestedBy - approvedBy - rejectedBy - requestedOn - expiredOn - exemptionDuration example: requestedOn maxLength: 32 type: string - allowEmptyValue: true description: 'Sort order: ascending or descending (default: desc)' example: desc in: query name: sortOrder schema: description: 'Sort order: ascending or descending (default: desc)' enum: - asc - desc example: desc maxLength: 4 type: string - allowEmptyValue: true description: Harness personal or service access token example: Cupiditate ipsam blanditiis. in: header name: X-Api-Key schema: description: Harness personal or service access token example: Aut eum ut. type: string requestBody: content: application/json: example: approvedBy: user1111111111111111,user2222222222222222 issueTypes: SAST,SCA orgProjectFilter: - org1:project1 - org1:project2 pipelineIds: pipeline1,pipeline2 reasons: Acceptable Risk,False Positive rejectedBy: user1111111111111111,user2222222222222222 requestedBy: user1111111111111111,user2222222222222222 scanners: snyk,owasp scopes: PROJECT,PIPELINE severityCodes: Critical,High,Medium targetIds: target1111111111111111,target2222222222222222 targetTypes: repository,container schema: $ref: '#/components/schemas/GlobalExemptionsRequestBody' required: true responses: "200": content: application/json: example: counts: Approved: 150 Expired: 150 Pending: 150 Rejected: 150 exemptions: - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 schema: $ref: '#/components/schemas/FrontendSecurityReviewResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view tags: - Frontend x-internal: true /api/v2/frontend/exemptions/filters: post: description: Provide list of filters for exemptions operationId: Frontend#ExemptionsFilters parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness personal or service access token example: Quibusdam eum aliquam autem nostrum blanditiis quia. in: header name: X-Api-Key schema: description: Harness personal or service access token example: Perferendis quos impedit. type: string requestBody: content: application/json: example: orgProjectFilter: - org1:project1 - org1:project2 schema: $ref: '#/components/schemas/ExemptionsFiltersRequestBody' required: true responses: "200": content: application/json: example: pipelines: - Repudiandae rerum quia ad suscipit. - Ut beatae. reasons: - Exercitationem at et repudiandae esse. - Illum sunt id. scanners: - scannerId: snyk scannerName: Snyk - scannerId: snyk scannerName: Snyk targets: - targetId: target1111111111111111 targetName: my-repo targetType: repository - targetId: target1111111111111111 targetName: my-repo targetType: repository - targetId: target1111111111111111 targetName: my-repo targetType: repository - targetId: target1111111111111111 targetName: my-repo targetType: repository users: - email: john.doe@example.com name: John Doe userId: user1111111111111111 - email: john.doe@example.com name: John Doe userId: user1111111111111111 - email: john.doe@example.com name: John Doe userId: user1111111111111111 - email: john.doe@example.com name: John Doe userId: user1111111111111111 schema: $ref: '#/components/schemas/FrontendExemptionsFiltersResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_exemption_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Number of days of Baseline Issue counts to return example: 582 in: query name: days schema: default: 7 description: Number of days of Baseline Issue counts to return example: 7097 format: int64 maximum: 9999 minimum: 1 type: integer - description: Harness pipeline execution ID example: abcdef1234567890ghijkl in: path name: executionId required: true schema: description: Harness pipeline execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST schema: $ref: '#/components/schemas/FrontendExpiringExemptionsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project 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 example: abcdef1234567890ghijkl,mnopqr0987654321stuvwx in: query name: executionIds required: true schema: description: Comma-separated list of Harness Execution IDs for which to count Security Issues example: abcdef1234567890ghijkl,mnopqr0987654321stuvwx pattern: '[\dA-Za-z_-]{22}(,[\dA-Za-z_-]{22})*' type: string responses: "200": content: application/json: example: Doloremque sunt nam.: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 newCritical: 1 newHigh: 3 newInfo: 11 newLow: 39 newMedium: 17 newUnassigned: 0 unassigned: 0 Ut ducimus nostrum.: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 newCritical: 1 newHigh: 3 newInfo: 11 newLow: 39 newMedium: 17 newUnassigned: 0 unassigned: 0 Voluptatibus ullam quo consequatur temporibus at.: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 newCritical: 1 newHigh: 3 newInfo: 11 newLow: 39 newMedium: 17 newUnassigned: 0 unassigned: 0 schema: additionalProperties: $ref: '#/components/schemas/IssueCounts' example: Explicabo nemo eligendi corporis consequatur magni.: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 newCritical: 1 newHigh: 3 newInfo: 11 newLow: 39 newMedium: 17 newUnassigned: 0 unassigned: 0 Quo voluptatem voluptatum omnis nihil porro incidunt.: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 newCritical: 1 newHigh: 3 newInfo: 11 newLow: 39 newMedium: 17 newUnassigned: 0 unassigned: 0 Repellat est quod sit.: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 newCritical: 1 newHigh: 3 newInfo: 11 newLow: 39 newMedium: 17 newUnassigned: 0 unassigned: 0 type: object description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /api/v2/frontend/issue-exemption/{exemptionId}: get: description: Returns a specific issue exemption operationId: Frontend#IssueForExemption parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project 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 example: example_org in: query name: viewOrgId schema: description: Harness Organization ID of the user's current view context example: example_org 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 example: example_project in: query name: viewProjectId schema: description: Harness Project ID of the user's current view context example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness STO Target ID example: abcdef1234567890ghijkl in: query name: targetId schema: description: Harness STO Target ID example: abcdef1234567890ghijkl type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - description: ID of Security Test Exemption example: abcdef1234567890ghijkl in: path name: exemptionId required: true schema: description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Approved details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Approved exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Labore perspiciatis cupiditate hic.: Non eius consequatur. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 lastDetected: 1634836529 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" occurrencesPagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master targets: - targetId: target2222222222222222 targetName: Target 1 title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST schema: $ref: '#/components/schemas/FrontendIssueForExemptionResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: The ID of the Security Issue example: abcdef1234567890ghijkl in: path name: issueId required: true schema: description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: Internal ID of the occurrence to fetch dataflow for example: 12345 in: path name: occurrenceInternalId required: true schema: description: Internal ID of the occurrence to fetch dataflow for example: 12345 format: int64 type: integer responses: "200": content: application/json: example: dataflow: Fugit odit fugit commodi similique saepe in.: Tenetur repudiandae nihil asperiores maxime. Maiores itaque fugiat in.: Omnis vitae. Sit ut tenetur.: Nostrum asperiores rerum nesciunt suscipit. hasDataflow: true occurrenceInternalId: 12345 schema: $ref: '#/components/schemas/FrontendOccurrenceDataflowResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get dataflow for an occurrence tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: The ID of the Security Issue example: abcdef1234567890ghijkl in: path name: issueId required: true schema: description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: Internal ID of the occurrence to fetch SCA reachability for example: 12345 in: path name: occurrenceInternalId required: true schema: description: Internal ID of the occurrence to fetch SCA reachability for example: 12345 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 example: application/json schema: description: Content-Type of the Qwiet reachability body example: application/json type: string "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get SCA reachability for an occurrence tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: message: Qwiet trial license provisioned successfully schema: $ref: '#/components/schemas/FrontendProvisionQwietTrialResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - core_account_view summary: Provision Qwiet trial license tags: - Frontend x-internal: true /api/v2/frontend/metrics/licenseUsage: get: description: Returns Qwiet license usage metrics operationId: Frontend#QwietLicenseUsage parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: ok: true response: totalContributingDevelopers: 42 schema: $ref: '#/components/schemas/FrontendQwietLicenseUsageResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - core_account_view summary: Get Qwiet license usage tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string responses: "200": content: application/json: example: executionIds: - Reprehenderit minus. - Non incidunt qui qui autem. schema: $ref: '#/components/schemas/FrontendOverviewBaselinesResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Number of days of Baseline Issue counts to return example: 3 in: query name: days schema: default: 30 description: Number of days of Baseline Issue counts to return example: 40 format: int64 maximum: 90 minimum: 1 type: integer responses: "200": content: application/json: example: counts: - active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 - active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 schema: $ref: '#/components/schemas/FrontendOverviewHistoricalCountsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId required: true schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: pageExisting schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSizeExisting schema: default: 50 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: pageNew schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSizeNew schema: default: 50 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true example: stage1,parent.stage2,stage3 in: query name: stages schema: example: stage1,parent.stage2,stage3 pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$ type: string - allowEmptyValue: true example: stage.step1,parent.stage.step2,stage2.step3 in: query name: steps schema: example: stage.step1,parent.stage.step2,stage2.step3 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 example: target1111111111111111,abcdef1234567890abcdef in: query name: targetIds schema: example: target1111111111111111,abcdef1234567890abcdef pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ type: string - allowEmptyValue: true example: repository,container in: query name: targetTypes schema: example: repository,container pattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$ type: string - allowEmptyValue: true example: owasp,zap in: query name: productNames schema: example: owasp,zap pattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$ type: string - allowEmptyValue: true example: Critical,High,Medium in: query name: severityCodes schema: example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ type: string - allowEmptyValue: true example: true in: query name: includeExempted schema: default: true example: true type: boolean - allowEmptyValue: true example: CWE-123 in: query name: search schema: example: CWE-123 maxLength: 256 type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: active,remediated in: query name: status schema: example: active,remediated pattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$ type: string - allowEmptyValue: true example: app in: query name: origins schema: example: app pattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$ type: string - allowEmptyValue: true example: approved in: query name: originStatuses schema: example: approved 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)' example: gte_15 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)' example: gte_15 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)' example: gte_99 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)' example: gte_99 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)' example: "true" 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)' example: "true" pattern: ^(all|true|false)(,true|,false)*$ type: string - allowEmptyValue: true example: "Yes" in: query name: severityOverridden schema: example: "Yes" 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. example: reachable 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. example: reachable 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. example: "yes" 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. example: "yes" 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).' example: Likely FP 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).' example: Likely FP 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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. example: Insecure Direct Object Reference (AI SAST),(Blank) maxLength: 4096 type: string responses: "200": content: application/json: example: counts: activeIssueCount: 5102144953436628337 existing: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 new: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remAgentPRClosedCount: 8198884318849422476 remAgentPRMergedCount: 69526802394625833 remAgentPROpenCount: 6766111769313669585 remediated: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 totalActive: 7830084826172222052 totalApp: 4045565093219742029 totalBase: 1020379709425827292 totalDeduplicationRate: 0.75963956 totalExempted: 1373523495544199076 totalNoLayer: 5163797869611121035 totalNumOccurrence: 7632017178813302029 totalPartiallyExempted: 235530422475850412 totalPending: 6847978612601105645 totalRejected: 4100440230769903075 totalRemAgentPRCount: 3430478721634654189 totalRemediated: 1188979202520520071 existing: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 matchingSteps: - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id new: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 schema: $ref: '#/components/schemas/FrontendPipelineSecurityIssuesResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId required: true schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: pageExisting schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSizeExisting schema: default: 50 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: pageNew schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSizeNew schema: default: 50 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true example: stage1,parent.stage2,stage3 in: query name: stages schema: example: stage1,parent.stage2,stage3 pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$ type: string - allowEmptyValue: true example: stage.step1,parent.stage.step2,stage2.step3 in: query name: steps schema: example: stage.step1,parent.stage.step2,stage2.step3 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 example: target1111111111111111,abcdef1234567890abcdef in: query name: targetIds schema: example: target1111111111111111,abcdef1234567890abcdef pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ type: string - allowEmptyValue: true example: repository,container in: query name: targetTypes schema: example: repository,container pattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$ type: string - allowEmptyValue: true example: owasp,zap in: query name: productNames schema: example: owasp,zap pattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$ type: string - allowEmptyValue: true example: Critical,High,Medium in: query name: severityCodes schema: example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ type: string - allowEmptyValue: true example: true in: query name: includeExempted schema: default: true example: true type: boolean - allowEmptyValue: true example: CWE-123 in: query name: search schema: example: CWE-123 maxLength: 256 type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: active,remediated in: query name: status schema: example: active,remediated pattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$ type: string - allowEmptyValue: true example: app in: query name: origins schema: example: app pattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$ type: string - allowEmptyValue: true example: approved in: query name: originStatuses schema: example: approved 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)' example: gte_15 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)' example: gte_15 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)' example: gte_99 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)' example: gte_99 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)' example: "true" 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)' example: "true" pattern: ^(all|true|false)(,true|,false)*$ type: string - allowEmptyValue: true example: "Yes" in: query name: severityOverridden schema: example: "Yes" 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. example: reachable 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. example: reachable 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. example: "yes" 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. example: "yes" 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).' example: Likely FP 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).' example: Likely FP 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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. example: Insecure Direct Object Reference (AI SAST),(Blank) maxLength: 4096 type: string responses: "200": content: application/json: example: data: - - Eos quibusdam occaecati odio impedit. - Expedita odio et. - Sit ut. - Ut perspiciatis in eaque et velit. - - Rerum voluptatem et. - Quia quia quidem et fuga occaecati quis. - - Rem quibusdam voluptates laboriosam. - Adipisci reiciendis qui. - Laboriosam sit nihil laborum enim qui neque. executionId: Eos expedita esse. filename: Nemo sapiente nobis molestiae atque. headers: - Fugiat fugiat rem dolores. - Quia alias eius sit enim. - Nesciunt quis incidunt sapiente. totalRows: 4377152609669776588 schema: $ref: '#/components/schemas/ExportPipelineSecurityIssuesCSVResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Export security issues data tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId required: true schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: exploitabilityFlag: true issueCategories: - Insecure Direct Object Reference (AI SAST) - SQL Injection reachabilityFlag: true steps: - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' schema: $ref: '#/components/schemas/FrontendPipelineSecurityStepsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId required: true schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true example: stage1,parent.stage2,stage3 in: query name: stages schema: example: stage1,parent.stage2,stage3 pattern: ^([a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)(,[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)?)*$ type: string - allowEmptyValue: true example: stage.step1,parent.stage.step2,stage2.step3 in: query name: steps schema: example: stage.step1,parent.stage.step2,stage2.step3 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 example: target1111111111111111,abcdef1234567890abcdef in: query name: targetIds schema: example: target1111111111111111,abcdef1234567890abcdef pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ type: string - allowEmptyValue: true example: repository,container in: query name: targetTypes schema: example: repository,container pattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$ type: string - allowEmptyValue: true example: owasp,zap in: query name: productNames schema: example: owasp,zap pattern: ^([a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)(,[a-zA-Z0-9_-]+(\|[a-zA-Z0-9_ -]+)?)*$ type: string - allowEmptyValue: true example: Critical,High,Medium in: query name: severityCodes schema: example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ type: string - allowEmptyValue: true example: true in: query name: includeExempted schema: default: true example: true type: boolean - allowEmptyValue: true example: CWE-123 in: query name: search schema: example: CWE-123 maxLength: 256 type: string - allowEmptyValue: true example: SAST in: query name: issueTypes schema: example: SAST 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 example: active,remediated in: query name: status schema: example: active,remediated pattern: ^(ACTIVE|REMEDIATED|PENDING_EXEMPTION|EXEMPTED|PARTIALLY_EXEMPTED|REJECTED)(,ACTIVE|,REMEDIATED|,PENDING_EXEMPTION|,EXEMPTED|,PARTIALLY_EXEMPTED|,REJECTED)*$ type: string - allowEmptyValue: true example: app in: query name: origins schema: example: app pattern: ^(app|base|no_layer)(,app|,base|,no_layer)*$ type: string - allowEmptyValue: true example: approved in: query name: originStatuses schema: example: approved 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)' example: gte_15 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)' example: gte_15 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)' example: gte_99 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)' example: gte_99 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)' example: "true" 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)' example: "true" pattern: ^(all|true|false)(,true|,false)*$ type: string - allowEmptyValue: true example: "Yes" in: query name: severityOverridden schema: example: "Yes" 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. example: reachable 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. example: reachable 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. example: "yes" 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. example: "yes" 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).' example: Likely FP 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).' example: Likely FP 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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. example: Insecure Direct Object Reference (AI SAST),(Blank) 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. example: new 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. example: new 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. example: true 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. example: true 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. example: 42 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. example: 42 format: int64 type: integer responses: "200": content: application/json: example: counts: activeIssueCount: 5102144953436628337 existing: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 new: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remAgentPRClosedCount: 8198884318849422476 remAgentPRMergedCount: 69526802394625833 remAgentPROpenCount: 6766111769313669585 remediated: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 totalActive: 7830084826172222052 totalApp: 4045565093219742029 totalBase: 1020379709425827292 totalDeduplicationRate: 0.75963956 totalExempted: 1373523495544199076 totalNoLayer: 5163797869611121035 totalNumOccurrence: 7632017178813302029 totalPartiallyExempted: 235530422475850412 totalPending: 6847978612601105645 totalRejected: 4100440230769903075 totalRemAgentPRCount: 3430478721634654189 totalRemediated: 1188979202520520071 issues: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 matchingSteps: - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id remediationCounts: activeIssueCount: 5102144953436628337 existing: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 new: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remAgentPRClosedCount: 8198884318849422476 remAgentPRMergedCount: 69526802394625833 remAgentPROpenCount: 6766111769313669585 remediated: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 totalActive: 7830084826172222052 totalApp: 4045565093219742029 totalBase: 1020379709425827292 totalDeduplicationRate: 0.75963956 totalExempted: 1373523495544199076 totalNoLayer: 5163797869611121035 totalNumOccurrence: 7632017178813302029 totalPartiallyExempted: 235530422475850412 totalPending: 6847978612601105645 totalRejected: 4100440230769903075 totalRemAgentPRCount: 3430478721634654189 totalRemediated: 1188979202520520071 schema: $ref: '#/components/schemas/FrontendPipelineSecurityIssuesV2ResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId required: true schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: 0-based offset into activities ordered by created DESC example: 0 in: query name: index schema: default: 0 description: 0-based offset into activities ordered by created DESC example: 0 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of activities to return per request (FE typically loads 100 and paginates locally) example: 100 in: query name: pageSize schema: default: 1 description: Number of activities to return per request (FE typically loads 100 and paginates locally) example: 100 format: int64 maximum: 100 minimum: 1 type: integer responses: "200": content: application/json: example: activities: - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master index: 0 total: 4 schema: $ref: '#/components/schemas/FrontendRemediationAgentActivitiesResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Associated Target Variant ID example: abcdef1234567890ghijkl in: query name: targetVariantId schema: description: Associated Target Variant ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Number of days to fetch trend data for example: 30 in: query name: intervalDays schema: default: 30 description: Number of days to fetch trend data for example: 30 format: int64 maximum: 90 minimum: 1 type: integer responses: "200": content: application/json: example: trend: - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" schema: $ref: '#/components/schemas/ArtifactsArtifactRemediationTrendResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true description: Exemption status example: Approved in: query name: status required: true schema: description: Exemption status enum: - Approved - Pending - Expired - Rejected - Canceled example: Approved maxLength: 8 type: string - allowEmptyValue: true example: Keyword search. Searches Title, Reason & Type in: query name: search schema: default: "" example: Keyword search. Searches Title, Reason & Type maxLength: 128 type: string responses: "200": content: application/json: example: counts: Approved: 150 Expired: 150 Pending: 150 Rejected: 150 exemptions: - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 schema: $ref: '#/components/schemas/FrontendSecurityReviewResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_exemption_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true example: The Target in: query name: search schema: example: The Target maxLength: 128 type: string - allowEmptyValue: true description: Associated Target ID example: abcdef1234567890ghijkl in: query name: targetId schema: description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: targets: - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved targetsPagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 schema: $ref: '#/components/schemas/FrontendTestTargetsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Associated Target ID example: abcdef1234567890ghijkl in: path name: targetId required: true schema: description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string requestBody: content: application/json: example: targetVariants: - id: abcdef1234567890ghijkl status: approved - id: xyz987zyx654wvu321tsr9 status: unapproved schema: $ref: '#/components/schemas/UpdateTestTargetVariantsRequestBody' required: true responses: "200": content: application/json: example: status: Quidem corporis voluptatem corporis qui. schema: $ref: '#/components/schemas/Status' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_approve tags: - Frontend x-internal: true /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 example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: customFields: customfield_1: id: "12345" customfield_2: - value: value1 - value: value2 harnessStoUrl: https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/pipelines/pipeline1/executions/exec1/security?storeType=INLINE&issue=issueId identifiers: idName: - value1 - value2 - value3 issueId: abcdef1234567890ghijkl issueType: Bug notes: Investigate in next sprint projectKey: ABC scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl title: CVE-2024-1234 in backend-api schema: $ref: '#/components/schemas/CreateTicketForIssueRequestBody' required: true responses: "200": content: application/json: example: externalId: ABC-1234 id: abcdef1234567890ghijkl url: https://example.atlassian.net/browse/ABC-1234 schema: $ref: '#/components/schemas/FrontendCreateTicketForIssueResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_ticket_edit tags: - Frontend x-internal: true /api/v2/frontend/tickets/occurrence: post: description: Create Jira ticket for a single occurrence operationId: Frontend#CreateTicketForOccurrence parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: customFields: customfield_1: id: "12345" customfield_2: - value: value1 - value: value2 issueId: abcdef1234567890ghijkl issueType: Bug notes: Investigate in next sprint occurrenceDeeplinkUrl: https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/issues?issue=issueId&occurrence=12345 occurrenceInternalId: 12345 projectKey: ABC targetId: abcdef1234567890ghijkl title: CVE-2024-1234 in backend-api schema: $ref: '#/components/schemas/CreateTicketForOccurrenceRequestBody' required: true responses: "200": content: application/json: example: externalId: ABC-1234 id: abcdef1234567890ghijkl url: https://example.atlassian.net/browse/ABC-1234 schema: $ref: '#/components/schemas/FrontendCreateTicketForIssueResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_ticket_edit tags: - Frontend x-internal: true /api/v2/ingestion-activity: get: description: Return recorded statuses, ingestion_started attempt count, and Harness scan IDs for one external scan identity operationId: IngestionActivity#GetSummary parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: STO product name example: x25 in: query name: productId required: true schema: description: STO product name example: qr maxLength: 32 minLength: 1 type: string - allowEmptyValue: true example: "y" in: query name: externalTargetName required: true schema: example: j8p maxLength: 256 minLength: 1 type: string - allowEmptyValue: true example: 3098211034475127059 in: query name: externalScanId required: true schema: example: 3962687809529402974 format: int64 minimum: 1 type: integer responses: "200": content: application/json: example: harness_scan_ids: - Ipsa et voluptate. - Repellat quod illum occaecati cumque voluptas. - Tempora vel ducimus ullam. ingestion_started_count: 5920870645044309373 statuses: - Reiciendis reiciendis voluptatem hic aut. - Quo delectus minima. - Fugiat quos temporibus et. schema: $ref: '#/components/schemas/IngestionActivityGetSummaryResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_internal_use_only summary: Get ingestion activity summary tags: - IngestionActivity post: description: Append ingestion_started or ingestion_exhausted for one external scan identity operationId: IngestionActivity#RecordWorkerStatus parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: external_scan_id: 3898551850588341341 external_target_name: o1b harness_scan_id: aaaaaaaaaaaaaaaaaaaaaa metadata: Dolores voluptate omnis.: Dolorem accusamus quia odio quas praesentium. product_id: pp status: ingestion_exhausted schema: example: external_scan_id: 1172935332406933332 external_target_name: c harness_scan_id: aaaaaaaaaaaaaaaaaaaaaa metadata: Eos error.: Hic odit. Molestias cupiditate tempora eos nostrum.: Recusandae similique quasi numquam error. Voluptas expedita ut ea dolores dignissimos.: Voluptatem quis nihil. product_id: r7 status: ingestion_exhausted properties: external_scan_id: example: 3341088773203512978 format: int64 minimum: 1 type: integer external_target_name: example: gwr maxLength: 256 minLength: 1 type: string harness_scan_id: description: Harness scan id created for this attempt, when available example: aaaaaaaaaaaaaaaaaaaaaa pattern: ^[a-zA-Z0-9_-]{22}$ type: string metadata: additionalProperties: true description: Optional error or attempt context example: Est inventore recusandae quis.: Libero consequatur impedit. Est laborum ut libero distinctio quis et.: Ex nesciunt rerum neque cumque rerum. Quo necessitatibus laboriosam doloremque.: Aspernatur asperiores. type: object product_id: description: STO product name example: z maxLength: 32 minLength: 1 type: string status: enum: - ingestion_started - ingestion_exhausted example: ingestion_exhausted type: string type: object required: true responses: "200": content: application/json: example: recorded: false schema: $ref: '#/components/schemas/IngestionActivityRecordWorkerStatusResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_internal_use_only summary: Record ingestion worker status tags: - IngestionActivity x-internal: true /api/v2/issues: get: tags: - Issues description: List a collection of Security Issues operationId: Issues#ListIssues parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: productId in: query description: Issue product ID allowEmptyValue: true schema: type: string description: Issue product ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: key in: query description: Compression/deduplication key allowEmptyValue: true schema: type: string description: Compression/deduplication key example: json-schema@0.2.3 maxLength: 512 example: json-schema@0.2.3 - name: excludeOccurrences in: query allowEmptyValue: true schema: type: boolean example: false example: true - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Assumenda et culpa itaque facere praesentium. example: Iste beatae velit. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/IssuesListIssuesResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view post: tags: - Issues description: Create a new Security Issue operationId: Issues#CreateIssue parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: normalized in: query description: Indicates the Occurrences have already been normalized allowEmptyValue: true schema: type: boolean description: Indicates the Occurrences have already been normalized example: false example: false - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Et debitis incidunt voluptatem veniam. example: Et dolores velit ipsum voluptates cupiditate. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateIssueRequestBody' example: details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl key: json-schema@0.2.3 keyPattern: - library_name - library_version numOccurrences: 10 occurrences: - line: "42" - line: "666" productId: product1234567890abcde scanId: abcdef1234567890ghijkl severity: 8.5 severityCode: High subproduct: product targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesCreateExemptionRuleResponseBody' example: id: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_edit /api/v2/issues/{id}: delete: description: Delete an existing Security Issue operationId: Issues#DeleteIssue parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: The ID of the Security Issue to delete example: abcdef1234567890ghijkl in: path name: id required: true schema: description: The ID of the Security Issue to delete example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "204": description: No Content response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_delete tags: - Issues x-internal: true get: tags: - Issues description: Find Security Issue by ID operationId: Issues#FindIssueById parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: targetId in: query description: Associated Target ID allowEmptyValue: true schema: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ examples: default: summary: default value: abcdef1234567890ghijkl - name: id in: path description: The ID of the Security Issue to retrieve required: true schema: type: string description: The ID of the Security Issue to retrieve example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sapiente maxime sunt beatae voluptate voluptatem. example: Id dolores cumque corporis iure. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Issue' example: baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view put: tags: - Issues description: Update an existing Security Issue operationId: Issues#UpdateIssue parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: id in: path description: The ID of the Security Issue to update required: true schema: type: string description: The ID of the Security Issue to update example: Id beatae autem quia. example: Labore quas vel quasi quo. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Dolor dolores eum qui ducimus impedit laudantium. example: Incidunt asperiores omnis eveniet id modi. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateIssueRequestBody' example: numOccurrences: 10 occurrences: - line: "42" - line: "666" scanId: abcdef1234567890ghijkl type: SAST responses: "204": description: Update succeeded. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_edit /api/v2/issues/{id}/augment-remediation: post: tags: - Issues description: Use AI to augment the remediation steps for this Security Issue operationId: Issues#IssuesAugmentRemediation parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: taintPathOnly in: query description: If true, return only taintPathAnalysis. If false/absent, return all sections except taintPathAnalysis. allowEmptyValue: true schema: type: boolean description: If true, return only taintPathAnalysis. If false/absent, return all sections except taintPathAnalysis. example: false example: false - name: skipCodeFixes in: query description: If true, skip the code-fix AI call only; still generate remediation sections. Omits remediationCode from the result. Used when rem-agent PRs already exist for the issue. allowEmptyValue: true schema: type: boolean description: If true, skip the code-fix AI call only; still generate remediation sections. Omits remediationCode from the result. Used when rem-agent PRs already exist for the issue. example: false example: false - name: id in: path description: The ID of the Security Issue to augment required: true schema: type: string description: The ID of the Security Issue to augment example: 1234567890abcdefghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: 1234567890abcdefghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Eos animi nulla dolorum beatae quaerat dolore. example: Accusantium et earum vel nobis veniam occaecati. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/IssuesAugmentRemediationRequestBody' example: connectorId: Nulla fugit. dataflow: Ea aut voluptatem et nostrum.: Est dolorem et ipsum beatae. Iusto molestias.: Molestiae temporibus fuga est dignissimos. occurrenceId: 12345 referenceId: CWE-123 scanId: abcdefghijkl1234567890 userSnippet: |- func example() int { return 0 } responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/IssuesIssuesAugmentRemediationResponseBody' example: metadata: warnings: - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. remediationCode: Velit ut inventore sint qui. remediationSections: attackScenario: Reprehenderit adipisci aliquid veniam consequatur perferendis. furtherConsiderations: Pariatur autem ratione cum odio. references: Placeat porro. remediationSteps: Animi sequi. rootCauseAnalysis: Deleniti quisquam accusamus. secureCodingPattern: Est atque non. taintPathAnalysis: Voluptate odit perspiciatis delectus impedit perspiciatis. testCases: Ex et deleniti. verificationChecklist: Aspernatur et vel quo. vulnerabilityOverview: Pariatur nisi non iure accusamus exercitationem et. repoContent: Ut tenetur et. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v2/organizations/{accountId}/config/validate: post: tags: - qwietproxy summary: Validate org ngsast config description: sl POST /api/v2/organizations/{accountId}/config/validate operationId: qwietproxy#ValidateOrgConfig parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Unde ut sit eum provident ad possimus. example: Corporis ullam aut totam nisi unde et. requestBody: required: true content: application/json: schema: type: object example: Qui est.: Deleniti vel tempore. additionalProperties: true example: Placeat incidunt et doloremque.: Ut consectetur aut deserunt. responses: "200": description: OK response. content: application/json: schema: type: object example: Libero enim earum qui qui sit facere.: Sapiente dolor aperiam et aliquid est magni. additionalProperties: true example: Omnis blanditiis sapiente et itaque est.: Eum harum possimus sequi tempore eligendi qui. Porro deleniti nam quo quam rerum.: Unde et. Voluptatem iure aut est.: Facilis nulla praesentium. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v2/overrides: get: tags: - Overrides description: List a collection of Overrides operationId: Overrides#ListOverrides parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Consequatur non. example: Non aut modi explicabo tenetur libero eos. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/OverridesListOverridesResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view post: tags: - Overrides description: Create a new Override operationId: Overrides#CreateOverride parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sunt non consequatur reiciendis eum sapiente. example: Dolore nostrum cupiditate dolorem quod sit molestiae. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateOverrideRequestBody' example: issueId: abcdef1234567890ghijkl link: https://example.com/ABC-1234 occurrences: - 42 - 666 overrideFieldName: severity overrideFieldValue: Low overrideFutureOccurrences: false pipelineId: example_pipeline reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesCreateExemptionRuleResponseBody' example: id: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v2/overrides/{id}: delete: description: Delete an existing Override operationId: Overrides#DeleteOverride parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID examples: default: summary: default value: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID examples: default: summary: default value: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: The ID of the Override to delete example: abcdef1234567890ghijkl in: path name: id required: true schema: description: The ID of the Override to delete example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string requestBody: content: application/json: example: overrideFieldName: severity schema: $ref: '#/components/schemas/DeleteOverrideRequestBody' required: true responses: "204": description: No Content response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - Overrides x-internal: true get: tags: - Overrides description: Find Override by ID operationId: Overrides#FindOverrideById parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: executionId in: query description: Harness Execution ID allowEmptyValue: true schema: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: id in: path description: The ID of the Override to retrieve required: true schema: type: string description: The ID of the Override to retrieve example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Voluptate sed temporibus quis. example: Repudiandae similique optio deleniti sed est. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Override' example: approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view put: tags: - Overrides description: Update an existing Override operationId: Overrides#UpdateOverride parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: id in: path description: The ID of the Override to update required: true schema: type: string description: The ID of the Override to update example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Ipsam magnam impedit aut ipsum et. example: Sint sed voluptas aliquam saepe possimus. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateOverrideRequestBody' example: link: https://example.com/ABC-1234 overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline reason: Waiting on upstream bug fix requesterId: user111111111111111111 targetId: abcdef1234567890ghijkl responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Override' example: approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v2/pipeline-security/issues/csv: get: tags: - pipeline-security summary: ExportPipelineSecurityIssuesCSV pipeline-security description: Export pipeline security issues as CSV data operationId: pipeline-security#ExportPipelineSecurityIssuesCSV parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: executionId in: query description: Harness Execution ID allowEmptyValue: true required: true schema: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExportPipelineSecurityIssuesCSVResponseBody' example: data: - - Quia minus non rerum quos. - Expedita repellendus esse saepe soluta blanditiis. - - Ut et. - Hic provident tempore aut quis doloribus. - Nulla nihil similique magni sit velit. - Ducimus adipisci ea. - - Sint magni recusandae nihil nisi magni quidem. - Corporis sit. executionId: Eos maxime nostrum quia. filename: Ex occaecati molestiae qui dolor. headers: - Quo quidem quia consectetur quis omnis. - Voluptas eos rerum eos omnis accusamus. - Commodi architecto hic dolor minima fugit et. - Modi culpa et et. totalRows: 6146917766882571174 security: - X-Api-Key_header_Authorization: [] jwt_header_Authorization: - sto_issue_view /api/v2/policies/{accountId}/upload: post: tags: - qwietproxy summary: Upload policy protobuf description: sl POST /api/v2/policies/{accountId}/upload. Protobuf PolicyRequest; path org rewritten to Qwiet org UUID. operationId: qwietproxy#UploadPolicy parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Ad eos ut. example: Enim libero facilis. requestBody: required: true content: application/json: schema: type: string example: Nulla facilis repellat autem voluptate nobis repudiandae. example: Eaque quo est omnis. responses: "200": description: OK response. content: application/x-protobuf: schema: type: string example: - 66 - 101 - 97 - 116 - 97 - 101 - 32 - 97 - 117 - 116 - 46 format: binary example: - 67 - 111 - 110 - 115 - 101 - 113 - 117 - 97 - 116 - 117 - 114 - 32 - 116 - 101 - 110 - 101 - 116 - 117 - 114 - 32 - 101 - 97 - 46 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/policies/{accountId}/validate: post: tags: - qwietproxy summary: Validate policy protobuf description: sl POST /api/v2/policies/{accountId}/validate. Protobuf PolicyRequest; path org rewritten to Qwiet org UUID. operationId: qwietproxy#ValidatePolicy parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Dolorem iusto fugiat expedita totam quis. example: Voluptas consequatur sunt commodi. requestBody: required: true content: application/json: schema: type: string example: Natus incidunt. example: Facilis nihil. responses: "200": description: OK response. content: application/x-protobuf: schema: type: string example: - 69 - 116 - 32 - 110 - 101 - 113 - 117 - 101 - 32 - 101 - 116 - 32 - 97 - 100 - 105 - 112 - 105 - 115 - 99 - 105 - 32 - 110 - 101 - 109 - 111 - 32 - 115 - 97 - 112 - 105 - 101 - 110 - 116 - 101 - 46 format: binary example: - 85 - 116 - 32 - 97 - 114 - 99 - 104 - 105 - 116 - 101 - 99 - 116 - 111 - 32 - 118 - 111 - 108 - 117 - 112 - 116 - 97 - 116 - 101 - 109 - 32 - 111 - 109 - 110 - 105 - 115 - 32 - 100 - 111 - 108 - 111 - 114 - 46 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view /api/v2/policy-enforcements: post: tags: - PolicyEnforcements summary: Evaluate PolicyEnforcements operationId: PolicyEnforcements#Evaluate parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Est eaque vero aut consectetur aliquam. example: Nobis veritatis. requestBody: required: true content: application/json: schema: type: object properties: entityName: type: string description: Name shown for this evaluation. Step name, pipeline name, or pipeline id. example: Enforce policies executionId: type: string example: Eveniet fugiat. policySetIds: type: array items: type: string example: Dicta debitis praesentium ea vero maxime. example: - Accusantium exercitationem ut aut quia aliquid ea. minItems: 1 scanner: type: string example: Quia et nisi non dolores facere. target: type: string example: Sunt dolorem quasi et qui voluptatem quis. targetOrgId: type: string description: Org that owns the scan target or execution. Defaults to orgId. example: scan_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 targetProjectId: type: string description: Project that owns the scan target or execution. Defaults to projectId. example: scan_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 variant: type: string example: Nostrum perspiciatis. example: entityName: Enforce policies executionId: Qui repellat ut dolore tempora. policySetIds: - Ratione vero. scanner: Minima autem. target: Dolor nostrum. targetOrgId: scan_org targetProjectId: scan_project variant: Qui dolores eum. example: entityName: Enforce policies executionId: Quibusdam eum sequi. policySetIds: - Aspernatur voluptatibus. - Tempora rerum iusto accusantium id minima. scanner: Itaque perferendis eum eum cumque. target: Et impedit porro voluptatibus sint doloribus unde. targetOrgId: scan_org targetProjectId: scan_project variant: Blanditiis quia ut eos non eligendi dolorem. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/PolicyEnforcementResult' example: evaluationId: Laudantium sed exercitationem odit quasi eos quaerat. failedPolicySets: - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error status: pass warningPolicySets: - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "409": description: 'Conflict: Conflict response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: The source code has changed since this scan was run. status: 409 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v2/products: get: tags: - Products description: List a collection of Scan Tools operationId: Products#ListProducts parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: name in: query description: Resource name allowEmptyValue: true schema: type: string description: Resource name example: NodeGoat example: NodeGoat responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ProductsListProductsResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp - created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 /api/v2/products/{id}: get: tags: - Products description: Find Scan Tool by ID operationId: Products#FindProductById parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: id in: path description: The ID of the Scan Tool to retrieve required: true schema: type: string description: The ID of the Scan Tool to retrieve example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Product' example: created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 /api/v2/pull-requests/repositories: get: operationId: Pull Requests#ListPullRequests parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: Github in: query name: provider required: true schema: example: Github type: string - allowEmptyValue: true example: Voluptas animi voluptatem. in: query name: repositoryPath required: true schema: example: Dolor natus aspernatur ut sed. type: string - allowEmptyValue: true description: Harness personal or service access token example: Vel dolorem. in: header name: X-Api-Key schema: description: Harness personal or service access token example: Voluptate corrupti. type: string responses: "200": content: application/json: example: pullRequests: - commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object - commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object - commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object schema: $ref: '#/components/schemas/PullRequestsListPullRequestsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view tags: - Pull Requests x-internal: true /api/v2/pull-requests/repositories/pulls: get: operationId: Pull Requests#FindPullRequestByID parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: Github in: query name: provider required: true schema: example: Github type: string - allowEmptyValue: true example: Dolorem neque repellat qui. in: query name: repositoryPath required: true schema: example: Optio aspernatur dolor sunt placeat explicabo. type: string - allowEmptyValue: true description: The number of the pullRequest to retrieve example: 11 in: query name: pullRequestNumber required: true schema: description: The number of the pullRequest to retrieve example: 11 format: int64 minimum: 1 type: integer - allowEmptyValue: true description: Harness personal or service access token example: Qui provident dolore. in: header name: X-Api-Key schema: description: Harness personal or service access token example: Deserunt quo quas assumenda iure modi nesciunt. type: string responses: "200": content: application/json: example: commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object schema: $ref: '#/components/schemas/PullRequestResult' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view tags: - Pull Requests post: description: Use AI to augment the remediation steps for this Security Issue operationId: Pull Requests#CreatePullRequest parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: Github in: query name: provider required: true schema: example: Github type: string - allowEmptyValue: true example: Corrupti non autem labore ducimus exercitationem. in: query name: repositoryPath required: true schema: example: Ab soluta soluta corporis repudiandae consectetur. type: string - allowEmptyValue: true description: Harness personal or service access token example: Beatae iusto aut doloribus facere. in: header name: X-Api-Key schema: description: Harness personal or service access token example: Sapiente soluta sit magni quod est. type: string requestBody: content: application/json: example: branch: develop description: A description of the Pull Request. id: 1234567890abcdefghijkl occurrenceId: 12345 pipelineUrl: https://app.harness.io/path/to/pipeline remediationCode: |- func example() int { return 0 } remediationCodeEnd: 16 remediationCodePath: path/to/code remediationCodeStart: 14 remediationContext: Context to the function. remediationIndent: 9 scanId: abcdef1234567890ghijkl vulnerableCode: |- func example() int { return 0 } schema: $ref: '#/components/schemas/CreatePullRequestRequestBody' required: true responses: "200": content: application/json: example: commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object schema: $ref: '#/components/schemas/PullRequestResult' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "409": content: application/json: example: message: The source code has changed since this scan was run. status: 409 schema: $ref: '#/components/schemas/NotFound' description: 'Conflict: Conflict response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view tags: - Pull Requests put: description: Use AI to augment the remediation steps for this Security Issue operationId: Pull Requests#UpdatePullRequest parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: Github in: query name: provider required: true schema: example: Github type: string - allowEmptyValue: true example: Maiores debitis at eveniet et quo quas. in: query name: repositoryPath required: true schema: example: Consequuntur veritatis. type: string - allowEmptyValue: true description: Harness personal or service access token example: Exercitationem aspernatur ut. in: header name: X-Api-Key schema: description: Harness personal or service access token example: Laboriosam ad quibusdam. type: string requestBody: content: application/json: example: id: 1234567890abcdefghijkl occurrenceId: 12345 pipelineUrl: https://app.harness.io/path/to/pipeline pullRequestNumber: 11 remediationCode: |- func example() int { return 0 } remediationCodeEnd: 16 remediationCodePath: path/to/code remediationCodeStart: 14 remediationContext: Context to the function. remediationIndent: 9 scanId: abcdef1234567890ghijkl vulnerableCode: |- func example() int { return 0 } schema: $ref: '#/components/schemas/UpdatePullRequestRequestBody' required: true responses: "200": content: application/json: example: commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object schema: $ref: '#/components/schemas/PullRequestResult' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "409": content: application/json: example: message: The source code has changed since this scan was run. status: 409 schema: $ref: '#/components/schemas/NotFound' description: 'Conflict: Conflict response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view tags: - Pull Requests x-internal: true /api/v2/pull-requests/repositories/pulls/action: get: description: Determine the PR action to display for a specific occurrence (create, suggestFix, display, or none). operationId: Pull Requests#GetPullRequestAction parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Git provider (optional for action query — returns none with reason if empty) example: Github in: query name: provider schema: description: Git provider (optional for action query — returns none with reason if empty) example: Github type: string - allowEmptyValue: true description: Repository path (optional for action query — returns none with reason if empty) example: Vero praesentium minus blanditiis. in: query name: repositoryPath schema: description: Repository path (optional for action query — returns none with reason if empty) example: Sit iusto enim. type: string - allowEmptyValue: true description: The ID of the Security Issue example: 1234567890abcdefghijkl in: query name: id required: true schema: description: The ID of the Security Issue example: 1234567890abcdefghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: The internal ID of the occurrence to evaluate example: 12345 in: query name: occurrenceId required: true schema: description: The internal ID of the occurrence to evaluate example: 12345 format: int64 minimum: 1 type: integer - allowEmptyValue: true description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl in: query name: scanId required: true schema: description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness personal or service access token example: Officiis aut eum odit distinctio. in: header name: X-Api-Key schema: description: Harness personal or service access token example: Suscipit velit. type: string responses: "200": content: application/json: example: action: create commentUrl: Non necessitatibus et culpa. disabled: false disabledReason: Corrupti repudiandae. pullRequestNumber: 3864092571436024940 pullRequestUrl: Dolor laudantium. remediationCodeEnd: 8572348861981643642 remediationCodePath: Odio totam molestiae dolorem aut consequatur. remediationCodeStart: 6315169220668604025 remediationIndent: 3735068727203360819 targetBranch: Laudantium quidem similique. schema: $ref: '#/components/schemas/PullRequestsGetPullRequestActionResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view tags: - Pull Requests x-internal: true /api/v2/pull-requests/repositories/pulls/correlation: get: description: Determine if a path is correlated to a Pull Request. operationId: Pull Requests#GetPullRequestCorrelation parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true example: Github in: query name: provider required: true schema: example: Github type: string - allowEmptyValue: true example: Et placeat ut magni. in: query name: repositoryPath required: true schema: example: Harum id sapiente debitis ea ut. type: string - allowEmptyValue: true example: 11 in: query name: pullRequestNumber required: true schema: example: 11 format: int64 minimum: 1 type: integer - allowEmptyValue: true example: path/to/code in: query name: codePath required: true schema: example: path/to/code type: string - allowEmptyValue: true description: Harness personal or service access token example: Eligendi suscipit saepe ut veritatis. in: header name: X-Api-Key schema: description: Harness personal or service access token example: Id et est unde explicabo est ratione. type: string responses: "200": content: application/json: example: isCorrelated: true schema: $ref: '#/components/schemas/PullRequestsGetPullRequestCorrelationResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view summary: GetPullRequestCorrelation Pull Requests tags: - Pull Requests x-internal: true /api/v2/qwiet/proxy-config: get: tags: - Qwiet summary: Get Qwiet proxy configuration description: Get Qwiet proxy configuration and feature flag status for the account operationId: Qwiet#GetProxyConfig parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Ipsum est officiis porro. example: Officia dicta voluptatem sed nihil qui. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/QwietProxyConfigResponse' example: enabled: false grpcApiHost: sto.example.com:443 grpcTelemetryHost: sto.example.com:443 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v2/qwiet/resolve-app-scope: get: tags: - Qwiet summary: Resolve app scope description: Resolve and validate app scope, returning sanitized Qwiet app name and X-Harness-App header. operationId: Qwiet#ResolveAppScope parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: appName in: query description: Target/app name allowEmptyValue: true required: true schema: type: string description: Target/app name example: NodeGoat example: NodeGoat - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Omnis autem sint. example: Aliquam qui minima doloribus at expedita. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ResolveAppScopeResult' example: harnessApp: default/STO/NodeGoat qwietAppName: default-STO-NodeGoat xHarnessApp: ZGVmYXVsdC9TVE8vTm9kZUdvYXQ "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v2/qwiet/scans: post: tags: - Qwiet summary: Poll Harness scans by Qwiet app name and polyglot scan ids description: Look up Harness scans by Qwiet applicationName and polyglotScanIds stored on scan.metadata. operationId: Qwiet#GetScans parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Neque mollitia consequuntur modi dolor ut. example: Ut ipsa nam atque totam laudantium quod. requestBody: required: true content: application/json: schema: type: object properties: applicationName: type: string description: Qwiet app name stored as scan.metadata.AppName example: default-STO-default_STO_NodeGoat minLength: 1 maxLength: 256 polyglotScanIds: type: array items: type: integer example: 4476406872386826582 format: int64 example: - 8 - 9 minItems: 1 maxItems: 100 example: applicationName: default-STO-default_STO_NodeGoat polyglotScanIds: - 8 - 9 example: applicationName: default-STO-default_STO_NodeGoat polyglotScanIds: - 8 - 9 responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/QwietScanPollResult' example: scans: - harnessScanId: Harum velit nisi deserunt eligendi qui consequuntur. link: Unde aut. polyglotScanId: 5499116444759870618 status: Corrupti a. - harnessScanId: Harum velit nisi deserunt eligendi qui consequuntur. link: Unde aut. polyglotScanId: 5499116444759870618 status: Corrupti a. - harnessScanId: Harum velit nisi deserunt eligendi qui consequuntur. link: Unde aut. polyglotScanId: 5499116444759870618 status: Corrupti a. - harnessScanId: Harum velit nisi deserunt eligendi qui consequuntur. link: Unde aut. polyglotScanId: 5499116444759870618 status: Corrupti a. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - core_account_view /api/v2/qwiet/token: get: tags: - Qwiet summary: Get Qwiet token description: Get Qwiet token and organization ID for an account operationId: Qwiet#GetToken parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: licenseType in: query description: Type of license to validate allowEmptyValue: true schema: type: string description: Type of license to validate default: qwiet example: sast enum: - qwiet - sast - sca example: sast - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Quis necessitatibus. example: Minus et fuga rerum tempora. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/QwietTokenResponse' example: authorized: true licenseType: sast organizationId: org_123456 token: qwiet_token_abc123xyz "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v2/qwiet/user-token: get: tags: - Qwiet summary: Get Qwiet user token description: Get Qwiet user access token for the authenticated user operationId: Qwiet#GetUserToken parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: In cumque omnis tenetur voluptas praesentium voluptatibus. example: Adipisci perspiciatis veniam consequuntur facere amet et. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/QwietUserTokenResponse' example: email: user@example.com grpcApiHost: sto.example.com:443 grpcTelemetryHost: sto.example.com:443 organizationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 token: Dicta in. useStoProxy: false "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v2/reference-identifiers/{refId}: get: tags: - Reference Identifiers description: Reference Identifiers Lookup operationId: Reference Identifiers#getByReferenceId parameters: - name: refId in: path required: true schema: type: string example: CWE-123 example: CWE-123 - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Blanditiis ipsa. example: Consequatur non fuga. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/GetByReferenceIDResponseBody' example: description: Enim esse. extendedDescription: Placeat eum. remediationSteps: Quas eveniet officiis omnis culpa. severity: 8.5 severityCode: High "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - core_account_view /api/v2/remediation-agent/base-image-approval: post: tags: - RemediationAgent summary: GetBaseImageApproval RemediationAgent description: 'List the approved variants of one or more base images across an account (not scoped to org/project). Customers scan base images manually as their own container targets and approve variants via the target variant status update; this lookup does not depend on base image auto-detection (STO_BASE_IMAGE_DETECTION). For each requested target name, returns every variant of the container target with that name whose base image status is approved, newest scan first, de-duplicated. Variant strings are the bare parameters.variant value (for example 3.21), not the STO UI display form (tag: 3.21); tag: and branch: prefixes are stripped. Duplicate request names are collapsed; results follow request order and always contain one entry per distinct name. Does not pick a single upgrade tag.' operationId: RemediationAgent#GetBaseImageApproval parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GetBaseImageApprovalRequestBody' example: targetNames: - alpine - ubuntu responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/GetBaseImageApprovalResponseBody' example: results: - approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine - approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine - approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - jwt_header_Authorization: - sto_internal_use_only /api/v2/remediation-agent/diff-occurrences: get: tags: - RemediationAgent summary: DiffOccurrences RemediationAgent description: Diff the validation execution's scan against the original scan's ignore set. Resolves validationScanId from validationExecutionId (account-scoped — validation pipeline may live in a different org/project than the original scan), derives the original scan's ignored occurrences (every occurrence on the original scan minus the in-scope ones for the scoped issue type, same computation as ListOccurrencesInScope), and removes those (matched by fingerprint) from the validation scan. Remaining occurrences are split into existingOccurrences (fingerprint also present in original in-scope) and newOccurrences (introduced on the validation scan). operationId: RemediationAgent#DiffOccurrences parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: scanId in: query description: Original STO scan id allowEmptyValue: true required: true schema: type: string description: Original STO scan id example: scan111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ example: scan111111111111111111 - name: validationExecutionId in: query description: Validation pipeline execution id allowEmptyValue: true required: true schema: type: string description: Validation pipeline execution id example: exec111111111111111111 maxLength: 128 example: exec111111111111111111 - name: issueTypes in: query description: 'Issue types to scope (v1: SAST, SECRET, SCA). Filters i.type. Empty or omitted matches no occurrences.' allowEmptyValue: true schema: type: array items: type: string example: SCA enum: - SAST - SECRET - SCA description: 'Issue types to scope (v1: SAST, SECRET, SCA). Filters i.type. Empty or omitted matches no occurrences.' example: - SCA - SECRET example: - SECRET - SCA - name: onlyTruePositiveIssueTypes in: query description: Issue types that must have a TRUE_POSITIVE triage verdict to stay in scope. Other scoped types are not TP-filtered. Empty + onlyTruePositive=false → no TP filter. Empty + onlyTruePositive=true (legacy) → all resolved issueTypes. allowEmptyValue: true schema: type: array items: type: string example: SAST enum: - SAST - SECRET - SCA description: Issue types that must have a TRUE_POSITIVE triage verdict to stay in scope. Other scoped types are not TP-filtered. Empty + onlyTruePositive=false → no TP filter. Empty + onlyTruePositive=true (legacy) → all resolved issueTypes. example: - SAST - SECRET example: - SCA - SECRET - name: onlyTruePositive in: query description: 'Legacy: when true and onlyTruePositiveIssueTypes is empty, apply TP filter to all resolved issueTypes. Prefer onlyTruePositiveIssueTypes for per-type Exclude False Positives.' allowEmptyValue: true schema: type: boolean description: 'Legacy: when true and onlyTruePositiveIssueTypes is empty, apply TP filter to all resolved issueTypes. Prefer onlyTruePositiveIssueTypes for per-type Exclude False Positives.' default: false example: false example: false - name: excludeUnreachable in: query description: When true, exclude occurrences whose reachability is 'unreachable' (SAST). Missing/unknown reachability stays in scope. allowEmptyValue: true schema: type: boolean description: When true, exclude occurrences whose reachability is 'unreachable' (SAST). Missing/unknown reachability stays in scope. default: false example: true example: true - name: limit in: query description: Maximum number of occurrences allowEmptyValue: true schema: type: integer description: Maximum number of occurrences default: 1000 example: 1804 format: int64 minimum: 1 maximum: 10000 example: 4030 - name: severityCodes in: query description: 'Subset of severities: CRITICAL, HIGH, MEDIUM, LOW, INFO. Empty means all.' allowEmptyValue: true schema: type: array items: type: string example: CRITICAL enum: - CRITICAL - HIGH - MEDIUM - LOW - INFO description: 'Subset of severities: CRITICAL, HIGH, MEDIUM, LOW, INFO. Empty means all.' example: - HIGH - HIGH - INFO - LOW example: - MEDIUM - LOW - name: excludeRepoPatterns in: query description: Glob patterns matching target.name on repository targets allowEmptyValue: true schema: type: array items: type: string example: nts maxLength: 256 description: Glob patterns matching target.name on repository targets example: - ahd - "984" - 5xe example: - pbb - agv - 0wm - name: issueIds in: query description: Restrict scope to these issue ids (issue.id). Empty = no restriction. allowEmptyValue: true schema: type: array items: type: string example: k4n maxLength: 256 description: Restrict scope to these issue ids (issue.id). Empty = no restriction. example: - xbv - jez - d16 maxItems: 200 example: - 9l9 - 56v - kg5 - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Architecto deserunt aut quae qui rerum. example: In sunt. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/DiffOccurrencesResponseBody' example: existingCount: 6332533255315337040 existingOccurrences: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH matchedCount: 3740683433301375664 newCount: 3190390671841476282 newOccurrences: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH validationScanId: scan222222222222222222 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v2/remediation-agent/memory: get: tags: - RemediationAgent summary: RecallMemory RemediationAgent description: Return the remediation agent memory page for one target and agent profile. The page is advisory text for the fix prompt. Empty when nothing is stored. A failed read must not change the remediation run. operationId: RemediationAgent#RecallMemory parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: targetId in: query description: STO target id. Blank matches nothing. allowEmptyValue: true required: true schema: type: string description: STO target id. Blank matches nothing. example: target1111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ example: target1111111111111111 - name: paths in: query description: Repo-relative files this run fixes. The lookup is the repo, every parent directory, each file, and the functions under those files, plus pinned rows. Empty looks up the repo node and pinned rows only. allowEmptyValue: true schema: type: array items: type: string example: Doloribus deserunt sequi dolor optio dolorem dicta. description: Repo-relative files this run fixes. The lookup is the repo, every parent directory, each file, and the functions under those files, plus pinned rows. Empty looks up the repo node and pinned rows only. example: - Ut quos voluptatum. - Similique nihil. - Qui omnis et. example: - Accusantium quasi. - Quis ea dolor. - Omnis velit et. - name: agent in: query description: Remediation agent profile. Defaults to sast_remediation when omitted. allowEmptyValue: true schema: type: string description: Remediation agent profile. Defaults to sast_remediation when omitted. example: sast_remediation pattern: ^[a-z][a-z0-9_]{0,63}$ example: sast_remediation - name: repositoryUrl in: query description: Clone URL for this run. Used only when the target has no URL and no repository memory is stored for it. allowEmptyValue: true schema: type: string description: Clone URL for this run. Used only when the target has no URL and no repository memory is stored for it. example: https://git0.harness.io/acct/PROD/proj/sto-core.git maxLength: 2048 example: https://git0.harness.io/acct/PROD/proj/sto-core.git responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/RecallMemoryResponseBody' example: entryCount: 6292743922287379020 page: Delectus in et laboriosam id. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - jwt_header_Authorization: - sto_internal_use_only /api/v2/remediation-agent/occurrences-in-scope: get: tags: - RemediationAgent summary: ListOccurrencesInScope RemediationAgent description: List (issue, occurrence) tuples for the remediation pre-plugin. Scoped to one scan and issue type; optionally filters to TRUE_POSITIVE triage verdicts. operationId: RemediationAgent#ListOccurrencesInScope parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: scanId in: query description: STO scan id allowEmptyValue: true required: true schema: type: string description: STO scan id example: scan111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ example: scan111111111111111111 - name: targetId in: query description: Optional STO target id allowEmptyValue: true schema: type: string description: Optional STO target id example: target1111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ example: target1111111111111111 - name: issueTypes in: query description: 'Issue types to scope (v1: SAST, SECRET, SCA). Filters i.type. Empty or omitted matches no occurrences.' allowEmptyValue: true schema: type: array items: type: string example: SAST enum: - SAST - SECRET - SCA description: 'Issue types to scope (v1: SAST, SECRET, SCA). Filters i.type. Empty or omitted matches no occurrences.' example: - SECRET - SECRET - SAST - SECRET example: - SAST - SECRET - name: onlyTruePositiveIssueTypes in: query description: Issue types that must have a TRUE_POSITIVE triage verdict to stay in scope. Other scoped types are not TP-filtered. Empty + onlyTruePositive=false → no TP filter. Empty + onlyTruePositive=true (legacy) → all resolved issueTypes. allowEmptyValue: true schema: type: array items: type: string example: SCA enum: - SAST - SECRET - SCA description: Issue types that must have a TRUE_POSITIVE triage verdict to stay in scope. Other scoped types are not TP-filtered. Empty + onlyTruePositive=false → no TP filter. Empty + onlyTruePositive=true (legacy) → all resolved issueTypes. example: - SCA - SAST - SAST - SAST example: - SAST - SCA - SCA - SCA - name: onlyTruePositive in: query description: 'Legacy: when true and onlyTruePositiveIssueTypes is empty, apply TP filter to all resolved issueTypes. Prefer onlyTruePositiveIssueTypes for per-type Exclude False Positives.' allowEmptyValue: true schema: type: boolean description: 'Legacy: when true and onlyTruePositiveIssueTypes is empty, apply TP filter to all resolved issueTypes. Prefer onlyTruePositiveIssueTypes for per-type Exclude False Positives.' default: false example: false example: false - name: excludeUnreachable in: query description: When true, exclude occurrences whose reachability is 'unreachable' (SAST). Missing/unknown reachability stays in scope. allowEmptyValue: true schema: type: boolean description: When true, exclude occurrences whose reachability is 'unreachable' (SAST). Missing/unknown reachability stays in scope. default: false example: true example: false - name: limit in: query description: Maximum number of occurrences allowEmptyValue: true schema: type: integer description: Maximum number of occurrences default: 1000 example: 1215 format: int64 minimum: 1 maximum: 10000 example: 6733 - name: severityCodes in: query description: 'Subset of severities: CRITICAL, HIGH, MEDIUM, LOW, INFO. Empty means all.' allowEmptyValue: true schema: type: array items: type: string example: INFO enum: - CRITICAL - HIGH - MEDIUM - LOW - INFO description: 'Subset of severities: CRITICAL, HIGH, MEDIUM, LOW, INFO. Empty means all.' example: - HIGH - HIGH - HIGH example: - INFO - MEDIUM - name: excludeRepoPatterns in: query description: Glob patterns matching target.name on repository targets allowEmptyValue: true schema: type: array items: type: string example: ciq maxLength: 256 description: Glob patterns matching target.name on repository targets example: - 12q - psg - 8v2 example: - s3l - wcx - kpq - name: issueIds in: query description: Restrict scope to these issue ids (issue.id). Empty = no restriction. allowEmptyValue: true schema: type: array items: type: string example: cjo maxLength: 256 description: Restrict scope to these issue ids (issue.id). Empty = no restriction. example: - 91n - vq9 - 6xq maxItems: 200 example: - 24a - xxi - 21q responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ListOccurrencesInScopeResponseBody' example: ignoredOccurrenceIds: - 6487726553863715739 - 5625307032288861237 - 4762964442476852884 - 4777059288662620219 originalOccurrenceCount: 9216483560964651630 results: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - jwt_header_Authorization: - sto_internal_use_only /api/v2/remediation-agent/results/batch: post: tags: - RemediationAgent summary: BatchPersistResults RemediationAgent description: Atomically upsert per-occurrence remediation rows for one agent run. STO Core resolves in-scope occurrences for originalScanId (same query as ListOccurrencesInScope, using the same RemAgentScopeFilters from sto-plugins) and stamps pullRequestMetadata onto each issue_augmentation row. Run-level rollup counts on this payload are stored for audit/UI; the post-plugin ALSO posts the same counts to ssca-manager agentResults for the Agents Executions tab (same split as FP triage). operationId: RemediationAgent#BatchPersistResults parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BatchPersistResultsRequestBody' example: activeOccurrenceCount: 3319579526784801256 excludeRepoPatterns: - qzn - qar - 0zc excludeUnreachable: false issueIds: - kic - 0pu - o3z issueTypes: - SCA - SAST jiraEnabled: false limit: 9793 modelName: 94q newOccurrenceIntroducedCount: 1395994554390662824 occurrenceRemediatedCount: 8287252840234465575 onlyTruePositive: true onlyTruePositiveIssueTypes: - SAST - SCA - SAST originalOccurrenceCount: 6509729223863172450 originalScanId: scan111111111111111111 promptVersion: ihe pullRequestMetadata: Nisi et. severityCodes: - INFO - MEDIUM - MEDIUM targetId: target1111111111111111 targetName: ow6 targetVariantName: awf userScanActiveCount: 6304906364633385894 validationMetadata: build: executionId: xa4 orgId: bft pipelineId: 6vr projectId: fvy status: ruc remediation: executionId: 4nk orgId: sl9 pipelineId: ai3 projectId: l39 scanId: scan222222222222222222 status: duz workflowExecutionId: 3rq workflowType: REMEDIATION responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/BatchPersistResultsResponseBody' example: summaryId: 4218811430069399389 ticketId: STO-34219 ticketUrl: https://jira.example.com/browse/STO-123 written: 468013853592635166 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - jwt_header_Authorization: - sto_internal_use_only /api/v2/repositories: get: description: List repositories for a project. operationId: Repositories#ListRepositories parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true description: Sort field example: severity in: query name: sort schema: default: lastScanAt description: Sort field enum: - severity - lastScanAt example: severity type: string - allowEmptyValue: true description: Sort direction example: DESC in: query name: order schema: default: DESC description: Sort direction enum: - ASC - DESC example: DESC type: string - allowEmptyValue: true description: Case-insensitive name substring example: nodegoat in: query name: search schema: description: Case-insensitive name substring example: nodegoat maxLength: 256 type: string - allowEmptyValue: true description: Comma-separated target types. Empty means repository. example: repository in: query name: types schema: description: Comma-separated target types. Empty means repository. example: repository maxLength: 64 pattern: ^(repository(,(repository))*)?$ type: string - allowEmptyValue: true description: Comma-separated sources. Use Unknown for null/empty source. example: Github,Gitlab,Unknown in: query name: source schema: description: Comma-separated sources. Use Unknown for null/empty source. example: Github,Gitlab,Unknown maxLength: 1024 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Comma-separated scan types example: SAST,SCA in: query name: scanTypes schema: description: Comma-separated scan types example: SAST,SCA maxLength: 256 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Comma-separated scanner names example: semgrep,checkov in: query name: scanners schema: description: Comma-separated scanner names example: semgrep,checkov maxLength: 512 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Comma-separated severities with a non-zero occurrence count example: critical,high in: query name: severity schema: description: Comma-separated severities with a non-zero occurrence count example: critical,high pattern: ^((critical|high|medium|low|info|unassigned)(,(critical|high|medium|low|info|unassigned))*)?$ type: string responses: "200": content: application/json: example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo schema: $ref: '#/components/schemas/RepositoriesListRepositoriesResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: List code repositories tags: - Repositories x-internal: true /api/v2/repositories/{targetId}/variants: get: description: List scanned variants for a repository, newest first. Optional search matches variant name or exact variant id. operationId: Repositories#ListRepositoryVariants parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Associated Target ID example: abcdef1234567890ghijkl in: path name: targetId required: true schema: description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Case-insensitive variant name substring, or exact variant id example: mai in: query name: search schema: description: Case-insensitive variant name substring, or exact variant id example: mai maxLength: 256 type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Results per page example: 50 in: query name: pageSize schema: default: 10 description: Results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer responses: "200": content: application/json: example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl schema: $ref: '#/components/schemas/ArtifactsListArtifactVariantsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: List a repository's scanned variants tags: - Repositories x-internal: true /api/v2/repositories/overview: get: description: Aggregate widgets for the Repositories page. operationId: Repositories#RepositoriesOverview parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string responses: "200": content: application/json: example: baselineSet: 90 issueRemediations: 40 issueSeverityDeltas: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 issueSeverityTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceRemediations: 100 occurrenceSeverityDeltas: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 occurrenceSeverityTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 sourceBreakdown: - count: 42 source: Github - count: 42 source: Github - count: 42 source: Github totalRepositories: 128 schema: $ref: '#/components/schemas/RepositoriesRepositoriesOverviewResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_view summary: Get repositories overview tags: - Repositories x-internal: true /api/v2/scan-context: get: tags: - FpTriage summary: GetScanContext FpTriage description: Resolve the STO scan an agent pre-plugin should use. With scanId, returns that scan's org, project, target, and variant. With targetName (and optional targetVariant / scanner), returns the latest succeeded scan on the resolved variant in orgId/projectId. targetVariant omitted uses the target baseline variant. scanner omitted returns the latest succeeded scan across products. A scanner value keeps only that product. With neither scanId nor targetName, pipelineExecutionId returns the latest succeeded scan on that pipeline execution. Served at /api/v2/scan-context. operationId: FpTriage#GetScanContext parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: scanId in: query description: Optional STO scan id. When set, this scan is used and targetName, targetVariant, scanner, and pipelineExecutionId are ignored. allowEmptyValue: true schema: type: string description: Optional STO scan id. When set, this scan is used and targetName, targetVariant, scanner, and pipelineExecutionId are ignored. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness organization id. Required with targetName. allowEmptyValue: true schema: type: string description: Harness organization id. Required with targetName. example: default maxLength: 256 example: default - name: projectId in: query description: Harness project id. Required with targetName. allowEmptyValue: true schema: type: string description: Harness project id. Required with targetName. example: testrem maxLength: 256 example: testrem - name: targetName in: query description: Optional STO target name, the same name a scan step uses. Combined with targetVariant (or the target baseline variant) to pick the latest succeeded scan in orgId/projectId. A name that matches more than one target type in that project is rejected. allowEmptyValue: true schema: type: string description: Optional STO target name, the same name a scan step uses. Combined with targetVariant (or the target baseline variant) to pick the latest succeeded scan in orgId/projectId. A name that matches more than one target type in that project is rejected. example: nodegoat_12345 maxLength: 1024 example: nodegoat_12345 - name: targetVariant in: query description: Optional target variant id or variant name (target_variant.parameters->>'variant'). Ignored when scanId is set. When empty on the targetName path, the target baseline variant is used. allowEmptyValue: true schema: type: string description: Optional target variant id or variant name (target_variant.parameters->>'variant'). Ignored when scanId is set. When empty on the targetName path, the target baseline variant is used. example: master maxLength: 256 example: master - name: scanner in: query description: Optional scanner product id, name, or display name (e.g. semgrep, Semgrep). Ignored when scanId is set. When set, the latest succeeded scan is limited to the product whose id, name, or pretty_name matches case-insensitively. allowEmptyValue: true schema: type: string description: Optional scanner product id, name, or display name (e.g. semgrep, Semgrep). Ignored when scanId is set. When set, the latest succeeded scan is limited to the product whose id, name, or pretty_name matches case-insensitively. example: semgrep maxLength: 128 example: semgrep - name: pipelineExecutionId in: query description: Optional Harness pipeline execution id. Used only when scanId and targetName are both empty. Returns the latest succeeded scan recorded on that execution (scan.execution_id). allowEmptyValue: true schema: type: string description: Optional Harness pipeline execution id. Used only when scanId and targetName are both empty. Returns the latest succeeded scan recorded on that execution (scan.execution_id). example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/FpScanContext' example: accountId: BdsgiWzwT7CQFeJl9XkQ3A gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness orgId: default parentUniqueId: puid111111111111111111 productName: semgrep projectId: benchmarkremagent scanId: abcdef1234567890ghijkl targetId: xyz987zyx654wvu321tsr9 targetName: ethers7/VulnerableApp targetVariantId: tv987zyx654wvu321tsr99 targetVariantName: master "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - jwt_header_Authorization: - sto_internal_use_only /api/v2/scanner-settings: put: tags: - ScannerSettings summary: Update scanner settings at scope description: Apply sparse settings changes at the viewed Harness scope. Each top-level block in the body contains only changed fields; the server deep-merges them into the resolved block and stores a full block snapshot for each named block. Other top-level blocks already stored on the scope row are left unchanged. operationId: ScannerSettings#PutScannerSettings parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: productName in: query description: Seeded product.name whose id keys scanner_setting rows. allowEmptyValue: true required: true schema: type: string description: Seeded product.name whose id keys scanner_setting rows. example: snyk minLength: 1 maxLength: 128 example: snyk - name: targetId in: query description: Optional Harness target ID. When set, the target scope is the viewed scope. allowEmptyValue: true schema: type: string description: Optional Harness target ID. When set, the target scope is the viewed scope. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sit atque numquam. example: Rerum assumenda perspiciatis. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PutScannerSettingsBody' example: settings: Est praesentium commodi veniam.: Modi dolorem fuga officiis. Exercitationem distinctio est possimus.: Sed et atque modi placeat nisi. Ipsum nemo.: Enim molestiae nihil impedit. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ResolvedScannerSettings' example: metadata: secret_detection_plugins: - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector skills_paths: - removable: false value: .claude/skills - removable: false value: .claude/skills - removable: false value: .claude/skills overrides: Adipisci sapiente.: Non est. Velit eveniet laboriosam ad debitis.: Dolorem ut quis sint. Voluptas neque debitis et est.: Veritatis quis voluptas rerum eius nesciunt. scope: PROJECT settings: Mollitia quaerat.: Neque qui nihil. Nobis a voluptas.: Aliquid culpa fugit atque quia nam eius. Quia dicta sit eligendi aut.: Omnis consectetur maxime sapiente exercitationem ipsa. sources: Ea quod quia vero quam adipisci occaecati.: Culpa aliquam sed corporis natus. Explicabo placeat aut.: Recusandae non saepe. Unde ut ut iusto tempora officiis.: Dignissimos veniam iure itaque occaecati. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/scanner-settings/merged: get: tags: - ScannerSettings summary: Get merged scanner settings description: Scanner settings merged across Harness scopes. Rows come from scanner_setting for the product named by productName. Merge order is DEFAULT, account, org, project, target. For each top-level block, the narrowest scope that stored that block wins the whole block; nested keys from broader scopes do not leak in. Blocks absent at every scope are omitted so the caller applies its own defaults. targetId requires orgId and projectId. operationId: ScannerSettings#GetMergedScannerSettings parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: productName in: query description: Seeded product.name whose id keys scanner_setting rows. allowEmptyValue: true required: true schema: type: string description: Seeded product.name whose id keys scanner_setting rows. example: snyk minLength: 1 maxLength: 128 example: snyk - name: targetId in: query description: Optional Harness target ID. When set, target-scoped settings are included and win over broader scopes. allowEmptyValue: true schema: type: string description: Optional Harness target ID. When set, target-scoped settings are included and win over broader scopes. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Esse aut accusantium et libero minus sed. example: Corrupti qui asperiores ad hic illo. responses: "200": description: OK response. content: application/json: schema: type: object example: Repellendus reiciendis.: Eligendi est perspiciatis eius itaque voluptatibus. Sit officia veritatis.: Nihil necessitatibus atque itaque et iure ut. additionalProperties: true example: Consequatur maiores dolores.: Accusamus quod suscipit iste. Est ipsum quod.: Perspiciatis ipsa. Maxime sed maiores deleniti.: Est impedit aliquid voluptas molestias molestiae recusandae. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view /api/v2/scanner-settings/resolved: get: tags: - ScannerSettings summary: Get resolved scanner settings with provenance description: Scanner settings resolved across Harness scopes for the settings UI. Returns the merged settings, the scope that last set each top-level block, and the raw delta stored at the requested scope. The UI badges a block Overridden when it appears in overrides, Inherited otherwise. operationId: ScannerSettings#GetResolvedScannerSettings parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: productName in: query description: Seeded product.name whose id keys scanner_setting rows. allowEmptyValue: true required: true schema: type: string description: Seeded product.name whose id keys scanner_setting rows. example: snyk minLength: 1 maxLength: 128 example: snyk - name: targetId in: query description: Optional Harness target ID. When set, the target scope is the viewed scope. allowEmptyValue: true schema: type: string description: Optional Harness target ID. When set, the target scope is the viewed scope. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Quasi eos voluptatibus. example: Iusto molestiae neque corrupti ad voluptate et. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ResolvedScannerSettings' example: metadata: secret_detection_plugins: - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector skills_paths: - removable: false value: .claude/skills - removable: false value: .claude/skills - removable: false value: .claude/skills overrides: Placeat voluptatem quae est.: Minima iste vitae dolorem. Voluptatem nihil.: Quibusdam dolores magni incidunt harum quas deleniti. scope: PROJECT settings: Esse error ratione.: Fugiat rerum ut. sources: Non excepturi quis nisi voluptatem vitae.: Maxime animi sint. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view /api/v2/scanner-settings/restore: post: tags: - ScannerSettings summary: Restore scanner settings blocks at scope description: Remove top-level settings blocks stored at the viewed Harness scope so effective values inherit from broader scopes. Deletes the scope row when no blocks remain. operationId: ScannerSettings#RestoreScannerSettings parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: productName in: query description: Seeded product.name whose id keys scanner_setting rows. allowEmptyValue: true required: true schema: type: string description: Seeded product.name whose id keys scanner_setting rows. example: snyk minLength: 1 maxLength: 128 example: snyk - name: targetId in: query description: Optional Harness target ID. When set, the target scope is the viewed scope. allowEmptyValue: true schema: type: string description: Optional Harness target ID. When set, the target scope is the viewed scope. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Dolore non. example: In nesciunt nemo voluptate quae voluptate. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RestoreScannerSettingsBody' example: blocks: - Quia eum ex sit minima commodi. - Consequuntur ipsam molestias minus temporibus debitis dolores. - Iste optio dolores id. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ResolvedScannerSettings' example: metadata: secret_detection_plugins: - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector skills_paths: - removable: false value: .claude/skills - removable: false value: .claude/skills - removable: false value: .claude/skills overrides: Consequatur aut veritatis adipisci ducimus.: Nihil totam voluptatem unde. Nostrum est exercitationem delectus.: Vel repellendus unde repudiandae. Rerum aliquid placeat.: Iste ea dolorem et labore cupiditate provident. scope: PROJECT settings: Sed velit.: Amet voluptatem corrupti. sources: Totam iusto exercitationem qui asperiores non.: Quis doloribus. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/scans: get: tags: - Scans description: List a collection of Security Test Scans operationId: Scans#ListScans parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: executionId in: query description: Harness Execution ID allowEmptyValue: true schema: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Aut culpa sed voluptas iure omnis sint. example: Adipisci illo voluptas. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ScansListScansResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view post: tags: - Scans description: Create a new Security Test Scan operationId: Scans#CreateScan parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Consequatur possimus molestiae ducimus voluptate. example: Placeat sint doloremque nihil dolorum. - name: X-Harness-User-Id in: header description: Harness User ID allowEmptyValue: true schema: type: string description: Harness User ID example: abcdef1234567890ghijkl example: abcdef1234567890ghijkl requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateScanRequestBody' example: codeCoverage: 65.5 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Recusandae rem autem optio est. detectedVariant: Mollitia recusandae incidunt necessitatibus rerum odit. droneCorrelated: false provider: Error deleniti sint rem doloribus. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Dolor sunt blanditiis. - Quibusdam inventore voluptatem. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesCreateExemptionRuleResponseBody' example: id: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v2/scans/{id}: delete: description: Delete an existing Security Test Scan operationId: Scans#DeleteScan parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: The ID of the Security Test Scan to delete example: abcdef1234567890ghijkl in: path name: id required: true schema: description: The ID of the Security Test Scan to delete example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "204": description: No Content response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_scan_delete tags: - Scans x-internal: true get: tags: - Scans description: Find Security Test Scan by ID operationId: Scans#FindScanById parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: id in: path description: The ID of the Security Test Scan to retrieve required: true schema: type: string description: The ID of the Security Test Scan to retrieve example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: A quae aliquam itaque corrupti illum. example: Et ea cumque asperiores et. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Scan' example: codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view put: tags: - Scans description: Update an existing Security Test Scan operationId: Scans#UpdateScan parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: id in: path description: The ID of the Security Test Scan to update required: true schema: type: string description: The ID of the Security Test Scan to update example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Voluptatem tempora animi sunt beatae. example: Magnam id labore in aut quis. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateScanRequestBody' example: artifactFingerprint: abcdef1234567890ghijkl codeCoverage: 65.5 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Recusandae rem autem optio est. detectedVariant: Mollitia recusandae incidunt necessitatibus rerum odit. droneCorrelated: false provider: Error deleniti sint rem doloribus. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Dolor sunt blanditiis. - Quibusdam inventore voluptatem. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Scan' example: codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v2/scans/{id}/issue/{issueId}: get: tags: - Scans description: Returns a scan specific issue operationId: Scans#ScanIssue parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: sort in: query description: The field to sort by allowEmptyValue: true schema: type: string description: The field to sort by example: Ea autem veritatis corporis. example: Maiores voluptatibus enim unde quo. - name: order in: query description: The order to sort by allowEmptyValue: true schema: type: string description: The order to sort by example: DESC enum: - ASC - DESC example: DESC - name: id in: path description: The ID of the Security Test Scan required: true schema: type: string description: The ID of the Security Test Scan example: Autem non occaecati vel eos. example: Omnis illum possimus possimus voluptatum id aut. - name: issueId in: path description: The ID of the Security Test Issue required: true schema: type: string description: The ID of the Security Test Issue example: Omnis dignissimos error vel quia dolor ut. example: Ipsum odit voluptas minus. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Odio quos quidem sit incidunt est eius. example: Quis occaecati in quo recusandae error. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ScansScanIssueResponseBody' example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. baseImageName: baseImageName baseImageOrgId: default baseImageProjectId: STO baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Approved details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Approved exploitability: "yes" fallbackSeverityCode: High gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness gracePeriodDays: 13 harnessAugmentation: Magni sapiente consequatur.: Cum et esse voluptas alias officia. Ut recusandae numquam est.: Vel aut omnis fugit aut. hasRules: true id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 lastBaseImageScanAt: 1651578240 numNonExemptedOccurrences: 10 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" occurrencesPagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pipelineId: example_pipeline primaryOccurrenceId: 12345 productId: product1234567890abcde reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired remediationAgentPullRequests: - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v2/scans/{id}/issue/{issueId}/occurrences: get: tags: - Scans description: Returns occurrences for a scan specific issue operationId: Scans#ScanIssueOccurrences parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: search in: query allowEmptyValue: true schema: type: string example: CWE-123,5 maxLength: 256 example: CWE-123,5 - name: exemptionStatus in: query allowEmptyValue: true schema: type: string example: EXEMPTED,REJECTED pattern: ^(EXEMPTED|NOT_EXEMPTED|REJECTED|PENDING)(,EXEMPTED|,NOT_EXEMPTED|,REJECTED|,PENDING)*$ example: EXEMPTED,REJECTED - name: occurrenceId in: query allowEmptyValue: true schema: type: integer example: 12345 format: int64 minimum: 1 example: 12345 - name: sort in: query description: The field to sort by allowEmptyValue: true schema: type: string description: The field to sort by example: Excepturi quo ut est sit qui quasi. example: Iste labore. - name: order in: query description: The order to sort by allowEmptyValue: true schema: type: string description: The order to sort by example: DESC enum: - ASC - DESC example: ASC - name: exemptionId in: query description: ID of Security Test Exemption allowEmptyValue: true schema: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: id in: path description: The ID of the Security Test Scan required: true schema: type: string description: The ID of the Security Test Scan example: Officia ex deleniti beatae ipsum. example: Dolorem dolor iusto officiis quod repellat. - name: issueId in: path description: The ID of the Security Test Issue required: true schema: type: string description: The ID of the Security Test Issue example: Qui rem nesciunt reprehenderit. example: Laudantium cupiditate unde neque officia. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Praesentium ab quis quo non amet. example: Minima sint deleniti sequi ut veritatis repellat. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ScansScanIssueResponseBody' example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. baseImageName: baseImageName baseImageOrgId: default baseImageProjectId: STO baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Approved details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Approved exploitability: "yes" fallbackSeverityCode: High gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness gracePeriodDays: 13 harnessAugmentation: Magni sapiente consequatur.: Cum et esse voluptas alias officia. Ut recusandae numquam est.: Vel aut omnis fugit aut. hasRules: true id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 lastBaseImageScanAt: 1651578240 numNonExemptedOccurrences: 10 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" occurrencesPagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pipelineId: example_pipeline primaryOccurrenceId: 12345 productId: product1234567890abcde reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired remediationAgentPullRequests: - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v2/scans/{id}/issues: get: tags: - Scans description: List Issues by Scan ID operationId: Scans#ScanIssues parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: exempted in: query description: Chooses whether to show exempted issues ("only"), or non-exempted issues ("0" or "false") allowEmptyValue: true schema: type: string description: Chooses whether to show exempted issues ("only"), or non-exempted issues ("0" or "false") default: "false" example: "0" enum: - "false" - only - "0" example: only - name: id in: path description: The Scan ID required: true schema: type: string description: The Scan ID example: abcdefghijkl1234567890 pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdefghijkl1234567890 - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Minus provident velit. example: Fuga quis minima sit omnis. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ScansScanIssuesResponseBody' example: issues: - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v2/scans/{id}/issues/counts: get: tags: - Scans description: Returns counts of active Security Issues for a Security Test Scan operationId: Scans#ScanIssueCounts parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: id in: path description: The ID of the Security Test Scan for which to count issues required: true schema: type: string description: The ID of the Security Test Scan for which to count issues example: Numquam quo error tempore et. example: Labore qui enim. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Dolore reiciendis. example: Ullam earum qui ipsam animi eligendi. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ScansScanIssueCountsResponseBody' example: appCritical: 1 appHigh: 3 appInfo: 11 appLow: 39 appMedium: 17 baseCritical: 1 baseHigh: 3 baseImageApproved: true baseImageDetected: true baseInfo: 11 baseLow: 39 baseMedium: 17 codeCoverage: 65.5 critical: 1 externalPolicyFailures: 0 high: 3 ignored: 1 ignoredCritical: 1 ignoredHigh: 3 ignoredInfo: 11 ignoredLow: 39 ignoredMedium: 17 ignoredUnassigned: 0 info: 11 low: 39 medium: 17 newAppCritical: 1 newAppHigh: 3 newAppInfo: 11 newAppLow: 39 newAppMedium: 17 newBaseCritical: 1 newBaseHigh: 3 newBaseInfo: 11 newBaseLow: 39 newBaseMedium: 17 newCritical: 1 newHigh: 3 newIgnoredCritical: 1 newIgnoredHigh: 3 newIgnoredInfo: 11 newIgnoredLow: 39 newIgnoredMedium: 17 newIgnoredOccurrencesCritical: 1 newIgnoredOccurrencesHigh: 3 newIgnoredOccurrencesInfo: 11 newIgnoredOccurrencesLow: 39 newIgnoredOccurrencesMedium: 17 newIgnoredOccurrencesUnassigned: 0 newIgnoredUnassigned: 0 newInfo: 11 newLow: 39 newMedium: 17 newOccurrencesCritical: 1 newOccurrencesHigh: 3 newOccurrencesInfo: 11 newOccurrencesLow: 39 newOccurrencesMedium: 17 newOccurrencesUnassigned: 0 newTotal: 3 newTotalBase: 3 newUnassigned: 0 scannerConsoleUrl: https://app.shiftleft.io/apps/myapp/summary?scan=12345 total: 10 totalBase: 10 unassigned: 0 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v2/scans/latest: get: tags: - Scans summary: Get Latest Scans description: Get the most recent successful scan for each product/subproduct of a target variant. A single product can emit multiple subproducts (e.g. SnykCode vs snykContainer), each of which is a distinct scan stream, so the result is an array with the latest succeeded scan per (product, subproduct). The optional productId and subproduct query params narrow the result to a single product and/or subproduct. Used by scanners needing previous scan context and by UIs to show latest scan status. operationId: Scans#LatestScan parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: targetVariantId in: query description: The Target Variant ID allowEmptyValue: true required: true schema: type: string description: The Target Variant ID example: abcdefghijkl1234567890 pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdefghijkl1234567890 - name: productId in: query description: Optional Product ID (scanner) filter. When omitted, the latest scan for every product of the target variant is returned. allowEmptyValue: true schema: type: string description: Optional Product ID (scanner) filter. When omitted, the latest scan for every product of the target variant is returned. example: abcdefghijkl1234567890 pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdefghijkl1234567890 - name: subproduct in: query description: Optional subproduct filter to disambiguate scans within a product (e.g. SnykCode vs snykContainer). When omitted, the latest scan for every subproduct is returned. allowEmptyValue: true schema: type: string description: Optional subproduct filter to disambiguate scans within a product (e.g. SnykCode vs snykContainer). When omitted, the latest scan for every subproduct is returned. example: SnykCode example: SnykCode - name: scannerDiffKey in: query description: Optional scanner diff key filter to disambiguate scan comparison streams within a product/subproduct (e.g. pr_scan vs deep). When omitted, all scanner diff keys are considered. allowEmptyValue: true schema: type: string description: Optional scanner diff key filter to disambiguate scan comparison streams within a product/subproduct (e.g. pr_scan vs deep). When omitted, all scanner diff keys are considered. example: pr_scan example: pr_scan - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Quia hic dolorum consectetur consectetur dolor. example: Illum praesentium est expedita. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ScansLatestScanResponseBody' example: scans: - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v2/sto-data-frontend/all-issues/filters: post: description: Provides the distinct set of filter values (severity, scanner, target, issueType) available for the issues produced by the provided target name and variant combinations. Variant name may be empty, in which case the target's baseline variant is used. operationId: STO Data Frontend#AllIssuesFilters parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: artifactFingerprints: - 0la - boo - qx3 targetVariants: - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. schema: $ref: '#/components/schemas/ExecutionArtifactSummaryRequestBody' required: true responses: "200": content: application/json: example: exploitabilityFlag: true issueCategories: - Insecure Direct Object Reference (AI SAST) - SQL Injection latestBaselineScans: - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository reachabilityFlag: true schema: $ref: '#/components/schemas/STODataFrontendAllIssuesFiltersResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Distinct filter values for selected targets and variants tags: - STO Data Frontend x-internal: true /api/v2/sto-data-frontend/all-issues/issues: post: description: Provides a paginated list of issues for the provided target name and variant combinations operationId: STO Data Frontend#AllIssuesList parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: artifactFingerprints: - oo9 - 95c - ykg issueTypes: SAST page: 4 pageSize: 50 scanTools: OWASP,Aqua Trivy,Snyk search: CWE-123 severityCodes: Critical,High,Medium targetNames: repo/abc,another-repo/xyz targetTypes: repository,container targetVariants: - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. schema: $ref: '#/components/schemas/AllIssuesListRequestBody' required: true responses: "200": content: application/json: example: hasRules: true issues: - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 schema: $ref: '#/components/schemas/STODataFrontendAllIssuesListResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: List of issues for selected targets and variants tags: - STO Data Frontend x-internal: true /api/v2/sto-data-frontend/artifact-scan-summary: post: description: Returns counts of active Security Issues for one or more Pipeline Executions per scanner operationId: STO Data Frontend#ExecutionArtifactScanSummary parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: artifactFingerprints: - q1m - ajj - 3x5 targetVariants: - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. schema: $ref: '#/components/schemas/ExecutionArtifactSummaryRequestBody' required: true responses: "200": content: application/json: example: - artifactFingerprint: 2zu executionId: abcdef1234567890ghijkl lastScanned: 1634836529 pipelineId: example_pipeline scanners: - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: 2zu executionId: abcdef1234567890ghijkl lastScanned: 1634836529 pipelineId: example_pipeline scanners: - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: 2zu executionId: abcdef1234567890ghijkl lastScanned: 1634836529 pipelineId: example_pipeline scanners: - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: 2zu executionId: abcdef1234567890ghijkl lastScanned: 1634836529 pipelineId: example_pipeline scanners: - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository schema: example: - artifactFingerprint: 2zu executionId: abcdef1234567890ghijkl lastScanned: 1634836529 pipelineId: example_pipeline scanners: - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: 2zu executionId: abcdef1234567890ghijkl lastScanned: 1634836529 pipelineId: example_pipeline scanners: - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository items: $ref: '#/components/schemas/ScanIssueCountsWithExecutionInfo' type: array description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - STO Data Frontend x-internal: true /api/v2/sto-data-frontend/artifact-summary: post: description: Returns counts of active Security Issues for one or more Pipeline Executions operationId: STO Data Frontend#ExecutionArtifactSummary parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: artifactFingerprints: - h4r - 5wg - cnk targetVariants: - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. schema: $ref: '#/components/schemas/ExecutionArtifactSummaryRequestBody' required: true responses: "200": content: application/json: example: - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository schema: example: - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository items: $ref: '#/components/schemas/IssueCountsWithExecutionInfo' type: array description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - STO Data Frontend x-internal: true /api/v2/sto-data-frontend/execution-summary/{executionId}: get: description: Returns counts of active Security Issues for a specific Pipeline Executions operationId: STO Data Frontend#ExecutionSummary parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Harness pipeline execution ID example: abcdef1234567890ghijkl in: path name: executionId required: true schema: description: Harness pipeline execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository schema: example: - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository - artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository items: $ref: '#/components/schemas/IssueCountsWithExecutionInfo' type: array description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - STO Data Frontend x-internal: true /api/v2/sto-data-frontend/issue-counts: post: description: Returns counts of active Security Issues for one or more Pipeline Executions operationId: STO Data Frontend#ExecutionIssueCounts parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string requestBody: content: application/json: example: targetVariants: - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. schema: $ref: '#/components/schemas/ExecutionIssueCountsRequestBody' required: true responses: "200": content: application/json: example: Atque ab voluptates dolores quibusdam.: Dolorem debitis dicta eos possimus voluptas veniam.: Culpa voluptatem natus architecto quod.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Ducimus qui impedit ut autem est in.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Omnis eos magnam necessitatibus exercitationem.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Nostrum minus veniam autem laboriosam animi minus.: Eveniet sint labore illo est pariatur similique.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Sint ullam.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Sit magni.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Unde est ducimus.: Minus dolor.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Mollitia adipisci a.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Occaecati est perferendis.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Officia voluptas.: Saepe dignissimos fugiat vitae.: Consequatur dignissimos quo.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Id id quos corporis qui.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Quia voluptas consequatur.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Voluptas exercitationem nemo.: Quasi temporibus dolore explicabo pariatur nam deserunt.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Sit similique quidem est.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Voluptatem veniam architecto tempora.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Sequi minima magnam quo sint incidunt.: Ab maiores suscipit et culpa beatae.: Laboriosam nihil.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Ullam quis.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Voluptatibus officiis voluptatum iste.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Corporis rerum.: Aut placeat eum suscipit totam sed.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Soluta unde assumenda atque.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Enim autem tempore quo odio quo omnis.: Nesciunt quia laboriosam suscipit.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Sunt quia voluptas odio dolorem.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Veritatis voluptatem.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository schema: additionalProperties: additionalProperties: additionalProperties: $ref: '#/components/schemas/IssueCountsWithExecutionInfo' example: Id suscipit consequatur ad ut minus.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository type: object example: Qui ea ut consequatur.: Porro voluptatem quaerat occaecati.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Repellat sit.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository type: object example: Consequuntur ab quia eveniet blanditiis eaque accusantium.: Dolorem reiciendis ipsum distinctio maiores cumque.: Incidunt eligendi occaecati ut iusto eius.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Voluptatibus explicabo veniam quisquam.: Dolore tempora enim molestias et.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Provident impedit sed.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Iste saepe qui consequatur.: Aut maxime deleniti impedit.: Vero praesentium incidunt unde natus.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository Totam unde omnis expedita.: Libero officia ex adipisci tempora nostrum accusamus.: Quia magni dolor vitae aut praesentium eius.: artifactFingerprint: iig critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository type: object description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view tags: - STO Data Frontend x-internal: true /api/v2/system/health: get: tags: - System description: Check service health operationId: System#health responses: "204": description: Service is healthy. "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 /api/v2/system/version: get: tags: - System description: Get service version operationId: System#version responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ServiceVersion' example: commit: "0000000000000000000000000000000000000001" version: v0.123.0 /api/v2/targets: get: tags: - Test Targets description: List a collection of Test Targets operationId: Targets#ListTargets parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: name in: query description: Resource name allowEmptyValue: true schema: type: string description: Resource name example: NodeGoat example: NodeGoat - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Eos voluptas sed in autem enim. example: Totam odio et. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/TargetsListTargetsResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo - baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view post: tags: - Test Targets description: Create a new Test Target operationId: Targets#CreateTarget parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Nihil at esse iure ea. example: Veniam possimus fuga ab. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateTargetRequestBody' example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl directory: app/src name: NodeGoat type: repository url: https://github.com/example/repo responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesCreateExemptionRuleResponseBody' example: id: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/targets/{id}: delete: description: Delete an existing Test Target operationId: Targets#DeleteTarget parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID examples: default: summary: default value: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID examples: default: summary: default value: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: The ID of the Test Target to delete example: abcdef1234567890ghijkl in: path name: id required: true schema: description: The ID of the Test Target to delete example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "204": description: No Content response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_delete tags: - Test Targets x-internal: true get: tags: - Test Targets description: Find Test Target by ID operationId: Targets#FindTargetById parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: id in: path description: The ID of the Test Target to retrieve required: true schema: type: string description: The ID of the Test Target to retrieve example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Beatae beatae sunt incidunt. example: Tempore laborum omnis ratione sunt. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Target' example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view patch: tags: - Test Targets description: Update only certain fields on an existing Test Target operationId: Targets#PatchTarget parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: id in: path description: The ID of the Test Target to update required: true schema: type: string description: The ID of the Test Target to update example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Facere architecto dolore. example: Dignissimos id nobis consectetur asperiores. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PatchTargetRequestBody' example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl directory: app/src name: NodeGoat type: repository url: https://github.com/example/repo responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Target' example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit put: tags: - Test Targets description: Update an existing Test Target operationId: Targets#UpdateTarget parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true required: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true required: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 examples: default: summary: default value: example_project - name: id in: path description: The ID of the Test Target to update required: true schema: type: string description: The ID of the Test Target to update example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Nemo repellendus sapiente repellendus harum. example: Animi impedit quas in. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateTargetRequestBody' example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl directory: app/src name: NodeGoat type: repository url: https://github.com/example/repo responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/Target' example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/targets/{id}/compliance_counts: get: description: Proxy ShiftLeft/Qwiet compound OWASP counts. Resolves polyglot scan and compound from ShiftLeft scan metadata, then fetches Qwiet v4 owasp_counts. Response includes a derived summary sibling with per-year OWASP passed/failed/total. The uncategorized category is ignored when totaling. operationId: Targets#TargetComplianceCounts parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: schema: format: binary type: string description: OK response. headers: Content-Type: description: Content-Type of the BOM body example: application/json schema: description: Content-Type of the BOM body example: application/json type: string "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target compliance counts tags: - Test Targets x-internal: true /api/v2/targets/{id}/executions: get: description: 'Paginated target scan history for repos and artifacts: build id, pipeline, branch/version, scan types, scanners, digest, and severity counts per execution. Sorted by startedAt DESC.' operationId: Targets#ListTargetExecutions parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true description: Search by scan/build id, version/tag (variant name), or author (triggeredBy) example: SCAN-3192 in: query name: search schema: description: Search by scan/build id, version/tag (variant name), or author (triggeredBy) example: SCAN-3192 maxLength: 256 type: string - allowEmptyValue: true description: Keep executions whose CI/CD source is in this comma-separated set (e.g. Harness, Jenkins, GithubActions). Empty/absent means no filter. example: Harness,Jenkins,GithubActions in: query name: source schema: description: Keep executions whose CI/CD source is in this comma-separated set (e.g. Harness, Jenkins, GithubActions). Empty/absent means no filter. example: Harness,Jenkins,GithubActions maxLength: 1024 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Keep executions whose git branch is in this comma-separated set. Empty/absent means no filter. Repo scan history. example: main,develop in: query name: branch schema: description: Keep executions whose git branch is in this comma-separated set. Empty/absent means no filter. Repo scan history. example: main,develop maxLength: 1024 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Keep executions whose version/tag (artifact) or variant name is in this comma-separated set. Empty/absent means no filter. Artifact scan history Version/Tag dropdown. example: v4.11.3 in: query name: variantName schema: description: Keep executions whose version/tag (artifact) or variant name is in this comma-separated set. Empty/absent means no filter. Artifact scan history Version/Tag dropdown. example: v4.11.3 maxLength: 1024 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Keep executions that include any of these comma-separated scan types. Empty/absent means no filter. example: SAST,SCA in: query name: scanTypes schema: description: Keep executions that include any of these comma-separated scan types. Empty/absent means no filter. example: SAST,SCA maxLength: 256 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Keep executions that include any of these comma-separated scanner product names. Empty/absent means no filter. example: prisma,wiz in: query name: scanners schema: description: Keep executions that include any of these comma-separated scanner product names. Empty/absent means no filter. example: prisma,wiz maxLength: 512 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Keep executions whose content digest is in this comma-separated set. Empty/absent means no filter. example: sha256:c3810867466a in: query name: digest schema: description: Keep executions whose content digest is in this comma-separated set. Empty/absent means no filter. example: sha256:c3810867466a maxLength: 2048 pattern: ^([^,]+(,[^,]+)*)?$ type: string responses: "200": content: application/json: example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 - branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 schema: $ref: '#/components/schemas/TargetsListTargetExecutionsResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: List target executions tags: - Test Targets x-internal: true /api/v2/targets/{id}/executions/{executionId}: get: description: 'Header metadata for one target execution on the scan history detail page: build id, CI source, pipeline name, findings count, sbom count, and whether a ShiftLeft/Qwiet scan ran. Pass variantId so findingsCount is that version only.' operationId: Targets#GetTargetExecution parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope for findingsCount. When set, CHML counts are for this version only (same grain as overview / a scan-history row). When omitted, counts sum every variant of the target that ran in this execution. example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope for findingsCount. When set, CHML counts are for this version only (same grain as overview / a scan-history row). When omitted, counts sum every variant of the target that ran in this execution. example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: Harness Execution ID example: abcdef1234567890ghijkl in: path name: executionId required: true schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: buildId: "222" executionId: abcdef1234567890ghijkl findingsCount: 39 hasShiftLeftScan: true pipelineId: Security_Gate pipelineName: Security Gate sbomCount: 0 source: harness schema: $ref: '#/components/schemas/TargetsGetTargetExecutionResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target execution metadata tags: - Test Targets x-internal: true /api/v2/targets/{id}/executions/{executionId}/occurrences: get: description: Returns a paginated list of findings for one target execution (repo or artifact). Pass variantId (overview variantId, or targetVariantId from a scan-history row) so findings match that version — the same pipeline execution can scan multiple variants of one target. Each scan that reported an occurrence is returned as its own row (no cross-scan dedupe); FE can dedupe with occurrenceInternalId + scanId. Each row includes issueId, scanId, occurrenceInternalId, optional exemptionId (occurrence-scoped), reference identifiers, and enrichment fields (CVE/CWE, EPSS, KEV, reachability, AI triage) so the UI can render the findings table without N+1 calls. operationId: Targets#ListTargetExecutionOccurrences parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope. Overview passes variantId; scan history passes the row's targetVariantId. When set, only scans for that version in this execution are listed. When omitted, every variant of the target in this execution is included. example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope. Overview passes variantId; scan history passes the row's targetVariantId. When set, only scans for that version in this execution are listed. When omitted, every variant of the target in this execution is included. example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: Harness Execution ID example: abcdef1234567890ghijkl in: path name: executionId required: true schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 0) example: 4 in: query name: page schema: default: 0 description: Page number to fetch (starting from 0) example: 4 format: int64 minimum: 0 type: integer - allowEmptyValue: true description: Number of results per page example: 50 in: query name: pageSize schema: default: 30 description: Number of results per page example: 50 format: int64 maximum: 100 minimum: 1 type: integer - allowEmptyValue: true description: Search finding title, CVE, or CWE example: CVE-2022-6703 in: query name: search schema: description: Search finding title, CVE, or CWE example: CVE-2022-6703 maxLength: 256 type: string - allowEmptyValue: true description: Keep findings whose severity is in this comma-separated set example: Critical,High in: query name: severityCodes schema: description: Keep findings whose severity is in this comma-separated set example: Critical,High maxLength: 256 pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ type: string - allowEmptyValue: true description: Keep findings whose issue type is in this comma-separated set example: SAST,SCA,SECRET in: query name: issueTypes schema: description: Keep findings whose issue type is in this comma-separated set example: SAST,SCA,SECRET maxLength: 256 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)*$ type: string - allowEmptyValue: true description: Keep findings whose scanner product name is in this comma-separated set. Empty/absent means no filter. example: snyk,aqua-trivy in: query name: scanners schema: description: Keep findings whose scanner product name is in this comma-separated set. Empty/absent means no filter. example: snyk,aqua-trivy maxLength: 512 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Keep findings whose scanner fix-available flag is in this comma-separated set (Yes, No). Empty, absent, or both values means no filter. example: "Yes" in: query name: fixAvailable schema: description: Keep findings whose scanner fix-available flag is in this comma-separated set (Yes, No). Empty, absent, or both values means no filter. example: "Yes" pattern: ^(Yes|No)(,Yes|,No)*$ type: string - allowEmptyValue: true description: Keep findings whose occurrence reachability is in this comma-separated set. Empty/absent means no filter. example: reachable,unproven in: query name: reachability schema: description: Keep findings whose occurrence reachability is in this comma-separated set. Empty/absent means no filter. example: reachable,unproven pattern: ^(reachable|not-reachable|unproven)(,reachable|,not-reachable|,unproven)*$ type: string - allowEmptyValue: true description: 'EPSS probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (no EPSS data). Same enum as the all-issues page. Score in the row is the 0-1 probability; FE may also show it as a percent.' example: gte_15 in: query name: epss schema: description: 'EPSS probability filter (single select): all (no filter), gte_15 (>=15%), gte_5 (>=5%), gte_1 (>=1%), na (no EPSS data). Same enum as the all-issues page. Score in the row is the 0-1 probability; FE may also show it as a percent.' example: gte_15 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 (no EPSS data). Same enum as the all-issues page.' example: gte_99 in: query name: epssPercentile schema: description: 'EPSS percentile filter (single select): all (no filter), gte_99 (>=99th), gte_90 (>=90th), gte_80 (>=80th), na (no EPSS data). Same enum as the all-issues page.' example: gte_99 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). Same enum as the all-issues page.' example: "true" 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). Same enum as the all-issues page.' example: "true" pattern: ^(all|true|false)(,true|,false)*$ 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''). Occurrence-scoped: uses this occurrence''s verdict.' example: Likely TP 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''). Occurrence-scoped: uses this occurrence''s verdict.' example: Likely TP 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: Keep findings whose effective OWASP 2017 slugs intersect this comma-separated set (OR within). Reads occurrence.unique_details.owaspCategories when a non-empty JSON array; else all Qwiet owasp_category tags in _raw._rawTags; else scalar owaspCategory / _raw._rawOwaspCategory. Exact slug match. Findings without a 2017 category are excluded when this filter is set. Empty/absent means no filter. example: a1-injection,a7-xss in: query name: owaspCategories schema: description: Keep findings whose effective OWASP 2017 slugs intersect this comma-separated set (OR within). Reads occurrence.unique_details.owaspCategories when a non-empty JSON array; else all Qwiet owasp_category tags in _raw._rawTags; else scalar owaspCategory / _raw._rawOwaspCategory. Exact slug match. Findings without a 2017 category are excluded when this filter is set. Empty/absent means no filter. example: a1-injection,a7-xss maxLength: 4096 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Keep findings whose effective OWASP 2021 slugs intersect this comma-separated set (OR within). Reads occurrence.unique_details.owasp2021Categories when a non-empty JSON array; else all Qwiet owasp_2021_category tags; else scalar owasp2021Category. Exact slug match. Empty/absent means no filter. example: a03-injection,a01-broken-access-control in: query name: owasp2021Categories schema: description: Keep findings whose effective OWASP 2021 slugs intersect this comma-separated set (OR within). Reads occurrence.unique_details.owasp2021Categories when a non-empty JSON array; else all Qwiet owasp_2021_category tags; else scalar owasp2021Category. Exact slug match. Empty/absent means no filter. example: a03-injection,a01-broken-access-control maxLength: 4096 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: Keep findings whose effective OWASP 2025 slugs intersect this comma-separated set (OR within). Reads occurrence.unique_details.owasp2025Categories when a non-empty JSON array; else all Qwiet owasp_2025_category tags; else scalar owasp2025Category. Exact slug match. Empty/absent means no filter. example: a05-injection,a07-authentication-failures in: query name: owasp2025Categories schema: description: Keep findings whose effective OWASP 2025 slugs intersect this comma-separated set (OR within). Reads occurrence.unique_details.owasp2025Categories when a non-empty JSON array; else all Qwiet owasp_2025_category tags; else scalar owasp2025Category. Exact slug match. Empty/absent means no filter. example: a05-injection,a07-authentication-failures maxLength: 4096 pattern: ^([^,]+(,[^,]+)*)?$ type: string - allowEmptyValue: true description: 'Keep findings whose Qwiet cwe_category IDs intersect this comma-separated set of integers (OR within). Not results[].cwes from referenceIdentifiers. Reads unique_details.cweCategories when a non-empty JSON array; else all _rawTags with key cwe_category. Exact ID match: 122 does not match 1222. Empty/absent means no filter.' example: 327,328 in: query name: cweCategories schema: description: 'Keep findings whose Qwiet cwe_category IDs intersect this comma-separated set of integers (OR within). Not results[].cwes from referenceIdentifiers. Reads unique_details.cweCategories when a non-empty JSON array; else all _rawTags with key cwe_category. Exact ID match: 122 does not match 1222. Empty/absent means no filter.' example: 327,328 maxLength: 4096 pattern: ^(\d+(,\d+)*)?$ type: string responses: "200": content: application/json: example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass schema: $ref: '#/components/schemas/TargetsListTargetExecutionOccurrencesResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: List target execution findings tags: - Test Targets x-internal: true /api/v2/targets/{id}/executions/{executionId}/occurrences/{occurrenceInternalId}: get: description: Returns one occurrence from a target execution by occurrenceInternalId for a specific scan. Pass scanId from the findings list row — the same occurrenceInternalId may appear once per scan in an execution. The response is the same occurrence Details object used by the vulnerabilities and Issue Page V2 APIs. operationId: Targets#GetTargetExecutionOccurrence parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: Harness Execution ID example: abcdef1234567890ghijkl in: path name: executionId required: true schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: Internal ID of the occurrence example: 12345 in: path name: occurrenceInternalId required: true schema: description: Internal ID of the occurrence example: 12345 format: int64 minimum: 1 type: integer - allowEmptyValue: true description: Scan ID from the findings list row. Required so detail matches the clicked scan when the same occurrence appears in multiple scans of one execution. example: scan111111111111111111 in: query name: scanId required: true schema: description: Scan ID from the findings list row. Required so detail matches the clicked scan when the same occurrence appears in multiple scans of one execution. example: scan111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope. Same value as the list call (overview variantId or scan-history targetVariantId). When set, the scan must belong to that version. example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope. Same value as the list call (overview variantId or scan-history targetVariantId). When set, the scan must belong to that version. example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: Iste sit officia quia aut.: Dolores deserunt reiciendis consequatur. schema: additionalProperties: true example: Rerum maiores est similique.: In fuga molestias id tempore in eaque. type: object description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target execution occurrence tags: - Test Targets x-internal: true /api/v2/targets/{id}/finding_tags: get: description: Proxy ShiftLeft/Qwiet compound finding tags. Resolves polyglot scan and compound from ShiftLeft scan metadata, then streams Qwiet v4 compounds/named/{compound}/finding_tags with polyglot_scan. operationId: Targets#TargetFindingTags parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: 'Qwiet group_by_key. OWASP years: owasp_category (2017), owasp_2021_category, owasp_2025_category' example: owasp_2021_category in: query name: group_by_key required: true schema: description: 'Qwiet group_by_key. OWASP years: owasp_category (2017), owasp_2021_category, owasp_2025_category' example: owasp_2021_category type: string - allowEmptyValue: true description: When true, also send group_by_key=category to Qwiet (in addition to groupByKey) example: true in: query name: group_by_category schema: description: When true, also send group_by_key=category to Qwiet (in addition to groupByKey) example: true type: boolean - allowEmptyValue: true description: Forwarded to Qwiet omit_empty example: true in: query name: omit_empty schema: description: Forwarded to Qwiet omit_empty example: true type: boolean - allowEmptyValue: true description: Forwarded to Qwiet finding_type example: vuln in: query name: finding_type schema: description: Forwarded to Qwiet finding_type example: vuln type: string - allowEmptyValue: true description: Forwarded to Qwiet finding_status example: fixed in: query name: finding_status schema: description: Forwarded to Qwiet finding_status example: fixed type: string responses: "200": content: application/json: schema: format: binary type: string description: OK response. headers: Content-Type: description: Content-Type of the BOM body example: application/json schema: description: Content-Type of the BOM body example: application/json type: string "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target finding tags tags: - Test Targets x-internal: true /api/v2/targets/{id}/overview: get: description: 'Target detail overview for UI 3.0: findings/issues tiles, scan coverage, and issue-type x severity matrix. Served from target_summary + latest execution (dummy data until store wiring).' operationId: Targets#TargetOverview parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope; when set, overview reflects that variant's latest execution example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope; when set, overview reflects that variant's latest execution example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: baselineVariantId: abcdef1234567890ghijkl branchesCount: 3 executionId: abcdef1234567890ghijkl hasShiftLeftScan: false isBaseline: true issueFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 issueNewDelta: 3 issueRemediatedDelta: 1 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 name: NodeGoat occurrenceFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 packages: container: 0 oss: 128 risky_oss: 1 vulnerable_container: 0 vulnerable_oss: 18 scanType: Est rerum debitis deserunt qui occaecati.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Inventore voluptas accusantium rerum iusto adipisci.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Nihil debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scannedAt: 1751793300000 targetId: abcdef1234567890ghijkl targetUrl: https://github.com/example/NodeGoat type: repository variantId: xyz987zyx654wvu321tsr9 variantName: main schema: $ref: '#/components/schemas/TargetsTargetOverviewResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target overview tags: - Test Targets x-internal: true /api/v2/targets/{id}/reports/{report}: get: description: Proxy ShiftLeft/Qwiet compound scan report. Resolves polyglot scan and compound from ShiftLeft scan metadata, then streams Qwiet v4 compounds/named/{compound}/scans/{polyglot}/reports/{report}. {report} is the Qwiet filename (pci_dss.html, cwe.pdf, owasp-2025.html). pci_dss.md fetches pci_dss.html from Qwiet and converts to markdown. operationId: Targets#TargetScanReport parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Forwarded to Qwiet comments example: true in: query name: comments schema: description: Forwarded to Qwiet comments example: true type: boolean - allowEmptyValue: true description: Forwarded to Qwiet status example: any in: query name: status schema: description: Forwarded to Qwiet status example: any type: string - allowEmptyValue: true description: Forwarded to Qwiet tz example: UTC in: query name: tz schema: description: Forwarded to Qwiet tz example: UTC type: string - allowEmptyValue: true description: Forwarded to Qwiet ignore_info_findings example: false in: query name: ignore_info_findings schema: description: Forwarded to Qwiet ignore_info_findings example: false type: boolean - allowEmptyValue: true description: Forwarded to Qwiet empty_categories example: false in: query name: empty_categories schema: description: Forwarded to Qwiet empty_categories example: false type: boolean - allowEmptyValue: true description: Comma-separated Qwiet platform values example: javascript,python in: query name: platform schema: description: Comma-separated Qwiet platform values example: javascript,python type: string - allowEmptyValue: true description: Comma-separated Qwiet lang values example: javascript in: query name: lang schema: description: Comma-separated Qwiet lang values example: javascript type: string - description: Qwiet report filename; pci_dss.md is converted from pci_dss.html example: owasp-2025.html in: path name: report required: true schema: description: Qwiet report filename; pci_dss.md is converted from pci_dss.html enum: - pci_dss.html - pci_dss.pdf - pci_dss.md - cwe.html - cwe.pdf - owasp-2017.html - owasp-2017.pdf - owasp-2021.html - owasp-2021.pdf - owasp-2025.html - owasp-2025.pdf example: owasp-2025.html type: string responses: "200": content: application/json: schema: format: binary type: string description: OK response. headers: Content-Type: description: Content-Type of the BOM body example: application/json schema: description: Content-Type of the BOM body example: application/json type: string "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target scan report tags: - Test Targets x-internal: true /api/v2/targets/{id}/sbom: get: description: Proxy ShiftLeft/Qwiet compound BOM for a target. Resolves polyglot scan and compound from ShiftLeft scan metadata, then calls Qwiet v4 compounds/named/{compound}/bom. operationId: Targets#TargetSbom parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: The format to return the BOM in example: cyclonedx-1.2-json in: query name: format required: true schema: description: The format to return the BOM in enum: - cyclonedx-1.2-xml - cyclonedx-1.2-json - cyclonedx-1.4-xml - cyclonedx-1.4-json - spdx-2.3-tag-value - spdx-2.3-json - spdx-2.3-yaml example: cyclonedx-1.2-json type: string - allowEmptyValue: true description: The finding types to look at example: package in: query name: type schema: default: package description: The finding types to look at enum: - package - container_package example: package type: string - allowEmptyValue: true description: Comma-separated licenses forwarded to Qwiet as repeated license query params example: MIT,BSD-3-Clause in: query name: licenses schema: description: Comma-separated licenses forwarded to Qwiet as repeated license query params example: MIT,BSD-3-Clause maxLength: 1024 type: string - allowEmptyValue: true description: Pretty-print the output example: false in: query name: pretty schema: default: false description: Pretty-print the output example: false type: boolean responses: "200": content: application/json: schema: format: binary type: string description: OK response. headers: Content-Type: description: Content-Type of the BOM body example: application/json schema: description: Content-Type of the BOM body example: application/json type: string "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target SBOM tags: - Test Targets x-internal: true /api/v2/targets/{id}/sca/licenses: get: description: Proxy ShiftLeft/Qwiet SCA licenses for a target. Resolves polyglot scan and compound from ShiftLeft scan metadata, then calls Qwiet v4 compounds/named/{compound}/sca/licenses. operationId: Targets#TargetScaLicenses parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: licenses: - GPL-3.0 - MIT schema: $ref: '#/components/schemas/TargetsTargetScaLicensesResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target SCA licenses tags: - Test Targets x-internal: true /api/v2/targets/{id}/sca/packages: get: description: Proxy ShiftLeft/Qwiet SCA packages for a target. Resolves polyglot scan and compound from ShiftLeft scan metadata, then calls Qwiet v4 compounds/named/{compound}/sca/packages. operationId: Targets#TargetScaPackages parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - description: Target ID example: abcdef1234567890ghijkl in: path name: id required: true schema: description: Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant scope example: xyz987zyx654wvu321tsr9 in: query name: variantId schema: description: Optional variant scope example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Page number to fetch (starting from 1) example: 1 in: query name: page schema: default: 1 description: Page number to fetch (starting from 1) example: 1 format: int64 minimum: 1 type: integer - allowEmptyValue: true description: Number of results per page example: 10 in: query name: per_page schema: default: 10 description: Number of results per page example: 10 format: int64 maximum: 10000 minimum: 1 type: integer - allowEmptyValue: true description: 'Package search: substring match, or name@version (split on last @) for name+version filter' example: log4j@1.2.3 in: query name: search schema: description: 'Package search: substring match, or name@version (split on last @) for name+version filter' example: log4j@1.2.3 maxLength: 256 type: string - allowEmptyValue: true description: Package finding type filter. All omits Qwiet type; SCA maps to package; Container maps to container_package example: SCA in: query name: type schema: default: All description: Package finding type filter. All omits Qwiet type; SCA maps to package; Container maps to container_package enum: - All - SCA - Container example: SCA type: string - allowEmptyValue: true description: Comma-separated licenses mapped to Qwiet tag package_license__in__... example: APACHE-2,BSD-3-Clause in: query name: licenses schema: description: Comma-separated licenses mapped to Qwiet tag package_license__in__... example: APACHE-2,BSD-3-Clause maxLength: 1024 type: string responses: "200": content: application/json: example: compound_id: Ut odit. has_more: true packages: - created_at: Sint qui. exploitable: - Id tenetur qui sit quibusdam ipsa id. - Quibusdam velit quod placeat blanditiis. - Labore sapiente et culpa. finding_details: Eos sint inventore facere ut vel.: Suscipit sapiente quaerat magni quia. Iste nihil illum.: Laudantium vel. finding_type: Est occaecati voluptas omnis et. license: Voluptas optio omnis dolor. name: Tempora qui. namespace: Est unde. num_exploitable: 3235630847652491541 num_reachable: 1169367895992459806 num_vulns: 7801729414518527065 package: Atque corrupti perspiciatis. tags: Illum laborum enim aliquid praesentium explicabo.: - Et vel iusto cumque voluptatum architecto. - Molestiae qui qui enim eligendi est tenetur. - Consequatur corporis ea est porro. - Tempore illo fugit ut et deserunt aliquid. Temporibus quasi expedita quod quaerat velit voluptatem.: - Id cumque. - Vero voluptas animi aut nihil voluptatum dolore. - Sunt et. Ut illo similique facere.: - Ab laborum omnis qui consectetur facilis incidunt. - Maiores ullam nulla. - Velit consectetur explicabo. type: Commodi optio quaerat laboriosam molestiae dolor minus. url: Rem perspiciatis. version: Et ut perferendis repellendus sed. vulns: - Itaque aliquam illo occaecati quaerat et. - Tempora voluptates quis nisi ut placeat sint. - created_at: Sint qui. exploitable: - Id tenetur qui sit quibusdam ipsa id. - Quibusdam velit quod placeat blanditiis. - Labore sapiente et culpa. finding_details: Eos sint inventore facere ut vel.: Suscipit sapiente quaerat magni quia. Iste nihil illum.: Laudantium vel. finding_type: Est occaecati voluptas omnis et. license: Voluptas optio omnis dolor. name: Tempora qui. namespace: Est unde. num_exploitable: 3235630847652491541 num_reachable: 1169367895992459806 num_vulns: 7801729414518527065 package: Atque corrupti perspiciatis. tags: Illum laborum enim aliquid praesentium explicabo.: - Et vel iusto cumque voluptatum architecto. - Molestiae qui qui enim eligendi est tenetur. - Consequatur corporis ea est porro. - Tempore illo fugit ut et deserunt aliquid. Temporibus quasi expedita quod quaerat velit voluptatem.: - Id cumque. - Vero voluptas animi aut nihil voluptatum dolore. - Sunt et. Ut illo similique facere.: - Ab laborum omnis qui consectetur facilis incidunt. - Maiores ullam nulla. - Velit consectetur explicabo. type: Commodi optio quaerat laboriosam molestiae dolor minus. url: Rem perspiciatis. version: Et ut perferendis repellendus sed. vulns: - Itaque aliquam illo occaecati quaerat et. - Tempora voluptates quis nisi ut placeat sint. - created_at: Sint qui. exploitable: - Id tenetur qui sit quibusdam ipsa id. - Quibusdam velit quod placeat blanditiis. - Labore sapiente et culpa. finding_details: Eos sint inventore facere ut vel.: Suscipit sapiente quaerat magni quia. Iste nihil illum.: Laudantium vel. finding_type: Est occaecati voluptas omnis et. license: Voluptas optio omnis dolor. name: Tempora qui. namespace: Est unde. num_exploitable: 3235630847652491541 num_reachable: 1169367895992459806 num_vulns: 7801729414518527065 package: Atque corrupti perspiciatis. tags: Illum laborum enim aliquid praesentium explicabo.: - Et vel iusto cumque voluptatum architecto. - Molestiae qui qui enim eligendi est tenetur. - Consequatur corporis ea est porro. - Tempore illo fugit ut et deserunt aliquid. Temporibus quasi expedita quod quaerat velit voluptatem.: - Id cumque. - Vero voluptas animi aut nihil voluptatum dolore. - Sunt et. Ut illo similique facere.: - Ab laborum omnis qui consectetur facilis incidunt. - Maiores ullam nulla. - Velit consectetur explicabo. type: Commodi optio quaerat laboriosam molestiae dolor minus. url: Rem perspiciatis. version: Et ut perferendis repellendus sed. vulns: - Itaque aliquam illo occaecati quaerat et. - Tempora voluptates quis nisi ut placeat sint. polyglot_scan_id: Qui officiis et eligendi commodi qui. scans: - app: owasp_nodegoat id: "298" - app: owasp_nodegoat id: "298" - app: owasp_nodegoat id: "298" - app: owasp_nodegoat id: "298" total_count: 8234919475064542687 schema: $ref: '#/components/schemas/TargetsTargetScaPackagesResponseBody' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: Get target SCA packages tags: - Test Targets x-internal: true /api/v2/targets/{targetId}/variants: get: tags: - Target Variants description: List a collection of Scan Target Variants operationId: Target Variants#ListTargetVariants parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: page in: query description: Page number to fetch (starting from 0) allowEmptyValue: true schema: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 example: 4 - name: pageSize in: query description: Number of results per page allowEmptyValue: true schema: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 example: 50 - name: name in: query description: Resource name allowEmptyValue: true schema: type: string description: Resource name example: NodeGoat example: NodeGoat - name: targetId in: path description: Associated Target ID required: true schema: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Nobis distinctio fuga beatae fugiat. example: Dignissimos voluptate necessitatibus sit repellendus adipisci tempore. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ArtifactsListArtifactVariantsResponseBody' example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view post: tags: - Target Variants description: Create a new Scan Target Variant operationId: Target Variants#CreateTargetVariant parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: targetId in: path description: Associated Target ID required: true schema: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ examples: default: summary: default value: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Aut quo. example: Rem nobis quo aut sed. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateTargetVariantRequestBody' example: hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef parameters: branch: main responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/ExemptionRulesCreateExemptionRuleResponseBody' example: id: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/targets/{targetId}/variants/{id}: delete: description: Delete an existing Scan Target Variant operationId: Target Variants#DeleteTargetVariant parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: Associated Target ID examples: default: summary: default value: abcdef1234567890ghijkl in: path name: targetId required: true schema: description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - description: The ID of the Scan Target Variant to delete example: abcdef1234567890ghijkl in: path name: id required: true schema: description: The ID of the Scan Target Variant to delete example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "204": description: No Content response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_testtarget_delete tags: - Target Variants x-internal: true get: tags: - Target Variants description: Find Scan Target Variant by ID operationId: Target Variants#FindTargetVariantById parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: targetId in: path description: Associated Target ID required: true schema: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ examples: default: summary: default value: abcdef1234567890ghijkl - name: id in: path description: The ID of the Scan Target Variant to retrieve required: true schema: type: string description: The ID of the Scan Target Variant to retrieve example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Magni atque. example: Voluptatem est. responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/TargetVariant' example: created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view put: tags: - Target Variants description: Update an existing Scan Target Variant operationId: Target Variants#UpdateTargetVariant parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: targetId in: path description: Associated Target ID required: true schema: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ examples: default: summary: default value: abcdef1234567890ghijkl - name: id in: path description: The ID of the Scan Target Variant to update required: true schema: type: string description: The ID of the Scan Target Variant to update example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Consequatur sint. example: Fugiat rerum culpa. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateTargetVariantRequestBody' example: hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef parameters: branch: main responses: "200": description: OK response. content: application/json: schema: $ref: '#/components/schemas/TargetVariant' example: created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "404": description: 'NotFound: Not Found response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Not Found status: 404 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v2/targets/filter/scanners: get: description: 'Scanner dropdown for scan-history and findings filters: array of {id: product.name, prettyName}. With targetId and/or targetVariantId, scanners come from execution_summary grains (same candidate set as ListTargetExecutions). With executionId, that set is limited to one execution. With none of those, flatten project target_summary.scan_type_scanners. FE shows prettyName and sends id as scanners query param.' operationId: Targets#ListTargetFilterScanners parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId required: true schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Organization ID example: example_org in: query name: orgId required: true schema: description: Harness Organization ID example: example_org maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Harness Project ID example: example_project in: query name: projectId required: true schema: description: Harness Project ID example: example_project maxLength: 128 pattern: ^[A-Za-z_][A-Za-z0-9_]*$ type: string - allowEmptyValue: true description: Optional target id. When set, scanners are those on execution_summary rows for this target. example: abcdef1234567890ghijkl in: query name: targetId schema: description: Optional target id. When set, scanners are those on execution_summary rows for this target. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Optional variant id. When set, scanners are those on execution_summary rows for this variant. Combined with targetId, the variant must belong to the target. example: xyz987zyx654wvu321tsr9 in: query name: targetVariantId schema: description: Optional variant id. When set, scanners are those on execution_summary rows for this variant. Combined with targetId, the variant must belong to the target. example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true description: Harness Execution ID example: abcdef1234567890ghijkl in: query name: executionId schema: description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string responses: "200": content: application/json: example: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy schema: example: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy items: $ref: '#/components/schemas/ScanTypeScanner' type: array description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "404": content: application/json: example: message: Not Found status: 404 schema: $ref: '#/components/schemas/NotFound' description: 'NotFound: Not Found response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - jwt_header_Authorization: - sto_issue_view summary: List scanner filter options tags: - Test Targets x-internal: true /api/v2/token: get: description: Issue a cross-service token operationId: Token#IssueToken parameters: - allowEmptyValue: true description: Harness Account ID example: abcdef1234567890ghijkl in: query name: accountId schema: description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: string - allowEmptyValue: true example: - manager - sto-plugin - sto-plugin in: query name: audience schema: example: - manager - manager - sto-plugin items: enum: - sto-plugin - manager example: sto-plugin type: string type: array - allowEmptyValue: true description: Harness internal shared secret example: 3q7uiERGH78heq3weg in: header name: X-Harness-Token required: true schema: description: Harness internal shared secret example: 3q7uiERGH78heq3weg type: string responses: "200": content: application/json: example: token: example-token-value schema: $ref: '#/components/schemas/TokenResponse' description: OK response. "400": content: application/json: example: message: 'Bad Request: accountId parameter is required' status: 400 schema: $ref: '#/components/schemas/NotFound' description: 'BadRequest: Bad Request response.' "401": content: application/json: example: message: Unauthorized status: 401 schema: $ref: '#/components/schemas/NotFound' description: 'Unauthorized: Unauthorized response.' "403": content: application/json: example: message: Forbidden status: 403 schema: $ref: '#/components/schemas/NotFound' description: 'Forbidden: Forbidden response.' "429": content: application/json: example: message: Too Many Requests status: 429 schema: $ref: '#/components/schemas/NotFound' description: 'TooManyRequests: Too Many Requests response.' "500": content: application/json: example: message: Internal Server Error status: 500 schema: $ref: '#/components/schemas/NotFound' description: 'InternalServerError: Internal Server Error response.' security: - X-Harness-Token_header_X-Harness-Token: [] tags: - Token x-internal: true /api/v4/orgs/{accountId}/apps: get: tags: - qwietproxy summary: List apps description: Proxy Qwiet GET /api/v4/orgs/{org}/apps. operationId: qwietproxy#ListApps parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Est adipisci perferendis. example: Maiores dolore dolorem vero ut. responses: "200": description: OK response. content: application/json: schema: type: object example: Placeat explicabo voluptates qui.: Qui et. additionalProperties: true example: Voluptatem sed aut.: Omnis consequatur. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/apps/{app}/configuration/merged: get: tags: - qwietproxy summary: Get merged scanner settings description: Scanner settings merged for scan-time. Variant id from the X-Harness-App header; never 404. operationId: qwietproxy#GetMergedScannerSettings parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Exercitationem aut unde sed iusto totam. example: Iure voluptatum eaque illum omnis exercitationem ut. - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: targetName in: query description: STO target name. Same name may exist as both repository and container. allowEmptyValue: true schema: type: string description: STO target name. Same name may exist as both repository and container. example: Quia et earum. example: Nostrum eos veniam quo corporis ducimus recusandae. - name: targetType in: query description: STO target type (repository or container). Same name may exist as both. allowEmptyValue: true schema: type: string description: STO target type (repository or container). Same name may exist as both. example: Veritatis voluptas id maiores possimus similique omnis. example: Eaque modi odit modi. - name: targetId in: query description: Optional Harness target ID. When set, provided org/project/name/type must match this target. allowEmptyValue: true schema: type: string description: Optional Harness target ID. When set, provided org/project/name/type must match this target. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: productName in: query description: Seeded product.name; default shiftleft allowEmptyValue: true schema: type: string description: Seeded product.name; default shiftleft example: Expedita ea praesentium aliquid. example: Assumenda perferendis cumque aut esse est. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sunt nihil facilis voluptate veritatis repellat fuga. example: Commodi optio. responses: "200": description: OK response. content: application/json: schema: type: object example: Esse dolores dolor ullam nemo aliquam officiis.: Non possimus porro quasi et sit hic. Et impedit et soluta quae autem.: Corrupti sed earum amet distinctio ut corrupti. Provident perspiciatis.: Et recusandae. additionalProperties: true example: Est nihil illum excepturi fugit.: Suscipit culpa sapiente. Ipsa ad consectetur.: Exercitationem neque ipsum. Quae sed ipsa.: Repellat atque dolor. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/apps/{app}/findings: get: tags: - qwietproxy summary: List app findings description: Proxy Qwiet GET /api/v4/orgs/{org}/apps/{app}/findings. operationId: qwietproxy#ListAppFindings parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Quas id. example: Quasi consequatur est consequatur vel ut. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: A aperiam inventore sed quo. example: Rerum neque fugiat nostrum. responses: "200": description: OK response. content: application/json: schema: type: object example: Eaque repudiandae accusamus consequatur id.: Ab praesentium aut ullam. Eligendi sequi illum tempora atque vitae.: Cumque ullam debitis ratione. Quibusdam tempore ea consequatur nihil numquam.: Sunt eos. additionalProperties: true example: Id natus dolores rerum.: Explicabo labore impedit tempora in. Ipsa enim rerum provident ab ut optio.: Blanditiis sit laboriosam quo ex placeat iste. Tempore vel et autem.: Dolorum iusto est qui voluptatibus autem. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/orgs/{accountId}/apps/{app}/findings/{findingId}/comments: get: tags: - qwietproxy summary: List finding comments description: Proxy Qwiet GET finding comments. operationId: qwietproxy#ListFindingComments parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: In provident. example: Adipisci voluptatem vero vel. - name: findingId in: path required: true schema: type: string example: Inventore et. example: Optio deserunt numquam ex inventore odio. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Officia nostrum optio tenetur maxime. example: Qui voluptatem. responses: "200": description: OK response. content: application/json: schema: type: object example: Qui aliquam enim aliquid.: Nihil eos et consequuntur necessitatibus. additionalProperties: true example: Aliquam consequatur qui.: Sint eveniet non. Facilis sed delectus.: Beatae eum dolor placeat quasi. Laboriosam velit dolor beatae debitis.: Mollitia cum tempora consequatur. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/orgs/{accountId}/apps/{app}/findings/{findingId}/scans/{scanId}/dataflow: get: tags: - qwietproxy summary: Get finding dataflow description: Proxy Qwiet GET finding dataflow. operationId: qwietproxy#GetFindingDataflow parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Quas ut nostrum fugiat. example: Eius vel omnis non corrupti. - name: findingId in: path required: true schema: type: string example: Doloremque maxime et officiis beatae. example: Quo eligendi sint sunt et. - name: scanId in: path required: true schema: type: string example: Voluptatibus sit tenetur. example: Sed sed inventore dolorem voluptatem qui quisquam. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Vel magni aliquid itaque dolor. example: Quod maxime id iure cupiditate quo. responses: "200": description: OK response. content: application/json: schema: type: object example: Dolores eos ullam sit.: Quo cum. Est atque aut iure.: Quod non. additionalProperties: true example: Autem facere qui repellat quam facere.: Neque repellendus ut. Soluta porro qui.: Omnis dolor. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/orgs/{accountId}/apps/{app}/findings/{findingId}/scans/{scanId}/new-sca-reachability: get: tags: - qwietproxy summary: Get finding SCA reachability description: Proxy Qwiet GET finding new-sca-reachability. operationId: qwietproxy#GetFindingNewSCAReachability parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Qui earum. example: Iusto perspiciatis. - name: findingId in: path required: true schema: type: string example: Velit quia aut excepturi illum provident omnis. example: Dolorem eos non. - name: scanId in: path required: true schema: type: string example: Dolorem est explicabo. example: Qui veritatis ad. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Deserunt sapiente officia eum velit et. example: Non enim quis ut et. responses: "200": description: OK response. content: application/json: schema: type: object example: Dignissimos iusto reiciendis et expedita corporis sit.: Rem quia nisi sunt ut ullam. additionalProperties: true example: Possimus aut.: In consectetur magni molestiae magnam. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/orgs/{accountId}/apps/{app}/scans: get: tags: - qwietproxy summary: List app scans description: Proxy Qwiet GET /api/v4/orgs/{org}/apps/{app}/scans. operationId: qwietproxy#ListAppScans parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Et officiis vero nesciunt earum. example: Sint consequatur et odio cumque. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sit voluptatibus aut quae autem. example: Est qui tempore. responses: "200": description: OK response. content: application/json: schema: type: object example: Impedit et.: Excepturi blanditiis cum ducimus. additionalProperties: true example: Aut aspernatur eum praesentium iusto soluta maxime.: Commodi et ratione. Praesentium molestias maiores dicta debitis laboriosam.: Quas est ullam. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/apps/{app}/scans/{scanId}/findings: put: tags: - qwietproxy summary: Put scan findings description: Upload scanner-path findings operationId: qwietproxy#PutFindings parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Quia ut et. example: Laboriosam ut iusto. - name: scanId in: path required: true schema: type: string example: Molestiae placeat laborum. example: Accusamus voluptatem praesentium quia quisquam qui eaque. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Voluptatem sed. example: In velit distinctio. requestBody: required: true content: application/json: schema: type: object example: Consequatur eveniet alias saepe et.: Hic accusantium commodi eius. Quo adipisci.: Consequuntur molestias molestiae. Voluptas nobis qui error eligendi.: Dolore molestiae officia. additionalProperties: true example: Nulla error.: Aspernatur repellat dignissimos et mollitia sed rerum. responses: "200": description: OK response. content: application/json: schema: type: object example: Laudantium temporibus tempore doloribus veritatis id.: Est quia rerum voluptatum illum. Officia est nobis.: Molestiae et commodi id vel ea. additionalProperties: true example: Inventore distinctio.: Ea distinctio. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_edit /api/v4/orgs/{accountId}/apps/{app}/scans/{scanId}/status: put: tags: - qwietproxy summary: Update scan status description: Update external scan pipeline status operationId: qwietproxy#UpdateScanStatus parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Ut quia aperiam eaque porro saepe. example: Voluptatem repudiandae nam doloribus tempore corrupti ratione. - name: scanId in: path required: true schema: type: string example: Eos commodi eum debitis. example: Consectetur praesentium. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sint dolores minima dicta sit repellat. example: Debitis cumque assumenda aut libero. requestBody: required: true content: application/json: schema: type: object example: Ea tenetur ipsa dolor inventore ex.: Nulla dolores beatae. additionalProperties: true example: Et quo molestiae.: Beatae alias animi aut quia voluptas. Id et.: Amet corrupti esse eum modi. Nobis qui.: Ducimus enim molestiae magni consequatur non. responses: "200": description: OK response. content: application/json: schema: type: object example: Rerum harum qui aut ipsam.: Fuga est distinctio. Voluptates ut aut voluptatem error facere.: Ad totam tempora eius aut nisi. additionalProperties: true example: Aut libero.: Aliquam reprehenderit excepturi et in et molestiae. Eligendi eum ad cum beatae dolorem maiores.: In perferendis. Iste autem libero.: Eveniet enim. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/orgs/{accountId}/apps/branches: get: tags: - qwietproxy summary: List app branches description: Proxy Qwiet GET /api/v4/orgs/{org}/apps/branches. operationId: qwietproxy#ListAppBranches parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sit ut. example: Aspernatur quo blanditiis necessitatibus sit commodi. responses: "200": description: OK response. content: application/json: schema: type: object example: Commodi sequi soluta aperiam vel perferendis earum.: Laborum libero dignissimos sint molestiae. Culpa labore laudantium ea aspernatur sit.: Occaecati natus sed. Voluptas et molestias incidunt culpa quod.: Blanditiis earum. additionalProperties: true example: Ipsum eaque id.: Sed id enim in aut blanditiis sit. Vel officiis aut aut sint omnis.: Quis et fugit laudantium voluptas doloremque ullam. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/autofix_configuration: get: tags: - qwietproxy summary: Get autofix configuration description: Proxy Qwiet GET /api/v4/orgs/{org}/autofix_configuration. operationId: qwietproxy#GetAutofixConfiguration parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Et praesentium et nulla sunt excepturi. example: Pariatur non. responses: "200": description: OK response. content: application/json: schema: type: object example: Assumenda aliquid.: Sit ducimus maiores cum. additionalProperties: true example: Amet vel sequi omnis.: Id eaque enim et. Aspernatur eum.: Esse qui laboriosam. Consequatur tempore est reprehenderit consectetur non dolor.: Quaerat ad. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/compounds/byname/{app}/findings: get: tags: - qwietproxy summary: Get compound findings description: Proxy Qwiet compound findings. Plugin must not call Qwiet APIv4. operationId: qwietproxy#GetCompoundFindings parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Optio nisi. example: Rerum eaque sed voluptatum. - name: polyglot_scan in: query allowEmptyValue: true schema: type: string example: Distinctio fugiat corporis vero ut consequatur. example: Laborum et dolore temporibus ut ipsa. - name: page in: query allowEmptyValue: true schema: type: string example: Omnis culpa sunt magni. example: Nostrum ab tempora consectetur quasi. - name: per_page in: query allowEmptyValue: true schema: type: string example: Minus error. example: Quasi eveniet rem voluptates a asperiores. - name: finding_fields in: query allowEmptyValue: true schema: type: string example: Error possimus nisi accusantium ut. example: Officiis alias autem. - name: agents in: query allowEmptyValue: true schema: type: string example: Enim quidem et. example: Deleniti est natus quis quaerat dolores. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Reprehenderit magnam magni omnis. example: Hic ut ut. responses: "200": description: OK response. content: application/json: schema: type: object example: Exercitationem expedita rerum explicabo.: Maxime deleniti fugit. Repellendus debitis et vel velit et voluptatem.: Incidunt fugiat. Sit aspernatur soluta et modi quas.: Quidem ullam et voluptate necessitatibus dignissimos. additionalProperties: true example: Odit libero aut laudantium ut.: Sequi itaque asperiores. Quae necessitatibus autem autem ut.: Dignissimos deserunt et dolore quibusdam minus qui. Voluptas velit magni.: Id delectus ut odit ab saepe. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/orgs/{accountId}/compounds/named/{app}/branches: get: tags: - qwietproxy summary: List compound branches description: Proxy Qwiet GET /api/v4/orgs/{org}/compounds/named/{app}/branches. operationId: qwietproxy#ListNamedCompoundBranches parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Quo molestiae quod atque ab enim. example: Iusto accusantium qui. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Rerum quia aut. example: Quod nulla sequi perferendis. responses: "200": description: OK response. content: application/json: schema: type: object example: Et eaque.: Iusto et cupiditate. additionalProperties: true example: Delectus qui quidem est vel iusto.: Saepe nulla nemo deleniti nihil non. Veritatis dolorem facilis est.: Ab aliquam perspiciatis nesciunt. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/compounds/named/{app}/sca/packages: get: tags: - qwietproxy summary: List SCA packages description: Proxy Qwiet SCA packages for license enrichment. operationId: qwietproxy#ListSCAPackages parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Facilis repellat aperiam. example: Ducimus at perspiciatis quia dolorem architecto. - name: polyglot_scan in: query allowEmptyValue: true schema: type: string example: Veniam veniam ducimus placeat aperiam. example: Perferendis voluptatem sit aspernatur consequuntur. - name: page in: query allowEmptyValue: true schema: type: string example: Omnis hic dolores et occaecati et. example: Ut excepturi nesciunt dolorum porro ipsam. - name: per_page in: query allowEmptyValue: true schema: type: string example: Perspiciatis iste consequatur voluptas quae. example: Ea vero aut atque aut sint omnis. - name: agents in: query allowEmptyValue: true schema: type: string example: Sit exercitationem atque dolor. example: Blanditiis officiis impedit non vel. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Vero aut nisi qui voluptates enim voluptates. example: Aut est alias. responses: "200": description: OK response. content: application/json: schema: type: object example: Aut natus deserunt praesentium quod maiores ipsam.: Alias nam aliquam. additionalProperties: true example: Ab praesentium perferendis aut.: Ea quidem amet a esse aspernatur eos. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/orgs/{accountId}/compounds/named/{app}/scans: get: tags: - qwietproxy summary: List compound scans description: Proxy Qwiet GET /api/v4/orgs/{org}/compounds/named/{app}/scans. operationId: qwietproxy#ListNamedCompoundScans parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Sint voluptas ut laboriosam alias et. example: Architecto quibusdam. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Suscipit quis nisi recusandae explicabo cupiditate beatae. example: Sit architecto blanditiis dolorem ipsam aut. responses: "200": description: OK response. content: application/json: schema: type: object example: Asperiores temporibus beatae.: Aut aut et cupiditate quis aut rem. Quia enim aliquid neque.: Et totam quae non voluptates ducimus hic. additionalProperties: true example: Aliquid ipsa quasi.: Sed est. Commodi optio quis ut at.: Sunt rerum pariatur expedita. Sunt accusamus voluptates deleniti.: Autem aut error ad maxime. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/compounds/named/{app}/scans/streamlined: get: tags: - qwietproxy summary: ListStreamlinedScans qwietproxy operationId: qwietproxy#ListStreamlinedScans parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Repellat quasi quisquam veniam officia laborum sit. example: Iusto quae. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Nulla non neque molestias neque illo. example: Cupiditate blanditiis. responses: "200": description: OK response. content: application/json: schema: type: object example: Quos eaque id exercitationem dolor dolor voluptas.: Quos quia omnis aut. additionalProperties: true example: Iusto saepe qui fugit veniam eius.: Est rerum magnam ab illo. Placeat ut fugit nihil perferendis hic aspernatur.: Rerum eos doloribus velit atque non culpa. Voluptatibus ex cupiditate.: Aspernatur sit repellat sit et id sit. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/compounds/named/{app}/scans/streamlined/{scanId}: get: tags: - qwietproxy summary: GetStreamlinedScan qwietproxy operationId: qwietproxy#GetStreamlinedScan parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Qui sunt. example: Repudiandae quam omnis. - name: scanId in: path required: true schema: type: string example: Rerum ad. example: Dicta ea saepe esse voluptates nemo cum. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sit nihil praesentium saepe. example: Officia animi voluptatum. responses: "200": description: OK response. content: application/json: schema: type: object example: Ullam nisi aspernatur soluta porro nam tempore.: Corrupti dolores sapiente enim omnis rerum qui. additionalProperties: true example: Id ab.: Qui enim doloremque maxime quia. Officia ab dolores ea.: Nostrum est fugit molestias fuga. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/compounds/summary/streamlined: get: tags: - qwietproxy summary: Get streamlined compounds summary description: Proxy Qwiet GET /api/v4/orgs/{org}/compounds/summary/streamlined. operationId: qwietproxy#GetCompoundsSummaryStreamlined parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Iure quaerat laboriosam et tempore rem. example: Iure et dolorem modi ea eum. responses: "200": description: OK response. content: application/json: schema: type: object example: Et qui saepe distinctio ipsum minima.: Repudiandae rerum sit et animi. Minima qui optio autem et quia quia.: Nihil est magnam quis eos. additionalProperties: true example: Et cupiditate eum dolore.: Incidunt labore quisquam deserunt ut quidem tenetur. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/configuration: get: tags: - qwietproxy summary: Get org scanner settings description: sl GET /api/v4/orgs/{accountId}/configuration. Account-scoped scanner settings fallback when app merged 404s. Never 404. operationId: qwietproxy#GetOrgConfiguration parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: productName in: query description: Seeded product.name; default shiftleft allowEmptyValue: true schema: type: string description: Seeded product.name; default shiftleft example: Aperiam dicta quis animi et corporis laudantium. example: Doloremque earum est quibusdam voluptates officia. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Aliquid a ullam id reiciendis veniam ut. example: Error aut dolore ad error et aut. responses: "200": description: OK response. content: application/json: schema: type: object example: Id ipsam in dolore non et.: Dicta eaque occaecati iste odio aut. additionalProperties: true example: Itaque ipsum eaque eveniet.: Reiciendis voluptatem alias quaerat eum. Sit harum atque dolores voluptas qui.: Alias quia voluptatem et. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/scans: post: tags: - qwietproxy summary: Create external scan description: Create an external (scanner-path) scan operationId: qwietproxy#CreateExternalScan parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: query allowEmptyValue: true schema: type: string example: Consequuntur vitae. example: Mollitia aut ipsa expedita optio sit. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Id reiciendis nobis aliquid. example: Quia nobis ut. requestBody: required: true content: application/json: schema: type: object example: Aliquam molestiae voluptas.: In cupiditate perspiciatis sunt voluptates eligendi. Quibusdam eaque iusto neque voluptatem quia enim.: Sequi eligendi eaque distinctio blanditiis perspiciatis. additionalProperties: true example: Deserunt in deleniti voluptas id est.: Beatae molestias iure iste et. responses: "200": description: OK response. content: application/json: schema: type: object example: Eveniet repellendus.: Tenetur alias provident qui quo. Omnis excepturi dignissimos laudantium voluptas eos.: Commodi ut id rem. Omnis vel doloremque eum.: Autem fugit facere ut. additionalProperties: true example: Tenetur itaque nulla ea.: Nulla eum at. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/orgs/{accountId}/subscriptions/ngsast: get: tags: - qwietproxy summary: Get NGSAST subscription description: License and capabilities for analyze (STO license check). Both gRPC hosts or neither. operationId: qwietproxy#GetSubscription parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Consectetur aut molestiae. example: Quia est impedit aliquam quisquam aut aliquid. responses: "200": description: OK response. content: application/json: schema: type: object example: Distinctio atque delectus dolorum et quod.: Qui quod minus et sint nemo doloribus. Expedita non accusantium nulla perspiciatis id eum.: Ea aperiam fugit architecto. Modi dolorum.: Voluptas cupiditate rem deleniti sed. additionalProperties: true example: Aliquam quia at sint aut.: Expedita suscipit voluptates qui. Ipsa consequuntur possimus ut non saepe.: Sed et aut molestias ea porro. Voluptas consequatur.: Omnis eligendi aperiam voluptatibus placeat. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/orgs/{accountId}/subscriptions/ocular: get: tags: - qwietproxy summary: Get Ocular subscription description: sl GET /api/v4/orgs/{accountId}/subscriptions/ocular. Same STO license as ngsast. operationId: qwietproxy#GetOcularSubscription parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Laboriosam accusantium est minima nihil officia autem. example: Eaque deserunt nesciunt dicta eos iusto. responses: "200": description: OK response. content: application/json: schema: type: object example: Eligendi qui quae asperiores.: Non fugiat consectetur neque error ut. Facere aut consequatur voluptate id.: Dolorem corrupti nulla odit rem. Iste corporis est consequatur autem minus aut.: Explicabo repellat ut nesciunt ex veniam. additionalProperties: true example: Impedit enim laborum ea sit magnam.: Optio iusto dolores debitis. Quaerat est velit eos voluptatum ut.: Labore et aut. Quibusdam totam perspiciatis quo.: Quia architecto. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/package_info: post: tags: - qwietproxy summary: Look up package info description: Proxy Qwiet POST /api/v4/package_info. operationId: qwietproxy#PostPackageInfo parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Excepturi autem amet asperiores autem error blanditiis. example: Adipisci voluptatum. requestBody: required: true content: application/json: schema: type: object example: Dolorem quia nihil ullam dolor earum dolorum.: Laborum architecto quia et. additionalProperties: true example: Dolorem deleniti eius voluptate nisi.: Nisi eum maxime beatae molestias. Voluptatem blanditiis saepe quia enim.: Aperiam soluta recusandae eum velit aliquam labore. responses: "200": description: OK response. content: application/json: schema: type: object example: Accusamus expedita ut quos blanditiis harum culpa.: Voluptas doloremque velit explicabo eos eligendi quibusdam. Consequuntur porro quis provident aperiam officiis.: Enim praesentium optio. Eligendi officiis ducimus molestiae.: Dolorem accusamus. additionalProperties: true example: Mollitia reprehenderit eum.: Harum accusantium libero. Unde et nihil impedit libero quo ex.: Commodi molestias eaque dolorem voluptates quod. Vel labore est maxime fugit dolores qui.: Sit a nobis sed ipsam dolorem. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/private/{agent}/orgs/{accountId}/uploads: post: tags: - qwietproxy summary: Create upload with agent description: Start a Qwiet upload session with LSP/agent prefix operationId: qwietproxy#CreateUploadWithAgent parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: query allowEmptyValue: true schema: type: string example: Ab expedita eveniet. example: Sint temporibus natus. - name: agent in: path description: LSP/agent prefix required: true schema: type: string description: LSP/agent prefix example: Reiciendis aliquid. example: Consequatur rerum aperiam. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Illum minima error porro. example: Asperiores esse non maxime sit animi aut. requestBody: required: true content: application/json: schema: type: object example: Eaque quia quia sit id sed possimus.: Nulla rerum. Quae qui error quia omnis distinctio tempora.: Cupiditate sed magni. additionalProperties: true example: Dolores repellendus.: Accusamus eveniet voluptatum. responses: "200": description: OK response. content: application/json: schema: type: object example: Similique eaque nisi.: Odio autem ut aut dolor velit consequuntur. additionalProperties: true example: Laboriosam dolore saepe officiis illum aut.: Voluptatem quia id itaque. Magnam iusto delectus nihil et fugit.: Doloribus labore. Magni qui et velit temporibus.: Nemo cumque ipsa et. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/{agent}/orgs/{accountId}/uploads/{uploadId}: post: tags: - qwietproxy summary: Finalize upload with agent description: Finalize a Qwiet upload session created with LSP/agent prefix (--lsp-prefix=harness) operationId: qwietproxy#FinalizeUploadWithAgent parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: query allowEmptyValue: true schema: type: string example: Ad aperiam iste qui est. example: Dolorum recusandae odit vero. - name: agent in: path description: LSP/agent prefix required: true schema: type: string description: LSP/agent prefix example: Dolores in sed. example: Voluptas sequi voluptate quia. - name: uploadId in: path required: true schema: type: string example: Aut at sapiente. example: Aut non sed quis optio ex praesentium. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sunt ipsum est ipsam voluptas. example: Tempora dolor. requestBody: required: true content: application/json: schema: type: object example: Asperiores praesentium reprehenderit cum.: Corrupti dolorem voluptatem est quia. Impedit praesentium placeat cupiditate autem aut.: At ex alias est et sit inventore. Ipsum et facere.: Doloremque nulla ut. additionalProperties: true example: Sed fugit accusantium.: Provident omnis corrupti nostrum autem. responses: "200": description: OK response. content: application/json: schema: type: object example: Corrupti saepe aut debitis dolores quis in.: Debitis est aut cum voluptatem. Perspiciatis est tempore.: Mollitia necessitatibus qui reprehenderit consequatur nulla et. additionalProperties: true example: Sint libero totam reiciendis facilis.: Quia excepturi minima magni. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/me: get: tags: - qwietproxy summary: Read authenticated user description: sl GET /api/v4/private/me. Session check. accountId query optional; email from token; membership when account is known. operationId: qwietproxy#GetMe parameters: - name: accountId in: query description: Harness Account ID allowEmptyValue: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Facere amet. example: Porro sint id debitis. responses: "200": description: OK response. content: application/json: schema: type: object example: Aspernatur in et non odit ipsam.: Qui possimus et voluptas dolorem sed. Ipsa laboriosam natus aut numquam vero.: Esse molestias. additionalProperties: true example: Consectetur soluta ducimus omnis.: Commodi quasi possimus eos in. Qui quibusdam doloribus ea unde.: Similique ipsa doloribus consequatur dolorem. Ut labore odit et.: Totam vitae. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - core_account_view /api/v4/private/orgs/{accountId}/analyze-failures: post: tags: - qwietproxy summary: ReportAnalyzeFailure qwietproxy operationId: qwietproxy#ReportAnalyzeFailure parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: query allowEmptyValue: true schema: type: string example: Aperiam id culpa soluta adipisci. example: Aspernatur voluptatem cumque nemo impedit nisi. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Eos incidunt omnis. example: Et et labore cumque consequatur enim. requestBody: required: true content: application/json: schema: type: object example: Culpa animi eveniet.: Assumenda eligendi ratione deserunt. Iure nobis vel beatae.: Ducimus illo labore voluptatibus. Libero aliquam delectus.: Voluptas architecto hic dolorem reiciendis. additionalProperties: true example: Adipisci saepe veniam aut minima cum.: Praesentium illo nihil totam velit. Et quis.: Maiores sint consequuntur dolorum. responses: "200": description: OK response. content: application/json: schema: type: object example: Delectus nemo vel enim et.: Nesciunt atque qui quos eos. Odit qui dolorum quam dolor aliquid quibusdam.: Placeat eius non error. additionalProperties: true example: Omnis velit aut.: Itaque repudiandae qui. Soluta doloribus autem rerum.: Eum voluptas. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/analyze-failures/log-upload: post: tags: - qwietproxy summary: RequestAnalyzeFailureLogUpload qwietproxy operationId: qwietproxy#RequestAnalyzeFailureLogUpload parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: query allowEmptyValue: true schema: type: string example: Quae accusamus quasi maiores delectus esse. example: Assumenda necessitatibus eligendi nisi. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Sint consequuntur iure ipsa eveniet. example: Maiores non in provident hic cum. requestBody: required: true content: application/json: schema: type: object example: Illum esse consequuntur.: Voluptatem libero. Unde unde omnis magni sed et.: Quos sed repellendus sint unde dolorem aut. additionalProperties: true example: Harum voluptates dolorum.: Sit doloremque. Porro id culpa tempora occaecati ut vitae.: Et ea tenetur in mollitia. responses: "200": description: OK response. content: application/json: schema: type: object example: Ipsum labore est nobis eius illum dolorem.: Accusantium quis eos sed consequatur. Modi consectetur in veniam quas magni.: Cumque itaque eum. additionalProperties: true example: Est sed aliquid architecto.: Veniam tempora vel. Eum natus repellat aspernatur.: In consequatur. Quod quo neque et quod.: Sint molestias. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/apps/{app}/autofix/config/merged: get: tags: - qwietproxy summary: Get merged autofix config description: sl GET autofix/config/merged. Same merge as app configuration; response is AutofixConfiguration only. operationId: qwietproxy#GetMergedAutofixConfig parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Consequatur molestiae culpa. example: Consequatur doloremque aut. - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: targetName in: query description: STO target name allowEmptyValue: true schema: type: string description: STO target name example: Repellat ex inventore laudantium consectetur deleniti temporibus. example: Voluptatem quia molestiae quos est voluptates veritatis. - name: targetType in: query description: STO target type (repository or container) allowEmptyValue: true schema: type: string description: STO target type (repository or container) example: Dolor perspiciatis ab hic vel. example: Sunt eligendi beatae omnis est numquam voluptatem. - name: targetId in: query description: Optional Harness target ID allowEmptyValue: true schema: type: string description: Optional Harness target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: productName in: query description: Seeded product.name; default shiftleft allowEmptyValue: true schema: type: string description: Seeded product.name; default shiftleft example: Voluptatem laudantium. example: Nesciunt eligendi suscipit tempore. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Ut natus labore eum et aliquid voluptatum. example: Quos magni sed. responses: "200": description: OK response. content: application/json: schema: type: object example: Vel accusamus consequatur eos similique.: Nostrum et blanditiis. additionalProperties: true example: Libero magnam est hic dolor vero.: Rerum sint doloribus soluta hic perferendis. Veritatis exercitationem doloribus quia aut.: Nisi aut assumenda voluptatem in. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/private/orgs/{accountId}/apps/{app}/branch/{branch}/fixes: get: tags: - qwietproxy summary: Get branch fixes description: Proxy Qwiet GET /api/v4/private/orgs/{org}/apps/{app}/branch/{branch}/fixes. operationId: qwietproxy#GetBranchFixes parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Culpa minus sunt non. example: Nostrum qui. - name: branch in: path required: true schema: type: string example: Hic cumque. example: Unde molestias recusandae cum et saepe. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Ab est aut iste sit. example: Voluptas doloremque nesciunt repellendus iure non. responses: "200": description: OK response. content: application/json: schema: type: object example: Delectus tenetur quam fugit.: Sed quis eos ea delectus rerum. Deserunt mollitia provident similique quam.: Explicabo ut. Doloribus ut quia molestias ullam eveniet.: Magnam est enim. additionalProperties: true example: Distinctio dignissimos natus amet consequatur et consequatur.: Incidunt non odit. Quos vel vero voluptate tempora.: Reiciendis in architecto. Ut velit odio eius.: Magnam culpa molestias similique. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/private/orgs/{accountId}/apps/{app}/findings/{findingId}/fixes: get: tags: - qwietproxy summary: Get finding fixes description: Proxy Qwiet GET /api/v4/private/orgs/{org}/apps/{app}/findings/{findingId}/fixes. operationId: qwietproxy#GetFindingFixes parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Quas blanditiis. example: Incidunt aut. - name: findingId in: path required: true schema: type: string example: Voluptas sint iure recusandae qui. example: Illo soluta. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Possimus qui et. example: Eos perferendis. responses: "200": description: OK response. content: application/json: schema: type: object example: Ea sit asperiores voluptas.: Voluptas molestias deleniti quod deserunt repellat iste. additionalProperties: true example: Beatae sunt et qui inventore sint.: Ad ut magni voluptatem. Minima placeat.: Dolores consequuntur perferendis sit. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/private/orgs/{accountId}/apps/{app}/namespaces/{language}: get: tags: - qwietproxy summary: Get app namespaces description: Language namespace include/exclude lists operationId: qwietproxy#GetNamespaces parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Assumenda necessitatibus aperiam sit qui sint libero. example: Dicta qui vel blanditiis error laudantium tenetur. - name: language in: path required: true schema: type: string example: Aliquam voluptate. example: Quia sapiente enim non eos ullam. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Quas possimus labore doloribus qui asperiores. example: Qui delectus iste rerum. responses: "200": description: OK response. content: application/json: schema: type: object example: Cupiditate recusandae laboriosam beatae.: Nam sed eum voluptatum unde et et. Et earum.: Nam et aut voluptas. Molestiae accusantium maiores occaecati expedita non dolorem.: Et molestiae quasi odio non assumenda harum. additionalProperties: true example: Optio aut ut excepturi quisquam quidem incidunt.: Animi et repudiandae. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_view /api/v4/private/orgs/{accountId}/apps/{app}/scans/{scanId}/aianalysis: post: tags: - qwietproxy summary: RequestAIAnalysis qwietproxy operationId: qwietproxy#RequestAIAnalysis parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Voluptatum animi et veniam omnis voluptatem accusantium. example: Aut exercitationem. - name: scanId in: path required: true schema: type: string example: Aspernatur voluptatem minus. example: Impedit maiores accusamus doloremque harum rem sunt. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Eius est aspernatur. example: Dolor aperiam accusantium dicta. requestBody: required: true content: application/json: schema: type: object example: Eos maiores perspiciatis dolorem.: Possimus error magni. additionalProperties: true example: Sed est.: Error corporis quidem eum et qui unde. Ut voluptas.: Velit doloremque. responses: "200": description: OK response. content: application/json: schema: type: object example: Consequatur atque.: Ducimus cupiditate eligendi minima. Et excepturi commodi aspernatur neque ad quisquam.: Est quidem provident voluptas adipisci sed. Soluta fugit officiis voluptatem facere voluptatem commodi.: Ut sunt commodi qui maxime eum. additionalProperties: true example: Ut qui.: Ea doloremque. Voluptatem recusandae quos.: Quia fugit voluptatem aut excepturi. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/apps/{app}/scans/{scanId}/autofix-context/uploads: post: tags: - qwietproxy summary: CreateAutofixContextUpload qwietproxy operationId: qwietproxy#CreateAutofixContextUpload parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Commodi omnis occaecati. example: Non laboriosam sequi id molestias nesciunt. - name: scanId in: path required: true schema: type: string example: Non dolore et consequatur sed harum amet. example: Qui sint. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Facere nisi quas quos voluptatem voluptates omnis. example: Repellat saepe explicabo tenetur numquam consequatur nihil. requestBody: required: true content: application/json: schema: type: object example: Repellendus voluptatum exercitationem impedit ipsa.: Dolorem tempora ullam. additionalProperties: true example: Qui dolorem.: Voluptas occaecati molestias. responses: "200": description: OK response. content: application/json: schema: type: object example: Architecto aut quia et perspiciatis.: Voluptatem laborum tempore saepe quia. Natus facere.: Non esse esse reprehenderit quia sunt id. additionalProperties: true example: Sed expedita repellendus distinctio omnis.: Pariatur nemo beatae eaque ullam. Unde pariatur in.: Ea iste. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/apps/{app}/scans/{scanId}/autofix-context/uploads/finalize: post: tags: - qwietproxy summary: FinalizeAutofixContextUpload qwietproxy operationId: qwietproxy#FinalizeAutofixContextUpload parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Quis sapiente corporis enim reiciendis quis. example: Quae minima placeat. - name: scanId in: path required: true schema: type: string example: Animi voluptatibus ea aut labore ut sapiente. example: Consequuntur et. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Adipisci tempore. example: Facere sit delectus ut. requestBody: required: true content: application/json: schema: type: object example: Dignissimos voluptate qui quisquam laborum dolores ut.: Accusantium deleniti perferendis excepturi autem soluta voluptates. Et et et quam.: Necessitatibus libero quia. Laborum excepturi non rerum corporis modi.: Neque quod accusamus voluptate. additionalProperties: true example: Enim non ut.: Aut numquam quia accusantium nihil. Perspiciatis perferendis labore aut totam.: Culpa aspernatur. responses: "200": description: OK response. content: application/json: schema: type: object example: Et et reprehenderit officia accusantium tenetur iure.: Sed omnis doloribus rerum aut ut maiores. additionalProperties: true example: Omnis ut id eos.: Et perspiciatis. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/apps/{app}/scans/{scanId}/batchautofix: post: tags: - qwietproxy summary: RequestBatchAutofix qwietproxy operationId: qwietproxy#RequestBatchAutofix parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Sit nihil voluptatem dignissimos et cum cupiditate. example: Reiciendis molestiae nesciunt. - name: scanId in: path required: true schema: type: string example: Et rerum nam. example: Ab exercitationem. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Assumenda est. example: Ab et. requestBody: required: true content: application/json: schema: type: object example: Sed eligendi illo velit sunt delectus rerum.: Dolores accusamus. additionalProperties: true example: Consequatur sit.: Nihil dicta sunt enim fuga. Ipsam illum et.: Optio dolores. Voluptate beatae nostrum voluptatem ea ea.: Qui ipsam repellat consequatur excepturi. responses: "200": description: OK response. content: application/json: schema: type: object example: Dicta aut esse molestiae.: Eius blanditiis deleniti eum praesentium. Ducimus sunt.: Est error. additionalProperties: true example: Commodi sint vel.: Molestiae enim occaecati velit enim veritatis ex. Repellendus et deleniti qui.: Ea ullam ut consequatur nihil alias minima. Voluptas omnis et et libero aut.: Beatae aut magni voluptas. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/apps/{app}/scans/{scanId}/fixes: get: tags: - qwietproxy summary: Get scan fixes description: Proxy Qwiet GET /api/v4/private/orgs/{org}/apps/{app}/scans/{scanId}/fixes. operationId: qwietproxy#GetScanFixes parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Non nam aspernatur ut. example: Assumenda tempore eius odio distinctio voluptate. - name: scanId in: path required: true schema: type: string example: Numquam odio enim eaque dolor. example: Totam ducimus hic itaque atque occaecati commodi. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Illum ducimus ipsum impedit veniam mollitia nesciunt. example: Consequuntur inventore excepturi ea qui explicabo. responses: "200": description: OK response. content: application/json: schema: type: object example: Minus rerum totam ab libero qui.: Sapiente laborum eligendi molestiae a. Natus quos.: Vero error accusantium libero consequuntur occaecati velit. Nisi minima cum suscipit illum placeat dolores.: Veniam ut aut voluptas explicabo possimus enim. additionalProperties: true example: Molestiae quasi aut.: Reprehenderit odio non. Nisi nulla omnis voluptate corrupti beatae.: Rerum labore sed tempora temporibus ab. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_issue_view /api/v4/private/orgs/{accountId}/apps/{app}/scans/{scanId}/runs: post: tags: - qwietproxy summary: Create scan run description: Record a scan run event operationId: qwietproxy#CreateRun parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Quae adipisci iure. example: Nostrum mollitia aut non. - name: scanId in: path required: true schema: type: string example: Rerum omnis et. example: Ea eos sequi quis omnis. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Hic fugiat. example: Occaecati non consequatur. requestBody: required: true content: application/json: schema: type: object example: Atque nihil porro delectus earum maiores.: Quas voluptas ullam deserunt eius ipsum eveniet. Fuga id.: Quia iste nobis autem quisquam. Quibusdam corporis quibusdam qui eaque ab velit.: Quis aut quam doloremque incidunt. additionalProperties: true example: Corporis est.: Perspiciatis quod sunt asperiores. Omnis dolorem perferendis quasi ducimus cupiditate.: Quos sunt laborum rem ut. Tenetur quia eligendi ipsam porro optio.: Facere sint laboriosam voluptas commodi. responses: "200": description: OK response. content: application/json: schema: type: object example: Cupiditate quia necessitatibus veritatis dolorum nulla.: Amet in numquam. Molestiae id aut beatae.: Qui sint laboriosam. additionalProperties: true example: Molestiae tenetur.: Aut et blanditiis. Temporibus itaque iste recusandae est.: Qui vel incidunt dignissimos nulla. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/compounds/byid/{compoundId}/apps/{app}: put: tags: - qwietproxy summary: Ensure compound project by ID description: Qwiet compounds/byid/{id}/apps/{app} PUT. Empty body. App may be a Qwiet _element_ language project. operationId: qwietproxy#EnsureCompoundByID parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Aspernatur quos molestiae tenetur labore dolorem. example: Dignissimos eos. - name: team in: query description: Optional Qwiet team allowEmptyValue: true schema: type: string description: Optional Qwiet team example: Ut aliquam et id expedita sed. example: Libero quo quia nobis voluptatem qui ratione. - name: compoundId in: path description: Qwiet polyglot compound UUID required: true schema: type: string description: Qwiet polyglot compound UUID example: Consequatur dicta est quibusdam nisi. example: Dolor quia eum cumque et qui nihil. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Possimus libero nihil aut nemo deserunt. example: Similique cupiditate. responses: "200": description: OK response. content: application/json: schema: type: object example: Aspernatur cumque dignissimos atque id.: Consequuntur amet. Eos eum nam sed.: Totam veniam ipsum provident distinctio fuga. Et est nam cum quidem et.: Laudantium fugiat libero repellendus aut. additionalProperties: true example: Eaque odit nobis non.: Commodi quae nostrum repudiandae consectetur sit earum. Qui blanditiis.: Consectetur molestiae provident aspernatur occaecati. Velit sit ab blanditiis laboriosam eos ratione.: Delectus sequi non consectetur et ut tenetur. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v4/private/orgs/{accountId}/compounds/byname/{app}: put: tags: - qwietproxy summary: Ensure compound by name description: Qwiet compounds/byname PUT. Empty body. Same as sl ensureProject without compound UUID. operationId: qwietproxy#EnsureCompoundByName parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Adipisci unde eligendi quasi omnis sit doloribus. example: In sint natus aliquam. - name: team in: query description: Optional Qwiet team allowEmptyValue: true schema: type: string description: Optional Qwiet team example: Facilis beatae animi voluptatem modi sunt exercitationem. example: Tenetur cumque ullam debitis saepe. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Autem nesciunt qui at et rerum quaerat. example: Nemo ex eum sit asperiores enim aut. responses: "200": description: OK response. content: application/json: schema: type: object example: At nostrum officia qui ipsam dolorem.: Quis et laudantium. Sint debitis non rerum itaque numquam dolores.: Tempore quia magnam. additionalProperties: true example: Corporis vitae facere aliquam sit.: Sed recusandae. Est quidem.: Vero incidunt. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v4/private/orgs/{accountId}/compounds/facts/{app}: put: tags: - qwietproxy summary: Gather compound facts description: Qwiet compounds/facts PUT. sl sends GatherFacts JSON. Do not use for byname/byid. operationId: qwietproxy#EnsureApp parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: path description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. required: true schema: type: string description: Qwiet app id {org}-{project}-{target} (sanitized). Org/project (first two '-' segments) must match the X-Harness-App header ({org}/{project}/{target}[~{variantId}]); Harness ACL uses that header. example: Culpa quis ex commodi nemo. example: Ut temporibus aut iusto voluptas. - name: team in: query description: Optional Qwiet team allowEmptyValue: true schema: type: string description: Optional Qwiet team example: Illum deleniti voluptatum officia qui labore modi. example: In sit. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Excepturi ipsam. example: Nam iste ratione. requestBody: required: true content: application/json: schema: type: object example: Eos cumque magnam est cupiditate odio.: Quidem quos qui eveniet. Et tempore consequatur repudiandae dolorum tempore.: Pariatur molestias est. additionalProperties: true example: Quisquam perferendis.: Voluptatibus placeat. Suscipit perspiciatis illum provident ea asperiores.: Illo delectus. responses: "200": description: OK response. content: application/json: schema: type: object example: Minima sed perferendis similique aut.: Molestiae illo qui aut et sit. additionalProperties: true example: Consequuntur aut est rem.: Doloribus error consequatur suscipit quasi. Et optio quo dolores.: Et itaque quidem deserunt. Voluptatem aut eaque expedita et saepe debitis.: Maxime totam omnis tempore quia error. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_edit /api/v4/private/orgs/{accountId}/uploads: post: tags: - qwietproxy summary: Create upload description: Start a Qwiet upload session operationId: qwietproxy#CreateUpload parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: query allowEmptyValue: true schema: type: string example: Voluptatem praesentium ratione. example: Est veniam mollitia. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Rem voluptatem odit. example: Delectus aut consequatur omnis. requestBody: required: true content: application/json: schema: type: object example: Assumenda corporis ipsum facere in.: Ut exercitationem. additionalProperties: true example: Architecto aut sunt harum.: Temporibus nobis blanditiis excepturi. Ratione omnis libero perferendis.: Similique ut laborum dolorem. Voluptatem consequatur nisi.: Magni odit. responses: "200": description: OK response. content: application/json: schema: type: object example: Aut consequatur.: Aut eos minus autem aut. Voluptas earum qui assumenda.: Molestiae omnis natus non suscipit. additionalProperties: true example: Doloribus dolor.: Unde consequatur magni facilis voluptatem et. Expedita earum ut maiores esse rerum impedit.: Non omnis asperiores ad. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/uploads/{uploadId}: post: tags: - qwietproxy summary: Finalize upload description: Finalize a Qwiet upload session operationId: qwietproxy#FinalizeUpload parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: app in: query allowEmptyValue: true schema: type: string example: Earum dolorum voluptatem. example: Aut et quisquam enim saepe voluptatem deserunt. - name: uploadId in: path required: true schema: type: string example: Quos minus. example: Quasi nihil dolore. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Veniam mollitia illum impedit voluptatibus excepturi quos. example: Quaerat laboriosam tempore neque magnam nihil veniam. requestBody: required: true content: application/json: schema: type: object example: Aspernatur perspiciatis excepturi nihil voluptatem vero vel.: Veritatis sunt. Inventore velit sint vitae nihil fuga.: Omnis dolore ut exercitationem occaecati. additionalProperties: true example: Quibusdam molestiae.: Dolor nisi possimus. Quod eos aut eos consequatur harum.: Vel voluptatem labore iure sed magnam ea. Velit et iste earum non odio rem.: Inventore quasi vitae inventore. responses: "200": description: OK response. content: application/json: schema: type: object example: Molestiae unde dignissimos quae in architecto nihil.: Nostrum recusandae placeat distinctio tempora distinctio. Numquam sed quaerat inventore.: Et iste ducimus maiores similique eveniet. Quaerat dolorem blanditiis rerum minus.: Praesentium pariatur consequatur quo velit non. additionalProperties: true example: Modi error.: Incidunt repudiandae. Mollitia voluptates.: Perspiciatis vero saepe et culpa in. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_scan_edit /api/v4/private/orgs/{accountId}/vcs/apps/{origin}: get: tags: - qwietproxy summary: Infer target name from VCS origin description: Guess Harness target name from a git remote URL. Path keeps Qwiet /vcs/apps/{origin}; origin is the git URL, not a Qwiet app id. operationId: qwietproxy#InferTargetFromVCS parameters: - name: accountId in: path description: Harness Account ID required: true schema: type: string description: Harness Account ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: abcdef1234567890ghijkl - name: orgId in: query description: Harness Organization ID allowEmptyValue: true schema: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_org - name: projectId in: query description: Harness Project ID allowEmptyValue: true schema: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 example: example_project - name: origin in: path description: Git remote URL required: true schema: type: string description: Git remote URL example: Culpa quia minus illum vel quis. example: Enim vitae dolore ipsam magni et. - name: X-Api-Key in: header description: Harness personal or service access token allowEmptyValue: true schema: type: string description: Harness personal or service access token example: Fugit architecto id. example: Minus est numquam provident dignissimos. responses: "200": description: OK response. content: application/json: schema: type: object example: A tempora molestiae quam sapiente qui explicabo.: Voluptates praesentium impedit impedit aliquid eaque qui. Autem dolores saepe.: Excepturi eum animi est incidunt ut est. Placeat amet iste aut.: Odit cupiditate sit. additionalProperties: true example: Eveniet harum saepe ipsam.: Totam id omnis voluptas eum beatae. Quisquam eos.: Pariatur ratione aspernatur aut quam non quo. "400": description: 'BadRequest: Bad Request response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: 'Bad Request: accountId parameter is required' status: 400 "401": description: 'Unauthorized: Unauthorized response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Unauthorized status: 401 "403": description: 'Forbidden: Forbidden response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Forbidden status: 403 "429": description: 'TooManyRequests: Too Many Requests response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Too Many Requests status: 429 "500": description: 'InternalServerError: Internal Server Error response.' content: application/json: schema: $ref: '#/components/schemas/NotFound' example: message: Internal Server Error status: 500 security: - X-Api-Key_header_X-Api-Key: [] jwt_header_Authorization: - sto_testtarget_view components: schemas: AccountUsage: type: object properties: accountId: type: string description: Account ID example: BdsgiWzwT7CQFeJl9XkQ3A developerCount: type: integer description: Developer count example: 25 format: int64 harnessCodeCount: type: integer description: Harness Code scan count example: 100 format: int64 harnessContainerCount: type: integer description: Harness Container scan count example: 50 format: int64 scanCount: type: integer description: Scan count example: 5000 format: int64 description: Account Usage example: accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 required: - accountId - scanCount - developerCount 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. example: LikelyFP enum: - LikelyFP - LikelyTP - NotEvaluatedYet epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionStatus: type: string description: Status of project scoped exemption for this issue example: Pending 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. example: "yes" id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ issueType: type: string description: Issue Type example: Ut iure quas a consequatur. lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 numOccurrences: type: number description: Number of occurrences of this issue against the latest baseline scan example: 12 format: float numTargetsImpacted: type: number description: Number of targets impacted where this issue was found against the latest baseline scan example: 2 format: float overrides: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: type: string description: Aggregate reachability status of the issue across all scans. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable. example: reachable severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned status: type: string description: Issue Status example: Remediated enum: - Active - Exempted - Remediated title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 description: All issue list summary from pre-aggregated baseline issue summary table example: aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Qui est laborum aut natus. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Active title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' required: - id - title - severityCode - numTargetsImpacted - numOccurrences - lastDetected - status 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. example: LikelyFP enum: - LikelyFP - LikelyTP - NotEvaluatedYet epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionExpiration: type: integer description: Unix timestamp at which this Exemption will expire example: 1651578240 format: int64 exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ exemptionStatus: type: string description: Status of project scoped exemption for this issue example: Pending 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. example: "yes" id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ issueType: type: string description: Issue Type example: Alias velit quae. lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 numOccurrences: type: number description: Number of occurrences of this issue against the latest baseline scan example: 12 format: float numTargetsImpacted: type: number description: Number of targets impacted where this issue was found against the latest baseline scan example: 2 format: float overrides: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: type: string description: Aggregate reachability status of the issue across all scans. 'reachable' if any occurrence is reachable, 'unreachable' if all are unreachable. example: reachable severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned status: type: string description: Issue Status example: Exempted enum: - Active - Exempted - Remediated title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 description: All issue list summary example: aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Ipsam maiores rerum. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Active title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' required: - id - title - severityCode - numTargetsImpacted - numOccurrences - lastDetected AllIssueSummaryV2: type: object properties: id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ issueDescription: type: string description: Issue Description example: Consequatur quia. issueType: type: string description: Issue Type example: Quia nemo cumque et non numquam. lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 scanner: type: string description: Scanner example: Optio accusamus a. severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned targetName: type: string description: Name of the Scan Target example: NodeGoat targetVariantName: type: string description: Name of the Scan Target example: NodeGoat title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 description: All issue summary V2 example: id: abcdef1234567890ghijkl issueDescription: Nulla mollitia occaecati beatae pariatur omnis. issueType: Molestiae neque. lastDetected: 1634836529 scanner: Id nemo. severityCode: High targetName: NodeGoat targetVariantName: NodeGoat title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' required: - id - severityCode - issueDescription - issueType - scanner - targetName - targetVariantName AllIssuesCountsV2Result: type: object properties: issueTypeCounts: type: object description: Issue counts grouped by issue type (e.g. SAST, SCA, DAST, UNKNOWN) example: Consectetur explicabo iusto ad cum amet enim.: 531997730848282419 Id ut est temporibus in.: 7821317479028092073 Rem est.: 1182646159981886765 additionalProperties: type: integer example: 7264583738396845037 format: int64 severityCounts: $ref: '#/components/schemas/MinimalIssueCounts' example: issueTypeCounts: Consequatur doloremque qui laudantium reprehenderit et.: 8357387200569118474 severityCounts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 required: - severityCounts - issueTypeCounts AllIssuesDetailsResult: type: object properties: description: type: string description: Issue description example: Aut in temporibus qui id consequatur nesciunt. epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exploitability: type: string description: Aggregate exploitability status of the issue across all impacted targets. 'yes' if any target has exploitable occurrences. example: "yes" impactedTargets: type: array items: $ref: '#/components/schemas/ImpactedTarget' description: List of Impacted Targets example: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. inKev: type: boolean description: True when any linked CVE is in the CISA KEV catalog example: true issueType: type: string description: Issue Type example: Sunt possimus officia. lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 overrides: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pagination: $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. example: reachable recentActivities: type: array items: $ref: '#/components/schemas/ExemptionRecentActivity' description: Up to 3 most recent exemption history events for this issue, newest first example: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired referenceIdentifiers: type: array items: $ref: '#/components/schemas/RefIds' description: Reference Identifiers example: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanTool: type: string description: Product name of the scan tool used in this step example: owasp severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned targetType: type: string description: Target Type example: Earum labore atque. title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 example: description: Ut rem laboriosam itaque. epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exploitability: "yes" impactedTargets: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Nam error. userName: firstname lastname variantName: Nesciunt est libero aperiam a et. inKev: true issueType: Non aspernatur officiis maxime ut doloribus. lastDetected: 1634836529 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanTool: owasp severityCode: High targetType: Accusantium nesciunt nihil vitae consequatur et vel. title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' required: - title - description - severityCode - lastDetected - scanTool - targetType - referenceIdentifiers - impactedTargets - pagination 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. example: LikelyFP 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. example: The argument to path.join is __dirname, a constant, not user input. category: type: string description: Qwiet AI issue category from issue.details.category example: Insecure Direct Object Reference (AI SAST) description: type: string description: Issue description example: Aut sit ea cum. epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionStatus: type: string description: Status of project scoped exemption for this issue example: Pending exploitability: type: string description: Aggregate exploitability status of the issue across all impacted targets. 'yes' if any target has exploitable occurrences. example: "yes" impactedTargets: type: array items: $ref: '#/components/schemas/ImpactedTargetV2' description: List of Impacted Targets example: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. inKev: type: boolean description: True when any linked CVE is in the CISA KEV catalog example: true issueType: type: string description: Issue Type example: Ea enim a. lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 overrides: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pagination: $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. example: reachable recentActivities: type: array items: $ref: '#/components/schemas/ExemptionRecentActivity' description: Up to 3 most recent exemption history events for this issue, newest first example: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired referenceIdentifiers: type: array items: $ref: '#/components/schemas/RefIds' description: Reference Identifiers example: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanTool: type: string description: Product name of the scan tool used in this step example: owasp severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned status: type: string description: Issue Status example: Remediated enum: - Active - Exempted - Remediated targetType: type: string description: Target Type example: Facere impedit distinctio ex magni hic. title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) description: Ex et quia quibusdam rem. epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" impactedTargets: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Remediated userEmail: user@gmail.com userId: Corporis qui eius eum voluptas. userName: firstname lastname variantName: Sit nulla quae eos architecto accusantium quis. inKev: true issueType: Et et veniam quia id repellendus. lastDetected: 1634836529 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanTool: owasp severityCode: High status: Active targetType: Ipsa ipsam atque. title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' required: - title - description - severityCode - lastDetected - scanTool - targetType - referenceIdentifiers - impactedTargets - pagination - status AllIssuesFiltersResult: type: object properties: exploitabilityFlag: type: boolean description: Indicates if exploitability analysis is available (true if any scan uses Harness Code) example: true issueCategories: type: array items: type: string example: Non expedita a vel reprehenderit. description: Distinct non-empty issue categories available for filtering in this project example: - Insecure Direct Object Reference (AI SAST) - SQL Injection latestBaselineScans: type: array items: $ref: '#/components/schemas/LatestBaselineScanInfo' example: - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository reachabilityFlag: type: boolean description: Indicates if reachability analysis is available (true if any scan uses Harness Code) example: true example: exploitabilityFlag: true issueCategories: - Insecure Direct Object Reference (AI SAST) - SQL Injection latestBaselineScans: - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository - pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository reachabilityFlag: true required: - latestBaselineScans - reachabilityFlag - exploitabilityFlag AllIssuesFiltersResultV2: type: object properties: issueTypes: type: array items: type: string example: Quo tempora unde sit eius velit. description: Distinct issue types present in the matching issues example: - SAST - SCA scanners: type: array items: type: string example: Ab et. description: Distinct scanner (product) names present in the matching issues example: - semgrep - trivy severities: type: array items: type: string example: Ut est tenetur quia et rerum et. description: Distinct severity codes present in the matching issues example: - Critical - High - Medium targets: type: array items: type: string example: Vel consectetur. description: Distinct target names present in the matching issues example: - NodeGoat - juice-shop description: Distinct filter values available for the issues produced by the requested target and variant combinations example: issueTypes: - SAST - SCA scanners: - semgrep - trivy severities: - Critical - High - Medium targets: - NodeGoat - juice-shop required: - severities - scanners - targets - issueTypes AllIssuesListRequestBody: type: object properties: artifactFingerprints: type: array items: type: string example: 15a maxLength: 64 description: Artifact fingerprints for lookup example: - ivi - 0f6 - bz8 maxItems: 100 issueTypes: type: string example: SAST 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)*$ page: type: integer description: Page number to fetch (starting from 0) default: 0 example: 4 format: int64 minimum: 0 pageSize: type: integer description: Number of results per page default: 30 example: 50 format: int64 minimum: 1 maximum: 100 scanTools: type: string example: OWASP,Aqua Trivy,Snyk 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])?)*$ search: type: string example: CWE-123 maxLength: 256 severityCodes: type: string example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ targetNames: type: string example: repo/abc,another-repo/xyz pattern: ^([a-zA-Z0-9/_-]+)(,[a-zA-Z0-9/_-]+)*$ targetTypes: type: string example: repository,container pattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$ targetVariants: type: array items: $ref: '#/components/schemas/TargetAndVariantNameRequired' description: Target-variant pairs for lookup example: - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. maxItems: 100 example: artifactFingerprints: - 3gm - kqx - gi0 issueTypes: SAST page: 4 pageSize: 50 scanTools: OWASP,Aqua Trivy,Snyk search: CWE-123 severityCodes: Critical,High,Medium targetNames: repo/abc,another-repo/xyz targetTypes: repository,container targetVariants: - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. 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). example: true issues: type: array items: $ref: '#/components/schemas/AllIssueSummary' description: Issues related to the latest scans of a baseline in a specific project example: - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: $ref: '#/components/schemas/Pagination' example: hasRules: true issues: - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionExpiration: 1651578240 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: A laboriosam sint dolores corporis rerum ut. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - issues - pagination - hasRules AllIssuesListResultV2: type: object properties: counts: $ref: '#/components/schemas/FrontendIssueCounts' issues: type: array items: $ref: '#/components/schemas/AllIssueSummaryV2' description: Issues related to the latest scans of specified target and variant example: - id: abcdef1234567890ghijkl issueDescription: Quia sunt illum ab veniam. issueType: Est ipsa. lastDetected: 1634836529 scanner: Dolor est aliquam beatae officia. severityCode: High targetName: NodeGoat targetVariantName: NodeGoat title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - id: abcdef1234567890ghijkl issueDescription: Quia sunt illum ab veniam. issueType: Est ipsa. lastDetected: 1634836529 scanner: Dolor est aliquam beatae officia. severityCode: High targetName: NodeGoat targetVariantName: NodeGoat title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: $ref: '#/components/schemas/Pagination' example: counts: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 issues: - id: abcdef1234567890ghijkl issueDescription: Quia sunt illum ab veniam. issueType: Est ipsa. lastDetected: 1634836529 scanner: Dolor est aliquam beatae officia. severityCode: High targetName: NodeGoat targetVariantName: NodeGoat title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - id: abcdef1234567890ghijkl issueDescription: Quia sunt illum ab veniam. issueType: Est ipsa. lastDetected: 1634836529 scanner: Dolor est aliquam beatae officia. severityCode: High targetName: NodeGoat targetVariantName: NodeGoat title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - id: abcdef1234567890ghijkl issueDescription: Quia sunt illum ab veniam. issueType: Est ipsa. lastDetected: 1634836529 scanner: Dolor est aliquam beatae officia. severityCode: High targetName: NodeGoat targetVariantName: NodeGoat title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - id: abcdef1234567890ghijkl issueDescription: Quia sunt illum ab veniam. issueType: Est ipsa. lastDetected: 1634836529 scanner: Dolor est aliquam beatae officia. severityCode: High targetName: NodeGoat targetVariantName: NodeGoat title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - issues - pagination 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). example: true issues: type: array items: $ref: '#/components/schemas/AllBaselineIssueSummary' description: Issues from the pre-aggregated summary table for the latest baseline scans in a project example: - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: $ref: '#/components/schemas/Pagination' example: hasRules: true issues: - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' - aiTriaged: LikelyFP epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionStatus: Pending exploitability: "yes" id: abcdef1234567890ghijkl issueType: Tempora in et minima quia voluptas. lastDetected: 1634836529 numOccurrences: 12 numTargetsImpacted: 2 overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reachability: reachable severityCode: High status: Exempted title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - issues - pagination - hasRules 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. example: LikelyFP 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. example: The argument to path.join is __dirname, a constant, not user input. description: type: string description: Issue description example: Est eum voluptas eos repudiandae. exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl 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. example: "yes" issueType: type: string description: Issue Type example: Earum non architecto repudiandae ex. lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 occurrences: type: array items: type: object example: Expedita ratione voluptatem.: Totam ut omnis doloremque ipsam ut. Ut sint iste quis sequi nulla accusamus.: Ipsum facilis aliquid. Vel aut quasi.: Et nihil amet et velit. additionalProperties: true description: List of occurrences example: - Doloribus esse rerum facere sed a.: Delectus rerum sed eos est odio. Et laborum accusantium autem repudiandae aperiam.: Culpa quas recusandae nostrum blanditiis voluptatibus voluptas. Ut quia iure.: Excepturi eum sit qui consequatur quia. - Et vitae ipsa est nisi.: Sed vel vitae dolorum itaque. Minus consectetur sequi earum autem iste quibusdam.: Et et sit et eaque. Rem eos ut ut.: Animi ipsum. 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. example: reachable referenceIdentifiers: type: array items: $ref: '#/components/schemas/RefIds' description: Reference Identifiers example: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned targetName: type: string description: The name of the target of the pipeline step's scan example: The Target targetType: type: string description: Target Type example: Occaecati saepe saepe. targetVariantId: type: string description: Associated Target Variant ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 variantName: type: string description: Variant name example: Asperiores quaerat inventore. example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. description: Aut commodi aspernatur. exemptionId: abcdef1234567890ghijkl exploitability: "yes" issueType: Ex laborum eos esse officia ea. lastDetected: 1634836529 occurrences: - Molestias consequatur eveniet et iure.: Ut excepturi soluta iusto numquam. Saepe minus quia.: Et aut cum. - Cupiditate et nostrum rerum velit quo.: Mollitia numquam dolorum quaerat corporis dolor. Non iusto qui corrupti.: Facilis quaerat et facere. Sequi autem voluptatem.: Sunt sint velit. - Nesciunt voluptatem eligendi.: Quaerat temporibus et. Placeat optio debitis vero ipsam aut.: Aspernatur maiores et soluta ratione. Ut aut in.: Et nemo aspernatur ipsa labore doloribus. pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. severityCode: High targetName: The Target targetType: Nostrum repellendus assumenda laudantium sit enim quia. targetVariantId: abcdef1234567890ghijkl title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' variantName: Sed non. required: - title - targetName - variantName - targetType - severityCode - description - occurrences - lastDetected AllIssuesTotalsV2Result: type: object properties: totalFpCount: type: integer description: Filter-independent count of issues whose project-level AI-Triage rollup is LikelyFP. example: 5474093563856284588 format: int64 totalIssues: type: integer description: Total number of unique issues in the project (filter-independent) example: 1931945614698052048 format: int64 totalOccurrences: type: integer description: Total number of occurrences across all issues in the project (filter-independent) example: 1806248208344605977 format: int64 totalTpCount: type: integer description: Filter-independent count of issues whose project-level AI-Triage rollup is LikelyTP. example: 9096083317005453771 format: int64 example: totalFpCount: 8548729333714151154 totalIssues: 7903113100518318494 totalOccurrences: 4767566974263222311 totalTpCount: 3574856800146699672 required: - totalOccurrences - totalIssues - totalFpCount - totalTpCount AllIssuesTrendV2Result: type: object properties: trend: type: array items: $ref: '#/components/schemas/DailyIssueTrend' description: Daily trend data showing issue counts by status example: - active: 10 day: 1710720000 remediated: 5 - active: 10 day: 1710720000 remediated: 5 - active: 10 day: 1710720000 remediated: 5 example: trend: - active: 10 day: 1710720000 remediated: 5 - active: 10 day: 1710720000 remediated: 5 required: - trend Application: type: object properties: businessCriticality: type: boolean description: Whether the application is business critical example: true created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 createdBy: type: string description: Principal that created the application example: user111111111111111111 dataSensitivity: type: boolean description: Whether the application contains sensitive data. Omitted when unset. example: true deploymentEnvironment: type: string description: Deployment environment. Omitted when unset. example: Production enum: - Production - Pre-production - Development id: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ internetExposure: type: boolean description: Whether the application is internet exposed. Omitted when unset. example: true lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 lastModifiedBy: type: string description: Principal that last modified the application example: user111111111111111111 name: type: string description: Application name example: Payment Platform targets: type: array items: $ref: '#/components/schemas/ApplicationTarget' description: Live members. Soft-deleted targets are omitted. example: - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository description: A named group of scanned targets in one project. example: businessCriticality: true created: 1651578240 createdBy: user111111111111111111 dataSensitivity: true deploymentEnvironment: Production id: appid1234567890abcdefgh internetExposure: true lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: Payment Platform targets: - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository - defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository required: - id - name - businessCriticality - targets - createdBy - lastModifiedBy - created - lastModified ApplicationFindingsTrendPoint: type: object properties: critical: type: integer description: Critical occurrence count example: 1 format: int64 day: type: integer description: Unix timestamp for the day (midnight UTC) example: 1710720000 format: int64 high: type: integer description: High occurrence count example: 2 format: int64 info: type: integer description: Info occurrence count example: 5 format: int64 issueTypes: type: object description: Occurrence counts grouped by issue type (e.g. SAST, SCA, SECRET) example: SAST: 10 SCA: 5 additionalProperties: type: integer example: 7172205729698829281 format: int64 low: type: integer description: Low occurrence count example: 4 format: int64 medium: type: integer description: Medium occurrence count example: 3 format: int64 description: Occurrence counts for one UTC day, summed over the application's member targets example: critical: 1 day: 1710720000 high: 2 info: 5 issueTypes: SAST: 10 SCA: 5 low: 4 medium: 3 required: - day - critical - high - medium - low - info - issueTypes ApplicationFindingsTrendResult: type: object properties: availableIssueTypes: type: array items: type: string example: Nesciunt consequatur reiciendis minus. description: Distinct issue types present in the selected time range, before applying the issueTypes filter example: - SAST - SCA trend: type: array items: $ref: '#/components/schemas/ApplicationFindingsTrendPoint' description: One point per UTC day example: - critical: 1 day: 1710720000 high: 2 info: 5 issueTypes: SAST: 10 SCA: 5 low: 4 medium: 3 - critical: 1 day: 1710720000 high: 2 info: 5 issueTypes: SAST: 10 SCA: 5 low: 4 medium: 3 description: Daily findings bars for an application, oldest to newest example: availableIssueTypes: - SAST - SCA trend: - critical: 1 day: 1710720000 high: 2 info: 5 issueTypes: SAST: 10 SCA: 5 low: 4 medium: 3 - critical: 1 day: 1710720000 high: 2 info: 5 issueTypes: SAST: 10 SCA: 5 low: 4 medium: 3 required: - trend - availableIssueTypes ApplicationListItem: type: object properties: artifactCount: type: integer description: Counted members of type container example: 4 format: int64 minimum: 0 id: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ lastScanAt: type: integer description: Newest member last-scan time in milliseconds since Unix epoch. Omitted when every member has no last scan. example: 1751793300000 format: int64 name: type: string description: Application name example: Payment Platform occurrenceNewDelta: type: integer description: Sum, across counted members, of each member's cumulative_open_occurrences_count vs that member's previous execution of its tracked variant. Findings 'new' delta, labeled 'last 24h' in the UI like Code Repos, though the comparison is since each member's previous scan, not a fixed time window. A member with no previous execution does not contribute. Omitted when no counted member has one. example: 4 format: int64 occurrenceRemediatedDelta: type: integer description: Sum, across counted members, of each member's cumulative_remediated_occurrences_count vs that member's previous execution of its tracked variant. Findings 'remediated' delta, same caveats as occurrenceNewDelta. example: 2 format: int64 occurrenceSeverityCounts: $ref: '#/components/schemas/ArtifactSeverityCounts' repositoryCount: type: integer description: Counted members of type repository example: 12 format: int64 minimum: 0 scanType: type: object description: Scan types on this application's counted members mapped to scanner ids and display names. Keys match scanTypes. example: Atque veniam voluptatibus.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Numquam adipisci voluptates explicabo voluptas enim.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy additionalProperties: type: array items: $ref: '#/components/schemas/ScanTypeScanner' example: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: type: array items: type: string example: Incidunt iusto ratione. description: Distinct scan types that appear on this application's counted members, sorted by name. A type that was never scanned is omitted. example: - SAST - SCA targetCount: type: integer description: Counted members example: 16 format: int64 minimum: 0 description: One applications-table row. Counts are unique inside the application. example: artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Maxime praesentium voluptate.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 required: - id - name - targetCount - repositoryCount - artifactCount - scanTypes - occurrenceSeverityCounts ApplicationOverviewResult: type: object properties: artifactCount: type: integer description: Counted members of type container example: 4 format: int64 minimum: 0 id: type: string description: Application id example: appid1234567890abcdefgh pattern: ^[a-zA-Z0-9_-]{22}$ issueFindingsMatrix: $ref: '#/components/schemas/TargetFindingsMatrix' lastScanAt: type: integer description: Newest member last-scan time in milliseconds since Unix epoch. Omitted when every member has no last scan. example: 1751793300000 format: int64 name: type: string description: Application name example: Payment Platform occurrenceFindingsMatrix: $ref: '#/components/schemas/TargetFindingsMatrix' occurrenceNewDelta: type: integer description: Sum, across counted members, of each member's cumulative_open_occurrences_count vs that member's previous execution of its tracked variant. Findings 'new' delta, labeled 'last 24h' in the UI like Code Repos, though the comparison is since each member's previous scan, not a fixed time window. A member with no previous execution does not contribute. Omitted when no counted member has one. example: 4 format: int64 occurrenceRemediatedDelta: type: integer description: Sum, across counted members, of each member's cumulative_remediated_occurrences_count vs that member's previous execution of its tracked variant. Findings 'remediated' delta, same caveats as occurrenceNewDelta. example: 2 format: int64 occurrenceSeverityCounts: $ref: '#/components/schemas/ArtifactSeverityCounts' repositoryCount: type: integer description: Counted members of type repository example: 12 format: int64 minimum: 0 scanType: type: object description: Scan types on this application's counted members mapped to scanner ids and display names. Keys match scanTypes. example: Aliquid cum cupiditate.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Deserunt possimus expedita porro accusamus et voluptas.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy additionalProperties: type: array items: $ref: '#/components/schemas/ScanTypeScanner' example: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: type: array items: type: string example: Magnam enim veniam consequatur. description: Distinct scan types that appear on this application's counted members, sorted by name. A type that was never scanned is omitted. example: - SAST - SCA targetCount: type: integer description: Counted members example: 16 format: int64 minimum: 0 description: One application's list-row scoreboard plus the findings matrix over its counted members. example: artifactCount: 4 id: appid1234567890abcdefgh issueFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 lastScanAt: 1751793300000 name: Payment Platform occurrenceFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Vel at recusandae quo ut.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 required: - id - name - targetCount - repositoryCount - artifactCount - scanTypes - occurrenceSeverityCounts - occurrenceFindingsMatrix - issueFindingsMatrix ApplicationRemediationTrendPoint: type: object properties: cumulativeNew: type: integer description: Sum of cumulative discovered occurrences across member targets as of this day example: 42 format: int64 cumulativeRemediated: type: integer description: Sum of cumulative remediated occurrences across member targets as of this day example: 17 format: int64 day: type: integer description: Unix timestamp for the day (midnight UTC) example: 1710720000 format: int64 description: Cumulative new vs remediated occurrence counts for one UTC day, summed over the application's member targets example: cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 required: - day - cumulativeNew - cumulativeRemediated ApplicationRemediationTrendResult: type: object properties: trend: type: array items: $ref: '#/components/schemas/ApplicationRemediationTrendPoint' description: One point per UTC day example: - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 description: Daily remediation points for an application, oldest to newest example: trend: - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 - cumulativeNew: 42 cumulativeRemediated: 17 day: 1710720000 required: - trend ApplicationTarget: type: object properties: defaultRef: type: string description: Baseline variant name. Omitted when the target has no baseline. example: main id: type: string description: Target id example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ name: type: string description: Target name example: payments-service type: type: string description: Target type. repository or container. example: repository description: A member target. defaultRef is the baseline variant name, read from the target. example: defaultRef: main id: abcdef1234567890ghijkl name: payments-service type: repository required: - id - name - type ApplicationTargetLastExecution: type: object properties: buildId: type: string description: CI build id/number shown in UI (e.g. 222). Falls back to executionId when build id is unset. example: "222" executionId: type: string description: CI execution identifier. With pipelineId and the request org/project, FE can construct a Harness execution URL when executionUrl is empty. example: abcdef1234567890ghijkl maxLength: 128 executionScanTypes: type: array items: type: string example: Nesciunt necessitatibus magnam fugit et debitis officiis. description: Scan types run in this execution. UI may use these when pipelineName is empty. example: - Container executionSource: type: string description: CI/CD platform of the last execution (harness, jenkins, github_actions, gitlab_ci, ...). Distinct from artifact/repo registry source. Omitted when unknown. example: harness 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. example: https://jenkins.example.com/job/42 pipelineId: type: string description: Harness pipeline identifier (not the pretty pipelineName). Used with executionId to construct a Harness execution URL when executionUrl is empty. example: Security_Gate maxLength: 128 pipelineName: type: string description: Pipeline name shown under the build id example: Security Gate maxLength: 256 targetVariantId: type: string description: Variant id for the tracked summary row. Pass as variantId on findings APIs scoped to this execution. example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ description: Latest scan execution for this application member (target_summary last execution). example: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 required: - buildId - executionId - executionScanTypes ApplicationTargetRow: type: object properties: defaultRef: type: string description: Baseline variant name. Omitted when the target has no baseline. example: main id: type: string description: Target id example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ isBaseline: type: boolean description: Whether the tracked variant on target_summary is the baseline example: true lastExecution: $ref: '#/components/schemas/ApplicationTargetLastExecution' lastScanAt: type: integer description: Last scan time in milliseconds since Unix epoch. Omitted when the member has no last scan. example: 1751793300000 format: int64 name: type: string description: Target name example: payments-service occurrenceSeverityCounts: $ref: '#/components/schemas/ArtifactSeverityCounts' scanTypes: type: array items: type: string example: Cupiditate aliquid mollitia architecto error maiores. description: Scan types on this member, sorted by name example: - SAST source: type: string description: Repository SCM source for repository members, or artifact source for container members. Omitted when unknown or blank. example: Github maxLength: 256 type: type: string description: Target type. repository or container. container is an artifact. example: repository enum: - repository - container url: type: string description: Repository or artifact URL from target or latest execution metadata. example: https://github.com/example/repo maxLength: 1024 description: One member on the Targets tab. example: defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo required: - id - name - type - isBaseline - scanTypes - occurrenceSeverityCounts ApplicationsApplicationFindingsTrendResponseBody: $ref: '#/components/schemas/ApplicationFindingsTrendResult' ApplicationsApplicationOverviewResponseBody: $ref: '#/components/schemas/ApplicationOverviewResult' ApplicationsApplicationRemediationTrendResponseBody: $ref: '#/components/schemas/ApplicationRemediationTrendResult' ApplicationsApplicationsOverviewResponseBody: $ref: '#/components/schemas/ApplicationsOverviewResult' ApplicationsFindApplicationByIDResponseBody: $ref: '#/components/schemas/Application' ApplicationsListApplicationTargetsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/ApplicationTargetRow' description: One page of members example: - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo - defaultRef: main id: abcdef1234567890ghijkl isBaseline: true lastExecution: buildId: "222" executionId: abcdef1234567890ghijkl executionScanTypes: - Container executionSource: harness executionUrl: https://jenkins.example.com/job/42 pipelineId: Security_Gate pipelineName: Security Gate targetVariantId: xyz987zyx654wvu321tsr9 lastScanAt: 1751793300000 name: payments-service occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 scanTypes: - SAST source: Github type: repository url: https://github.com/example/repo required: - results - pagination ApplicationsListApplicationsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/ApplicationListItem' description: One page of applications example: - artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Eligendi perspiciatis quia facere quia non cum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 - artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Eligendi perspiciatis quia facere quia non cum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Eligendi perspiciatis quia facere quia non cum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 - artifactCount: 4 id: appid1234567890abcdefgh lastScanAt: 1751793300000 name: Payment Platform occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 12 scanType: Eligendi perspiciatis quia facere quia non cum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA targetCount: 16 required: - results - pagination ApplicationsOverviewResult: type: object properties: artifactCount: type: integer description: Distinct counted artifacts example: 310 format: int64 minimum: 0 occurrenceNewDelta: type: integer description: Sum, once per counted target, of its cumulative_open_occurrences_count vs its previous execution of the tracked variant. Same comparison as ApplicationListItem.occurrenceNewDelta. Omitted when no counted target has a previous execution. example: 240 format: int64 occurrenceRemediatedDelta: type: integer description: Sum, once per counted target, of its cumulative_remediated_occurrences_count vs its previous execution of the tracked variant. Same caveats as occurrenceNewDelta. example: 12 format: int64 occurrenceSeverityTotals: $ref: '#/components/schemas/ArtifactSeverityCounts' repositoryCount: type: integer description: Distinct counted repositories example: 420 format: int64 minimum: 0 scanType: type: object description: Scan types on counted targets in the project mapped to scanner ids and display names. Keys match scanTypes. example: Sunt laborum rem rerum non.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Voluptatibus culpa et.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy additionalProperties: type: array items: $ref: '#/components/schemas/ScanTypeScanner' example: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: type: array items: type: string example: Numquam omnis optio asperiores quo. description: Distinct scan types that appear on counted targets in the project, sorted by name. A type no target has been scanned with is omitted. example: - SAST - SCA totalApplications: type: integer description: Live applications in the project, including those with no counted members example: 20 format: int64 minimum: 0 totalTargets: type: integer description: Distinct counted targets example: 1240 format: int64 minimum: 0 description: The three project cards. Targets and findings are unique across applications. example: artifactCount: 310 occurrenceNewDelta: 240 occurrenceRemediatedDelta: 12 occurrenceSeverityTotals: critical: 75 high: 143 info: 0 low: 267 medium: 204 unassigned: 0 repositoryCount: 420 scanType: Deleniti maxime ut labore.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Harum reprehenderit omnis dignissimos.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Laboriosam magnam.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scanTypes: - SAST - SCA totalApplications: 20 totalTargets: 1240 required: - totalApplications - totalTargets - repositoryCount - artifactCount - scanTypes - occurrenceSeverityTotals ApproveExemptionRequestBody: type: object properties: comment: type: string description: Comment to be added to the Exemption approval or rejection example: This is a comment for the approval or rejection of the exemption maxLength: 1024 pendingChangesOverride: $ref: '#/components/schemas/PendingChanges' example: comment: This is a comment for the approval or rejection of the exemption pendingChangesOverride: durationDays: 30 required: - type - reason - pendingChanges - issueId - status - requesterId - created - lastModified Artifact: type: object properties: executionId: type: string description: CI execution identifier. With pipelineId and the request org/project, FE can construct a Harness execution URL when executionUrl is empty. example: abcdef1234567890ghijkl maxLength: 128 executionSource: type: string description: CI/CD platform of the last execution (harness, jenkins, github_actions, gitlab_ci, ...). Distinct from artifact/repo registry source. Omitted when unknown. example: harness 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. example: https://jenkins.example.com/job/42 maxLength: 1024 id: type: string description: Target id example: abcdef1234567890ghijkl isBaseline: type: boolean description: Whether this variant is the baseline example: true isDigest: type: boolean description: True when the displayed version equals the latest non-empty scan digest on the last execution (tag was a digest, or the artifact was scanned by digest) default: false example: false issueSeverityCounts: $ref: '#/components/schemas/ArtifactSeverityCounts' lastScanAt: type: integer description: Last scan time in milliseconds since Unix epoch example: 1751793300000 format: int64 name: type: string description: Artifact name example: harness/ng-manager occurrenceSeverityCounts: $ref: '#/components/schemas/ArtifactSeverityCounts' pipelineId: type: string description: Harness pipeline identifier (not the pretty pipelineName). Used with executionId to construct a Harness execution URL when executionUrl is empty. example: Security_Gate maxLength: 128 scanType: type: object description: Scan types mapped to scanner ids and display names example: Possimus reiciendis vel.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy additionalProperties: type: array items: $ref: '#/components/schemas/ScanTypeScanner' example: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: type: string description: 'Artifact source for the tracked version''s latest execution. Omitted when unknown. Values are snake_case: docker_hub, harness, aws_ecr, google, azure, github, jfrog_artifactory, docker_v2, local_image, local_archive.' example: harness maxLength: 256 targetVariantId: type: string description: Target variant id example: abcdef1234567890ghijkl type: type: string description: Target type example: container enum: - container - instance - configuration url: type: string description: Artifact URL example: us-east1-docker.pkg.dev/harness/ng-manager maxLength: 1024 version: type: string description: Version or tag example: v2.4.1 description: An artifact. example: executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Est est.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 required: - id - name - type - scanType - occurrenceSeverityCounts - issueSeverityCounts ArtifactDeploymentCounts: type: object properties: nonProd: type: integer description: Instances whose env_type is not Production example: 10 format: int64 minimum: 0 prod: type: integer description: Instances whose env_type is Production example: 8 format: int64 minimum: 0 total: type: integer description: Live instances matching scanned digests example: 18 format: int64 minimum: 0 description: 'Live CD instance counts from UDP cd:instance. Join is scan.artifact_fingerprint ↔ digest (STO hex plus sha256: prefix). Tags are not used. Prod is env_type Production; all other env_type values are nonProd.' example: nonProd: 10 prod: 8 total: 18 required: - total - prod - nonProd ArtifactDigestFindingsMatrix: type: object properties: columnTotals: $ref: '#/components/schemas/ArtifactSeverityCounts' grandTotal: type: integer description: CHML total across returned rows example: 120 format: int64 minimum: 0 rows: type: array items: $ref: '#/components/schemas/ArtifactDigestMatrixRow' description: Up to 5 unique digest/version labels, newest scanned first example: - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 description: Active findings by severity across unique content digests of a version. At most 5 rows, newest scanned first. Missing fingerprints collapse to one version-name row using the latest no-fingerprint execution only. Unassigned is always 0 (folded into info on execution_summary). example: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 120 rows: - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 required: - rows - columnTotals - grandTotal ArtifactDigestMatrixRow: type: object properties: digest: type: string description: Content digest. Omitted when unavailable; a missing digest is the version-name row. example: sha256:c38108674664dnekvnke maxLength: 256 label: type: string description: 'Unique display key: digest when present, otherwise the version name. At most one row per label.' example: sha256:c38108674664dnekvnke severityCounts: $ref: '#/components/schemas/ArtifactSeverityCounts' total: type: integer description: CHML total (info and unassigned excluded) example: 32 format: int64 minimum: 0 description: Severity counts for one unique content digest's latest succeeded execution, not a historical aggregate. Scans with no fingerprint share a single row whose label is the version name and whose counts come from the latest no-fingerprint execution only. Unassigned is 0; execution_summary folds unassigned into info. example: digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 required: - label - severityCounts - total ArtifactOverviewResult: type: object properties: baselineVariantId: type: string description: Baseline variant id when set example: abcdef1234567890ghijkl pattern: ^([a-zA-Z0-9_-]{22}|)$ deployments: $ref: '#/components/schemas/ArtifactDeploymentCounts' digestFindingsMatrix: $ref: '#/components/schemas/ArtifactDigestFindingsMatrix' digests: type: array items: type: string example: Non eum incidunt. description: All distinct content digests for this version across succeeded scans, newest scanned first. Not capped; digestFindingsMatrix is a separate 5-row widget. example: - sha256:c38108674664dnekvnke - sha256:aa11bb22cc33 executionId: type: string description: CI execution identifier. With pipelineId and the request org/project, FE can construct a Harness execution URL when executionUrl is empty. example: abcdef1234567890ghijkl maxLength: 128 executionSource: type: string description: CI/CD platform of the last execution (harness, jenkins, github_actions, gitlab_ci, ...). Distinct from artifact/repo registry source. Omitted when unknown. example: harness 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. example: https://jenkins.example.com/job/42 maxLength: 1024 hasShiftLeftScan: type: boolean description: True when cached ShiftLeft package counts exist for the scoped execution default: false example: false isBaseline: type: boolean description: Whether the scoped version is the baseline example: true name: type: string description: Artifact name example: harness/payments-api occurrenceSeverityCounts: $ref: '#/components/schemas/ArtifactSeverityCounts' pipelineId: type: string description: Harness pipeline identifier (not the pretty pipelineName). Used with executionId to construct a Harness execution URL when executionUrl is empty. example: Security_Gate maxLength: 128 registryUrl: type: string description: Registry URL for the scoped version's latest execution. Omitted when unknown. example: app.harness.io/ng/module/har/harness/payments-api maxLength: 1024 sbomCount: type: integer description: ShiftLeft/Qwiet package count (oss + container) for the scoped execution. 0 when unavailable. example: 135 format: int64 minimum: 0 scannedAt: type: integer description: Latest execution start time in milliseconds since Unix epoch example: 1751793300000 format: int64 source: type: string description: 'Artifact source for the scoped version''s latest execution. Omitted when unknown. Values are snake_case: docker_hub, harness, aws_ecr, google, azure, github, jfrog_artifactory, docker_v2, local_image, local_archive.' example: harness maxLength: 256 targetId: type: string description: Artifact target id example: abcdef1234567890ghijkl type: type: string description: Target type example: container enum: - container - instance - configuration variantId: type: string description: Scoped version id example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ variantName: type: string description: Version or tag name example: v4.11.3 versionsCount: type: integer description: Number of scanned versions for this artifact example: 3 format: int64 minimum: 0 description: Artifact detail overview for one version (target variant). example: baselineVariantId: abcdef1234567890ghijkl deployments: nonProd: 10 prod: 8 total: 18 digestFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 120 rows: - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 - digest: sha256:c38108674664dnekvnke label: sha256:c38108674664dnekvnke severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 32 digests: - sha256:c38108674664dnekvnke - sha256:aa11bb22cc33 executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hasShiftLeftScan: false isBaseline: true name: harness/payments-api occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate registryUrl: app.harness.io/ng/module/har/harness/payments-api sbomCount: 135 scannedAt: 1751793300000 source: harness targetId: abcdef1234567890ghijkl type: container variantId: xyz987zyx654wvu321tsr9 variantName: v4.11.3 versionsCount: 3 required: - targetId - name - type - versionsCount - isBaseline - digests - occurrenceSeverityCounts - sbomCount - hasShiftLeftScan - digestFindingsMatrix - deployments ArtifactSeverityCounts: type: object properties: critical: type: integer description: Critical count example: 3 format: int64 minimum: 0 high: type: integer description: High count example: 4 format: int64 minimum: 0 info: type: integer description: Info count example: 1 format: int64 minimum: 0 low: type: integer description: Low count example: 2 format: int64 minimum: 0 medium: type: integer description: Medium count example: 5 format: int64 minimum: 0 unassigned: type: integer description: Unassigned count example: 0 format: int64 minimum: 0 description: Counts by severity. example: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 required: - critical - high - medium - low - info - unassigned ArtifactSeverityDeltas: type: object properties: critical: type: integer description: Change in critical count example: -2 format: int64 high: type: integer description: Change in high count example: 1 format: int64 info: type: integer description: Change in info count example: 0 format: int64 low: type: integer description: Change in low count example: -5 format: int64 medium: type: integer description: Change in medium count example: 0 format: int64 unassigned: type: integer description: Change in unassigned count example: 0 format: int64 description: Change in counts by severity since UTC midnight. May be negative. Null when no snapshot exists for today. example: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 required: - critical - high - medium - low - info - unassigned ArtifactSourceBreakdownItem: type: object properties: count: type: integer description: Count example: 7 format: int64 minimum: 0 source: type: string description: Artifact source. Unknown when artifact_source is null or empty. example: harness description: Count of artifacts for one artifact source. example: count: 7 source: harness required: - source - count ArtifactsArtifactFindingsTrendResponseBody: $ref: '#/components/schemas/ExecutionTrendResult' ArtifactsArtifactOverviewResponseBody: $ref: '#/components/schemas/ArtifactOverviewResult' ArtifactsArtifactRemediationTrendResponseBody: $ref: '#/components/schemas/RemediationTrendResult' ArtifactsArtifactsOverviewResponseBody: $ref: '#/components/schemas/ArtifactsOverviewResult' ArtifactsListArtifactDigestsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: type: string example: Mollitia consequuntur sed itaque doloremque. description: 'Distinct effective digests: fingerprints, plus variant/tag name when a succeeded scan has an empty fingerprint' example: - sha256:c3810867466a - v4.11.3 example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - sha256:c3810867466a - v4.11.3 required: - results - pagination ArtifactsListArtifactVariantsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/TargetVariant' example: - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl - created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl required: - results - pagination ArtifactsListArtifactsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/Artifact' example: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isDigest: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: harness/ng-manager occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Cupiditate sed excepturi error veniam debitis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: harness targetVariantId: abcdef1234567890ghijkl type: container url: us-east1-docker.pkg.dev/harness/ng-manager version: v2.4.1 required: - results - pagination ArtifactsOverviewResult: type: object properties: baselineSet: type: integer description: Artifacts with a baseline set example: 22 format: int64 minimum: 0 deployments: $ref: '#/components/schemas/ArtifactDeploymentCounts' exploitRisk: type: integer description: 'Exploit Risk tile: critical-severity slice of fixAvailable. JSON key is exploitRisk (UI label: Exploit Risk).' example: 5 format: int64 minimum: 0 fixAvailable: type: integer description: Sum of scanner-fix-available findings across severities (upgrade/fixed version or scanner remediation steps). Excludes Harness AI remediations. example: 13 format: int64 minimum: 0 issueRemediations: type: integer description: Change in remediated issues since UTC midnight example: 40 format: int64 issueSeverityDeltas: $ref: '#/components/schemas/ArtifactSeverityDeltas' issueSeverityTotals: $ref: '#/components/schemas/ArtifactSeverityCounts' occurrenceRemediations: type: integer description: Change in remediated occurrences since UTC midnight example: 100 format: int64 occurrenceSeverityDeltas: $ref: '#/components/schemas/ArtifactSeverityDeltas' occurrenceSeverityTotals: $ref: '#/components/schemas/ArtifactSeverityCounts' sourceBreakdown: type: array items: $ref: '#/components/schemas/ArtifactSourceBreakdownItem' description: Artifact counts grouped by artifact source. Null/empty artifact_source is grouped as Unknown. example: - count: 7 source: harness - count: 7 source: harness totalArtifacts: type: integer description: Total artifacts example: 12 format: int64 minimum: 0 description: Aggregate widgets for the Artifacts page. example: baselineSet: 22 deployments: nonProd: 10 prod: 8 total: 18 exploitRisk: 5 fixAvailable: 13 issueRemediations: 40 issueSeverityDeltas: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 issueSeverityTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceRemediations: 100 occurrenceSeverityDeltas: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 occurrenceSeverityTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 sourceBreakdown: - count: 7 source: harness - count: 7 source: harness - count: 7 source: harness - count: 7 source: harness totalArtifacts: 12 required: - totalArtifacts - sourceBreakdown - baselineSet - occurrenceSeverityTotals - issueSeverityTotals - fixAvailable - exploitRisk - deployments AugmentRemediationMetadata: type: object properties: warnings: type: array items: $ref: '#/components/schemas/AugmentRemediationWarning' example: - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. example: warnings: - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. required: - warnings AugmentRemediationResult: type: object properties: metadata: $ref: '#/components/schemas/AugmentRemediationMetadata' remediationCode: type: string example: Aut officia fuga ab culpa. remediationSections: $ref: '#/components/schemas/RemediationSections' repoContent: type: string example: Et corrupti aliquam placeat sint. example: metadata: warnings: - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. - message: Corrupti aut reprehenderit voluptatem facilis. source: Et dolor officia iste doloribus voluptas. remediationCode: Non itaque molestiae consequatur. remediationSections: attackScenario: Reprehenderit adipisci aliquid veniam consequatur perferendis. furtherConsiderations: Pariatur autem ratione cum odio. references: Placeat porro. remediationSteps: Animi sequi. rootCauseAnalysis: Deleniti quisquam accusamus. secureCodingPattern: Est atque non. taintPathAnalysis: Voluptate odit perspiciatis delectus impedit perspiciatis. testCases: Ex et deleniti. verificationChecklist: Aspernatur et vel quo. vulnerabilityOverview: Pariatur nisi non iure accusamus exercitationem et. repoContent: Quis dicta incidunt et officia. required: - remediationSections - metadata AugmentRemediationWarning: type: object properties: message: type: string example: Velit et dicta quod. source: type: string example: Voluptatem illum. example: message: Sequi ea eius consequatur fuga vero. source: Perferendis eum consequatur sit. required: - source - message BaselineExecutions: type: object properties: executionIds: type: array items: type: string example: Et totam et recusandae. description: Harness Execution IDs of the most recent baseline scans example: - Vero magnam reiciendis in unde aliquid. - Alias quod laborum incidunt. - Architecto eligendi eum libero. example: executionIds: - Quo officia pariatur voluptates sapiente. - Minus similique dolorem amet. required: - executionIds BatchPersistResultsRequestBody: type: object properties: activeOccurrenceCount: type: integer description: original + new_introduced - remediated example: 7733555080483475552 format: int64 minimum: 0 excludeRepoPatterns: type: array items: type: string example: 6lc maxLength: 256 description: Glob patterns matching target.name on repository targets example: - 4ve - vx4 - h2l excludeUnreachable: type: boolean description: When true, exclude occurrences whose reachability is 'unreachable' (SAST). Missing/unknown reachability stays in scope. default: false example: true issueIds: type: array items: type: string example: u6e maxLength: 256 description: Restrict scope to these issue ids (issue.id). Empty = no restriction. example: - ctf - h0v - sto maxItems: 200 issueTypes: type: array items: type: string example: SAST enum: - SAST - SECRET - SCA description: 'Issue types to scope (v1: SAST, SECRET, SCA). Filters i.type. Empty or omitted matches no occurrences.' example: - SCA - SECRET - SECRET - SAST jiraEnabled: type: boolean description: When true, create a summary ticket after persist (still requires project External Tickets settings). Mirrors agent.jiraEnabled / pipeline setting jira_enabled. Default false when unset (older plugins omit → no ticket). Result is written to remediation_agent_summary.notification_metadata.jira {creationEnabled, ticketId, ticketUrl}. default: false example: false limit: type: integer description: Maximum number of occurrences default: 1000 example: 5065 format: int64 minimum: 1 maximum: 10000 modelName: type: string example: pbf maxLength: 256 newOccurrenceIntroducedCount: type: integer description: New findings introduced by the fix branch that were not in the original scope example: 8807430303122488437 format: int64 minimum: 0 occurrenceRemediatedCount: type: integer description: Occurrences with verdict REMEDIATED example: 6550935248262920567 format: int64 minimum: 0 onlyTruePositive: type: boolean description: 'Legacy: when true and onlyTruePositiveIssueTypes is empty, apply TP filter to all resolved issueTypes. Prefer onlyTruePositiveIssueTypes for per-type Exclude False Positives.' default: false example: true onlyTruePositiveIssueTypes: type: array items: type: string example: SCA enum: - SAST - SECRET - SCA description: Issue types that must have a TRUE_POSITIVE triage verdict to stay in scope. Other scoped types are not TP-filtered. Empty + onlyTruePositive=false → no TP filter. Empty + onlyTruePositive=true (legacy) → all resolved issueTypes. example: - SCA - SCA originalOccurrenceCount: type: integer description: In-scope occurrence count from the pre-plugin (original_occurrence_count) example: 4905121473786583821 format: int64 minimum: 0 originalScanId: type: string description: STO scan id the agent remediated example: scan111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ promptVersion: type: string example: y2u maxLength: 64 pullRequestMetadata: type: string description: 'Run-level PR stamp (PascalCase keys matching types.PullRequestMetadata): Provider, AccountID, OrgID, ProjectID, RepositoryName, Number, Title, SourceBranch, TargetBranch, Url, CommentUrl, BuildId, CommitsCount, ConnectorRef. ConnectorRef (SCM connector that opened the PR) enables live status refresh. BuildId = TRIGGERING_PIPELINE_BUILD_NUMBER (not parsed from SourceBranch). CommitsCount = fix commits on the PR. Copied onto issue_augmentation.pr_metadata for every in-scope occurrence.' example: Qui ut aut molestiae. format: binary severityCodes: type: array items: type: string example: MEDIUM enum: - CRITICAL - HIGH - MEDIUM - LOW - INFO description: 'Subset of severities: CRITICAL, HIGH, MEDIUM, LOW, INFO. Empty means all.' example: - CRITICAL - INFO targetId: type: string description: Target id the agent remediated; supplied by the plugin example: target1111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ targetName: type: string description: Target name the agent remediated; supplied by the plugin example: p96 maxLength: 128 targetVariantName: type: string description: Target variant name the agent remediated; supplied by the plugin example: cql maxLength: 128 userScanActiveCount: type: integer example: 8260561203019177356 format: int64 minimum: 0 validationMetadata: $ref: '#/components/schemas/RemAgentValidationMetadata' workflowExecutionId: type: string description: Opaque ssca-manager workflow execution id example: 9g1 maxLength: 64 workflowType: type: string description: Stored on remediation_agent_summary. Omitted or blank stays REMEDIATION (SAST remediation agent). example: REMEDIATION maxLength: 64 example: activeOccurrenceCount: 6344994969718702756 excludeRepoPatterns: - tsz - 43a - tcn excludeUnreachable: true issueIds: - an1 - 9lg - 3bu issueTypes: - SCA - SECRET jiraEnabled: false limit: 4766 modelName: ukm newOccurrenceIntroducedCount: 4080385984568355397 occurrenceRemediatedCount: 5687703821130505959 onlyTruePositive: true onlyTruePositiveIssueTypes: - SCA - SAST - SCA originalOccurrenceCount: 3321252362036139952 originalScanId: scan111111111111111111 promptVersion: qkw pullRequestMetadata: Delectus est tempore fuga eaque accusamus et. severityCodes: - CRITICAL - LOW - HIGH targetId: target1111111111111111 targetName: jfz targetVariantName: 6iz userScanActiveCount: 6305906286870596027 validationMetadata: build: executionId: xa4 orgId: bft pipelineId: 6vr projectId: fvy status: ruc remediation: executionId: 4nk orgId: sl9 pipelineId: ai3 projectId: l39 scanId: scan222222222222222222 status: duz workflowExecutionId: opd workflowType: REMEDIATION required: - originalScanId BatchPersistResultsResponseBody: type: object properties: summaryId: type: integer description: remediation_agent_summary.internal_id for this run example: 3020306169262792655 format: int64 ticketId: type: string description: External ticket key/id (e.g. Jira STO-34219) when ticket creation succeeds; omit when not created example: STO-34219 maxLength: 128 ticketUrl: type: string description: URL of the summary ticket created for this remediation run, when ticket creation succeeds example: https://jira.example.com/browse/STO-123 format: uri written: type: integer description: Number of per-occurrence augmentation rows written example: 7429639342063808112 format: int64 example: summaryId: 6124284245678993190 ticketId: STO-34219 ticketUrl: https://jira.example.com/browse/STO-123 written: 3847908412462535900 required: - written - summaryId BatchUpsertVerdictsRequestBody: type: object properties: verdicts: type: array items: $ref: '#/components/schemas/FpVerdictPayload' description: Verdicts to upsert. ON CONFLICT (account_id, workflow_type, issue_id, occurrence_internal_id) DO UPDATE — re-runs overwrite previous output. example: - confidence: 0.87 issueId: abcdef1234567890ghijkl modelName: anthropic.claude-3-5-sonnet-20241022 occurrenceInternalId: 67890 promptVersion: v1.3.0 reasoning: The argument to path.join is __dirname, a constant, not user input. targetId: xyz987zyx654wvu321tsr9 verdict: FALSE_POSITIVE workflowExecutionId: wf-exec-2026-05-21-payment-service-247 workflowType: FP_TRIAGE - confidence: 0.87 issueId: abcdef1234567890ghijkl modelName: anthropic.claude-3-5-sonnet-20241022 occurrenceInternalId: 67890 promptVersion: v1.3.0 reasoning: The argument to path.join is __dirname, a constant, not user input. targetId: xyz987zyx654wvu321tsr9 verdict: FALSE_POSITIVE workflowExecutionId: wf-exec-2026-05-21-payment-service-247 workflowType: FP_TRIAGE - confidence: 0.87 issueId: abcdef1234567890ghijkl modelName: anthropic.claude-3-5-sonnet-20241022 occurrenceInternalId: 67890 promptVersion: v1.3.0 reasoning: The argument to path.join is __dirname, a constant, not user input. targetId: xyz987zyx654wvu321tsr9 verdict: FALSE_POSITIVE workflowExecutionId: wf-exec-2026-05-21-payment-service-247 workflowType: FP_TRIAGE minItems: 1 maxItems: 10000 example: verdicts: - confidence: 0.87 issueId: abcdef1234567890ghijkl modelName: anthropic.claude-3-5-sonnet-20241022 occurrenceInternalId: 67890 promptVersion: v1.3.0 reasoning: The argument to path.join is __dirname, a constant, not user input. targetId: xyz987zyx654wvu321tsr9 verdict: FALSE_POSITIVE workflowExecutionId: wf-exec-2026-05-21-payment-service-247 workflowType: FP_TRIAGE - confidence: 0.87 issueId: abcdef1234567890ghijkl modelName: anthropic.claude-3-5-sonnet-20241022 occurrenceInternalId: 67890 promptVersion: v1.3.0 reasoning: The argument to path.join is __dirname, a constant, not user input. targetId: xyz987zyx654wvu321tsr9 verdict: FALSE_POSITIVE workflowExecutionId: wf-exec-2026-05-21-payment-service-247 workflowType: FP_TRIAGE - confidence: 0.87 issueId: abcdef1234567890ghijkl modelName: anthropic.claude-3-5-sonnet-20241022 occurrenceInternalId: 67890 promptVersion: v1.3.0 reasoning: The argument to path.join is __dirname, a constant, not user input. targetId: xyz987zyx654wvu321tsr9 verdict: FALSE_POSITIVE workflowExecutionId: wf-exec-2026-05-21-payment-service-247 workflowType: FP_TRIAGE required: - verdicts BatchUpsertVerdictsResponseBody: type: object properties: written: type: integer description: Number of verdict rows written (inserted or updated). example: 42 format: int64 example: written: 42 required: - written BulkCreateExemptionsRequestBody: type: object properties: exemptFutureOccurrences: type: boolean description: Whether to exempt future occurrences of each issue default: true example: false expiration: type: integer description: Unix timestamp at which these Exemptions will expire example: 1651578240 format: int64 items: type: array items: $ref: '#/components/schemas/BulkExemptionItem' description: List of exemption items to create (max 100) example: - issueId: abcdef1234567890ghijkl occurrences: - 42 - 666 pipelineId: your_pipeline scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 42 - 666 pipelineId: your_pipeline scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 42 - 666 pipelineId: your_pipeline scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl minItems: 1 maxItems: 100 link: type: string description: Link to a related ticket example: https://example.com/ABC-1234 maxLength: 1024 pendingChanges: $ref: '#/components/schemas/PendingChanges' reason: type: string description: Text describing why these Exemptions are necessary example: Waiting on upstream bug fix maxLength: 1024 requesterEmail: type: string description: Email of the user who requested these Exemptions example: user@harness.io requesterName: type: string description: Name of the user who requested these Exemptions example: firstname lastname type: type: string description: Type of Exemption (Compensating Controls / Acceptable Use / Acceptable Risk / False Positive / Fix Unavailable / Other) example: Other enum: - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Other example: exemptFutureOccurrences: false expiration: 1651578240 items: - issueId: abcdef1234567890ghijkl occurrences: - 42 - 666 pipelineId: your_pipeline scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 42 - 666 pipelineId: your_pipeline scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl link: https://example.com/ABC-1234 pendingChanges: durationDays: 7 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterName: firstname lastname type: Other required: - type - reason - pendingChanges - items BulkExemptionItem: type: object properties: issueId: type: string description: Issue ID associated with the Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ occurrences: type: array items: type: integer example: 783299599750677982 format: int64 description: Array of occurrence IDs example: - 42 - 666 pipelineId: type: string description: ID of the Harness Pipeline to which the exemption applies. Cannot be specified alongside "targetId". example: your_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 scanId: type: string description: ID of the Harness Scan to determine all occurrences for the scan-issue. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ search: type: string description: Search parameter to find filtered occurrences of the issue example: CWE-123,5 maxLength: 256 targetId: type: string description: ID of the Target to which the exemption applies. Cannot be specified alongside "pipelineId". example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: issueId: abcdef1234567890ghijkl occurrences: - 42 - 666 pipelineId: your_pipeline scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl required: - issueId BulkExemptionItemResult: type: object properties: error: type: string description: Error message (populated on failure) example: '"targetId" must be specified when "exempt future occurrences" is disabled' id: type: string description: ID of the created exemption (populated on success) example: abcdef1234567890ghijkl issueId: type: string description: Issue ID of the exemption item example: abcdef1234567890ghijkl statusCode: type: integer description: HTTP status code for this item (201 on success, 4xx/5xx on failure) example: 201 format: int64 example: error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 required: - issueId - statusCode BulkExemptionResult: type: object properties: failed: type: integer description: Number of failed exemption creations example: 1 format: int64 results: type: array items: $ref: '#/components/schemas/BulkExemptionItemResult' description: Per-item results in the same order as the request items example: - error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 - error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 - error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 succeeded: type: integer description: Number of successfully created exemptions example: 5 format: int64 example: failed: 1 results: - error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 - error: '"targetId" must be specified when "exempt future occurrences" is disabled' id: abcdef1234567890ghijkl issueId: abcdef1234567890ghijkl statusCode: 201 succeeded: 5 required: - results - succeeded - failed CreateApplicationRequestBody: type: object properties: businessCriticality: type: boolean description: Whether the application is business critical example: true dataSensitivity: type: boolean description: Whether the application contains sensitive data. Omitted means unset. example: true deploymentEnvironment: type: string description: Deployment environment. Omitted means unset. example: Production enum: - Production - Pre-production - Development internetExposure: type: boolean description: Whether the application is internet exposed. Omitted means unset. example: true name: type: string description: Application name. Unique among live applications in the project. example: Payment Platform minLength: 1 maxLength: 128 targetIds: type: array items: type: string example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ description: Scanned target ids in this project. Minimum 1, maximum 100, no duplicates. example: - abcdef1234567890ghijkl - xyz987zyx654wvu321tsr9 minItems: 1 maxItems: 100 example: businessCriticality: true dataSensitivity: true deploymentEnvironment: Production internetExposure: true name: Payment Platform targetIds: - abcdef1234567890ghijkl - xyz987zyx654wvu321tsr9 required: - name - businessCriticality - targetIds CreateExemptionRequestBody: type: object properties: exemptFutureOccurrences: type: boolean description: States if the user wants to exempt future occurrences of the issue default: true example: false expiration: type: integer description: Unix timestamp at which this Exemption will expire example: 1651578240 format: int64 issueId: type: string description: Issue ID associated with the Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ link: type: string description: Link to a related ticket example: https://example.com/ABC-1234 maxLength: 1024 occurrences: type: array items: type: integer example: 1141452963794472759 format: int64 description: Array of occurrence Ids example: - 42 - 666 pendingChanges: $ref: '#/components/schemas/PendingChanges' pipelineId: type: string description: ID of the Harness Pipeline to which the exemption applies. You must also specify "projectId" and "orgId". Cannot be specified alongside "targetId". example: your_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 reason: type: string description: Text describing why this Exemption is necessary example: Waiting on upstream bug fix maxLength: 1024 requesterEmail: type: string description: Email of the user who requested this Exemption example: user@harness.io requesterName: type: string description: Name of the user who requested this Exemption example: firstname lastname scanId: type: string description: ID of the Harness Scan to determine all the occurrences for the scan-issue. You must also specify "projectId", "orgId" and "targetId". Cannot be specified alongside "pipelineId". example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ search: type: string description: Search parameter to find filtered occurrences of the issue example: CWE-123,5 maxLength: 256 targetId: type: string description: ID of the Target to which the exemption applies. Cannot be specified alongside "projectId" or "pipelineId". example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: type: string description: Type of Exemption (Compensating Controls / Acceptable Use / Acceptable Risk / False Positive / Fix Unavailable / Other) example: Other enum: - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Other example: exemptFutureOccurrences: false expiration: 1651578240 issueId: abcdef1234567890ghijkl link: https://example.com/ABC-1234 occurrences: - 42 - 666 pendingChanges: durationDays: 7 pipelineId: your_pipeline reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterName: firstname lastname scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl type: Other required: - type - reason - pendingChanges - issueId - status - requesterId - id - created - lastModified CreateExemptionRuleRequestBody: type: object properties: actions: type: object description: 'Actions to apply when the rule matches. Today: duration only. Action handlers are pluggable; see the design doc for the planned set.' example: duration: maxDurationDays: 3 additionalProperties: true conditions: type: object description: Matcher conditions. Keys are attribute names that appear in the issue context (severity_code, type, reachability, exploitability, epss, plus anything in issue.details). Missing keys are wildcards. Each value is either an array (OR-list), an object describing a numeric range, or a scalar (equality). example: epss_score: gte: 90 reachable: true severity_code: - Critical additionalProperties: true description: type: string description: Free-form rule description. example: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. maxLength: 1024 enabled: type: boolean description: 'Whether the rule is active. Disabled rules are retained and still listed, but are skipped during evaluation. OPTIONAL: defaults to true on create; on update, omit to keep the current state or send false/true to toggle.' example: true name: type: string description: Human-readable rule name. Must be unique within an account. example: 'Critical reachable issues: 3 days max' minLength: 1 maxLength: 256 priority: type: integer description: '0-based rank within an account. Lower fires first (first-match-wins). OPTIONAL on both create and update: if omitted on CREATE the new rule is appended at the bottom (rank = current rule count); if omitted on UPDATE the rule keeps its current rank. When supplied, send 0 to insert at the top, 1..n to insert at that rank, or any value >= rule count to land at the tail.' example: 0 format: int64 minimum: 0 userId: type: string description: Harness User ID example: abcdef1234567890ghijkl example: actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true name: 'Critical reachable issues: 3 days max' priority: 0 userId: abcdef1234567890ghijkl required: - userId - name - conditions - actions CreateIssueRequestBody: type: object properties: details: type: object description: Issue details common to all occurrences example: package: json-schema version: v0.2.3 additionalProperties: true epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ key: type: string description: Compression/deduplication key example: json-schema@0.2.3 maxLength: 512 keyPattern: type: array items: type: string example: Consequatur quas quos voluptatibus possimus. description: The pattern of fields used to generate this Security Issue's Key example: - library_name - library_version numOccurrences: type: integer description: Indicates the number of Occurrences on the Issue example: 10 format: int32 occurrences: type: array items: type: object example: Dolorum ipsum.: Modi animi. Fugit et incidunt qui nihil.: Consequatur earum iure ut. Illum consequatur ut voluptatum.: Eum ut animi hic et numquam. additionalProperties: true description: Array of details unique to each occurrence example: - line: "42" - line: "666" productId: type: string description: The scan tool that identified this Security Issue example: product1234567890abcde pattern: ^[a-zA-Z0-9_-]{22}$ scanId: type: string description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ severity: type: number description: Numeric severity, from 0 (lowest) to 10 (highest) example: 8.5 format: float severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned subproduct: type: string description: The subproduct that identified this Security Issue example: product targetVariantName: type: string description: Name of the associated Target and Variant example: nodegoat:master pattern: ^[a-zA-Z0-9_-]{22}$ title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 type: type: string description: The type of vulnerability or quality issue for this Issue example: SAST enum: - SAST - DAST - SCA - IAC - SECRET - MISCONFIG - BUG_SMELLS - CODE_SMELLS - CODE_COVERAGE - EXTERNAL_POLICY example: details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl key: json-schema@0.2.3 keyPattern: - library_name - library_version numOccurrences: 10 occurrences: - line: "42" - line: "666" productId: product1234567890abcde scanId: abcdef1234567890ghijkl severity: 8.5 severityCode: High subproduct: product targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST required: - title - key - severity - severityCode - productId - details - scanId - keyPattern - id - created CreateOverrideRequestBody: type: object properties: issueId: type: string description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ link: type: string description: Link to a related ticket example: https://example.com/ABC-1234 maxLength: 1024 occurrences: type: array items: type: integer example: 1372507252521022653 format: int64 description: Array of occurrence Ids example: - 42 - 666 overrideFieldName: type: string description: Name of the field that is being overridden example: severity maxLength: 1024 overrideFieldValue: type: string description: Value of the field that is being overridden example: Low maxLength: 1024 overrideFutureOccurrences: type: boolean description: States if the user wants to override future occurrences of the issue default: true example: false pipelineId: type: string description: Harness Pipeline ID example: example_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 reason: type: string description: Text describing why this override is necessary example: Waiting on upstream bug fix maxLength: 1024 requesterId: type: string description: User ID of the user who requested this Exemption example: user111111111111111111 scanId: type: string description: ID of the Harness Scan to determine all the occurrences for the scan-issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ search: type: string description: Search parameter to find filtered occurrences of the issue example: CWE-123,5 maxLength: 256 targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: issueId: abcdef1234567890ghijkl link: https://example.com/ABC-1234 occurrences: - 42 - 666 overrideFieldName: severity overrideFieldValue: Low overrideFutureOccurrences: false pipelineId: example_pipeline reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl search: CWE-123,5 targetId: abcdef1234567890ghijkl required: - issueId - reason - requesterId - overrideFieldName - overrideFieldValue - status CreatePullRequestRequestBody: type: object properties: branch: type: string example: develop description: type: string example: A description of the Pull Request. id: type: string description: The ID of the Security Issue to create a Pull Request for example: 1234567890abcdefghijkl pattern: ^[a-zA-Z0-9_-]{22}$ occurrenceId: type: integer example: 12345 format: int64 minimum: 1 pipelineUrl: type: string example: https://app.harness.io/path/to/pipeline remediationCode: type: string example: |- func example() int { return 0 } remediationCodeEnd: type: integer example: 16 format: int64 remediationCodePath: type: string example: path/to/code remediationCodeStart: type: integer example: 14 format: int64 remediationContext: type: string example: Context to the function. remediationIndent: type: integer example: 9 format: int64 scanId: type: string description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ vulnerableCode: type: string example: |- func example() int { return 0 } example: branch: develop description: A description of the Pull Request. id: 1234567890abcdefghijkl occurrenceId: 12345 pipelineUrl: https://app.harness.io/path/to/pipeline remediationCode: |- func example() int { return 0 } remediationCodeEnd: 16 remediationCodePath: path/to/code remediationCodeStart: 14 remediationContext: Context to the function. remediationIndent: 9 scanId: abcdef1234567890ghijkl vulnerableCode: |- func example() int { return 0 } required: - pipelineUrl - id - occurrenceId - scanId - vulnerableCode - remediationCode - remediationCodePath - remediationCodeStart - remediationCodeEnd - remediationContext - description - branch CreateScanRequestBody: type: object properties: codeCoverage: type: number description: The Code Coverage value for the Scan example: 65.5 format: float executionId: type: string description: Pipeline Execution ID associated with the Scan example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ gitMetadata: $ref: '#/components/schemas/GitMetadata' orgId: type: string description: Harness Organization ID example: your_harness_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 pipelineId: type: string description: Harness Organization ID example: your_harness_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 productId: type: string description: The Scan Product used for the Scan example: product111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ productName: type: string description: The machine name of the Scan Product (scanner), e.g. snyk. Optional; populated by endpoints that join the product table. example: snyk productPrettyName: type: string description: The human-readable display name of the Scan Product (scanner), e.g. Snyk. Optional; populated by endpoints that join the product table. example: Snyk projectId: type: string description: Harness Project ID example: your_harness_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 refinementVersion: type: string description: The Issue refinement version used for this Scan example: 1.0.5 scannerDiffKey: type: string description: Key used to differentiate scanner configurations for scan comparison (e.g. sast, sca, sast_sca) example: sast stageId: type: string description: Pipeline Stage ID associated with the Scan example: stage_id pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 status: type: string description: Current status of the Scan example: Succeeded enum: - Pending - Running - Succeeded - Failed stepId: type: string description: Pipeline Step ID associated with the Scan example: step_id pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 subproduct: type: string description: The Scan Subproduct used for the Scan example: owasp format: binary targetVariantId: type: string description: The Target Variant associated with the Scan example: variant111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ example: codeCoverage: 65.5 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Recusandae rem autem optio est. detectedVariant: Mollitia recusandae incidunt necessitatibus rerum odit. droneCorrelated: false provider: Error deleniti sint rem doloribus. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Dolor sunt blanditiis. - Quibusdam inventore voluptatem. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 required: - targetVariantId - orgId - projectId - pipelineId - executionId - stageId - stepId - productId - status - refinementVersion - id - created - lastModified CreateTargetRequestBody: type: object properties: baselineRegEx: type: string description: RegEx to match for dynamically selecting the Baseline for this Scan Target. Must be compatible with the RE2 standard. example: release_.* maxLength: 128 baselineVariantId: type: string description: ID of baseline Target Variant for Issue comparison example: abcdef1234567890ghijkl pattern: ^([a-zA-Z0-9_-]{22}|)$ directory: type: string description: Directory within the Test Target to be scanned example: app/src maxLength: 1024 name: type: string description: Name of the Test Target example: NodeGoat pattern: ^[a-zA-Z0-9_.:/|()-]+$ maxLength: 128 type: type: string description: Test Target's type example: repository enum: - container - repository - instance - configuration url: type: string description: URL used to access the Test Target example: https://github.com/example/repo maxLength: 1024 example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl directory: app/src name: NodeGoat type: repository url: https://github.com/example/repo required: - id - created - lastModified - name - type CreateTargetVariantRequestBody: type: object properties: hash: type: string description: Git Commit or Container Image hash example: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef maxLength: 64 parameters: type: object description: Parameters for this Variant, as a JSON-encoded string example: branch: main additionalProperties: type: string example: Dolores tenetur veritatis unde consequatur. example: hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef parameters: branch: main required: - parameters - id - created - lastModified CreateTicketForIssueRequestBody: type: object properties: customFields: type: object description: Custom fields to add to this External Ticket example: customfield_1: id: "12345" customfield_2: - value: value1 - value: value2 additionalProperties: true harnessStoUrl: type: string description: Pre-built Harness STO UI URL for Jira description example: https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/pipelines/pipeline1/executions/exec1/security?storeType=INLINE&issue=issueId identifiers: type: object description: Identifier(s) to associate with this ticket, in "key":"value" and/or "key":ArrayOf("values"...) form example: idName: - value1 - value2 - value3 additionalProperties: true issueId: type: string description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ issueType: type: string description: Jira issue type example: Bug notes: type: string description: Optional notes to append to ticket description example: Investigate in next sprint projectKey: type: string description: Jira project key example: ABC scanId: type: string description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ title: type: string description: Optional title override for this ticket example: CVE-2024-1234 in backend-api example: customFields: customfield_1: id: "12345" customfield_2: - value: value1 - value: value2 harnessStoUrl: https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/pipelines/pipeline1/executions/exec1/security?storeType=INLINE&issue=issueId identifiers: idName: - value1 - value2 - value3 issueId: abcdef1234567890ghijkl issueType: Bug notes: Investigate in next sprint projectKey: ABC scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl title: CVE-2024-1234 in backend-api required: - issueId - projectKey - issueType CreateTicketForIssueResult: type: object properties: externalId: type: string description: External ticket key from provider example: ABC-1234 id: type: string description: Stored ticket identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ url: type: string description: External ticket URL example: https://example.atlassian.net/browse/ABC-1234 example: externalId: ABC-1234 id: abcdef1234567890ghijkl url: https://example.atlassian.net/browse/ABC-1234 required: - id CreateTicketForOccurrenceRequestBody: type: object properties: customFields: type: object description: Custom fields to add to this External Ticket example: customfield_1: id: "12345" customfield_2: - value: value1 - value: value2 additionalProperties: true issueId: type: string description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ issueType: type: string description: Jira issue type example: Bug notes: type: string description: Optional notes to append to ticket description example: Investigate in next sprint occurrenceDeeplinkUrl: type: string description: Pre-built Harness STO UI URL for this occurrence; omitted from description when empty example: https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/issues?issue=issueId&occurrence=12345 occurrenceInternalId: type: integer description: Internal ID of the occurrence (occurrence.internal_id); also used as the ticket 'occurrence' identifier value example: 12345 format: int64 projectKey: type: string description: Jira project key example: ABC targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ title: type: string description: Optional title override for this ticket example: CVE-2024-1234 in backend-api example: customFields: customfield_1: id: "12345" customfield_2: - value: value1 - value: value2 issueId: abcdef1234567890ghijkl issueType: Bug notes: Investigate in next sprint occurrenceDeeplinkUrl: https://app.harness.io/ng/account/abc/sto/orgs/default/projects/STO/issues?issue=issueId&occurrence=12345 occurrenceInternalId: 12345 projectKey: ABC targetId: abcdef1234567890ghijkl title: CVE-2024-1234 in backend-api required: - issueId - targetId - occurrenceInternalId - projectKey - issueType DailyIssueTrend: type: object properties: active: type: integer description: Count of active issues on this day example: 10 format: int64 day: type: integer description: Unix timestamp for the day (midnight UTC) example: 1710720000 format: int64 remediated: type: integer description: Count of remediated issues on this day example: 5 format: int64 description: Issue counts for a specific day grouped by status example: active: 10 day: 1710720000 remediated: 5 required: - day - active - remediated DeleteOverrideRequestBody: type: object properties: overrideFieldName: type: string description: The name of the field that is being overridden example: severity maxLength: 1024 example: overrideFieldName: severity required: - overrideFieldName - issueId - reason - requesterId - overrideFieldValue - status DiffOccurrencesResponseBody: type: object properties: existingCount: type: integer example: 3327928722495727498 format: int64 existingOccurrences: type: array items: $ref: '#/components/schemas/RemAgentOccurrenceRef' description: Validation-scan occurrences whose fingerprint was also in the original scan's in-scope set example: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH matchedCount: type: integer description: existingCount + newCount example: 9137475037395276186 format: int64 newCount: type: integer example: 1353274337441107449 format: int64 newOccurrences: type: array items: $ref: '#/components/schemas/RemAgentOccurrenceRef' description: Validation-scan occurrences introduced after the original scan (not in original in-scope or ignored) example: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH validationScanId: type: string example: scan222222222222222222 pattern: ^[a-zA-Z0-9_-]{22}$ example: existingCount: 1647152905342269154 existingOccurrences: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH matchedCount: 3857032298469204385 newCount: 8590943941994411917 newOccurrences: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH validationScanId: scan222222222222222222 required: - validationScanId - existingOccurrences - newOccurrences - existingCount - newCount - matchedCount ExecutionArtifactSummaryRequestBody: type: object properties: artifactFingerprints: type: array items: type: string example: sb2 maxLength: 64 description: Artifact fingerprints for lookup example: - lu6 - 94b - s9t maxItems: 100 targetVariants: type: array items: $ref: '#/components/schemas/TargetAndVariantNameRequired' description: Target-variant pairs for lookup example: - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. maxItems: 100 example: artifactFingerprints: - f0c - akp - 74n targetVariants: - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. - targetName: Facere maxime eum omnis dolorem non. targetType: repository targetVariantName: Repellat itaque porro voluptatibus blanditiis dolore. ExecutionIssueCountsRequestBody: type: object properties: targetVariants: type: array items: $ref: '#/components/schemas/TargetAndVariantName' description: Target-variant pairs for lookup example: - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. maxItems: 100 example: targetVariants: - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. - targetName: Adipisci voluptas amet sunt cum non nisi. targetType: repository targetVariantName: Qui perspiciatis accusantium. ExecutionTrendPoint: type: object properties: executionId: type: string description: Harness execution ID example: abcdef1234567890ghijkl executionSource: type: string description: Source/trigger of the execution example: PIPELINE executionStartedAt: type: integer description: Unix timestamp when the execution started example: 1710720000 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. example: https://jenkins.example.com/job/42 issueTypes: type: object description: Occurrence counts grouped by issue type (e.g. SAST, SCA, SECRET) example: SAST: 10 SCA: 5 additionalProperties: type: integer example: 3805371392208075080 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. example: Security_Gate maxLength: 128 severities: type: object description: Occurrence counts grouped by severity (critical, high, medium, low, info) example: critical: 1 high: 2 info: 5 low: 4 medium: 3 additionalProperties: type: integer example: 4469457197625822263 format: int64 description: Occurrence severity counts and metadata for a single execution example: executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 required: - executionId - executionStartedAt - severities - issueTypes ExecutionTrendResult: type: object properties: availableIssueTypes: type: array items: type: string example: Voluptatem nihil officiis sit aut. description: Distinct issue types present in the selected time range, before applying the issueTypes filter example: - SAST - SCA trend: type: array items: $ref: '#/components/schemas/ExecutionTrendPoint' description: Per-execution occurrence severity counts, ordered oldest to newest example: - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 example: availableIssueTypes: - SAST - SCA trend: - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 - executionId: abcdef1234567890ghijkl executionSource: PIPELINE executionStartedAt: 1710720000 executionUrl: https://jenkins.example.com/job/42 issueTypes: SAST: 10 SCA: 5 pipelineId: Security_Gate severities: critical: 1 high: 2 info: 5 low: 4 medium: 3 required: - trend - availableIssueTypes Exemption: type: object properties: approverEmail: type: string description: Email of the user who approved this Exemption example: user@harness.io approverId: type: string description: User ID the user who approved or rejected this exemptions example: user111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ approverName: type: string description: Name of the user who approved this Exemption example: firstname lastname canApproveFor: type: array items: type: string example: ORG enum: - ACCOUNT - ORG - PROJECT - PIPELINE - TARGET description: Consists of RBAC scopes for an user associated with this Exemption example: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: type: boolean description: States if the user can cancel the exemption default: false example: true canCreate: type: boolean description: States whether the user can create or reopen the exemption default: false example: true canReApprove: type: boolean description: States if the user can re-approve the exemption for the exemption's scope default: false example: true canReject: type: boolean description: States whether the user can reject the exemption default: false example: true comment: type: string description: The additional comment to include with the exemption example: This exemption was reviewed by the security team. created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 exemptionStatusAtScan: type: string description: Exemption's status at the Security Scan created time example: Pending enum: - Pending - Approved - Rejected - Expired expiration: type: integer description: Unix timestamp at which this Exemption will expire example: 1651578240 format: int64 id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ isDeleted: type: boolean description: States if the exemption is deleted default: false example: true issueId: type: string description: Issue ID associated with the Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 link: type: string description: Link to a related ticket example: https://example.com/ABC-1234 maxLength: 1024 numOccurrences: type: integer description: States how may occurrences are associated with the exemption, if not an issue level exemption default: 0 example: 10 format: int64 occurrences: type: array items: type: integer example: 3373876077595346320 format: int64 description: Array of occurrence Ids example: - 42 - 666 orgId: type: string description: ID of the Harness Organization to which the exemption applies. Cannot be specified alongside "targetId". example: your_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 orgName: type: string description: Name of the organization associated with the exemption example: Organization Name pendingChanges: $ref: '#/components/schemas/PendingChanges' pipelineId: type: string description: ID of the Harness Pipeline to which the exemption applies. You must also specify "projectId" and "orgId". Cannot be specified alongside "targetId". example: your_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 projectId: type: string description: ID of the Harness Project to which the exemption applies. You must also specify "orgId". Cannot be specified alongside "targetId". example: your_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 projectName: type: string description: Name of the project associated with the exemption example: Project Name reason: type: string description: Text describing why this Exemption is necessary example: Waiting on upstream bug fix maxLength: 1024 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. example: 1651578240 format: int64 requesterEmail: type: string description: Email of the user who requested this Exemption example: user@harness.io requesterId: type: string description: User ID of the user who requested this Exemption example: user111111111111111111 requesterName: type: string description: Name of the user who requested this Exemption example: firstname lastname reviewedOn: type: integer description: Unix timestamp when this exemption was reviewed (approved or rejected). Populated only for approved and rejected exemptions. example: 1651578240 format: int64 scanId: type: string description: ID of the Harness Scan to determine all the occurrences for the scan-issue. You must also specify "projectId", "orgId" and "targetId". Cannot be specified alongside "pipelineId". example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ scope: type: string description: States the scope for the exemption example: PROJECT enum: - ACCOUNT - ORG - PROJECT - PIPELINE - TARGET search: type: string description: Search parameter to find filtered occurrences of the issue example: CWE-123,5 maxLength: 256 status: type: string description: Approval status of Exemption default: Pending example: Rejected enum: - Pending - Approved - Rejected - Expired - Canceled targetId: type: string description: ID of the Target to which the exemption applies. Cannot be specified alongside "projectId" or "pipelineId". example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: type: string description: Type of Exemption (Compensating Controls / Acceptable Use / Acceptable Risk / False Positive / Fix Unavailable / Other) example: Other enum: - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Other description: Information about an Exemption example: approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Expired targetId: abcdef1234567890ghijkl type: Other required: - type - reason - pendingChanges - issueId - status - requesterId - id - created - lastModified ExemptionConstraints: type: object properties: matchedRuleId: type: string description: ID of the rule that fired. Empty string if no rule matched (request is unconstrained by policy). example: rule11111111111111111a maxDurationDays: type: integer description: Maximum duration in days that this exemption may run. Null means no cap and indefinite ("All Time") is allowed; a non-null value forbids "All Time". example: 7 format: int64 minimum: 1 description: Constraints that apply to an exemption request for a specific issue, computed by evaluating account-level exemption rules against the issue's attributes. example: matchedRuleId: rule11111111111111111a maxDurationDays: 7 required: - matchedRuleId ExemptionFilterScanner: type: object properties: scannerId: type: string description: Scanner ID example: snyk scannerName: type: string description: Scanner display name example: Snyk description: Scanner for filtering example: scannerId: snyk scannerName: Snyk required: - scannerId - scannerName ExemptionFilterTarget: type: object properties: targetId: type: string description: Target ID example: target1111111111111111 targetName: type: string description: Target name example: my-repo targetType: type: string description: Target type example: repository description: Target for filtering example: targetId: target1111111111111111 targetName: my-repo targetType: repository required: - targetId - targetName - targetType ExemptionFilterUser: type: object properties: email: type: string description: User email example: john.doe@example.com name: type: string description: User name example: John Doe userId: type: string description: User ID example: user1111111111111111 description: User for filtering example: email: john.doe@example.com name: John Doe userId: user1111111111111111 required: - userId ExemptionHistoryEvent: type: object properties: comment: type: string description: eh.comment when present example: 1cr maxLength: 1024 commenterEmail: type: string description: Email of the commenter example: priya.nair@harness.io commenterId: type: string description: User ID; absent for auto-expiry example: user111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ commenterName: type: string description: Display name of the commenter example: Priya Nair created: type: integer description: Unix timestamp (seconds) example: 1781391060 format: int64 durationDays: type: integer description: COALESCE(eh.state.duration_days, pending_changes fallback) example: 2664621743354911758 format: int64 exemptedOccurrenceCount: type: integer description: Count of occurrences covered (issue-level fingerprint or scan-scoped) example: 6629599008664716364 format: int64 exemptionId: type: string description: Parent exemption.id example: exmp111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ expiration: type: integer description: Unix timestamp from eh.state.expiration when present example: 7196622453801912571 format: int64 id: type: string description: exemption_history.id example: hist111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ isAutoExpiry: type: boolean description: True when status=Expired and commenter_id IS NULL default: false example: false isOccurrenceLevel: type: boolean description: True when exemption has exemption_occurrence rows at event time example: false orgId: type: string example: Nostrum ut. orgName: type: string description: Display name for orgId, resolved via ng-manager example: Default pipelineId: type: string description: From eh.state.pipeline_id when scope=PIPELINE example: Neque magni. pipelineName: type: string description: Display name for pipelineId, resolved via pipeline service example: STO Core CI projectId: type: string example: Vitae ducimus vero. projectName: type: string description: Display name for projectId, resolved via ng-manager example: STO Core reasonType: type: string description: From eh.state.type (Compensating Controls, False Positive, etc.) example: Compensating Controls scope: type: string example: ACCOUNT enum: - ACCOUNT - ORG - PROJECT - PIPELINE - TARGET status: type: string example: Canceled enum: - Pending - Approved - Rejected - Expired - Canceled targetId: type: string description: From eh.state.target_id when scope=TARGET example: Nihil voluptatem molestias. targetName: type: string description: Display name for targetId example: sto-core description: Single exemption history row with per-event scope snapshot example: comment: pwm commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 4839660857841157169 exemptedOccurrenceCount: 7047831654987805083 exemptionId: exmp111111111111111111 expiration: 3175020444584456885 id: hist111111111111111111 isAutoExpiry: true isOccurrenceLevel: true orgId: Aperiam voluptatibus qui aut non totam assumenda. orgName: Default pipelineId: Iusto voluptatem exercitationem. pipelineName: STO Core CI projectId: Reprehenderit illum cum rerum voluptas. projectName: STO Core reasonType: Compensating Controls scope: PIPELINE status: Approved targetId: At dolorem veniam occaecati est. targetName: sto-core required: - id - exemptionId - status - created - scope - isAutoExpiry ExemptionImpactedTargetsResult: type: object properties: baselineTargetsExist: type: boolean description: Indicates if the targets have a baseline set, If no show no baseline card example: true impactedTargets: type: array items: $ref: '#/components/schemas/FrontendExemptionTargets' description: Impacted target details example: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository pagination: $ref: '#/components/schemas/Pagination' description: List of targets for an exemption example: baselineTargetsExist: true impactedTargets: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - impactedTargets - pagination - baselineTargetsExist ExemptionRecentActivity: type: object properties: actorName: type: string description: Display name of commenter. Omitted for auto-expiry. example: Priya Nair created: type: integer description: Unix timestamp (seconds) example: 1781391060 format: int64 id: type: string description: exemption_history.id — pass to Exemption Log drawer as selectedEventId example: hist111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ isAutoExpiry: type: boolean description: True when status=Expired and commenter_id IS NULL default: false example: false status: type: string example: Canceled enum: - Pending - Approved - Rejected - Expired - Canceled description: Compact exemption history preview for issue detail panels example: actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Canceled required: - id - status - created - isAutoExpiry ExemptionRule: type: object properties: actions: type: object description: 'Actions to apply when the rule matches. Today: duration only. Action handlers are pluggable; see the design doc for the planned set.' example: duration: maxDurationDays: 3 additionalProperties: true conditions: type: object description: Matcher conditions. Keys are attribute names that appear in the issue context (severity_code, type, reachability, exploitability, epss, plus anything in issue.details). Missing keys are wildcards. Each value is either an array (OR-list), an object describing a numeric range, or a scalar (equality). example: epss_score: gte: 90 reachable: true severity_code: - Critical additionalProperties: true created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 createdBy: type: string description: ID of the user who created the rule. example: user111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ description: type: string description: Free-form rule description. example: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. maxLength: 1024 enabled: type: boolean description: 'Whether the rule is active. Disabled rules are retained and still listed, but are skipped during evaluation. OPTIONAL: defaults to true on create; on update, omit to keep the current state or send false/true to toggle.' example: true id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 lastModifiedBy: type: string description: ID of the user who last modified the rule. example: user111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ name: type: string description: Human-readable rule name. Must be unique within an account. example: 'Critical reachable issues: 3 days max' minLength: 1 maxLength: 256 priority: type: integer description: '0-based rank within an account. Lower fires first (first-match-wins). OPTIONAL on both create and update: if omitted on CREATE the new rule is appended at the bottom (rank = current rule count); if omitted on UPDATE the rule keeps its current rank. When supplied, send 0 to insert at the top, 1..n to insert at that rank, or any value >= rule count to land at the tail.' example: 0 format: int64 minimum: 0 description: An admin-defined rule that gates Exemption creation and approval. Rules are evaluated against an exemption request; if a rule matches, its actions fire — typically capping the requested duration. example: actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 required: - id - name - conditions - actions - priority - enabled - createdBy - lastModifiedBy - created - lastModified ExemptionRulesCreateExemptionRuleResponseBody: $ref: '#/components/schemas/IDResult' ExemptionRulesGetExemptionConstraintsResponseBody: $ref: '#/components/schemas/ExemptionConstraints' ExemptionRulesListExemptionRulesResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/ExemptionRule' example: - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 - actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical created: 1651578240 createdBy: user111111111111111111 description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true id: abcdef1234567890ghijkl lastModified: 1651578240 lastModifiedBy: user111111111111111111 name: 'Critical reachable issues: 3 days max' priority: 0 required: - results - pagination ExemptionsBulkCreateExemptionsResponseBody: $ref: '#/components/schemas/BulkExemptionResult' ExemptionsFiltersRequestBody: type: object properties: orgProjectFilter: type: array items: type: string description: Organization:project pair example: org1:project1 pattern: ^[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$ description: List of organization:project pairs example: - org1:project1 - org1:project2 example: orgProjectFilter: - org1:project1 - org1:project2 ExemptionsFiltersResult: type: object properties: pipelines: type: array items: type: string example: Nihil beatae enim. description: List of pipeline IDs with exemptions example: - Non provident est rerum magni. - Error vitae numquam soluta dolorem. - Labore explicabo est sed vero fugiat. reasons: type: array items: type: string example: Officiis nobis nihil repudiandae quis necessitatibus. description: List of exemption reasons example: - Ex consectetur perferendis aspernatur. - Esse dolores unde ea maxime. scanners: type: array items: $ref: '#/components/schemas/ExemptionFilterScanner' description: List of scanners with exemptions example: - scannerId: snyk scannerName: Snyk - scannerId: snyk scannerName: Snyk - scannerId: snyk scannerName: Snyk - scannerId: snyk scannerName: Snyk targets: type: array items: $ref: '#/components/schemas/ExemptionFilterTarget' description: List of targets with exemptions example: - targetId: target1111111111111111 targetName: my-repo targetType: repository - targetId: target1111111111111111 targetName: my-repo targetType: repository - targetId: target1111111111111111 targetName: my-repo targetType: repository - targetId: target1111111111111111 targetName: my-repo targetType: repository users: type: array items: $ref: '#/components/schemas/ExemptionFilterUser' description: List of all users in the account/scope example: - email: john.doe@example.com name: John Doe userId: user1111111111111111 - email: john.doe@example.com name: John Doe userId: user1111111111111111 - email: john.doe@example.com name: John Doe userId: user1111111111111111 description: Available filters for exemptions example: pipelines: - Consequatur quas in et. - Delectus et. - Et iure consequatur. reasons: - Est aut quasi sit sint. - Enim recusandae molestias. - Possimus esse omnis illo iste eos maiores. scanners: - scannerId: snyk scannerName: Snyk - scannerId: snyk scannerName: Snyk - scannerId: snyk scannerName: Snyk - scannerId: snyk scannerName: Snyk targets: - targetId: target1111111111111111 targetName: my-repo targetType: repository - targetId: target1111111111111111 targetName: my-repo targetType: repository - targetId: target1111111111111111 targetName: my-repo targetType: repository users: - email: john.doe@example.com name: John Doe userId: user1111111111111111 - email: john.doe@example.com name: John Doe userId: user1111111111111111 - email: john.doe@example.com name: John Doe userId: user1111111111111111 - email: john.doe@example.com name: John Doe userId: user1111111111111111 required: - targets - pipelines - scanners - users - reasons ExemptionsListExemptionsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/Exemption' example: - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true comment: This exemption was reviewed by the security team. created: 1651578240 exemptionStatusAtScan: Pending expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 numOccurrences: 10 occurrences: - 42 - 666 orgId: your_project orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: your_pipeline projectId: your_project projectName: Project Name reason: Waiting on upstream bug fix requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Canceled targetId: abcdef1234567890ghijkl type: Other required: - results - pagination ExemptionsListIssueExemptionHistoryResponseBody: $ref: '#/components/schemas/IssueExemptionHistoryResult' ExportIssueExemptionHistoryResponseBody: type: object properties: data: type: array items: type: array items: type: string example: Sunt explicabo. example: - Ut laudantium. - Quia blanditiis. - Nisi nesciunt dolorem unde. - In id ut. description: CSV data rows example: - - Id sed ut consequatur sequi ipsum. - Et temporibus. - - Aut necessitatibus voluptate minus. - Nam placeat accusantium. filename: type: string description: Suggested filename for download example: Totam omnis. headers: type: array items: type: string example: Id unde architecto nobis incidunt. description: CSV column headers example: - Explicabo consequatur numquam commodi. - Voluptates incidunt in velit illo aut laboriosam. - Dolorum dolores optio delectus tenetur labore occaecati. - Omnis impedit sunt. issueId: type: string description: Issue ID for this export example: Eaque qui eaque. totalRows: type: integer description: Total number of data rows example: 9133896228551027794 format: int64 example: data: - - Quam est asperiores ipsam impedit perferendis ipsa. - Sed aliquam et repudiandae. - - Voluptatem architecto voluptatibus. - Eos dolore. - - Quasi repudiandae culpa totam eos debitis. - Eos magnam inventore atque rerum. - Odit et modi omnis perspiciatis sint aspernatur. - Placeat tenetur architecto dolorem nisi fugiat. filename: Optio nemo et impedit ut perspiciatis ratione. headers: - Eligendi commodi ab. - Quo vitae illum ut qui qui voluptatem. - Tenetur quia quo cupiditate veniam. issueId: Voluptas eaque cumque. totalRows: 6701181403656060482 required: - headers - data - filename - totalRows - issueId ExportPipelineSecurityIssuesCSVResponseBody: type: object properties: data: type: array items: type: array items: type: string example: Ab saepe. example: - Qui eum voluptas. - Ipsam eos illum nihil et impedit. - Dignissimos dignissimos veniam. description: CSV data rows example: - - Tempore dicta ut velit perferendis non placeat. - Vel quasi. - - Excepturi sed laborum corrupti fugiat. - Placeat et dolore. - Sunt quo voluptates ut non dolor. - Architecto cumque. - - Id velit quam sit. - Rerum porro. - Consequatur nobis consequuntur dolorum qui qui. - Qui assumenda dicta rerum alias necessitatibus illum. executionId: type: string description: Execution ID for this export example: In voluptate et consequatur placeat dolores aut. filename: type: string description: Suggested filename for download example: Porro quas impedit dolorem recusandae ex fugiat. headers: type: array items: type: string example: Accusantium facilis inventore est ab architecto. description: CSV column headers example: - Debitis omnis possimus enim quia. - Facilis nobis sed nisi. - Omnis sed. totalRows: type: integer description: Total number of data rows example: 6585795368201166261 format: int64 example: data: - - Dolore ipsum animi. - Architecto non voluptas. - - Rerum unde. - Iusto nesciunt. - - Exercitationem laborum aspernatur ut. - Vel qui sint voluptatem sit commodi exercitationem. executionId: Enim est cumque. filename: Vitae et in blanditiis omnis. headers: - Quo sequi. - Labore voluptas est et. - Qui itaque eius nobis. totalRows: 6262207387620461532 required: - headers - data - filename - totalRows - executionId FpOccurrenceRef: type: object properties: cisaKevProduct: type: string description: CISA KEV product of the KEV CVE with the highest EPSS among this occurrence's CVEs. Omitted when none of those CVEs are in KEV. example: Log4j cisaKevVendor: type: string description: CISA KEV vendorProject of the KEV CVE with the highest EPSS among this occurrence's CVEs. Omitted when none of those CVEs are in KEV. example: Apache epss: type: number description: Highest EPSS score among this occurrence's CVEs, in [0, 1]. Omitted when none of those CVEs have an EPSS score. Describes the CVE, not whether this occurrence is a false positive. example: 0.97 format: double minimum: 0 maximum: 1 epssPercentile: type: number description: EPSS percentile of the CVE that supplied epss. Omitted when epss is omitted. example: 0.99 format: double minimum: 0 maximum: 1 exempted: type: boolean description: True when this occurrence is covered by an Approved exemption. Present only when includeExempted=true and the row is exempted; omitted otherwise. When includeExempted is false, exempted rows are dropped and this field is never sent. example: true inCisaKev: type: boolean description: True when any of this occurrence's CVEs is in the CISA Known Exploited Vulnerabilities catalog. Omitted when false or unknown. example: true issueCves: type: array items: type: string example: Laborum voluptatum illum rem et. description: Per-scan union of CVE-type ids from issue_scan.cves (computed at ingest). Treat as a cross-check only — not a complete identifier set. Omitted when null or empty; older or non-CVE scans (including some non-baseline scans) may have no value. example: - CVE-2021-44228 issueDetails: type: string description: Opaque JSON object from issue.details — pass-through to the LLM prompt builder example: Vero velit exercitationem libero sunt. format: binary issueId: type: string description: STO issue ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ issueInternalId: type: integer description: STO internal numeric issue ID — stable within an account, used by the agent for joins example: 12345 format: int64 issueKey: type: string description: Stable scanner-facing issue key (issue.key) example: CWE-89 issueSeverityCode: type: string description: Issue-level severity bucket (issue.severity_code). Distinct from severityCode, which is resolved per occurrence. example: High issueTitle: type: string description: Human-readable issue title example: SQL Injection vulnerability issueType: type: string description: Scanner-family issue type (SAST, SCA, SECRET, etc.) example: SAST occurrenceCves: type: array items: type: string example: Iure reprehenderit voluptatem cupiditate voluptatem non et. description: CVE ids on this occurrence only, from its referenceIdentifiers. Not the issue-level union. Omitted when this occurrence has no CVEs. EPSS and CISA KEV on this row are computed from this list. example: - CVE-2021-44228 occurrenceDetails: type: string description: Opaque JSON object from occurrence.unique_details — pass-through to the LLM prompt builder example: Et earum. format: binary occurrenceInternalId: type: integer description: STO internal numeric occurrence ID example: 67890 format: int64 productName: type: string description: Scanner product name (e.g. semgrep, snyk, trivy) example: semgrep scanId: type: string description: STO scan id that produced this occurrence example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ severityCode: type: string description: Per-occurrence severity bucket (Critical/High/Medium/Low/Info) example: High targetId: type: string description: STO target ID. May be null if the occurrence was emitted before target association. example: xyz987zyx654wvu321tsr9 targetName: type: string description: Human-readable target name example: payment-service targetVariantId: type: string description: STO target variant id of the scan that produced this occurrence example: tv987zyx654wvu321tsr99 pattern: ^[a-zA-Z0-9_-]{22}$ description: In-scope (issue, occurrence) tuple for the FP Triage agent's pre-plugin example: cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Incidunt est sequi. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Saepe eum maxime voluptas sapiente assumenda vel. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 required: - issueId - issueInternalId - occurrenceInternalId - issueTitle - severityCode FpScanContext: type: object properties: accountId: type: string description: Harness account id from the scan (or target) row example: BdsgiWzwT7CQFeJl9XkQ3A gitMetadata: $ref: '#/components/schemas/GitMetadata' orgId: type: string description: Harness organization id from hierarchy_lookup example: default parentUniqueId: type: string description: hierarchy_lookup / scan parent_unique_id example: puid111111111111111111 productName: type: string description: Scanner product name of the resolved scan example: semgrep projectId: type: string description: Harness project id from hierarchy_lookup example: benchmarkremagent scanId: type: string description: Resolved STO scan id example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetId: type: string description: STO target id of the resolved scan example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ targetName: type: string description: Human-readable target name example: ethers7/VulnerableApp targetVariantId: type: string description: STO target variant id of the resolved scan example: tv987zyx654wvu321tsr99 pattern: ^[a-zA-Z0-9_-]{22}$ targetVariantName: type: string description: Variant name from target_variant.parameters->>'variant' example: master example: accountId: BdsgiWzwT7CQFeJl9XkQ3A gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness orgId: default parentUniqueId: puid111111111111111111 productName: semgrep projectId: benchmarkremagent scanId: abcdef1234567890ghijkl targetId: xyz987zyx654wvu321tsr9 targetName: ethers7/VulnerableApp targetVariantId: tv987zyx654wvu321tsr99 targetVariantName: master required: - accountId - orgId - projectId - scanId - targetId FpVerdictPayload: type: object properties: confidence: type: number description: Model-reported confidence in the verdict, in [0, 1] example: 0.87 format: double minimum: 0 maximum: 1 issueId: type: string description: STO issue ID the verdict applies to example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ modelName: type: string description: Identifier of the model that produced this verdict (incl. version) example: anthropic.claude-3-5-sonnet-20241022 maxLength: 256 occurrenceInternalId: type: integer description: STO internal occurrence ID the verdict applies to example: 67890 format: int64 promptVersion: type: string description: Version of the prompt template used example: v1.3.0 maxLength: 64 reasoning: type: string description: LLM-emitted natural-language justification for the verdict example: The argument to path.join is __dirname, a constant, not user input. targetId: type: string description: STO target ID. Optional — verdicts predating target association may omit this. example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ verdict: type: string description: Per-occurrence verdict label emitted by the LLM example: FALSE_POSITIVE enum: - FALSE_POSITIVE - TRUE_POSITIVE workflowExecutionId: type: string description: Opaque ssca-manager workflow execution ID that produced this verdict — audit trail only example: wf-exec-2026-05-21-payment-service-247 maxLength: 64 workflowType: type: string description: Discriminator for the agent family inside the shared triage_verdict table. Defaults to FP_TRIAGE; reserved for future agents (auto-fix, exploitability, etc.). default: FP_TRIAGE example: FP_TRIAGE maxLength: 64 description: One verdict produced by the FP Triage agent for one occurrence example: confidence: 0.87 issueId: abcdef1234567890ghijkl modelName: anthropic.claude-3-5-sonnet-20241022 occurrenceInternalId: 67890 promptVersion: v1.3.0 reasoning: The argument to path.join is __dirname, a constant, not user input. targetId: xyz987zyx654wvu321tsr9 verdict: FALSE_POSITIVE workflowExecutionId: wf-exec-2026-05-21-payment-service-247 workflowType: FP_TRIAGE required: - issueId - occurrenceInternalId - verdict - confidence - modelName - promptVersion FrontendAllIssuesCountsV2ResponseBody: $ref: '#/components/schemas/AllIssuesCountsV2Result' FrontendAllIssuesDetailsResponseBody: $ref: '#/components/schemas/AllIssuesDetailsResult' FrontendAllIssuesDetailsV2ResponseBody: $ref: '#/components/schemas/AllIssuesDetailsV2Result' FrontendAllIssuesFiltersResponseBody: $ref: '#/components/schemas/AllIssuesFiltersResult' FrontendAllIssuesListResponseBody: $ref: '#/components/schemas/AllIssuesListResult' FrontendAllIssuesListV2ResponseBody: $ref: '#/components/schemas/AllIssuesListV2Result' FrontendAllIssuesOccurrenceDetailsResponseBody: $ref: '#/components/schemas/AllIssuesOccurrenceDetailsResult' FrontendAllIssuesTotalsV2ResponseBody: $ref: '#/components/schemas/AllIssuesTotalsV2Result' FrontendAllIssuesTrendV2ResponseBody: $ref: '#/components/schemas/AllIssuesTrendV2Result' FrontendCreateTicketForIssueResponseBody: $ref: '#/components/schemas/CreateTicketForIssueResult' FrontendExemption: type: object properties: approverEmail: type: string description: Email of the user who approved this Exemption example: user@harness.io approverId: type: string description: User ID of the user who approved this Exemption example: user111111111111111111 approverName: type: string description: Name of the user who approved this Exemption example: firstname lastname canApproveFor: type: array items: type: string example: PIPELINE enum: - ACCOUNT - ORG - PROJECT - PIPELINE - TARGET description: Scopes that the user has permission to approve for this Exemption example: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: type: boolean description: States if the user can cancel the exemption default: false example: true canCreate: type: boolean description: States if the user can create or reopen the exemption default: false example: true canReApprove: type: boolean description: States if the user can re-approve the exemption for the exemption's scope default: false example: true canReject: type: boolean description: States if the user can reject the exemption default: false example: true created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 expiration: type: integer description: Unix timestamp at which this Exemption will expire example: 1651578240 format: int64 id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ isDeleted: type: boolean description: States if the exemption is deleted default: false example: true isOccurrenceLevelExemption: type: boolean description: States if the exemption is an occurrence level exemption default: false example: true issueSummary: $ref: '#/components/schemas/IssueSummary' lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 link: type: string description: Link related to this Exemption example: Upstream bug numOccurrences: type: integer description: States how may occurrences are associated with the exemption, if not an issue level exemption default: 0 example: 10 format: int64 orgId: type: string description: ID of the Harness Org to which this Exemption applies example: STO orgName: type: string description: Name of the Harness Org to which this Exemption applies example: Organization Name pendingChanges: $ref: '#/components/schemas/PendingChanges' pipelineId: type: string description: ID of the Harness pipeline to which this Exemption applies example: pipeline_1 projectId: type: string description: ID of the Harness project to which this Exemption applies example: STO projectName: type: string description: Name of the Harness project example: Project Name reason: type: string description: Reason for Exemption example: Upstream bug 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. example: 1651578240 format: int64 requesterEmail: type: string description: Email of the user who requested this Exemption example: user@harness.io requesterId: type: string description: User ID of the user who requested this Exemption example: user111111111111111111 requesterName: type: string description: Name of the user who requested this Exemption example: firstname lastname reviewedOn: type: integer description: Unix timestamp when this exemption was reviewed (approved or rejected). Populated only for approved and rejected exemptions. example: 1651578240 format: int64 scope: type: string description: The scope of the exemption example: PROJECT enum: - ACCOUNT - ORG - PROJECT - PIPELINE - TARGET status: type: string description: Status of this Exemption example: Approved targetId: type: string description: ID of Target to which this Exemption applies example: target2222222222222222 targetName: type: string description: Name of Target to which this Exemption applies example: my-target totalOccurrences: type: integer description: States total occurrences associated with the issue exemption default: 0 example: 10 format: int64 type: type: string description: Type of Exemption example: Other description: Exemption summary for frontend use example: approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other required: - id - issueSummary - status - reason - created - type - lastModified - requesterId - pendingChanges FrontendExemptionCounts: type: object properties: Approved: type: integer description: The count of approved Exemptions default: 0 example: 150 format: int32 Expired: type: integer description: The count of expired Exemptions default: 0 example: 150 format: int32 Pending: type: integer description: The count of pending Exemptions default: 0 example: 150 format: int32 Rejected: type: integer description: The count of rejected Exemptions default: 0 example: 150 format: int32 example: Approved: 150 Expired: 150 Pending: 150 Rejected: 150 FrontendExemptionTargets: type: object properties: executionId: type: string description: Harness Execution ID example: abcdef1234567890ghijkl 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. example: harness 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. example: https://jenkins.example.com/job/42 hash: type: string description: Git Commit or Container Image hash example: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef maxLength: 64 lastScanned: type: number description: Timestamp of the last detection of this issue example: 1634836529 format: float name: type: string description: Name of the Test Target example: NodeGoat pattern: ^[a-zA-Z0-9_.:/|()-]+$ maxLength: 128 numExemptedOccurrences: type: integer description: Total number of occurrences exempted for an impacted target default: 0 example: 150 format: int32 numOccurrences: type: integer description: Total number of occurrences for an impacted target default: 0 example: 150 format: int32 orgId: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 orgName: type: string description: Name of the Harness Org to which this Exemption applies example: Organization Name parameters: type: object description: Parameters for this Variant, as a JSON-encoded string example: branch: main additionalProperties: type: string example: Non accusamus. pipelineId: type: string description: ID of the Harness pipeline of the scan example: pipeline_1 projectId: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 projectName: type: string description: Name of the Harness project example: Project Name scanId: type: string description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: type: string description: Test Target's type example: repository enum: - container - repository - instance - configuration description: Impacted targets from an exemption for frontend issue details example: executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef lastScanned: 1634836529 name: NodeGoat numExemptedOccurrences: 150 numOccurrences: 150 orgId: example_org orgName: Organization Name parameters: branch: main pipelineId: pipeline_1 projectId: example_project projectName: Project Name scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl type: repository required: - targetId - parameters FrontendExemptionsFiltersResponseBody: $ref: '#/components/schemas/ExemptionsFiltersResult' FrontendExpiringExemptionsResponseBody: $ref: '#/components/schemas/IssueSummaries' FrontendImpactedTargetsForExemptionResponseBody: $ref: '#/components/schemas/ExemptionImpactedTargetsResult' FrontendIssueCounts: type: object properties: active: type: integer description: The total of active Issues example: 150 format: int32 critical: type: integer description: The number of Critical-severity Issues example: 1 format: int32 high: type: integer description: The number of High-severity Issues example: 3 format: int32 ignored: type: integer description: The number of Issues ignored due to Exemptions, and therefore not included in other counts example: 1 format: int32 info: type: integer description: The number of Informational Issues example: 11 format: int32 low: type: integer description: The number of Low-severity Issues example: 39 format: int32 medium: type: integer description: The number of Medium-severity Issues example: 17 format: int32 example: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 required: - active - critical - high - medium - low - info FrontendIssueForExemptionResponseBody: $ref: '#/components/schemas/IssueForExemptionResult' FrontendIssueSeverityChangeResponseBody: $ref: '#/components/schemas/IssueSeverityChangeResult' FrontendOccurrenceDataflowResponseBody: $ref: '#/components/schemas/OccurrenceDataflowResult' FrontendOverviewBaselinesResponseBody: $ref: '#/components/schemas/BaselineExecutions' FrontendOverviewHistoricalCountsResponseBody: $ref: '#/components/schemas/HistoricalCounts' FrontendPipelineSecurityIssuesResponseBody: $ref: '#/components/schemas/PipelineSecurityIssuesResult' FrontendPipelineSecurityIssuesV2ResponseBody: $ref: '#/components/schemas/PipelineSecurityIssuesV2Result' FrontendPipelineSecurityStepsResponseBody: $ref: '#/components/schemas/PipelineSecurityStepsResult' FrontendProvisionQwietTrialResponseBody: $ref: '#/components/schemas/ProvisionQwietTrialResult' FrontendQwietLicenseUsageResponseBody: $ref: '#/components/schemas/QwietLicenseUsageResult' FrontendRemediationAgentActivitiesResponseBody: $ref: '#/components/schemas/RemediationAgentActivitiesResult' FrontendSecurityReviewResponseBody: $ref: '#/components/schemas/SecurityReviewResult' FrontendTestTargetsResponseBody: $ref: '#/components/schemas/TestTargetResult' FullIssueCounts: type: object properties: appCritical: type: integer description: The number of Critical-severity Issues in the App Image example: 1 format: int32 appHigh: type: integer description: The number of High-severity Issues in the App Image example: 3 format: int32 appInfo: type: integer description: The number of Informational Issues in the App Image example: 11 format: int32 appLow: type: integer description: The number of Low-severity Issues in the App Image example: 39 format: int32 appMedium: type: integer description: The number of Medium-severity Issues in the App Image example: 17 format: int32 baseCritical: type: integer description: The number of Critical-severity Issues in the Base Image example: 1 format: int32 baseHigh: type: integer description: The number of High-severity Issues in the Base Image example: 3 format: int32 baseImageApproved: type: boolean description: The approval status of the Base Image for the Scan example: true baseImageDetected: type: boolean description: The status of the Base Image for the Scan example: true baseInfo: type: integer description: The number of Informational Issues in the Base Image example: 11 format: int32 baseLow: type: integer description: The number of Low-severity Issues in the Base Image example: 39 format: int32 baseMedium: type: integer description: The number of Medium-severity Issues in the Base Image example: 17 format: int32 codeCoverage: type: number description: The Code Coverage value for the Scan example: 65.5 format: float critical: type: integer description: The number of Critical-severity Issues example: 1 format: int32 externalPolicyFailures: type: integer description: The number of EXTERNAL_POLICY Issues example: 0 format: int32 high: type: integer description: The number of High-severity Issues example: 3 format: int32 ignored: type: integer description: The number of Issues ignored due to Exemptions, and therefore not included in other counts example: 1 format: int32 ignoredCritical: type: integer description: The number of ignored Critical-severity Issues example: 1 format: int32 ignoredHigh: type: integer description: The number of ignored High-severity Issues example: 3 format: int32 ignoredInfo: type: integer description: The number of ignored Informational Issues example: 11 format: int32 ignoredLow: type: integer description: The number of ignored Low-severity Issues example: 39 format: int32 ignoredMedium: type: integer description: The number of ignored Medium-severity Issues example: 17 format: int32 ignoredUnassigned: type: integer description: The number of Issues with no associated severity code example: 0 format: int32 info: type: integer description: The number of Informational Issues example: 11 format: int32 low: type: integer description: The number of Low-severity Issues example: 39 format: int32 medium: type: integer description: The number of Medium-severity Issues example: 17 format: int32 newAppCritical: type: integer description: The number of new Critical-severity Issues in the App Image example: 1 format: int32 newAppHigh: type: integer description: The number of new High-severity Issues in the App Image example: 3 format: int32 newAppInfo: type: integer description: The number of new Informational Issues in the App Image example: 11 format: int32 newAppLow: type: integer description: The number of new Low-severity Issues in the App Image example: 39 format: int32 newAppMedium: type: integer description: The number of new Medium-severity Issues in the App Image example: 17 format: int32 newBaseCritical: type: integer description: The number of new Critical-severity Issues in the Base Image example: 1 format: int32 newBaseHigh: type: integer description: The number of new High-severity Issues in the Base Image example: 3 format: int32 newBaseInfo: type: integer description: The number of new Informational Issues in the Base Image example: 11 format: int32 newBaseLow: type: integer description: The number of new Low-severity Issues in the Base Image example: 39 format: int32 newBaseMedium: type: integer description: The number of new Medium-severity Issues in the Base Image example: 17 format: int32 newCritical: type: integer description: The number of new Critical-severity Issues example: 1 format: int32 newHigh: type: integer description: The number of new High-severity Issues example: 3 format: int32 newIgnoredCritical: type: integer description: The number of ignored Critical-severity Issues example: 1 format: int32 newIgnoredHigh: type: integer description: The number of ignored High-severity Issues example: 3 format: int32 newIgnoredInfo: type: integer description: The number of ignored Informational Issues example: 11 format: int32 newIgnoredLow: type: integer description: The number of ignored Low-severity Issues example: 39 format: int32 newIgnoredMedium: type: integer description: The number of ignored Medium-severity Issues example: 17 format: int32 newIgnoredOccurrencesCritical: type: integer description: The number of ignored Critical-severity Occurrences example: 1 format: int32 newIgnoredOccurrencesHigh: type: integer description: The number of ignored High-severity Occurrences example: 3 format: int32 newIgnoredOccurrencesInfo: type: integer description: The number of ignored Informational Occurrences example: 11 format: int32 newIgnoredOccurrencesLow: type: integer description: The number of ignored Low-severity Occurrences example: 39 format: int32 newIgnoredOccurrencesMedium: type: integer description: The number of ignored Medium-severity Occurrences example: 17 format: int32 newIgnoredOccurrencesUnassigned: type: integer description: The number of ignored Occurrences with no associated severity code example: 0 format: int32 newIgnoredUnassigned: type: integer description: The number of Issues with no associated severity code example: 0 format: int32 newInfo: type: integer description: The number of new Informational Issues example: 11 format: int32 newLow: type: integer description: The number of new Low-severity Issues example: 39 format: int32 newMedium: type: integer description: The number of new Medium-severity Issues example: 17 format: int32 newOccurrencesCritical: type: integer description: The number of new Critical-severity Occurrences example: 1 format: int32 newOccurrencesHigh: type: integer description: The number of new High-severity Occurrences example: 3 format: int32 newOccurrencesInfo: type: integer description: The number of new Informational Occurrences example: 11 format: int32 newOccurrencesLow: type: integer description: The number of new Low-severity Occurrences example: 39 format: int32 newOccurrencesMedium: type: integer description: The number of new Medium-severity Occurrences example: 17 format: int32 newOccurrencesUnassigned: type: integer description: The number of new Occurrences with no associated severity code example: 0 format: int32 newTotal: type: integer description: The total number new Issues example: 3 format: int32 newTotalBase: type: integer description: The total number new Issues in the Base Image example: 3 format: int32 newUnassigned: type: integer description: The number of new Issues with no associated severity code example: 0 format: int32 scannerConsoleUrl: type: string description: The scanner console URL for viewing scan results example: https://app.shiftleft.io/apps/myapp/summary?scan=12345 total: type: integer description: The total number of Issues example: 10 format: int32 totalBase: type: integer description: The total number of Issues in the Base Image example: 10 format: int32 unassigned: type: integer description: The number of Issues with no associated severity code example: 0 format: int32 example: appCritical: 1 appHigh: 3 appInfo: 11 appLow: 39 appMedium: 17 baseCritical: 1 baseHigh: 3 baseImageApproved: true baseImageDetected: true baseInfo: 11 baseLow: 39 baseMedium: 17 codeCoverage: 65.5 critical: 1 externalPolicyFailures: 0 high: 3 ignored: 1 ignoredCritical: 1 ignoredHigh: 3 ignoredInfo: 11 ignoredLow: 39 ignoredMedium: 17 ignoredUnassigned: 0 info: 11 low: 39 medium: 17 newAppCritical: 1 newAppHigh: 3 newAppInfo: 11 newAppLow: 39 newAppMedium: 17 newBaseCritical: 1 newBaseHigh: 3 newBaseInfo: 11 newBaseLow: 39 newBaseMedium: 17 newCritical: 1 newHigh: 3 newIgnoredCritical: 1 newIgnoredHigh: 3 newIgnoredInfo: 11 newIgnoredLow: 39 newIgnoredMedium: 17 newIgnoredOccurrencesCritical: 1 newIgnoredOccurrencesHigh: 3 newIgnoredOccurrencesInfo: 11 newIgnoredOccurrencesLow: 39 newIgnoredOccurrencesMedium: 17 newIgnoredOccurrencesUnassigned: 0 newIgnoredUnassigned: 0 newInfo: 11 newLow: 39 newMedium: 17 newOccurrencesCritical: 1 newOccurrencesHigh: 3 newOccurrencesInfo: 11 newOccurrencesLow: 39 newOccurrencesMedium: 17 newOccurrencesUnassigned: 0 newTotal: 3 newTotalBase: 3 newUnassigned: 0 scannerConsoleUrl: https://app.shiftleft.io/apps/myapp/summary?scan=12345 total: 10 totalBase: 10 unassigned: 0 required: - newCritical - newHigh - newMedium - newLow - newInfo - unassigned - newUnassigned - externalPolicyFailures - ignored - ignoredCritical - ignoredHigh - ignoredMedium - ignoredLow - ignoredInfo - ignoredUnassigned - newIgnoredCritical - newIgnoredHigh - newIgnoredMedium - newIgnoredLow - newIgnoredInfo - newIgnoredUnassigned - newOccurrencesCritical - newOccurrencesHigh - newOccurrencesMedium - newOccurrencesLow - newOccurrencesInfo - newOccurrencesUnassigned - newIgnoredOccurrencesCritical - newIgnoredOccurrencesHigh - newIgnoredOccurrencesMedium - newIgnoredOccurrencesLow - newIgnoredOccurrencesInfo - newIgnoredOccurrencesUnassigned - total - newTotal - critical - high - medium - low - info GetBaseImageApprovalRequestBody: type: object properties: targetNames: type: array items: type: string example: "6" minLength: 1 maxLength: 256 description: STO container test target names to look up (for example alpine). Matched exactly; duplicates are collapsed example: - alpine - ubuntu minItems: 1 maxItems: 50 example: targetNames: - alpine - ubuntu required: - targetNames GetBaseImageApprovalResponseBody: type: object properties: results: type: array items: $ref: '#/components/schemas/RemAgentBaseImageApproval' description: One entry per distinct requested target name, in request order example: - approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine - approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine - approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine example: results: - approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine - approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine required: - results GetByReferenceIDResponseBody: type: object properties: description: type: string description: A short description of the identified issue. example: Error atque. extendedDescription: type: string description: A more detailed explanation of the issue and its potential impact. example: Harum debitis sapiente. remediationSteps: type: string description: Steps the developer can take to address or mitigate the issue. example: Ratione expedita fuga delectus aliquid. severity: type: number description: Numeric severity, from 0 (lowest) to 10 (highest) example: 8.5 format: double severityCode: type: string description: Severity code example: High example: description: Quam est cupiditate qui. extendedDescription: Magni omnis. remediationSteps: Delectus aut fuga sint autem. severity: 8.5 severityCode: High GetExemptionConstraintsRequestBody: type: object properties: items: type: array items: $ref: '#/components/schemas/IssueItem' description: Evaluation entries (max 100). Each item self-describes its scope (`targetId` / `pipelineId` / neither) and kind (`occurrences[]` present ⇒ occurrence-level). A single exemption is a one-element list. Items may mix scopes and kinds. example: - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl maxItems: 100 orgId: type: string description: 'Harness Organization id this exemption request is scoped to. Required: the backend resolves the project hierarchy (parent_unique_id) from `orgId`/`projectId` to scope attribute resolution for project- and pipeline-level evaluation, and rules conditioned on `org_id` evaluate correctly.' example: default pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 projectId: type: string description: 'Harness Project id this exemption request is scoped to. Required: the backend resolves the project hierarchy (parent_unique_id) from `orgId`/`projectId` to scope attribute resolution for project- and pipeline-level evaluation, and rules conditioned on `project_id` evaluate correctly.' example: my_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 type: type: string description: Value of the FE's "Reason" dropdown — i.e. the same enum sent as `type` on POST /exemptions ("False Positive", "Acceptable Risk", "Compensating Controls", "Acceptable Use", "Fix Unavailable", "Other"). When set, it is merged into every issue's context so rules with `reason` conditions evaluate correctly. Omit if the user has not picked from the dropdown yet — rules with reason conditions will be skipped in that case. Named `type` here for parity with POST /exemptions.type; internally the rule engine surfaces it as the `reason` axis (which matches the FE dropdown label customers see). example: False Positive enum: - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Other example: items: - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl - issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl orgId: default projectId: my_project type: False Positive required: - orgId - projectId GitMetadata: type: object properties: commit: type: string description: Git Commit SHA scanned example: "0000000000000000000000000000000000000001" detectedName: type: string description: Detected Name example: Corporis autem maxime culpa expedita dolor earum. detectedVariant: type: string description: Detected Variant example: Et laboriosam vel provident. droneCorrelated: type: boolean description: Drone Correlated example: false provider: type: string description: Git Provider example: Et quia ut illo architecto quis. pullRequestNumber: type: integer description: Git Pull Request Number example: 11 format: int64 repositoryHttp: type: string description: Git HTTP Repository example: https://github.com/harness/drone-cli.git repositoryPath: type: array items: type: string example: Est laborum quis possimus rerum. description: Git Repository Path example: - Eos qui minus incidunt. - Eaque voluptas est harum ipsum omnis. - Officiis perspiciatis saepe eaque dolorem ut. - Iusto occaecati maxime eveniet aliquid. repositorySsh: type: string description: Git SSH Repository example: git@github.com:harness/drone-cli.git sourceBranch: type: string description: Git Source Branch example: feat/shiny-object targetBranch: type: string description: Git Target Branch example: develop workspace: type: string description: Git Workspace Root example: /harness description: Git Metadata associated with the Scan example: commit: "0000000000000000000000000000000000000001" detectedName: Sint sunt temporibus eos possimus deserunt asperiores. detectedVariant: Voluptatem qui. droneCorrelated: false provider: Veniam dignissimos deserunt iure officiis laboriosam autem. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Ut maxime et reiciendis vel nisi perspiciatis. - Et magni sed nam. - Nihil esse qui sit et optio. - Et harum minima aut. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness GlobalExemptionsRequestBody: type: object properties: approvedBy: type: string example: user1111111111111111,user2222222222222222 pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ issueTypes: type: string example: SAST,SCA 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 example: org1:project1 pattern: ^[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$ description: List of organization:project pairs example: - org1:project1 - org1:project2 pipelineIds: type: string example: pipeline1,pipeline2 pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ reasons: type: string example: Acceptable Risk,False Positive 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 example: user1111111111111111,user2222222222222222 pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ requestedBy: type: string example: user1111111111111111,user2222222222222222 pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ scanners: type: string example: snyk,owasp pattern: ^([a-zA-Z0-9_-]+)(,[a-zA-Z0-9_-]+)*$ scopes: type: string example: PROJECT,PIPELINE pattern: ^(ACCOUNT|ORG|PROJECT|PIPELINE|TARGET)(,ACCOUNT|,ORG|,PROJECT|,PIPELINE|,TARGET)*$ severityCodes: type: string example: Critical,High,Medium pattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$ targetIds: type: string example: target1111111111111111,target2222222222222222 pattern: ^([a-zA-Z0-9_-]{22})(,[a-zA-Z0-9_-]{22})*$ targetTypes: type: string example: repository,container pattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$ example: approvedBy: user1111111111111111,user2222222222222222 issueTypes: SAST,SCA orgProjectFilter: - org1:project1 - org1:project2 pipelineIds: pipeline1,pipeline2 reasons: Acceptable Risk,False Positive rejectedBy: user1111111111111111,user2222222222222222 requestedBy: user1111111111111111,user2222222222222222 scanners: snyk,owasp scopes: PROJECT,PIPELINE severityCodes: Critical,High,Medium targetIds: target1111111111111111,target2222222222222222 targetTypes: repository,container HarnessSastScaUsage: type: object properties: totalContributingDevelopers: type: integer description: Total number of contributing developers example: 42 format: int64 description: License usage response data example: totalContributingDevelopers: 42 required: - totalContributingDevelopers 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 example: - active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 - active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 example: counts: - active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 - active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 - active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 - active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 required: - counts HistoricalIssueCounts: type: object properties: active: type: boolean description: True if at least one baseline was scanned on this date example: false counts: $ref: '#/components/schemas/MinimalIssueCounts' date: type: integer example: 1651578240 format: int64 detections: $ref: '#/components/schemas/MinimalIssueCounts' remediations: $ref: '#/components/schemas/MinimalIssueCounts' example: active: false counts: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 date: 1651578240 detections: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remediations: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 required: - date - counts - detections - remediations - active IDResult: type: object properties: id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: id: abcdef1234567890ghijkl required: - id ImageBuildMetadata: type: object properties: dockerfilePath: type: string description: Repository-relative Dockerfile path (io.harness.image.dockerfile) example: docker/Dockerfile repoUrl: type: string description: Source repository HTTPS URL (org.opencontainers.image.source) example: https://github.com/org/repo sourceBranch: type: string description: Exact non-tag ref the image build ran on (io.harness.image.source.branch) — the image's build branch, not the branch the scan ran on example: main description: Self-asserted build metadata read off the scanned image's config labels; lookup hints, not proof of the build revision example: dockerfilePath: docker/Dockerfile repoUrl: https://github.com/org/repo sourceBranch: main ImpactedTarget: type: object properties: executionId: type: string description: Harness Execution ID example: abcdef1234567890ghijkl 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. example: harness 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. example: https://jenkins.example.com/job/42 exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ exemptionStatus: type: string description: Status of project scoped exemption for this issue example: Pending exploitability: type: string description: Exploitability status of the issue for this target. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable. example: "yes" id: type: string description: The ID of the impacted target example: target1111111111111111 lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 name: type: string description: The name of the impacted target example: The Target Name numOccurrences: type: integer description: Indicates the number of Occurrences on the Issue example: 10 format: int64 pipelineId: type: string description: Harness Pipeline ID example: example_pipeline 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. example: reachable userEmail: type: string description: The email associated with the user id example: user@gmail.com userId: type: string description: The user id associated with the last scan run example: Vero voluptatum nihil. userName: type: string description: The user name associated with the user id example: firstname lastname variantName: type: string description: Variant name example: Dignissimos optio ipsum totam occaecati ut. example: executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable userEmail: user@gmail.com userId: Ut ratione et excepturi vel expedita omnis. userName: firstname lastname variantName: Sint voluptatum accusantium et eum quis. required: - name - id - variantName - numOccurrences - lastDetected - pipelineId - executionId 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. example: LikelyFP 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. example: The argument to path.join is __dirname, a constant, not user input. executionId: type: string description: Harness Execution ID example: abcdef1234567890ghijkl 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. example: harness 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. example: https://jenkins.example.com/job/42 exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ exemptionStatus: type: string description: Status of project scoped exemption for this issue example: Pending exploitability: type: string description: Exploitability status of the issue for this target. 'yes' if any occurrence is exploitable, 'no' if all are not exploitable. example: "yes" id: type: string description: The ID of the impacted target example: target1111111111111111 lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 name: type: string description: The name of the impacted target example: The Target Name numOccurrences: type: integer description: Indicates the number of Occurrences on the Issue example: 10 format: int64 pipelineId: type: string description: Harness Pipeline ID example: example_pipeline 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. example: reachable status: type: string description: Issue Status example: Remediated enum: - Active - Exempted - Remediated userEmail: type: string description: The email associated with the user id example: user@gmail.com userId: type: string description: The user id associated with the last scan run example: Alias voluptatem eum dolor omnis nam. userName: type: string description: The user name associated with the user id example: firstname lastname variantName: type: string description: Variant name example: Sit placeat deleniti blanditiis rerum dolorem. example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 exemptionId: abcdef1234567890ghijkl exemptionStatus: Pending exploitability: "yes" id: target1111111111111111 lastDetected: 1634836529 name: The Target Name numOccurrences: 10 pipelineId: example_pipeline reachability: reachable status: Exempted userEmail: user@gmail.com userId: Repellat aperiam. userName: firstname lastname variantName: Totam dolores quidem. required: - name - id - variantName - numOccurrences - lastDetected - pipelineId - executionId - status IngestionActivityGetSummaryResponseBody: $ref: '#/components/schemas/IngestionActivitySummary' IngestionActivityRecordWorkerStatusResponseBody: $ref: '#/components/schemas/RecordIngestionActivityResult' IngestionActivitySummary: type: object properties: harness_scan_ids: type: array items: type: string example: Esse ipsa dignissimos reiciendis et consequatur facere. description: Distinct non-null Harness scan ids recorded on activity rows example: - Explicabo voluptates molestiae eos velit molestiae ut. - Fuga deleniti. - Ex reiciendis rerum maxime. ingestion_started_count: type: integer description: Number of ingestion_started rows, including retries example: 1482038722558650126 format: int64 statuses: type: array items: type: string example: Nostrum earum commodi ex. description: Distinct activity statuses recorded for this identity example: - Fugit quod. - Rerum esse quam quam. - Excepturi laudantium praesentium voluptas. example: harness_scan_ids: - Laboriosam dolore et quod asperiores. - Placeat suscipit. ingestion_started_count: 6156588086061053621 statuses: - Qui odit harum sunt omnis nihil. - Inventore doloribus. required: - statuses - ingestion_started_count - harness_scan_ids Issue: type: object properties: baseImageName: type: string description: base image name of the issue example: baseImageName baselineVariantId: type: string description: The Baseline Target Variant related to this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 currentStatus: type: string description: Current status of the Exemption example: Rejected enum: - Pending - Approved - Rejected - Expired details: type: object description: Issue details common to all occurrences example: package: json-schema version: v0.2.3 additionalProperties: true epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionCoverage: type: string description: Indicates if the Security Issue was found to be Exempted or PartiallyExempted. example: PartiallyExempted exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ exemptionStatusAtScan: type: string description: Exemption's status at the Security Scan created time example: Expired enum: - Pending - Approved - Rejected - Expired exploitability: type: string description: Exploitability status of the issue (yes or no) example: "yes" fallbackSeverityCode: type: string description: Issue-table severity code used as occurrence fallback at read time; omitted from API responses example: High 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. example: 13 format: int64 harnessAugmentation: type: object description: Harness Augmentation details example: Consequatur aperiam ipsam.: Amet alias voluptas error aut qui. Dicta omnis distinctio molestiae.: Aliquid praesentium nam aliquid repudiandae. Quo eos quidem.: Ut cum quas dignissimos ducimus. additionalProperties: true id: type: string description: Resource identifier example: abcdef1234567890ghijkl 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.' example: true key: type: string description: Compression/deduplication key example: json-schema@0.2.3 maxLength: 512 numOccurrences: type: integer description: Indicates the number of Occurrences on the Issue example: 10 format: int32 occurrenceId: type: integer example: 12345 format: int64 minimum: 1 occurrences: type: array items: type: object example: Aperiam perferendis similique et deserunt.: Enim ullam. Quod illum laborum molestiae dolorem eligendi.: Fuga quas inventore. additionalProperties: true description: Array of details unique to each occurrence example: - line: "42" - line: "666" originStatus: type: string description: The status of the origin, either 'approved' or 'unapproved' example: approved origins: type: array items: type: string example: Consequatur sed tempore a maiores. description: The origins of the issue example: - app - base overrides: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides at scan time example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: type: string description: The scan tool that identified this Security Issue example: product1234567890abcde pattern: ^[a-zA-Z0-9_-]{22}$ reachability: type: string description: Reachability status of the issue (reachable or unreachable) example: reachable severity: type: number description: Numeric severity, from 0 (lowest) to 10 (highest) example: 8.5 format: float severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned status: type: string description: Indicates if the Security Issue was found to be remediated, ignored, etc. example: Remediated enum: - Remediated - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Exempted subproduct: type: string description: The subproduct that identified this Security Issue example: product targetId: type: string description: The Target that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetName: type: string description: The Name of the Target that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetType: type: string description: The type of the Target that this Security Issue affects example: repository enum: - container - repository - instance - configuration targetVariantId: type: string description: The Target Variant that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetVariantName: type: string description: Name of the associated Target and Variant example: nodegoat:master pattern: ^[a-zA-Z0-9_-]{22}$ title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 type: type: string description: The type of vulnerability or quality issue for this Issue example: SAST enum: - SAST - DAST - SCA - IAC - SECRET - MISCONFIG - BUG_SMELLS - CODE_SMELLS - CODE_COVERAGE - EXTERNAL_POLICY description: Information about a Security Issue example: baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Expired details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Blanditiis ut.: Et aperiam non dolores eius. Libero sed illo sit qui.: Itaque cumque. Perferendis et.: Voluptate aut cum distinctio odio ipsam culpa. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST required: - title - key - severity - severityCode - productId - details - id - created IssueCounts: type: object properties: critical: type: integer description: The number of Critical-severity Issues example: 1 format: int32 high: type: integer description: The number of High-severity Issues example: 3 format: int32 ignored: type: integer description: The number of Issues ignored due to Exemptions, and therefore not included in other counts example: 1 format: int32 info: type: integer description: The number of Informational Issues example: 11 format: int32 low: type: integer description: The number of Low-severity Issues example: 39 format: int32 medium: type: integer description: The number of Medium-severity Issues example: 17 format: int32 newCritical: type: integer description: The number of new Critical-severity Issues example: 1 format: int32 newHigh: type: integer description: The number of new High-severity Issues example: 3 format: int32 newInfo: type: integer description: The number of new Informational Issues example: 11 format: int32 newLow: type: integer description: The number of new Low-severity Issues example: 39 format: int32 newMedium: type: integer description: The number of new Medium-severity Issues example: 17 format: int32 newUnassigned: type: integer description: The number of new Issues with no associated severity code example: 0 format: int32 unassigned: type: integer description: The number of Issues with no associated severity code example: 0 format: int32 description: The count of Security Issues, by severity code, for a given Harness Pipeline Execution example: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 newCritical: 1 newHigh: 3 newInfo: 11 newLow: 39 newMedium: 17 newUnassigned: 0 unassigned: 0 required: - critical - high - medium - low - info IssueCountsWithExecutionInfo: type: object properties: artifactFingerprint: type: string description: Fingerprint which identifies an artifact example: fe3 maxLength: 64 critical: type: integer description: The number of Critical-severity Issues example: 1 format: int32 executionId: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ high: type: integer description: The number of High-severity Issues example: 3 format: int32 ignored: type: integer description: The number of Issues ignored due to Exemptions, and therefore not included in other counts example: 1 format: int32 info: type: integer description: The number of Informational Issues example: 11 format: int32 lastScanned: type: integer description: Timestamp at which the target variant was last scanned example: 1634836529 format: int64 low: type: integer description: The number of Low-severity Issues example: 39 format: int32 medium: type: integer description: The number of Medium-severity Issues example: 17 format: int32 pipelineId: type: string description: Harness Pipeline ID example: example_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetName: type: string description: Name of the Scan Target example: NodeGoat targetVariantId: type: string description: Associated Target Variant ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetVariantName: type: string description: Name of the Scan Target example: NodeGoat type: type: string description: Scan Target's type example: repository enum: - container - repository - instance - configuration description: The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info example: artifactFingerprint: gnl critical: 1 executionId: abcdef1234567890ghijkl high: 3 ignored: 1 info: 11 lastScanned: 1634836529 low: 39 medium: 17 pipelineId: example_pipeline targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository required: - critical - high - medium - low - info - targetId - targetVariantId - type - targetName - targetVariantName - executionId - pipelineId - lastScanned IssueExemptionHistoryResult: type: object properties: events: type: array items: $ref: '#/components/schemas/ExemptionHistoryEvent' description: Flat timeline, newest first. Not grouped by exemptionId. example: - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core pagination: $ref: '#/components/schemas/Pagination' example: events: - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core - comment: kno commenterEmail: priya.nair@harness.io commenterId: user111111111111111111 commenterName: Priya Nair created: 1781391060 durationDays: 1863109692595422929 exemptedOccurrenceCount: 5259068024927412400 exemptionId: exmp111111111111111111 expiration: 352069224179804058 id: hist111111111111111111 isAutoExpiry: false isOccurrenceLevel: false orgId: Nobis pariatur eos voluptatibus nesciunt similique dolor. orgName: Default pipelineId: Rem ullam explicabo. pipelineName: STO Core CI projectId: Nulla magnam assumenda doloremque consectetur. projectName: STO Core reasonType: Compensating Controls scope: ORG status: Rejected targetId: Est reiciendis labore quis et. targetName: sto-core pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - events - pagination IssueForExemptionResult: type: object properties: baseImageName: type: string description: base image name of the issue example: baseImageName baselineVariantId: type: string description: The Baseline Target Variant related to this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 currentStatus: type: string description: Current status of the Exemption example: Approved enum: - Pending - Approved - Rejected - Expired details: type: object description: Issue details common to all occurrences example: package: json-schema version: v0.2.3 additionalProperties: true epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionCoverage: type: string description: Indicates if the Security Issue was found to be Exempted or PartiallyExempted. example: PartiallyExempted exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ exemptionStatusAtScan: type: string description: Exemption's status at the Security Scan created time example: Rejected enum: - Pending - Approved - Rejected - Expired exploitability: type: string description: Exploitability status of the issue (yes or no) example: "yes" fallbackSeverityCode: type: string description: Issue-table severity code used as occurrence fallback at read time; omitted from API responses example: High 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. example: 13 format: int64 harnessAugmentation: type: object description: Harness Augmentation details example: Amet doloremque nihil vero aut quos sequi.: Officiis vel eveniet illo inventore possimus. Doloremque est delectus neque ut.: Nostrum velit incidunt et modi. In minima sit vero mollitia.: Exercitationem quasi aut delectus. additionalProperties: true id: type: string description: Resource identifier example: abcdef1234567890ghijkl 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.' example: true key: type: string description: Compression/deduplication key example: json-schema@0.2.3 maxLength: 512 lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 numOccurrences: type: integer description: Indicates the number of Occurrences on the Issue example: 10 format: int32 occurrenceId: type: integer example: 12345 format: int64 minimum: 1 occurrences: type: array items: type: object example: Cum laudantium soluta quia.: Occaecati distinctio repudiandae praesentium veritatis provident. Ea aut voluptatibus est magnam numquam.: Eaque ad cupiditate temporibus iure nulla. additionalProperties: true description: Array of details unique to each occurrence example: - line: "42" - line: "666" occurrencesPagination: $ref: '#/components/schemas/Pagination' originStatus: type: string description: The status of the origin, either 'approved' or 'unapproved' example: approved origins: type: array items: type: string example: Sit quis repellendus repellat qui. description: The origins of the issue example: - app - base overrides: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides at scan time example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: type: string description: The scan tool that identified this Security Issue example: product1234567890abcde pattern: ^[a-zA-Z0-9_-]{22}$ reachability: type: string description: Reachability status of the issue (reachable or unreachable) example: reachable recentActivities: type: array items: $ref: '#/components/schemas/ExemptionRecentActivity' description: Up to 3 most recent exemption history events for this issue, newest first example: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired severity: type: number description: Numeric severity, from 0 (lowest) to 10 (highest) example: 8.5 format: float severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned status: type: string description: Indicates if the Security Issue was found to be remediated, ignored, etc. example: Remediated enum: - Remediated - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Exempted subproduct: type: string description: The subproduct that identified this Security Issue example: product targetId: type: string description: The Target that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetName: type: string description: The Name of the Target that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetType: type: string description: The type of the Target that this Security Issue affects example: repository enum: - container - repository - instance - configuration targetVariantId: type: string description: The Target Variant that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetVariantName: type: string description: Name of the associated Target and Variant example: nodegoat:master pattern: ^[a-zA-Z0-9_-]{22}$ targets: type: array items: type: object example: Error quia facere recusandae nostrum et.: Non dolores unde magnam accusantium incidunt possimus. additionalProperties: true example: - targetId: target2222222222222222 targetName: Target 1 title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 type: type: string description: The type of vulnerability or quality issue for this Issue example: SAST enum: - SAST - DAST - SCA - IAC - SECRET - MISCONFIG - BUG_SMELLS - CODE_SMELLS - CODE_COVERAGE - EXTERNAL_POLICY example: baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Approved exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Aut aut quod nihil eum voluptas.: Ut est voluptas reiciendis maxime aliquam hic. Officia quo ullam.: Rem quis necessitatibus deleniti quod. Tempore aspernatur deserunt eum dignissimos.: Aut voluptates ut sunt rem totam. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 lastDetected: 1634836529 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" occurrencesPagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master targets: - targetId: target2222222222222222 targetName: Target 1 title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST required: - targets - targetType - title - key - severity - severityCode - productId - details - id - created IssueInScan: 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. example: LikelyFP 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. example: The argument to path.join is __dirname, a constant, not user input. baseImageName: type: string description: base image name of the issue example: baseImageName baseImageOrgId: type: string description: org id of the issue from where the base image is being referred example: default baseImageProjectId: type: string description: project id of the issue from where the base image is being referred example: STO baselineVariantId: type: string description: The Baseline Target Variant related to this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 currentStatus: type: string description: Current status of the Exemption example: Approved enum: - Pending - Approved - Rejected - Expired details: type: object description: Issue details common to all occurrences example: package: json-schema version: v0.2.3 additionalProperties: true epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionCoverage: type: string description: Indicates if the Security Issue was found to be Exempted or PartiallyExempted. example: PartiallyExempted exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ exemptionStatusAtScan: type: string description: Exemption's status at the Security Scan created time example: Rejected enum: - Pending - Approved - Rejected - Expired exploitability: type: string description: Exploitability status of the issue (yes or no) example: "yes" fallbackSeverityCode: type: string description: Issue-table severity code used as occurrence fallback at read time; omitted from API responses example: High enum: - Critical - High - Medium - Low - Info - Unassigned gitMetadata: $ref: '#/components/schemas/GitMetadata' gracePeriodDays: type: integer description: Issue-level grace period rollup in days. Only populated when scan honorGracePeriod is enabled. example: 13 format: int64 harnessAugmentation: type: object description: Harness Augmentation details example: Facere error atque accusantium.: At laudantium alias asperiores odio quis. Non ipsum nostrum.: Ut minima ducimus voluptates est minus quae. Veniam rerum ipsa quia ratione perferendis quam.: Sit omnis. additionalProperties: true 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). example: true id: type: string description: Resource identifier example: abcdef1234567890ghijkl 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.' example: true key: type: string description: Compression/deduplication key example: json-schema@0.2.3 maxLength: 512 lastBaseImageScanAt: type: integer description: last scan timestamp of the base image being referred example: 1651578240 format: int64 numNonExemptedOccurrences: type: integer description: Indicates the number of Occurrences which dont have an active exemption on the Occurrence default: 0 example: 10 format: int32 numOccurrences: type: integer description: Indicates the number of Occurrences on the Issue example: 10 format: int32 occurrenceId: type: integer example: 12345 format: int64 minimum: 1 occurrences: type: array items: type: object example: Voluptatibus est.: Quos et minima. additionalProperties: true description: Array of details unique to each occurrence example: - line: "42" - line: "666" occurrencesPagination: $ref: '#/components/schemas/Pagination' originStatus: type: string description: The status of the origin, either 'approved' or 'unapproved' example: approved origins: type: array items: type: string example: Quia possimus nobis impedit distinctio adipisci. description: The origins of the issue example: - app - base overrides: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides at scan time example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pipelineId: type: string description: Harness Pipeline ID example: example_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 primaryOccurrenceId: type: integer description: The primary occurrence's ID example: 12345 format: int64 productId: type: string description: The scan tool that identified this Security Issue example: product1234567890abcde pattern: ^[a-zA-Z0-9_-]{22}$ reachability: type: string description: Reachability status of the issue (reachable or unreachable) example: reachable recentActivities: type: array items: $ref: '#/components/schemas/ExemptionRecentActivity' description: Up to 3 most recent exemption history events for this issue, newest first example: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired remediationAgentPullRequests: type: array items: $ref: '#/components/schemas/RemediationAgentActivity' description: Unique rem-agent PRs for this issue in this scan (from issue_augmentation.pr_metadata where remediation_agent_summary_id is set). Deduped by PR URL across occurrences. Ordered by creation time descending (newest first). example: - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master severity: type: number description: Numeric severity, from 0 (lowest) to 10 (highest) example: 8.5 format: float severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned status: type: string description: Indicates if the Security Issue was found to be remediated, ignored, etc. example: Remediated enum: - Remediated - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Exempted subproduct: type: string description: The subproduct that identified this Security Issue example: product targetId: type: string description: The Target that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetName: type: string description: The Name of the Target that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetType: type: string description: The type of the Target that this Security Issue affects example: repository enum: - container - repository - instance - configuration targetVariantId: type: string description: The Target Variant that this Security Issue affects example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetVariantName: type: string description: Name of the associated Target and Variant example: nodegoat:master pattern: ^[a-zA-Z0-9_-]{22}$ title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 type: type: string description: The type of vulnerability or quality issue for this Issue example: SAST enum: - SAST - DAST - SCA - IAC - SECRET - MISCONFIG - BUG_SMELLS - CODE_SMELLS - CODE_COVERAGE - EXTERNAL_POLICY example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. baseImageName: baseImageName baseImageOrgId: default baseImageProjectId: STO baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Rejected details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness gracePeriodDays: 13 harnessAugmentation: Inventore dolor quis consequatur et voluptas nam.: Minima minus voluptatem. hasRules: true id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 lastBaseImageScanAt: 1651578240 numNonExemptedOccurrences: 10 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" occurrencesPagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname pipelineId: example_pipeline primaryOccurrenceId: 12345 productId: product1234567890abcde reachability: reachable recentActivities: - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired - actorName: Priya Nair created: 1781391060 id: hist111111111111111111 isAutoExpiry: false status: Expired remediationAgentPullRequests: - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST required: - primaryOccurrenceId - occurrencesPagination - numOccurrences - numNonExemptedOccurrences - hasRules - title - key - severity - severityCode - productId - details - id - created IssueItem: type: object properties: issueId: type: string description: Issue ID to evaluate. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ occurrences: type: array items: type: integer example: 8934027670463579981 format: int64 description: Occurrence internal IDs being exempted. When present, this item is an occurrence-level exemption (always target-scoped, `targetId` required). When omitted but `scanId` is set, all non-exempted occurrences for the issue in that scan are evaluated. example: - 101 - 102 pipelineId: type: string description: Pipeline id for this item (pipeline scope). Mutually exclusive with `targetId`. Different items may target different pipelines. example: my_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 scanId: type: string description: Harness Scan ID. When set with `targetId` and without `occurrences[]`, expands to all non-exempted occurrences for the issue in that scan (current-occurrences-only exemption). Mutually exclusive with `pipelineId`. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetId: type: string description: Target id for this item (target scope). Required when `occurrences[]` is set. Mutually exclusive with `pipelineId`. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: issueId: abcdef1234567890ghijkl occurrences: - 101 - 102 pipelineId: my_pipeline scanId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl required: - issueId IssueSeverityChangeResult: type: object properties: currentSeverityCode: type: string description: Current severity code of the issue example: High enum: - Critical - High - Medium - Low - Info - Unassigned newSeverityCode: type: string description: New severity code of the issue example: Medium enum: - Critical - High - Medium - Low - Info - Unassigned example: currentSeverityCode: High newSeverityCode: Medium required: - currentSeverityCode - newSeverityCode IssueSummaries: type: object properties: issues: type: array items: $ref: '#/components/schemas/IssueSummary' description: Short summary of an Issue example: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST description: List of issue summaries example: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST 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. example: LikelyFP 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. example: The argument to path.join is __dirname, a constant, not user input. category: type: string description: Qwiet AI issue category from issue.details.category example: Insecure Direct Object Reference (AI SAST) currentStatus: type: string description: Current status of the Exemption example: Rejected enum: - Pending - Approved - Rejected - Expired epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionCoverage: type: string description: Indicates if the Security Issue was found to be Exempted or PartiallyExempted. example: PartiallyExempted exemptionId: type: string description: ID of Security Test Exemption example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ exemptionStatusAtScan: type: string description: Exemption's status at the Security Scan created time example: Rejected enum: - Pending - Approved - Rejected - Expired id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ inKev: type: boolean description: True when any linked CVE is in the CISA KEV catalog example: true 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. example: true key: type: string description: Compression/deduplication key example: json-schema@0.2.3 maxLength: 512 lastDetected: type: integer description: Timestamp of the last detection of this issue example: 1634836529 format: int64 numNewOccurrences: type: integer example: 6764512687908462351 format: int64 numOccurrences: type: integer example: 4853728611276237391 format: int64 numRemediatedOccurrences: type: integer example: 8823473939916736713 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) example: 12345 format: int64 originStatus: type: string description: The status of the origin, either 'approved' or 'unapproved' example: approved origins: type: array items: type: string example: Voluptate eveniet qui illo dicta assumenda dolores. description: The origin of the issue, either 'app' or 'base' example: - app - base overrides: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: type: array items: $ref: '#/components/schemas/OverrideResult' description: List of issue overrides at scan time example: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: type: integer description: PR number from remediation_agent_summary.pr_metadata example: 13114 format: int64 remAgentPrStatus: type: string description: PR status from rem-agent pr_metadata.Status (same enum as RemediationAgentActivity.status) example: Open enum: - Open - Merged - Closed remAgentPrTitle: type: string description: PR title from remediation_agent_summary.pr_metadata example: '[13114] Security fix' remAgentPrUrl: type: string description: PR URL from remediation_agent_summary.pr_metadata for the linked rem-agent summary example: https://github.com/harness/example/pull/13114 remAgentRepository: type: string description: Repository from remediation_agent_summary.pr_metadata.RepositoryName example: harness/nodegoat 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. example: 42 format: int64 scanId: type: string description: The ID of the Scan that detected this Security Issue example: scan111111111111111111 severity: type: number description: Numeric severity, from 0 (lowest) to 10 (highest) example: 8.5 format: float severityCode: type: string description: Severity code example: High enum: - Critical - High - Medium - Low - Info - Unassigned status: type: string description: Indicates if the Security Issue was found to be remediated, ignored, etc. example: Remediated enum: - Remediated - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Exempted targetVariantName: type: string description: Name of the associated Target and Variant example: nodegoat:master pattern: ^[a-zA-Z0-9_-]{22}$ title: type: string description: Title of the Security Issue example: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' maxLength: 128 type: type: string description: The type of vulnerability or quality issue for this Issue example: SAST enum: - SAST - DAST - SCA - IAC - SECRET - MISCONFIG - BUG_SMELLS - CODE_SMELLS - CODE_COVERAGE - EXTERNAL_POLICY description: Short summary of an Issue example: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Rejected epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Pending id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 8219609690752795916 numOccurrences: 6986443783969661707 numRemediatedOccurrences: 5695980004951453638 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST required: - title - key - severity - severityCode - id - scanId IssuesAugmentRemediationRequestBody: type: object properties: connectorId: type: string example: Officia voluptates et in voluptatem aut aliquid. dataflow: type: object description: CPG dataflow object from the /dataflow API. Passed directly to enrich LLM prompts for SAST issues. example: Tempore officia.: Dicta ex maiores deleniti et qui vel. additionalProperties: true occurrenceId: type: integer example: 12345 format: int64 minimum: 1 referenceId: type: string example: CWE-123 scanId: type: string description: The Scan ID to use as context for the Security Issue to augment example: abcdefghijkl1234567890 pattern: ^[a-zA-Z0-9_-]{22}$ userSnippet: type: string description: The user-supplied code snippet example: |- func example() int { return 0 } minLength: 1 maxLength: 1024 example: connectorId: Itaque quam repellendus pariatur placeat vitae impedit. dataflow: Aut nulla sunt nihil earum aut unde.: Minus necessitatibus cumque esse possimus. Aut odio aliquid.: Ex similique. Repudiandae quaerat.: Sed dicta quia quia. occurrenceId: 12345 referenceId: CWE-123 scanId: abcdefghijkl1234567890 userSnippet: |- func example() int { return 0 } required: - scanId - occurrenceId IssuesIssuesAugmentRemediationResponseBody: $ref: '#/components/schemas/AugmentRemediationResult' IssuesListIssuesResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/Issue' example: - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST required: - results - pagination LatestBaselineScanInfo: type: object properties: pipelineId: type: string description: ID of the Harness pipeline to which this Exemption applies example: pipeline_1 scanTool: type: string description: Product name of the scan tool used in this step example: owasp scanToolName: type: string description: Human readable name of the scan tool used in this step example: OWASP targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetName: type: string description: The name of the target of the pipeline step's scan example: The Target targetType: type: string example: repository enum: - container - repository - instance - configuration description: Information about a the latest scan of a targets baseline variant example: pipelineId: pipeline_1 scanTool: owasp scanToolName: OWASP targetId: abcdef1234567890ghijkl targetName: The Target targetType: repository required: - targetId - targetName - targetType - pipelineId - scanTool - scanToolName LatestScansResult: type: object properties: scans: type: array items: $ref: '#/components/schemas/Scan' description: Latest succeeded scan per (product, subproduct), optionally narrowed by the productId and subproduct filters example: - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 description: The latest succeeded scan for each product/subproduct of a target variant example: scans: - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 required: - scans ListOccurrencesInScopeResponseBody: type: object properties: ignoredOccurrenceIds: type: array items: type: integer example: 693943576101631416 format: int64 description: Occurrence internal IDs excluded from scope because they already have remediation agent augmentation for this target variant example: - 6273248071241462810 - 2868385418553353138 - 5281853300126987059 originalOccurrenceCount: type: integer description: Uncapped SUM(issue_scan.num_occurrences) for the scoped issue type on the scan; not limited by the result list cap example: 2235190764152943775 format: int64 results: type: array items: $ref: '#/components/schemas/RemAgentOccurrenceRef' example: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH example: ignoredOccurrenceIds: - 5212534193023700794 - 2477910562857797885 - 7275588576762406080 - 6094400863374519605 originalOccurrenceCount: 444368873158058741 results: - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH - issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Unde voluptatem est voluptates minus iure necessitatibus. occurrenceInternalId: 2002 severityCode: HIGH required: - results - ignoredOccurrenceIds - originalOccurrenceCount ListOccurrencesInScopeResponseBody2: type: object properties: hasMore: type: boolean description: True when more rows exist beyond this page. Server always sets this by fetching limit+1 and trimming. example: true nextCursor: type: integer description: occurrenceInternalId of the last returned row. Only set when hasMore is true; pass as afterOccurrenceInternalId on the next request. example: 67890 format: int64 results: type: array items: $ref: '#/components/schemas/FpOccurrenceRef' example: - cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Debitis odio omnis voluptate amet. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Laudantium quis amet exercitationem qui. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 - cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Debitis odio omnis voluptate amet. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Laudantium quis amet exercitationem qui. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 example: hasMore: true nextCursor: 67890 results: - cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Debitis odio omnis voluptate amet. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Laudantium quis amet exercitationem qui. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 - cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Debitis odio omnis voluptate amet. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Laudantium quis amet exercitationem qui. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 - cisaKevProduct: Log4j cisaKevVendor: Apache epss: 0.97 epssPercentile: 0.99 exempted: true inCisaKev: true issueCves: - CVE-2021-44228 issueDetails: Debitis odio omnis voluptate amet. issueId: abcdef1234567890ghijkl issueInternalId: 12345 issueKey: CWE-89 issueSeverityCode: High issueTitle: SQL Injection vulnerability issueType: SAST occurrenceCves: - CVE-2021-44228 occurrenceDetails: Laudantium quis amet exercitationem qui. occurrenceInternalId: 67890 productName: semgrep scanId: abcdef1234567890ghijkl severityCode: High targetId: xyz987zyx654wvu321tsr9 targetName: payment-service targetVariantId: tv987zyx654wvu321tsr99 required: - results - hasMore ListPullRequestsResult: type: object properties: pullRequests: type: array items: $ref: '#/components/schemas/PullRequestResult' description: The list of Pull Requests example: - commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object - commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object - commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object example: pullRequests: - commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object - commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 8582898276662611230 pullRequestUrl: Voluptates et nemo ipsam aspernatur quia eveniet. sourceBranch: feat/shiny-object required: - pullRequests MinimalIssueCounts: type: object properties: critical: type: integer description: The number of Critical-severity Issues example: 1 format: int32 high: type: integer description: The number of High-severity Issues example: 3 format: int32 ignored: type: integer description: The number of Issues ignored due to Exemptions, and therefore not included in other counts example: 1 format: int32 info: type: integer description: The number of Informational Issues example: 11 format: int32 low: type: integer description: The number of Low-severity Issues example: 39 format: int32 medium: type: integer description: The number of Medium-severity Issues example: 17 format: int32 description: The count of Security Issues, by severity code, for a given Harness Pipeline Execution example: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 required: - critical - high - medium - low - info MinimalIssueCountsPerScanner: type: object properties: critical: type: integer description: The number of Critical-severity Issues example: 1 format: int32 high: type: integer description: The number of High-severity Issues example: 3 format: int32 ignored: type: integer description: The number of Issues ignored due to Exemptions, and therefore not included in other counts example: 1 format: int32 info: type: integer description: The number of Informational Issues example: 11 format: int32 low: type: integer description: The number of Low-severity Issues example: 39 format: int32 medium: type: integer description: The number of Medium-severity Issues example: 17 format: int32 scanner: type: string description: Name of the scanner that produced these issues example: Semgrep description: The count of Security Issues, by severity code, for a given Harness Pipeline Execution example: critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep required: - critical - high - medium - low - info - scanner NotFound: type: object properties: message: type: string example: Not Found status: type: integer default: 404 example: 404 format: int64 example: message: Not Found status: 404 required: - message OccurrenceDataflowResult: type: object properties: dataflow: type: object description: Raw dataflow data as received from external scanner example: Qui odit minus culpa earum nobis.: Quod ducimus magni veniam autem quia expedita. Veritatis quod nemo eos labore.: Corporis quasi quaerat deleniti perferendis error. additionalProperties: true hasDataflow: type: boolean description: Indicates if dataflow data exists for this occurrence example: true occurrenceInternalId: type: integer description: Internal ID of the occurrence example: 12345 format: int64 description: Dataflow information for an occurrence example: dataflow: Autem commodi laborum voluptatem pariatur voluptatem.: In nihil. Quis dignissimos nobis.: Praesentium minima dicta fuga aut. hasDataflow: true occurrenceInternalId: 12345 required: - occurrenceInternalId - hasDataflow Override: type: object properties: approverId: type: string description: User ID of the user who approved this Exemption example: user111111111111111111 created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ isDeleted: type: boolean description: States if the override is deleted default: false example: true issueId: type: string description: The ID of the Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 link: type: string description: Link to a related ticket example: https://example.com/ABC-1234 maxLength: 1024 occurrences: type: array items: type: integer example: 7736654805343881177 format: int64 description: Array of occurrence Ids example: - 42 - 666 orgId: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 overrideFieldName: type: string description: Name of the field that is being overridden example: severity maxLength: 1024 overrideFieldValue: type: string description: Value of the field that is being overridden example: Low maxLength: 1024 pipelineId: type: string description: Harness Pipeline ID example: example_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 projectId: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 reason: type: string description: Text describing why this override is necessary example: Waiting on upstream bug fix maxLength: 1024 requesterId: type: string description: User ID of the user who requested this Exemption example: user111111111111111111 scanId: type: string description: ID of the Harness Scan to determine all the occurrences for the scan-issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ scope: type: string description: States the scope for the override example: PROJECT enum: - PROJECT - TARGET search: type: string description: Search parameter to find filtered occurrences of the issue example: CWE-123,5 maxLength: 256 status: type: string description: Approval status of Override default: Pending example: Expired enum: - Pending - Approved - Rejected - Expired - Canceled targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ description: Information about an Override example: approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Rejected targetId: abcdef1234567890ghijkl required: - issueId - reason - requesterId - overrideFieldName - overrideFieldValue - status OverrideResult: type: object properties: created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 fieldName: type: string description: Name of the field that is being overridden example: severityCode impactedTargetId: type: string description: ID of the impacted target example: target1111111111111111 originalFieldValue: type: string description: Original value of the field that is being overridden example: Low overrideFieldValue: type: string description: Value of the field that is being overridden example: Low maxLength: 1024 overrideId: type: string description: Override Id of the override example: override1234 reason: type: string description: Text describing why this override is necessary example: Waiting on upstream bug fix maxLength: 1024 requesterEmail: type: string description: Email of the user who requested this Exemption example: user@harness.io requesterId: type: string description: User ID of the user who requested the override example: user111111111111111111 requesterName: type: string description: Name of the user who requested this Exemption example: firstname lastname example: created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname required: - fieldName - originalFieldValue - overrideFieldValue - reason - created OverridesListOverridesResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/Override' example: - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl - approverId: user111111111111111111 created: 1651578240 id: abcdef1234567890ghijkl isDeleted: true issueId: abcdef1234567890ghijkl lastModified: 1651578240 link: https://example.com/ABC-1234 occurrences: - 42 - 666 orgId: example_org overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline projectId: example_project reason: Waiting on upstream bug fix requesterId: user111111111111111111 scanId: abcdef1234567890ghijkl scope: PROJECT search: CWE-123,5 status: Pending targetId: abcdef1234567890ghijkl required: - results - pagination 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) example: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST pagination: $ref: '#/components/schemas/Pagination' example: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - issues - pagination Pagination: type: object properties: link: type: string description: Link-based paging example: "" page: type: integer description: Page number (starting from 0) example: 4 format: int64 pageSize: type: integer description: Requested page size example: 20 format: int64 totalItems: type: integer description: Total results available example: 230 format: int64 totalPages: type: integer description: Total pages available example: 12 format: int64 example: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - page - pageSize - totalPages - totalItems PatchApplicationRequestBody: type: object properties: name: type: string description: Application name. Unique among live applications in the project. example: Payment Platform minLength: 1 maxLength: 128 targetIds: type: array items: type: string example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ description: Scanned target ids for this application after the update. Minimum 1, maximum 100, no duplicates. example: - abcdef1234567890ghijkl - xyz987zyx654wvu321tsr9 minItems: 1 maxItems: 100 example: name: Payment Platform targetIds: - abcdef1234567890ghijkl - xyz987zyx654wvu321tsr9 required: - name - targetIds PatchTargetRequestBody: type: object properties: baselineRegEx: type: string description: RegEx to match for dynamically selecting the Baseline for this Scan Target. Must be compatible with the RE2 standard. example: release_.* maxLength: 128 baselineVariantId: type: string description: ID of baseline Target Variant for Issue comparison example: abcdef1234567890ghijkl pattern: ^([a-zA-Z0-9_-]{22}|)$ directory: type: string description: Directory within the Test Target to be scanned example: app/src maxLength: 1024 name: type: string description: Name of the Test Target example: NodeGoat pattern: ^[a-zA-Z0-9_.:/|()-]+$ maxLength: 128 type: type: string description: Test Target's type example: repository enum: - container - repository - instance - configuration url: type: string description: URL used to access the Test Target example: https://github.com/example/repo maxLength: 1024 example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl directory: app/src name: NodeGoat type: repository url: https://github.com/example/repo PendingChanges: type: object properties: durationDays: type: integer description: The number of days an issue should be exempted for example: 7 format: int64 example: durationDays: 7 PipelineSecurityCounts: type: object properties: activeIssueCount: type: integer example: 6968824749637827301 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. example: 3053943836842262049 format: int64 remAgentPRMergedCount: type: integer description: Distinct rem-agent PRs in the current filtered issue set whose SCM status resolves to Merged. example: 5547695865767205564 format: int64 remAgentPROpenCount: type: integer description: Distinct rem-agent PRs in the current filtered issue set whose SCM status resolves to Open. example: 8005633699786622220 format: int64 remediated: $ref: '#/components/schemas/FrontendIssueCounts' totalActive: type: integer example: 9016865118359430531 format: int64 totalApp: type: integer example: 3335807270606289033 format: int64 totalBase: type: integer example: 5637270588296569755 format: int64 totalDeduplicationRate: type: number example: 0.07151027 format: float totalExempted: type: integer example: 2623835105313763047 format: int64 totalNoLayer: type: integer example: 3108591161724405067 format: int64 totalNumOccurrence: type: integer example: 7305945750376818904 format: int64 totalPartiallyExempted: type: integer example: 2734070297111214410 format: int64 totalPending: type: integer example: 6988173778464105450 format: int64 totalRejected: type: integer example: 4488984583489353296 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. example: 9066333036505924381 format: int64 totalRemediated: type: integer example: 5500861536048685926 format: int64 example: activeIssueCount: 2598087858943882975 existing: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 new: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remAgentPRClosedCount: 7275015581458199182 remAgentPRMergedCount: 4040044955536190450 remAgentPROpenCount: 5467894508487132223 remediated: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 totalActive: 7039232598458347262 totalApp: 2340534030199474130 totalBase: 8350384939023189589 totalDeduplicationRate: 0.36234426 totalExempted: 5633748803683571051 totalNoLayer: 1257178815641905299 totalNumOccurrence: 9013608036521258853 totalPartiallyExempted: 5970230098906222879 totalPending: 3205627474435098270 totalRejected: 7838666895213724002 totalRemAgentPRCount: 8934240345583436866 totalRemediated: 3804789989120360817 required: - new - existing - remediated - totalActive PipelineSecurityIssuesResult: type: object properties: counts: $ref: '#/components/schemas/PipelineSecurityCounts' existing: $ref: '#/components/schemas/PaginatedIssueSummaries' matchingSteps: type: array items: $ref: '#/components/schemas/StageStepID' example: - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id new: $ref: '#/components/schemas/PaginatedIssueSummaries' description: Data needed by the PipelineSecurityView example: counts: activeIssueCount: 5102144953436628337 existing: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 new: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remAgentPRClosedCount: 8198884318849422476 remAgentPRMergedCount: 69526802394625833 remAgentPROpenCount: 6766111769313669585 remediated: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 totalActive: 7830084826172222052 totalApp: 4045565093219742029 totalBase: 1020379709425827292 totalDeduplicationRate: 0.75963956 totalExempted: 1373523495544199076 totalNoLayer: 5163797869611121035 totalNumOccurrence: 7632017178813302029 totalPartiallyExempted: 235530422475850412 totalPending: 6847978612601105645 totalRejected: 4100440230769903075 totalRemAgentPRCount: 3430478721634654189 totalRemediated: 1188979202520520071 existing: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 matchingSteps: - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id new: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - existing - new - counts - matchingSteps PipelineSecurityIssuesV2Result: type: object properties: counts: $ref: '#/components/schemas/PipelineSecurityCounts' issues: $ref: '#/components/schemas/PaginatedIssueSummaries' matchingSteps: type: array items: $ref: '#/components/schemas/StageStepID' example: - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id remediationCounts: $ref: '#/components/schemas/PipelineSecurityCounts' description: Combined, paginated list of pipeline security issues for the PipelineSecurityView example: counts: activeIssueCount: 5102144953436628337 existing: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 new: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remAgentPRClosedCount: 8198884318849422476 remAgentPRMergedCount: 69526802394625833 remAgentPROpenCount: 6766111769313669585 remediated: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 totalActive: 7830084826172222052 totalApp: 4045565093219742029 totalBase: 1020379709425827292 totalDeduplicationRate: 0.75963956 totalExempted: 1373523495544199076 totalNoLayer: 5163797869611121035 totalNumOccurrence: 7632017178813302029 totalPartiallyExempted: 235530422475850412 totalPending: 6847978612601105645 totalRejected: 4100440230769903075 totalRemAgentPRCount: 3430478721634654189 totalRemediated: 1188979202520520071 issues: issues: - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 matchingSteps: - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id - parentStageId: stage_id stageId: stage_id stepId: step_id remediationCounts: activeIssueCount: 5102144953436628337 existing: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 new: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 remAgentPRClosedCount: 8198884318849422476 remAgentPRMergedCount: 69526802394625833 remAgentPROpenCount: 6766111769313669585 remediated: active: 150 critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 totalActive: 7830084826172222052 totalApp: 4045565093219742029 totalBase: 1020379709425827292 totalDeduplicationRate: 0.75963956 totalExempted: 1373523495544199076 totalNoLayer: 5163797869611121035 totalNumOccurrence: 7632017178813302029 totalPartiallyExempted: 235530422475850412 totalPending: 6847978612601105645 totalRejected: 4100440230769903075 totalRemAgentPRCount: 3430478721634654189 totalRemediated: 1188979202520520071 required: - issues - counts - matchingSteps PipelineSecurityStepsResult: type: object properties: exploitabilityFlag: type: boolean description: Indicates if exploitability analysis is available (true if any step uses Harness Code) example: true issueCategories: type: array items: type: string example: Deleniti aut sint tenetur est qui et. description: Distinct non-empty issue categories present in this pipeline execution example: - Insecure Direct Object Reference (AI SAST) - SQL Injection reachabilityFlag: type: boolean description: Indicates if reachability analysis is available (true if any step uses Harness Code) example: true steps: type: array items: $ref: '#/components/schemas/StepInfo' example: - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' example: exploitabilityFlag: true issueCategories: - Insecure Direct Object Reference (AI SAST) - SQL Injection reachabilityFlag: true steps: - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' - baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' required: - steps - reachabilityFlag - exploitabilityFlag PolicyEnforcementPolicy: type: object properties: denyMessages: type: array items: type: string example: Aliquam consequuntur est perferendis cupiditate nisi. example: - Quas dolorem nostrum. - Accusamus repellendus et. - Adipisci molestiae quaerat recusandae aut nisi dignissimos. - Nihil ut incidunt autem earum recusandae. error: type: string example: Nam at similique. identifier: type: string example: Suscipit corrupti provident distinctio. name: type: string example: Aut minima. severity: type: string example: Quia iusto beatae sunt doloribus possimus. status: type: string example: error enum: - pass - warning - error example: denyMessages: - Voluptatem quia non animi rerum fuga quas. - Dolor voluptas repellat aut suscipit amet. - Est laboriosam commodi. error: Asperiores ut. identifier: Explicabo suscipit aliquid rerum. name: Veritatis officiis amet qui nihil alias. severity: Ea quia porro voluptatem. status: warning required: - identifier - name - status - denyMessages PolicyEnforcementPolicySet: type: object properties: identifier: type: string example: Debitis corrupti totam non et omnis. name: type: string example: Beatae reprehenderit vel repellat. policies: type: array items: $ref: '#/components/schemas/PolicyEnforcementPolicy' example: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: type: string example: error enum: - pass - warning - error example: identifier: Praesentium ut eveniet sunt quia provident. name: Omnis facilis maiores. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error required: - identifier - name - status - policies PolicyEnforcementResult: type: object properties: evaluationId: type: string example: Vel quasi nemo animi. failedPolicySets: type: array items: $ref: '#/components/schemas/PolicyEnforcementPolicySet' example: - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error status: type: string example: warning enum: - pass - warning - error warningPolicySets: type: array items: $ref: '#/components/schemas/PolicyEnforcementPolicySet' example: - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error example: evaluationId: Voluptate aliquid. failedPolicySets: - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error status: error warningPolicySets: - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error - identifier: Voluptatem officia hic. name: Laboriosam magni maiores cupiditate fuga magni veniam. policies: - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning - denyMessages: - Adipisci sit est est minima. - Nulla ad illum tempore quas ut. - Explicabo molestiae perferendis ex maiores. - Doloribus vel sit. error: Reprehenderit iste. identifier: Aut rerum. name: Eum omnis voluptas fuga nobis. severity: Mollitia sit ex cumque harum quis. status: warning status: error required: - status - evaluationId - failedPolicySets - warningPolicySets Product: type: object properties: created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 description: type: string description: Scan Tool's description example: OWASP 5.x SCA scanner id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ isEnabled: type: boolean description: '''true'' if this Scan Tool is enabled for use' example: true lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 name: type: string description: Name of the Scan Tool example: owasp prettyName: type: string description: Name of the Scan Tool example: owasp description: Information about a Scan Tool example: created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp required: - name - prettyName - description - isEnabled - id - created - lastModified ProductsListProductsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/Product' example: - created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp - created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp - created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp - created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp - created: 1651578240 description: OWASP 5.x SCA scanner id: abcdef1234567890ghijkl isEnabled: true lastModified: 1651578240 name: owasp prettyName: owasp required: - results - pagination PromoteExemptionRequestBody: type: object properties: comment: type: string description: Comment to be added to the Exemption approval or rejection example: This is a comment for the approval or rejection of the exemption maxLength: 1024 pendingChangesOverride: $ref: '#/components/schemas/PendingChanges' pipelineId: type: string description: Harness STO pipeline ID example: abcdef1234567890ghijkl pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 targetId: type: string description: Harness STO Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: comment: This is a comment for the approval or rejection of the exemption pendingChangesOverride: durationDays: 30 pipelineId: abcdef1234567890ghijkl targetId: abcdef1234567890ghijkl required: - type - reason - pendingChanges - issueId - status - requesterId - created - lastModified ProvisionQwietTrialResult: type: object properties: message: type: string description: Status message describing the result example: Qwiet trial license provisioned successfully description: Result of Qwiet trial provisioning example: message: Qwiet trial license provisioned successfully required: - message PullRequestActionResult: type: object properties: action: type: string description: 'The PR action to display: create, suggestFix, display, or none' example: create enum: - create - suggestFix - display - none commentUrl: type: string description: Direct URL to the suggestion comment (for display action after suggestFix) example: Expedita omnis commodi. disabled: type: boolean description: If true, the action button should be shown but disabled example: false disabledReason: type: string description: Reason the action is disabled (e.g., missing targetBranch) example: Id sequi. pullRequestNumber: type: integer description: The PR number (for display or suggestFix actions) example: 6109412779696090737 format: int64 pullRequestUrl: type: string description: The full URL of the PR (for display action) example: Nostrum aut. remediationCodeEnd: type: integer description: End line of the vulnerable code in the file example: 6936286136672263422 format: int64 remediationCodePath: type: string description: The file path for the remediation code, resolved from the occurrence example: Itaque dignissimos blanditiis id sunt magnam voluptates. remediationCodeStart: type: integer description: Start line of the vulnerable code in the file example: 4458289010183778801 format: int64 remediationIndent: type: integer description: Column indentation of the vulnerable code example: 3680192089121449675 format: int64 targetBranch: type: string description: The target branch for PR creation example: Quis consequatur voluptatem. example: action: create commentUrl: Iste architecto reprehenderit excepturi. disabled: false disabledReason: Dolorem autem quam est. pullRequestNumber: 5075069946447166514 pullRequestUrl: Culpa illum. remediationCodeEnd: 4649305423481959535 remediationCodePath: Dicta sunt eaque autem rerum. remediationCodeStart: 5145104063786107963 remediationIndent: 4357609424282321686 targetBranch: Qui delectus laudantium similique omnis. required: - action PullRequestCorrelationResult: type: object properties: isCorrelated: type: boolean description: True if the path is correlated to the Pull Request example: true example: isCorrelated: true required: - isCorrelated PullRequestResult: type: object properties: commentUrl: type: string description: Direct URL to the suggestion comment (returned by UpdatePullRequest) example: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: type: integer description: The number of the Pull Request example: 2820693135530536424 format: int64 pullRequestUrl: type: string description: The URL of the Pull Request example: Soluta et veniam eaque dolores sunt ex. sourceBranch: type: string description: The source branch of the Pull Request example: feat/shiny-object example: commentUrl: https://github.com/owner/repo/pull/1#discussion_r12345 pullRequestNumber: 3961411980100132127 pullRequestUrl: Dolor natus. sourceBranch: feat/shiny-object required: - sourceBranch - pullRequestNumber - pullRequestUrl PullRequestsGetPullRequestActionResponseBody: $ref: '#/components/schemas/PullRequestActionResult' PullRequestsGetPullRequestCorrelationResponseBody: $ref: '#/components/schemas/PullRequestCorrelationResult' PullRequestsListPullRequestsResponseBody: $ref: '#/components/schemas/ListPullRequestsResult' PutScannerSettingsBody: type: object properties: settings: type: object description: Sparse map of top-level blocks to partial field updates. example: Architecto cupiditate et.: Magni est sed. Enim beatae qui enim est.: Unde perspiciatis veniam ea. Optio molestias.: Veritatis sit molestiae fuga odio sint dolores. additionalProperties: true example: settings: Doloribus ut.: Quaerat voluptas est aut qui voluptas architecto. required: - settings QwietLicenseUsageResult: type: object properties: ok: type: boolean description: Indicates if the request was successful example: true response: $ref: '#/components/schemas/HarnessSastScaUsage' description: Qwiet license usage metrics example: ok: true response: totalContributingDevelopers: 42 required: - ok - response QwietProxyConfigResponse: type: object properties: enabled: type: boolean description: Whether STO proxy mode is enabled for this account example: false grpcApiHost: type: string description: STO gRPC API host:port. Same value as grpcTelemetryHost. Set only when enabled is true. example: sto.example.com:443 grpcTelemetryHost: type: string description: STO gRPC telemetry host:port. Same value as grpcApiHost. Set only when enabled is true. example: sto.example.com:443 example: enabled: false grpcApiHost: sto.example.com:443 grpcTelemetryHost: sto.example.com:443 required: - enabled QwietScanPollItem: type: object properties: harnessScanId: type: string description: Harness scan id when a matching scan row exists example: Et assumenda. link: type: string description: Harness STO scan-history URL example: Et officiis quod ex ipsam ipsum. polyglotScanId: type: integer description: Qwiet polyglot scan id example: 8985922637579124781 format: int64 status: type: string description: scan.status, or not_found when no row matches example: Officia quia. example: harnessScanId: Molestiae quos. link: Nam dolor dolorem nemo repellat. polyglotScanId: 3051526681126826555 status: Sapiente laborum maxime rem. required: - polyglotScanId - status - link QwietScanPollResult: type: object properties: scans: type: array items: $ref: '#/components/schemas/QwietScanPollItem' example: - harnessScanId: Harum velit nisi deserunt eligendi qui consequuntur. link: Unde aut. polyglotScanId: 5499116444759870618 status: Corrupti a. - harnessScanId: Harum velit nisi deserunt eligendi qui consequuntur. link: Unde aut. polyglotScanId: 5499116444759870618 status: Corrupti a. example: scans: - harnessScanId: Harum velit nisi deserunt eligendi qui consequuntur. link: Unde aut. polyglotScanId: 5499116444759870618 status: Corrupti a. - harnessScanId: Harum velit nisi deserunt eligendi qui consequuntur. link: Unde aut. polyglotScanId: 5499116444759870618 status: Corrupti a. required: - scans QwietTokenResponse: type: object properties: authorized: type: boolean description: Authorization status (sast/sca license types) example: true licenseType: type: string description: Type of license validated example: sast enum: - qwiet - sast - sca organizationId: type: string description: Qwiet organization ID (qwiet license type only) example: org_123456 token: type: string description: Qwiet access token (qwiet license type only) example: qwiet_token_abc123xyz example: authorized: true licenseType: sast organizationId: org_123456 token: qwiet_token_abc123xyz QwietUserTokenResponse: type: object properties: email: type: string description: User email address. Set only when useStoProxy is false. example: user@example.com grpcApiHost: type: string description: STO gRPC host:port (API and telemetry). Set only when useStoProxy is true. One mesh. example: sto.example.com:443 grpcTelemetryHost: type: string description: Deprecated. Omitted; sl copies grpcApiHost when empty. example: sto.example.com:443 organizationId: type: string description: Qwiet organization ID. Set only when useStoProxy is false. example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 token: type: string description: Qwiet user access token. Set only when useStoProxy is false. example: Sequi ullam et nulla quia est cum. useStoProxy: type: boolean description: True when this account must call the STO proxy. False when sl calls Qwiet directly. example: false example: email: user@example.com grpcApiHost: sto.example.com:443 grpcTelemetryHost: sto.example.com:443 organizationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 token: Molestiae iusto aut est. useStoProxy: false required: - useStoProxy RecallMemoryResponseBody: type: object properties: entryCount: type: integer description: Lessons selected for this run, before the page cap example: 7088308119558402351 format: int64 page: type: string description: Markdown lessons for this run, capped at 12 KB. Empty when there are none. example: Velit quis ad. example: entryCount: 6659233560792595505 page: Exercitationem quo exercitationem velit ut et ea. required: - page - entryCount RecordIngestionActivityResult: type: object properties: recorded: type: boolean description: True when a new row was inserted; false when a once-only status was already recorded example: false example: recorded: true required: - recorded RefIds: type: object properties: id: type: string example: Ab laudantium perferendis at saepe. type: type: string example: Esse quis necessitatibus est velit non eius. example: id: Doloremque aspernatur officiis ipsum. type: Aliquid quaerat modi veritatis necessitatibus iure soluta. RemAgentApprovedBaseImageVariant: type: object properties: lastScanned: type: integer description: Unix timestamp of the latest scan of this variant, when known example: 1714521600 format: int64 variant: type: string description: 'Bare parameters.variant value (for example 3.21), not tag: 3.21' example: "3.21" example: lastScanned: 1714521600 variant: "3.21" required: - variant RemAgentBaseImageApproval: type: object properties: approvedVariants: type: array items: $ref: '#/components/schemas/RemAgentApprovedBaseImageVariant' description: Approved variants of the target name across the account, newest scan first, bare variant strings, de-duplicated. Empty when the target was never scanned or has no approved variant example: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: type: string description: Requested STO target name example: alpine example: approvedVariants: - lastScanned: 1714521600 variant: "3.21" - lastScanned: 1714521600 variant: "3.21" targetName: alpine required: - targetName - approvedVariants RemAgentOccurrenceRef: type: object properties: issueId: type: string example: issue11111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ issueTitle: type: string example: SQL Injection issueType: type: string description: STO issue type for this occurrence (i.type) example: SAST occurrenceDetails: type: string description: Issue details merged under occurrence unique_details overrides example: Molestias commodi voluptatibus ratione quo. format: binary occurrenceInternalId: type: integer example: 2002 format: int64 severityCode: type: string example: HIGH description: In-scope occurrence for the remediation pre-plugin. occurrenceDetails is issue+occurrence hydrated so each row is self-contained. Fingerprint stays server-side for Diff matching only — not on the wire. example: issueId: issue11111111111111111 issueTitle: SQL Injection issueType: SAST occurrenceDetails: Dignissimos et sit. occurrenceInternalId: 2002 severityCode: HIGH required: - issueId - occurrenceInternalId - issueTitle - severityCode RemAgentValidationBuildMeta: type: object properties: executionId: type: string example: 5cq maxLength: 128 orgId: type: string example: hpr maxLength: 128 pipelineId: type: string example: dx3 maxLength: 128 projectId: type: string example: az8 maxLength: 128 status: type: string description: Free-form validation status from the plugin; null stays null. example: 6s1 maxLength: 64 example: executionId: s0a orgId: 1iv pipelineId: 2qm projectId: qj2 status: 3lu RemAgentValidationMetadata: type: object properties: build: $ref: '#/components/schemas/RemAgentValidationBuildMeta' remediation: $ref: '#/components/schemas/RemAgentValidationRemediationMeta' example: build: executionId: xa4 orgId: bft pipelineId: 6vr projectId: fvy status: ruc remediation: executionId: 4nk orgId: sl9 pipelineId: ai3 projectId: l39 scanId: scan222222222222222222 status: duz RemAgentValidationRemediationMeta: type: object properties: executionId: type: string example: 3f7 maxLength: 128 orgId: type: string example: c98 maxLength: 128 pipelineId: type: string example: qq8 maxLength: 128 projectId: type: string example: 7eg maxLength: 128 scanId: type: string example: scan222222222222222222 pattern: ^[a-zA-Z0-9_-]{22}$ status: type: string description: Free-form validation status from the plugin; null stays null. example: "3e0" maxLength: 64 example: executionId: 4qm orgId: wok pipelineId: hir projectId: bsa scanId: scan222222222222222222 status: 41t RemediationAgentActivitiesResult: type: object properties: activities: type: array items: $ref: '#/components/schemas/RemediationAgentActivity' example: - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master index: type: integer description: Echo of request index example: 0 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. example: 4 format: int64 example: activities: - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master - buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master index: 0 total: 4 required: - activities - total - index RemediationAgentActivity: type: object properties: buildId: type: string description: pr_metadata.BuildId from post-plugin example: "4" commits: type: integer description: pr_metadata.CommitsCount from post-plugin example: 3 format: int64 createdAt: type: string description: RFC3339 remediation_agent_summary.created example: "2026-07-04T12:45:00Z" format: date-time executionId: type: string description: Pipeline execution id of original_scan_id (for PSI V2) example: execution1111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ fixVerified: type: string description: Mapped validation_metadata.remediation.status example: success enum: - success - failure - unverified fixVerifiedPipeline: $ref: '#/components/schemas/RemediationPipelineRef' id: type: string description: remediation_agent_summary.internal_id as string (remAgentSummaryId) example: "42" jiraTicketId: type: string example: STO-87236 jiraTicketUrl: type: string example: https://jira.example.com/browse/STO-87236 prNumber: type: integer example: 13114 format: int64 prTitle: type: string example: '[13114] Security fix' prUrl: type: string example: https://github.com/harness/example/pull/13114 regression: type: string description: Mapped validation_metadata.build.status example: success enum: - success - failure - unverified regressionPipeline: $ref: '#/components/schemas/RemediationPipelineRef' repository: type: string example: harness/nodegoat scanId: type: string example: scan111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ sourceBranch: type: string example: remediation/sast-13114 status: type: string description: PR status for View Remediations (Open|Merged|Closed; synced by background task into pr_metadata) example: Open enum: - Open - Merged - Closed targetBranch: type: string example: master description: One remediation-agent PR activity for the View Remediations drawer example: buildId: "4" commits: 3 createdAt: "2026-07-04T12:45:00Z" executionId: execution1111111111111 fixVerified: success fixVerifiedPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO id: "42" jiraTicketId: STO-87236 jiraTicketUrl: https://jira.example.com/browse/STO-87236 prNumber: 13114 prTitle: '[13114] Security fix' prUrl: https://github.com/harness/example/pull/13114 regression: success regressionPipeline: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO repository: harness/nodegoat scanId: scan111111111111111111 sourceBranch: remediation/sast-13114 status: Open targetBranch: master required: - id - scanId - executionId - repository - prNumber - prTitle - prUrl - status - commits - sourceBranch - targetBranch - buildId - createdAt - fixVerified - regression RemediationPipelineRef: type: object properties: executionId: type: string example: execution1111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ orgId: type: string example: default pipelineId: type: string example: security_pipeline projectId: type: string example: STO description: Harness pipeline execution coordinates so the FE can build an execution URL example: executionId: execution1111111111111 orgId: default pipelineId: security_pipeline projectId: STO RemediationSections: type: object properties: attackScenario: type: string example: Est libero iste. furtherConsiderations: type: string example: Laboriosam earum veritatis rem. references: type: string example: Deleniti quos ullam maxime. remediationSteps: type: string example: Vitae voluptates consequatur est ut et. rootCauseAnalysis: type: string example: Officia quo et. secureCodingPattern: type: string example: Impedit molestiae ut. taintPathAnalysis: type: string example: Asperiores exercitationem deleniti ullam eius neque distinctio. testCases: type: string example: Omnis quibusdam alias voluptatibus aut consequuntur. verificationChecklist: type: string example: Voluptate laudantium non molestiae nulla dicta architecto. vulnerabilityOverview: type: string example: Dicta molestiae ut unde. example: attackScenario: Suscipit ipsa pariatur necessitatibus. furtherConsiderations: Sed omnis ut rerum eligendi omnis magnam. references: Id nostrum officiis nisi. remediationSteps: Ipsam quidem labore voluptate dolorum. rootCauseAnalysis: Consequatur commodi vel nihil corrupti impedit. secureCodingPattern: Omnis et autem incidunt. taintPathAnalysis: Aut at corrupti. testCases: Eum amet iure rerum est quia eum. verificationChecklist: Non deserunt voluptatum sit repudiandae molestiae ipsam. vulnerabilityOverview: Voluptas sint facilis est qui. RemediationTrendPoint: type: object properties: cumulativeNew: type: integer description: Cumulative discovered occurrences as of this execution's end example: 5 format: int64 cumulativeRemediated: type: integer description: Cumulative remediated occurrences as of this execution's end example: 2 format: int64 executionId: type: string description: Harness execution ID example: exec-0001 timestamp: type: string description: ISO-8601 timestamp when the execution started example: "2025-07-30T02:32:00.000Z" description: Cumulative new vs remediated occurrence counts for a single execution example: cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" required: - executionId - timestamp - cumulativeNew - cumulativeRemediated 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 example: - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" example: trend: - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" - cumulativeNew: 5 cumulativeRemediated: 2 executionId: exec-0001 timestamp: "2025-07-30T02:32:00.000Z" required: - trend ReportScanStatusResponseBody: type: object properties: duplicate: type: boolean example: true event_published: type: boolean example: true example: duplicate: false event_published: true required: - event_published - duplicate RepositoriesListRepositoriesResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/Repository' example: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo - executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Et repellat cupiditate sed fuga rerum.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Ratione laudantium itaque aut est eaque facere.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo required: - results - pagination RepositoriesOverviewResult: type: object properties: baselineSet: type: integer description: Repositories with a baseline set example: 90 format: int64 minimum: 0 issueRemediations: type: integer description: Change in remediated issues since UTC midnight example: 40 format: int64 issueSeverityDeltas: $ref: '#/components/schemas/RepositorySeverityDeltas' issueSeverityTotals: $ref: '#/components/schemas/RepositorySeverityCounts' occurrenceRemediations: type: integer description: Change in remediated occurrences since UTC midnight example: 100 format: int64 occurrenceSeverityDeltas: $ref: '#/components/schemas/RepositorySeverityDeltas' occurrenceSeverityTotals: $ref: '#/components/schemas/RepositorySeverityCounts' sourceBreakdown: type: array items: $ref: '#/components/schemas/ArtifactSourceBreakdownItem' description: Repository counts grouped by source. Null/empty source is grouped as Unknown. example: - count: 42 source: Github - count: 42 source: Github totalRepositories: type: integer description: Total repositories example: 128 format: int64 minimum: 0 description: Aggregate widgets for the Repositories page. example: baselineSet: 90 issueRemediations: 40 issueSeverityDeltas: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 issueSeverityTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceRemediations: 100 occurrenceSeverityDeltas: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 occurrenceSeverityTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 sourceBreakdown: - count: 42 source: Github - count: 42 source: Github totalRepositories: 128 required: - totalRepositories - sourceBreakdown - baselineSet - occurrenceSeverityTotals - issueSeverityTotals RepositoriesRepositoriesOverviewResponseBody: $ref: '#/components/schemas/RepositoriesOverviewResult' Repository: type: object properties: executionId: type: string description: CI execution identifier. With pipelineId and the request org/project, FE can construct a Harness execution URL when executionUrl is empty. example: abcdef1234567890ghijkl maxLength: 128 executionSource: type: string description: CI/CD platform of the last execution (harness, jenkins, github_actions, gitlab_ci, ...). Distinct from artifact/repo registry source. Omitted when unknown. example: harness 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. example: https://jenkins.example.com/job/42 maxLength: 1024 id: type: string description: Target id example: abcdef1234567890ghijkl isBaseline: type: boolean description: Whether this variant is the baseline example: true isCommit: type: boolean description: True when the displayed branch name is a git commit, not a branch default: false example: false issueSeverityCounts: $ref: '#/components/schemas/RepositorySeverityCounts' lastScanAt: type: integer description: Last scan time in milliseconds since Unix epoch example: 1751793300000 format: int64 name: type: string description: Repository name example: NodeGoat occurrenceSeverityCounts: $ref: '#/components/schemas/RepositorySeverityCounts' pipelineId: type: string description: Harness pipeline identifier (not the pretty pipelineName). Used with executionId to construct a Harness execution URL when executionUrl is empty. example: Security_Gate maxLength: 128 scanType: type: object description: Scan types mapped to scanner ids and display names example: Ex nihil error commodi enim impedit veritatis.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Recusandae et repellat.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Rerum saepe.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy additionalProperties: type: array items: $ref: '#/components/schemas/ScanTypeScanner' example: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: type: string description: Repository source example: Github maxLength: 256 targetName: type: string description: Variant name example: main targetVariantId: type: string description: Target variant id example: abcdef1234567890ghijkl url: type: string description: Repository URL example: https://github.com/example/repo maxLength: 1024 description: A repository. example: executionId: abcdef1234567890ghijkl executionSource: harness executionUrl: https://jenkins.example.com/job/42 id: abcdef1234567890ghijkl isBaseline: true isCommit: false issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 lastScanAt: 1751793300000 name: NodeGoat occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate scanType: Aliquid magnam quos commodi quia quia.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy source: Github targetName: main targetVariantId: abcdef1234567890ghijkl url: https://github.com/example/repo required: - id - name - scanType - occurrenceSeverityCounts - issueSeverityCounts RepositorySeverityCounts: type: object properties: critical: type: integer description: Critical count example: 3 format: int64 minimum: 0 high: type: integer description: High count example: 4 format: int64 minimum: 0 info: type: integer description: Info count example: 1 format: int64 minimum: 0 low: type: integer description: Low count example: 2 format: int64 minimum: 0 medium: type: integer description: Medium count example: 5 format: int64 minimum: 0 unassigned: type: integer description: Unassigned count example: 0 format: int64 minimum: 0 description: Counts by severity. example: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 required: - critical - high - medium - low - info - unassigned RepositorySeverityDeltas: type: object properties: critical: type: integer description: Change in critical count example: -2 format: int64 high: type: integer description: Change in high count example: 1 format: int64 info: type: integer description: Change in info count example: 0 format: int64 low: type: integer description: Change in low count example: -5 format: int64 medium: type: integer description: Change in medium count example: 0 format: int64 unassigned: type: integer description: Change in unassigned count example: 0 format: int64 description: Change in counts by severity since UTC midnight. May be negative. Null when no snapshot exists for today. example: critical: -2 high: 1 info: 0 low: -5 medium: 0 unassigned: 0 required: - critical - high - medium - low - info - unassigned ResolveAppScopeResult: type: object properties: harnessApp: type: string description: Plain decoded Harness app scope ({org}/{project}/{app}) example: default/STO/NodeGoat qwietAppName: type: string description: Hyphenated and sanitized app name used in Qwiet API paths ({org}-{project}-{app}) example: default-STO-NodeGoat xHarnessApp: type: string description: Base64url-encoded X-Harness-App header value example: ZGVmYXVsdC9TVE8vTm9kZUdvYXQ example: harnessApp: default/STO/NodeGoat qwietAppName: default-STO-NodeGoat xHarnessApp: ZGVmYXVsdC9TVE8vTm9kZUdvYXQ required: - qwietAppName - harnessApp - xHarnessApp ResolvedScannerSettings: type: object properties: metadata: $ref: '#/components/schemas/ScannerSettingsMetadata' overrides: type: object description: Raw delta settings stored at the viewed scope. Empty when nothing is set there. example: Ipsam qui magnam omnis aut sed qui.: Corporis dignissimos quasi ad unde voluptas aut. additionalProperties: true scope: type: string description: 'Narrowest requested scope: ACCOUNT, ORG, PROJECT or TARGET.' example: PROJECT settings: type: object description: Resolved settings merged across the scope chain. example: Animi est eveniet excepturi molestias.: Dolor error quis consequatur. Eligendi unde illum laboriosam a fugiat quas.: Autem quod qui. additionalProperties: true sources: type: object description: Top-level block name -> scope that last set it (DEFAULT, ACCOUNT, ORG, PROJECT or TARGET). example: Debitis dignissimos accusamus nihil impedit.: Dolore quidem. additionalProperties: type: string example: Vel occaecati quis. example: metadata: secret_detection_plugins: - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector skills_paths: - removable: false value: .claude/skills - removable: false value: .claude/skills - removable: false value: .claude/skills overrides: Nobis tenetur voluptates est quam inventore necessitatibus.: Maiores doloribus. scope: PROJECT settings: Consequatur enim harum voluptatem.: Quia rem odio. Sapiente voluptas iste magnam qui ut non.: In explicabo enim. Ut accusamus autem.: Ratione enim vel. sources: Commodi deleniti culpa facere a.: Est qui eveniet excepturi exercitationem quaerat. Dicta eius odit voluptates praesentium velit aut.: Sint in voluptate. Et minima.: Fugit odio quo quasi necessitatibus. required: - scope - settings - sources - overrides - metadata RestoreScannerSettingsBody: type: object properties: blocks: type: array items: type: string example: Ut accusantium reprehenderit. description: Top-level settings block names to remove from the viewed scope row. example: - Perspiciatis debitis consequatur aliquam aut nihil odio. - Illum et voluptates doloremque. example: blocks: - Sit unde. - Laudantium sequi laborum doloribus quae in nam. - Sunt nisi reiciendis sed. - Sequi est nobis totam incidunt quasi voluptas. required: - blocks STODataFrontendAllIssuesFiltersResponseBody: $ref: '#/components/schemas/AllIssuesFiltersResultV2' STODataFrontendAllIssuesListResponseBody: $ref: '#/components/schemas/AllIssuesListResultV2' ScaPackage: type: object properties: created_at: type: string example: Atque odio et. exploitable: type: array items: type: string example: Laboriosam nobis illo. example: - Praesentium expedita culpa. - Enim est. - Porro minima dolores nam. - Nisi odio et commodi. finding_details: type: object example: Molestias voluptatem ab amet natus id numquam.: Molestiae consequuntur hic rem culpa. additionalProperties: true finding_type: type: string example: A illum et. license: type: string example: Nulla dolor ratione quod excepturi. name: type: string example: Officiis voluptas dolores id nihil tenetur sit. namespace: type: string example: Ut omnis. num_exploitable: type: integer example: 4723357147386836851 format: int64 num_reachable: type: integer example: 2437363130614650951 format: int64 num_vulns: type: integer example: 7964493575317820494 format: int64 package: type: string example: Vel a et. tags: type: object example: Placeat qui enim ea molestiae.: - Ea ut. - Dolor ad cum voluptatem. - Tempora totam veniam. - Est molestiae quibusdam eius labore quasi voluptates. additionalProperties: type: array items: type: string example: Odio iure est tempora laborum voluptatem dolorem. example: - Nihil dolorem quis maxime amet. - Rerum aut repudiandae consequatur aut. - Quas voluptas. type: type: string example: Ut expedita consequatur dolore. url: type: string example: Modi maiores occaecati rerum. version: type: string example: Nihil porro nam iusto. vulns: type: array items: type: string example: Corrupti tenetur nihil. example: - Velit dolor ratione autem magnam accusantium repellendus. - Dolores omnis. example: created_at: Ipsa et incidunt laborum. exploitable: - Molestiae soluta. - Et adipisci iusto aspernatur unde quos ullam. - Temporibus iure cumque repellat. finding_details: Non repellendus.: Voluptatum aspernatur nulla omnis expedita ea. Repellat aspernatur non quaerat.: Voluptatum assumenda nemo amet deleniti qui. Vel ut qui et dolores nemo rerum.: Cumque ut labore et veniam. finding_type: Est voluptate. license: Aut quaerat numquam ut at reprehenderit. name: Iusto magni sit tempore illo. namespace: Fugit ducimus voluptatibus odio et et. num_exploitable: 7724330942335781731 num_reachable: 9215255620857456547 num_vulns: 8424698296853346006 package: Omnis aut aut est dolore ab quis. tags: Consequatur neque tempora iste esse.: - Nulla quidem eos accusamus. - Recusandae molestiae repudiandae natus sapiente. type: Perspiciatis quia provident facilis delectus rerum voluptatem. url: Recusandae molestiae amet neque dolorum voluptatum corrupti. version: Nihil exercitationem neque sit distinctio. vulns: - Vel totam nam. - Enim corporis perferendis vel eligendi recusandae. - Doloremque suscipit facere ea exercitationem voluptatibus. - Ipsum ut excepturi quis ex. ScaScanRef: type: object properties: app: type: string description: App/compound name for this scan example: owasp_nodegoat id: type: string description: Scan ID example: "298" example: app: owasp_nodegoat id: "298" required: - id - app Scan: type: object properties: codeCoverage: type: number description: The Code Coverage value for the Scan example: 65.5 format: float created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 executionId: type: string description: Pipeline Execution ID associated with the Scan example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ gitMetadata: $ref: '#/components/schemas/GitMetadata' id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 metadata: $ref: '#/components/schemas/ScanMetadata' orgId: type: string description: Harness Organization ID example: your_harness_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 pipelineId: type: string description: Harness Organization ID example: your_harness_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 productId: type: string description: The Scan Product used for the Scan example: product111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ productName: type: string description: The machine name of the Scan Product (scanner), e.g. snyk. Optional; populated by endpoints that join the product table. example: snyk productPrettyName: type: string description: The human-readable display name of the Scan Product (scanner), e.g. Snyk. Optional; populated by endpoints that join the product table. example: Snyk projectId: type: string description: Harness Project ID example: your_harness_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 refinementVersion: type: string description: The Issue refinement version used for this Scan example: 1.0.5 scannerDiffKey: type: string description: Key used to differentiate scanner configurations for scan comparison (e.g. sast, sca, sast_sca) example: sast stageId: type: string description: Pipeline Stage ID associated with the Scan example: stage_id pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 status: type: string description: Current status of the Scan example: Succeeded enum: - Pending - Running - Succeeded - Failed stepId: type: string description: Pipeline Step ID associated with the Scan example: step_id pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 subproduct: type: string description: The Scan Subproduct used for the Scan example: owasp format: binary targetVariantId: type: string description: The Target Variant associated with the Scan example: variant111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ description: Information about a Security Test Scan example: codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 required: - targetVariantId - orgId - projectId - pipelineId - executionId - stageId - stepId - productId - status - refinementVersion - id - created - lastModified ScanIssueCountsWithExecutionInfo: type: object properties: artifactFingerprint: type: string description: Fingerprint which identifies an artifact example: bdb maxLength: 64 executionId: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ lastScanned: type: integer description: Timestamp at which the target variant was last scanned example: 1634836529 format: int64 pipelineId: type: string description: Harness Pipeline ID example: example_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 scanners: type: array items: $ref: '#/components/schemas/MinimalIssueCountsPerScanner' description: List of security issue counts grouped by scanner example: - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetName: type: string description: Name of the Scan Target example: NodeGoat targetVariantId: type: string description: Associated Target Variant ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ targetVariantName: type: string description: Name of the Scan Target example: NodeGoat type: type: string description: Scan Target's type example: repository enum: - container - repository - instance - configuration description: The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info example: artifactFingerprint: f6j executionId: abcdef1234567890ghijkl lastScanned: 1634836529 pipelineId: example_pipeline scanners: - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep - critical: 1 high: 3 ignored: 1 info: 11 low: 39 medium: 17 scanner: Semgrep targetId: abcdef1234567890ghijkl targetName: NodeGoat targetVariantId: abcdef1234567890ghijkl targetVariantName: NodeGoat type: repository required: - scanners - targetId - targetVariantId - type - targetName - targetVariantName - executionId - pipelineId - lastScanned ScanIssuesResult: type: object properties: issues: type: array items: $ref: '#/components/schemas/Issue' description: List of Issues example: - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST description: List of Issues example: issues: - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST - baseImageName: baseImageName baselineVariantId: abcdef1234567890ghijkl created: 1651578240 currentStatus: Pending details: package: json-schema version: v0.2.3 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired exploitability: "yes" fallbackSeverityCode: High gracePeriodDays: 13 harnessAugmentation: Commodi in aut totam quia.: Amet aut eum omnis placeat sed dolor. Magnam ea enim commodi.: Voluptatem amet ipsa non ut aut odit. id: abcdef1234567890ghijkl inGrace: true key: json-schema@0.2.3 numOccurrences: 10 occurrenceId: 12345 occurrences: - line: "42" - line: "666" originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname productId: product1234567890abcde reachability: reachable severity: 8.5 severityCode: High status: Remediated subproduct: product targetId: abcdef1234567890ghijkl targetName: abcdef1234567890ghijkl targetType: repository targetVariantId: abcdef1234567890ghijkl targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST required: - issues ScanMetadata: type: object properties: appId: type: string description: Application identifier assigned by the scanner example: "12345" appName: type: string description: Application name used by the scanner example: dummy applicationName: type: string description: Application name used by the scanner example: dummy artifactSource: type: string description: Artifact source for container scans. Pipeline container_type is authoritative unless it equals docker_v2; docker_v2 may be refined from registryUrl to harness, aws_ecr, google, azure, github, docker_hub, or jfrog_artifactory. Unknown docker_v2 registry remains docker_v2. example: harness artifactUrl: type: string description: Exact container image scanned, including its tag or digest example: app.harness.io/ng/module/har/harness/payments-api:v4.11.3 baseImageDigest: type: string description: Digest of the base image example: sha256:1234567890abcdefghijkl baseImageName: type: string description: Name of the base image example: alpine baseImageTag: type: string description: Tag of the base image example: "3.18" buildId: type: string description: CI build/sequence id for the run that produced this scan (Harness HARNESS_BUILD_ID / <+pipeline.sequenceId>; non-Harness BUILD_ID). Not a product/scanner build id. example: "222" maxLength: 128 deduplicatedCount: type: integer description: Total number of deduplicated issues found in the scan example: 80 format: int32 executionSource: type: string description: CI/CD platform that ran the scan (harness, jenkins, github_actions, gitlab_ci, ...) example: jenkins executionUrl: type: string description: URL of the CI execution from scan metadata (Jenkins/GHA BUILD_URL). For Harness, FE constructs the URL from pipelineId, executionId, and org/project when this is empty. example: https://qa.harness.io/ng/account/acct/ci/orgs/default/projects/STO/pipelines/p/executions/e/pipeline honorGracePeriod: type: boolean description: Honor vendor-issued grace period when bucketing issue counts (Prisma/Twistlock only) example: true imageBuildMetadata: $ref: '#/components/schemas/ImageBuildMetadata' imageDomain: type: string description: Domain of the container image registry example: docker.io imageName: type: string description: Name of the container image example: my-application imageTag: type: string description: Tag of the container image example: v1.2.3 ingestToolSeverityFlag: type: boolean description: Scan ran with ingest_tool_severity enabled in the pipeline example: true normalizedCount: type: integer description: Total number of normalized issues found in the scan example: 100 format: int32 polyglotScanId: type: string description: ShiftLeft/Qwiet polyglot scan ID for SCA package lookups example: "413" projectId: type: string description: Project identifier assigned by the scanner example: dummy projectKey: type: string description: Project key used by the scanner example: dummy-api projectName: type: string description: Project name used by the scanner example: xyz publicId: type: string description: Public application identifier assigned by the scanner example: dummy-api registryUrl: type: string description: OCI pull base of the container image without a tag or digest example: app.harness.io/ng/module/har/harness/payments-api scanConfig: type: string description: Scan configuration selected for this scan (e.g. default, oss, code, iac) example: oss scannerConsoleUrl: type: string description: URL to view scan results in the scanner's console example: https://app.shiftleft.io/apps/myapp/summary?scan=12345 triggeredBy: type: string description: Actor that triggered this scan. For PAT ingest, sto-core fills this from the token owner (NG username/email) when the plugin omits it. Harness pipeline runs are filled from pipeline-service instead. example: alice maxLength: 256 description: Metadata specific to the entity being scanned example: appId: "12345" appName: dummy applicationName: dummy artifactSource: harness artifactUrl: app.harness.io/ng/module/har/harness/payments-api:v4.11.3 baseImageDigest: sha256:1234567890abcdefghijkl baseImageName: alpine baseImageTag: "3.18" buildId: "222" deduplicatedCount: 80 executionSource: jenkins executionUrl: https://qa.harness.io/ng/account/acct/ci/orgs/default/projects/STO/pipelines/p/executions/e/pipeline honorGracePeriod: true imageBuildMetadata: dockerfilePath: docker/Dockerfile repoUrl: https://github.com/org/repo sourceBranch: main imageDomain: docker.io imageName: my-application imageTag: v1.2.3 ingestToolSeverityFlag: true normalizedCount: 100 polyglotScanId: "413" projectId: dummy projectKey: dummy-api projectName: xyz publicId: dummy-api registryUrl: app.harness.io/ng/module/har/harness/payments-api scanConfig: oss scannerConsoleUrl: https://app.shiftleft.io/apps/myapp/summary?scan=12345 triggeredBy: alice ScanTypeScanner: type: object properties: id: type: string description: Scanner product name used as the filter id example: trivy prettyName: type: string description: Scanner display name (product.prettyName, falling back to product name) example: Trivy example: id: trivy prettyName: Trivy required: - id - prettyName ScannerSettingsMetadata: type: object properties: secret_detection_plugins: type: array items: $ref: '#/components/schemas/SecretDetectionPlugin' description: Catalog of detect-secrets plugins. All are enabled unless their value is listed in the client-secrets disable-plugin setting. UI renders the checkbox list from this catalog and writes back only disabled values. example: - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector skills_paths: type: array items: $ref: '#/components/schemas/SkillsPathSetting' description: Effective AI skills directory paths with removable flags. Paths matching the CLI defaults are not removable; user-added paths are. example: - removable: false value: .claude/skills - removable: false value: .claude/skills description: UI affordance metadata for the scanner settings screen. Derived by the backend; not stored in scanner_setting and never sent to the Qwiet CLI. example: secret_detection_plugins: - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector - label: JSON Web Tokens (JWTs) value: JwtTokenDetector skills_paths: - removable: false value: .claude/skills - removable: false value: .claude/skills required: - secret_detection_plugins - skills_paths ScansLatestScanResponseBody: $ref: '#/components/schemas/LatestScansResult' ScansListScansResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/Scan' example: - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 - codeCoverage: 65.5 created: 1651578240 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Necessitatibus dolore dicta assumenda. detectedVariant: Temporibus quis architecto voluptate quae dolores. droneCorrelated: false provider: Perspiciatis minima et. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Est molestiae sunt ea sed id. - Eaque cum alias. - Minima et iure quis. - Fuga veniam ex nihil maiores. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness id: abcdef1234567890ghijkl lastModified: 1651578240 metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 required: - results - pagination ScansScanIssueCountsResponseBody: $ref: '#/components/schemas/FullIssueCounts' ScansScanIssueResponseBody: $ref: '#/components/schemas/IssueInScan' ScansScanIssuesResponseBody: $ref: '#/components/schemas/ScanIssuesResult' SecretDetectionPlugin: type: object properties: label: type: string description: Human-readable display name for the UI checkbox list. example: JSON Web Tokens (JWTs) value: type: string description: detect-secrets plugin name. This exact value goes into the client-secrets disable-plugin setting consumed by the Qwiet CLI. example: JwtTokenDetector description: One detect-secrets plugin with its UI display label. example: label: JSON Web Tokens (JWTs) value: JwtTokenDetector required: - value - label SecurityReviewResult: type: object properties: counts: $ref: '#/components/schemas/FrontendExemptionCounts' exemptions: type: array items: $ref: '#/components/schemas/FrontendExemption' description: Security Review data example: - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other pagination: $ref: '#/components/schemas/Pagination' description: Data needed by the Security Review page example: counts: Approved: 150 Expired: 150 Pending: 150 Rejected: 150 exemptions: - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other - approverEmail: user@harness.io approverId: user111111111111111111 approverName: firstname lastname canApproveFor: - ACCOUNT - ORG - PROJECT - PIPELINE canCancel: true canCreate: true canReApprove: true canReject: true created: 1651578240 expiration: 1651578240 id: abcdef1234567890ghijkl isDeleted: true isOccurrenceLevelExemption: true issueSummary: aiTriaged: LikelyFP aiTriagedReasoning: The argument to path.join is __dirname, a constant, not user input. category: Insecure Direct Object Reference (AI SAST) currentStatus: Pending epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionCoverage: PartiallyExempted exemptionId: abcdef1234567890ghijkl exemptionStatusAtScan: Expired id: abcdef1234567890ghijkl inKev: true isNew: true key: json-schema@0.2.3 lastDetected: 1634836529 numNewOccurrences: 6308414186126886297 numOccurrences: 5384420666287192201 numRemediatedOccurrences: 4840094106248966901 occurrenceInternalId: 12345 originStatus: approved origins: - app - base overrides: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname overridesAtScan: - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname - created: 1651578240 fieldName: severityCode impactedTargetId: target1111111111111111 originalFieldValue: Low overrideFieldValue: Low overrideId: override1234 reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname remAgentPrNumber: 13114 remAgentPrStatus: Open remAgentPrTitle: '[13114] Security fix' remAgentPrUrl: https://github.com/harness/example/pull/13114 remAgentRepository: harness/nodegoat remAgentSummaryId: 42 scanId: scan111111111111111111 severity: 8.5 severityCode: High status: Remediated targetVariantName: nodegoat:master title: 'Semgrep Finding: generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash' type: SAST lastModified: 1651578240 link: Upstream bug numOccurrences: 10 orgId: STO orgName: Organization Name pendingChanges: durationDays: 7 pipelineId: pipeline_1 projectId: STO projectName: Project Name reason: Upstream bug requestedOn: 1651578240 requesterEmail: user@harness.io requesterId: user111111111111111111 requesterName: firstname lastname reviewedOn: 1651578240 scope: PROJECT status: Approved targetId: target2222222222222222 targetName: my-target totalOccurrences: 10 type: Other pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - exemptions - pagination - counts ServiceVersion: type: object properties: commit: type: string description: Build identifier example: "0000000000000000000000000000000000000001" version: type: string description: Version number example: v0.123.0 example: commit: "0000000000000000000000000000000000000001" version: v0.123.0 required: - version - commit ShiftLeftPackageCounts: type: object properties: container: type: integer description: Total number of container packages example: 0 format: int64 minimum: 0 oss: type: integer description: Total number of OSS packages example: 128 format: int64 minimum: 0 risky_oss: type: integer description: Number of OSS packages with at least one OSS risk example: 1 format: int64 minimum: 0 vulnerable_container: type: integer description: Number of container packages with at least one vulnerability example: 0 format: int64 minimum: 0 vulnerable_oss: type: integer description: Number of OSS packages with at least one vulnerability example: 18 format: int64 minimum: 0 description: OSS and container package counts from Qwiet streamlined scan. example: container: 0 oss: 128 risky_oss: 1 vulnerable_container: 0 vulnerable_oss: 18 required: - oss - vulnerable_oss - risky_oss - container - vulnerable_container SkillsPathSetting: type: object properties: removable: type: boolean description: False for Qwiet CLI default paths (they cannot be removed, only reordered after); true for user-added paths. example: false value: type: string description: The skills directory path, relative to the repository root. example: .claude/skills description: One AI skills directory path with UI affordance metadata. example: removable: false value: .claude/skills required: - value - removable StageStepID: type: object properties: parentStageId: type: string description: The stageId of the stage in parent pipeline which runs this scan from chain pipeline example: stage_id stageId: type: string example: stage_id stepId: type: string example: step_id example: parentStageId: stage_id stageId: stage_id stepId: step_id required: - stageId - stepId Status: type: object properties: status: type: string description: Status example: ok example: status: ok required: - status StepInfo: type: object properties: baselineVariant: type: string description: A short description of the baseline target variant for the pipeline step's scan diff example: 'branch: main' parentStageId: type: string description: The stageId of the stage in parent pipeline which runs this scan from chain pipeline example: stage_id scanId: type: string description: Scan id example: scan111111111111111111 scanTool: type: string description: Product name of the scan tool used in this step example: owasp scanToolName: type: string description: Human readable name of the scan tool used in this step example: OWASP stageId: type: string example: stage_id stepId: type: string example: step_id subproduct: type: string description: The subproduct that identified this Security Issue example: product targetId: type: string description: The ID of the target of the pipeline step's scan example: target1111111111111111 targetName: type: string description: The name of the target of the pipeline step's scan example: The Target targetType: type: string description: The type of the target of the pipeline step's scan example: repository enum: - repository - container - instance - configuration targetVariant: type: string description: A short description of the target variant of the pipeline step's scan example: 'branch: feature' description: Information about a Scan Step example: baselineVariant: 'branch: main' parentStageId: stage_id scanId: scan111111111111111111 scanTool: owasp scanToolName: OWASP stageId: stage_id stepId: step_id subproduct: product targetId: target1111111111111111 targetName: The Target targetType: repository targetVariant: 'branch: feature' required: - scanId - scanTool - scanToolName - targetId - targetName - targetType - targetVariant - stageId - stepId Target: type: object properties: baselineRegEx: type: string description: RegEx to match for dynamically selecting the Baseline for this Scan Target. Must be compatible with the RE2 standard. example: release_.* maxLength: 128 baselineVariantId: type: string description: ID of baseline Target Variant for Issue comparison example: abcdef1234567890ghijkl pattern: ^([a-zA-Z0-9_-]{22}|)$ created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 directory: type: string description: Directory within the Test Target to be scanned example: app/src maxLength: 1024 id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 name: type: string description: Name of the Test Target example: NodeGoat pattern: ^[a-zA-Z0-9_.:/|()-]+$ maxLength: 128 orgId: type: string description: Harness Organization ID example: example_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 projectId: type: string description: Harness Project ID example: example_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 type: type: string description: Test Target's type example: repository enum: - container - repository - instance - configuration url: type: string description: URL used to access the Test Target example: https://github.com/example/repo maxLength: 1024 example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo required: - id - created - lastModified - name - type - orgId - projectId TargetAndVariantName: type: object properties: targetName: type: string description: Target name example: Ut ratione porro. targetType: type: string description: Type of target example: repository enum: - container - repository - instance - configuration targetVariantName: type: string description: Variant name example: Similique temporibus expedita magni. example: targetName: Maiores consequatur vero qui aspernatur consequuntur. targetType: repository targetVariantName: Explicabo consectetur ratione esse. TargetAndVariantNameRequired: type: object properties: targetName: type: string description: Target name example: Perferendis doloribus error ad. targetType: type: string description: Type of target example: repository enum: - container - repository - instance - configuration targetVariantName: type: string description: Variant name example: Quo ex et itaque. example: targetName: Consequatur ut. targetType: repository targetVariantName: Est distinctio omnis facilis dignissimos earum. required: - targetName - targetVariantName TargetExecution: type: object properties: branch: type: string description: Git branch scanned example: main maxLength: 256 buildId: type: string description: 'CI build id/number shown in UI (e.g. #222)' example: "222" commitSha: type: string description: Git commit SHA example: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef maxLength: 64 digest: type: string description: Content digest (scan.artifact_fingerprint) for this execution. Omitted when the execution has no fingerprint (typical for repos). example: sha256:c3810867466a maxLength: 256 durationMs: type: integer description: Execution duration in milliseconds example: 593000 format: int64 minimum: 0 executionId: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ 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. example: https://jenkins.example.com/job/42 maxLength: 1024 issueSeverityCounts: $ref: '#/components/schemas/RepositorySeverityCounts' occurrenceSeverityCounts: $ref: '#/components/schemas/RepositorySeverityCounts' pipelineId: type: string description: Harness pipeline identifier (not the pretty pipelineName). Used with executionId and the request org/project to construct a Harness execution URL when executionUrl is empty. example: Security_Gate maxLength: 128 pipelineName: type: string description: Pipeline name shown under the build id example: Security Gate maxLength: 256 scanTypes: type: array items: type: string example: Et at. description: Scan types run in this execution example: - SAST - SCA - SECRET scanners: type: array items: $ref: '#/components/schemas/ScanTypeScanner' description: Distinct scanners that ran in this execution. id is product.name (filter value); prettyName is product.prettyName falling back to name. example: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: type: string description: CI/CD platform that ran this execution (harness, jenkins, github_actions, gitlab_ci, ...) example: harness maxLength: 64 startedAt: type: integer description: Execution start time, milliseconds since Unix epoch example: 1751184000000 format: int64 targetVariantId: type: string description: Variant id for this scan-history row. Pass as variantId on findings APIs so the list matches this version, not every variant scanned in the same pipeline execution. example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ triggeredBy: type: string description: User or bot that triggered the execution example: user@harness.io maxLength: 256 variantName: type: string description: Version/tag (artifacts) or git branch (repos). Same backing value as branch for this execution; prefer variantName on artifact scan history. example: v4.11.3 maxLength: 256 description: A single pipeline execution / build row on the target scan history page. example: branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 required: - buildId - executionId - pipelineName - branch - targetVariantId - commitSha - scanners - scanTypes - occurrenceSeverityCounts - issueSeverityCounts - triggeredBy - startedAt - durationMs TargetExecutionMetadata: type: object properties: buildId: type: string description: 'CI build id/number shown in UI (e.g. #222). Falls back to executionId when build id is unset.' example: "222" executionId: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ findingsCount: type: integer description: Open CHML findings (Critical+High+Medium+Low occurrence) count for this execution from execution_summary. Info and Unassigned are excluded so the badge matches overview totals and the CHML-only findings UI. example: 39 format: int64 minimum: 0 hasShiftLeftScan: type: boolean description: True when this execution includes at least one Succeeded ShiftLeft/Qwiet scan (shiftleftsast, shiftleftsca, or shiftleft). UI uses this to show/hide the SBOM tab. example: true pipelineId: type: string description: Harness pipeline identifier (not the pretty pipelineName). Used with executionId and the request org/project to construct a Harness execution URL. example: Security_Gate maxLength: 128 pipelineName: type: string description: Pipeline name shown under the build id example: Security Gate maxLength: 256 sbomCount: type: integer description: SBOM package count for this execution (ShiftLeft packages.oss + packages.container). 0 when unavailable. example: 0 format: int64 minimum: 0 source: type: string description: CI/CD platform that ran this execution (harness, jenkins, github_actions, gitlab_ci, ...) example: harness maxLength: 64 description: Header fields for the target scan history detail page. example: buildId: "222" executionId: abcdef1234567890ghijkl findingsCount: 39 hasShiftLeftScan: true pipelineId: Security_Gate pipelineName: Security Gate sbomCount: 0 source: harness required: - buildId - executionId - source - pipelineName - findingsCount - sbomCount - hasShiftLeftScan TargetExecutionOccurrenceSummary: 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. example: LikelyFP enum: - LikelyFP - LikelyTP - NotEvaluatedYet cves: type: array items: type: string example: Cum consequuntur culpa omnis. description: CVE ids from this occurrence's effective referenceIdentifiers (occurrence list when present, otherwise issue list) example: - CVE-2022-6703 cwes: type: array items: type: string example: Nobis at veniam rerum sapiente non et. description: CWE ids from this occurrence's effective referenceIdentifiers example: - CWE-89 epssLastModified: type: string description: Last date the issue EPSS data was last modified example: "2025-05-01" epssPercentile: type: number description: EPSS percentile of the issue CVE identifier example: 0.15 format: double epssScore: type: number description: EPSS score of the issue CVE identifier example: 0.035 format: double exemptionId: type: string description: ID of an occurrence-scoped exemption for this finding on the target, matched via exemption_occurrence fingerprint. Null/omitted when none exists. Issue-level exemptions are not returned. example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ fixAvailable: type: boolean description: 'True when the scanner provided a fix: a non-empty upgrade/fixed version or non-placeholder scanner remediation steps. Harness AI remediations are not counted.' example: true inKev: type: boolean description: True when any linked CVE is in the CISA KEV catalog example: true issueId: type: string description: Issue ID used by the existing ticket and exemption APIs example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ issueType: type: string description: Finding issue type example: SAST enum: - SAST - DAST - SCA - IAC - SECRET - MISCONFIG - BUG_SMELLS - CODE_SMELLS - CODE_COVERAGE - EXTERNAL_POLICY occurrenceInternalId: type: integer description: Internal ID used to fetch occurrence details or request an occurrence-level exemption example: 12345 format: int64 minimum: 1 reachability: type: string description: Occurrence reachability. 'reachable', 'not-reachable', or 'unproven' (missing/unknown). example: reachable enum: - reachable - not-reachable - unproven referenceIdentifiers: type: array items: $ref: '#/components/schemas/RefIds' description: Effective reference identifiers for this occurrence (occurrence list when present, otherwise issue list). Empty array when none exist. example: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: type: string description: ID of the scan containing this occurrence example: scan111111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ scanner: $ref: '#/components/schemas/ScanTypeScanner' severityCode: type: string description: Finding severity example: Critical enum: - Critical - High - Medium - Low - Info - Unassigned title: type: string description: Finding title example: SQL injection enables authentication bypass description: An occurrence summary for one scan within a target execution. example: aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass required: - occurrenceInternalId - issueId - scanId - title - severityCode - issueType - fixAvailable TargetFindingsMatrix: type: object properties: columnTotals: $ref: '#/components/schemas/RepositorySeverityCounts' grandTotal: type: integer description: Sum of all cells example: 31 format: int64 minimum: 0 rows: type: array items: $ref: '#/components/schemas/TargetFindingsMatrixRow' description: One row per issue type example: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 description: Cross-tab of counts by issue type and severity, with column totals and grand total. example: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 required: - rows - columnTotals - grandTotal TargetFindingsMatrixRow: type: object properties: issueType: type: string description: Issue/scan type (e.g. SAST, SCA, SECRET) example: SAST severityCounts: $ref: '#/components/schemas/RepositorySeverityCounts' total: type: integer description: Row total (sum of severity buckets) example: 14 format: int64 minimum: 0 description: Findings or issues for one issue type, broken down by severity. example: issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 required: - issueType - severityCounts - total TargetOverviewResult: type: object properties: baselineVariantId: type: string description: Baseline variant id when set example: abcdef1234567890ghijkl pattern: ^([a-zA-Z0-9_-]{22}|)$ branchesCount: type: integer description: Number of scanned variants/branches for this target example: 3 format: int64 minimum: 0 executionId: type: string description: Harness Execution ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ hasShiftLeftScan: type: boolean description: True when the scoped execution includes at least one ShiftLeft product scan default: false example: false isBaseline: type: boolean description: Whether the scoped variant is the baseline example: true issueFindingsMatrix: $ref: '#/components/schemas/TargetFindingsMatrix' issueNewDelta: type: integer description: Change in cumulative_open_issues_count vs the previous execution of the same target variant (current - previous). Issues card 'new' delta. Null when no previous execution exists. example: 3 format: int64 issueRemediatedDelta: type: integer description: Change in cumulative_remediated_issues_count vs the previous execution of the same target variant (current - previous). Issues card 'remediated' delta. Null when no previous execution exists. example: 1 format: int64 issueSeverityCounts: $ref: '#/components/schemas/RepositorySeverityCounts' name: type: string description: Target name example: NodeGoat occurrenceFindingsMatrix: $ref: '#/components/schemas/TargetFindingsMatrix' occurrenceNewDelta: type: integer description: Change in cumulative_open_occurrences_count vs the previous execution of the same target variant (current - previous). Findings card 'new' delta. Null when no previous execution exists. example: 4 format: int64 occurrenceRemediatedDelta: type: integer description: Change in cumulative_remediated_occurrences_count vs the previous execution of the same target variant (current - previous). Findings card 'remediated' delta. Null when no previous execution exists. example: 2 format: int64 occurrenceSeverityCounts: $ref: '#/components/schemas/RepositorySeverityCounts' packages: $ref: '#/components/schemas/ShiftLeftPackageCounts' scanType: type: object description: Scan types mapped to scanner ids and display names for overview chips and hover. Same shape as repository/artifact list scanType. Computed from the scoped execution's scans and findings (catalog + DeriveScanType); not persisted on execution_summary. example: Nostrum voluptas.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy Recusandae aspernatur id ut quis quisquam ducimus.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy additionalProperties: type: array items: $ref: '#/components/schemas/ScanTypeScanner' example: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scannedAt: type: integer description: Timestamp of the most recent scan, in milliseconds since Unix epoch example: 1751793300000 format: int64 targetId: type: string description: Target id (echoes path {id}) example: abcdef1234567890ghijkl targetUrl: type: string description: Target URL from execution_summary metadata.repositoryUrl for the scoped variant's latest execution. Omitted when not set. example: https://github.com/example/NodeGoat maxLength: 1024 type: type: string description: Target type example: repository enum: - container - repository - instance - configuration variantId: type: string description: Variant id for the scoped overview row (requested variant, or target_summary.variant_id on the default path) example: xyz987zyx654wvu321tsr9 pattern: ^[a-zA-Z0-9_-]{22}$ variantName: type: string description: Variant name for the scoped row (e.g. branch name) example: main description: 'Target detail overview: identity, findings/issues tiles, scan coverage, and severity matrices.' example: baselineVariantId: abcdef1234567890ghijkl branchesCount: 3 executionId: abcdef1234567890ghijkl hasShiftLeftScan: false isBaseline: true issueFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 issueNewDelta: 3 issueRemediatedDelta: 1 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 name: NodeGoat occurrenceFindingsMatrix: columnTotals: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 grandTotal: 31 rows: - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 - issueType: SAST severityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 total: 14 occurrenceNewDelta: 4 occurrenceRemediatedDelta: 2 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 packages: container: 0 oss: 128 risky_oss: 1 vulnerable_container: 0 vulnerable_oss: 18 scanType: Laboriosam repellendus iure minus ratione doloremque.: - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy - id: trivy prettyName: Trivy scannedAt: 1751793300000 targetId: abcdef1234567890ghijkl targetUrl: https://github.com/example/NodeGoat type: repository variantId: xyz987zyx654wvu321tsr9 variantName: main required: - targetId - name - type - branchesCount - isBaseline - scanType - occurrenceSeverityCounts - issueSeverityCounts - occurrenceFindingsMatrix - issueFindingsMatrix - hasShiftLeftScan TargetScaLicensesResult: type: object properties: licenses: type: array items: type: string example: Ut ea corporis. example: - GPL-3.0 - MIT description: Distinct package licenses from Qwiet for a target scan. example: licenses: - GPL-3.0 - MIT required: - licenses TargetScaPackagesResult: type: object properties: compound_id: type: string example: Error praesentium ab. has_more: type: boolean example: true packages: type: array items: $ref: '#/components/schemas/ScaPackage' example: - created_at: Sint qui. exploitable: - Id tenetur qui sit quibusdam ipsa id. - Quibusdam velit quod placeat blanditiis. - Labore sapiente et culpa. finding_details: Eos sint inventore facere ut vel.: Suscipit sapiente quaerat magni quia. Iste nihil illum.: Laudantium vel. finding_type: Est occaecati voluptas omnis et. license: Voluptas optio omnis dolor. name: Tempora qui. namespace: Est unde. num_exploitable: 3235630847652491541 num_reachable: 1169367895992459806 num_vulns: 7801729414518527065 package: Atque corrupti perspiciatis. tags: Illum laborum enim aliquid praesentium explicabo.: - Et vel iusto cumque voluptatum architecto. - Molestiae qui qui enim eligendi est tenetur. - Consequatur corporis ea est porro. - Tempore illo fugit ut et deserunt aliquid. Temporibus quasi expedita quod quaerat velit voluptatem.: - Id cumque. - Vero voluptas animi aut nihil voluptatum dolore. - Sunt et. Ut illo similique facere.: - Ab laborum omnis qui consectetur facilis incidunt. - Maiores ullam nulla. - Velit consectetur explicabo. type: Commodi optio quaerat laboriosam molestiae dolor minus. url: Rem perspiciatis. version: Et ut perferendis repellendus sed. vulns: - Itaque aliquam illo occaecati quaerat et. - Tempora voluptates quis nisi ut placeat sint. - created_at: Sint qui. exploitable: - Id tenetur qui sit quibusdam ipsa id. - Quibusdam velit quod placeat blanditiis. - Labore sapiente et culpa. finding_details: Eos sint inventore facere ut vel.: Suscipit sapiente quaerat magni quia. Iste nihil illum.: Laudantium vel. finding_type: Est occaecati voluptas omnis et. license: Voluptas optio omnis dolor. name: Tempora qui. namespace: Est unde. num_exploitable: 3235630847652491541 num_reachable: 1169367895992459806 num_vulns: 7801729414518527065 package: Atque corrupti perspiciatis. tags: Illum laborum enim aliquid praesentium explicabo.: - Et vel iusto cumque voluptatum architecto. - Molestiae qui qui enim eligendi est tenetur. - Consequatur corporis ea est porro. - Tempore illo fugit ut et deserunt aliquid. Temporibus quasi expedita quod quaerat velit voluptatem.: - Id cumque. - Vero voluptas animi aut nihil voluptatum dolore. - Sunt et. Ut illo similique facere.: - Ab laborum omnis qui consectetur facilis incidunt. - Maiores ullam nulla. - Velit consectetur explicabo. type: Commodi optio quaerat laboriosam molestiae dolor minus. url: Rem perspiciatis. version: Et ut perferendis repellendus sed. vulns: - Itaque aliquam illo occaecati quaerat et. - Tempora voluptates quis nisi ut placeat sint. - created_at: Sint qui. exploitable: - Id tenetur qui sit quibusdam ipsa id. - Quibusdam velit quod placeat blanditiis. - Labore sapiente et culpa. finding_details: Eos sint inventore facere ut vel.: Suscipit sapiente quaerat magni quia. Iste nihil illum.: Laudantium vel. finding_type: Est occaecati voluptas omnis et. license: Voluptas optio omnis dolor. name: Tempora qui. namespace: Est unde. num_exploitable: 3235630847652491541 num_reachable: 1169367895992459806 num_vulns: 7801729414518527065 package: Atque corrupti perspiciatis. tags: Illum laborum enim aliquid praesentium explicabo.: - Et vel iusto cumque voluptatum architecto. - Molestiae qui qui enim eligendi est tenetur. - Consequatur corporis ea est porro. - Tempore illo fugit ut et deserunt aliquid. Temporibus quasi expedita quod quaerat velit voluptatem.: - Id cumque. - Vero voluptas animi aut nihil voluptatum dolore. - Sunt et. Ut illo similique facere.: - Ab laborum omnis qui consectetur facilis incidunt. - Maiores ullam nulla. - Velit consectetur explicabo. type: Commodi optio quaerat laboriosam molestiae dolor minus. url: Rem perspiciatis. version: Et ut perferendis repellendus sed. vulns: - Itaque aliquam illo occaecati quaerat et. - Tempora voluptates quis nisi ut placeat sint. polyglot_scan_id: type: string example: Et perspiciatis a. scans: type: array items: $ref: '#/components/schemas/ScaScanRef' example: - app: owasp_nodegoat id: "298" - app: owasp_nodegoat id: "298" - app: owasp_nodegoat id: "298" total_count: type: integer example: 1161972835543778097 format: int64 description: Qwiet SCA packages response for a target scan. example: compound_id: Reprehenderit inventore tenetur rerum. has_more: false packages: - created_at: Sint qui. exploitable: - Id tenetur qui sit quibusdam ipsa id. - Quibusdam velit quod placeat blanditiis. - Labore sapiente et culpa. finding_details: Eos sint inventore facere ut vel.: Suscipit sapiente quaerat magni quia. Iste nihil illum.: Laudantium vel. finding_type: Est occaecati voluptas omnis et. license: Voluptas optio omnis dolor. name: Tempora qui. namespace: Est unde. num_exploitable: 3235630847652491541 num_reachable: 1169367895992459806 num_vulns: 7801729414518527065 package: Atque corrupti perspiciatis. tags: Illum laborum enim aliquid praesentium explicabo.: - Et vel iusto cumque voluptatum architecto. - Molestiae qui qui enim eligendi est tenetur. - Consequatur corporis ea est porro. - Tempore illo fugit ut et deserunt aliquid. Temporibus quasi expedita quod quaerat velit voluptatem.: - Id cumque. - Vero voluptas animi aut nihil voluptatum dolore. - Sunt et. Ut illo similique facere.: - Ab laborum omnis qui consectetur facilis incidunt. - Maiores ullam nulla. - Velit consectetur explicabo. type: Commodi optio quaerat laboriosam molestiae dolor minus. url: Rem perspiciatis. version: Et ut perferendis repellendus sed. vulns: - Itaque aliquam illo occaecati quaerat et. - Tempora voluptates quis nisi ut placeat sint. - created_at: Sint qui. exploitable: - Id tenetur qui sit quibusdam ipsa id. - Quibusdam velit quod placeat blanditiis. - Labore sapiente et culpa. finding_details: Eos sint inventore facere ut vel.: Suscipit sapiente quaerat magni quia. Iste nihil illum.: Laudantium vel. finding_type: Est occaecati voluptas omnis et. license: Voluptas optio omnis dolor. name: Tempora qui. namespace: Est unde. num_exploitable: 3235630847652491541 num_reachable: 1169367895992459806 num_vulns: 7801729414518527065 package: Atque corrupti perspiciatis. tags: Illum laborum enim aliquid praesentium explicabo.: - Et vel iusto cumque voluptatum architecto. - Molestiae qui qui enim eligendi est tenetur. - Consequatur corporis ea est porro. - Tempore illo fugit ut et deserunt aliquid. Temporibus quasi expedita quod quaerat velit voluptatem.: - Id cumque. - Vero voluptas animi aut nihil voluptatum dolore. - Sunt et. Ut illo similique facere.: - Ab laborum omnis qui consectetur facilis incidunt. - Maiores ullam nulla. - Velit consectetur explicabo. type: Commodi optio quaerat laboriosam molestiae dolor minus. url: Rem perspiciatis. version: Et ut perferendis repellendus sed. vulns: - Itaque aliquam illo occaecati quaerat et. - Tempora voluptates quis nisi ut placeat sint. polyglot_scan_id: Quia eveniet fuga quas velit. scans: - app: owasp_nodegoat id: "298" - app: owasp_nodegoat id: "298" total_count: 6291853731501654745 required: - packages - total_count - has_more - scans TargetVariant: type: object properties: created: type: integer description: Unix timestamp at which the resource was created example: 1651578240 format: int64 hash: type: string description: Git Commit or Container Image hash example: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef maxLength: 64 id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ isVirtualBaseline: type: boolean description: True for the virtual baseline lane entry (one per target, collects every baseline scan across tags). For the lane, parameters.variant holds the current physical tag. Absent/false for real tags and branches. example: false lastModified: type: integer description: Unix timestamp at which the resource was most recently modified example: 1651578240 format: int64 parameters: type: object description: Parameters for this Variant, as a JSON-encoded string example: branch: main additionalProperties: type: string example: Et quibusdam consequatur ea aut. targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ description: Information about a Scan Target Variant example: created: 1651578240 hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef id: abcdef1234567890ghijkl isVirtualBaseline: false lastModified: 1651578240 parameters: branch: main targetId: abcdef1234567890ghijkl required: - targetId - parameters - id - created - lastModified TargetVariantStatusInfo: type: object properties: id: type: string description: Resource identifier example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ status: type: string description: Associated Target Variant Status example: unapproved pattern: ^(approved|unapproved)$ example: id: abcdef1234567890ghijkl status: unapproved required: - id - status TargetsGetTargetExecutionResponseBody: $ref: '#/components/schemas/TargetExecutionMetadata' TargetsListTargetExecutionOccurrencesResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/TargetExecutionOccurrenceSummary' example: - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass - aiTriaged: LikelyFP cves: - CVE-2022-6703 cwes: - CWE-89 epssLastModified: "2025-05-01" epssPercentile: 0.15 epssScore: 0.035 exemptionId: abcdef1234567890ghijkl fixAvailable: true inKev: true issueId: abcdef1234567890ghijkl issueType: SAST occurrenceInternalId: 12345 reachability: reachable referenceIdentifiers: - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. - id: Delectus quia. type: Id quaerat beatae eos omnis expedita dolore. scanId: scan111111111111111111 scanner: id: trivy prettyName: Trivy severityCode: Critical title: SQL injection enables authentication bypass required: - results - pagination TargetsListTargetExecutionsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/TargetExecution' example: - branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 - branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 - branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 - branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 - branch: main buildId: "222" commitSha: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef digest: sha256:c3810867466a durationMs: 593000 executionId: abcdef1234567890ghijkl executionUrl: https://jenkins.example.com/job/42 issueSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 occurrenceSeverityCounts: critical: 3 high: 4 info: 1 low: 2 medium: 5 unassigned: 0 pipelineId: Security_Gate pipelineName: Security Gate scanTypes: - SAST - SCA - SECRET scanners: - id: prisma prettyName: Prisma Cloud - id: wiz prettyName: Wiz source: harness startedAt: 1751184000000 targetVariantId: xyz987zyx654wvu321tsr9 triggeredBy: user@harness.io variantName: v4.11.3 required: - results - pagination TargetsListTargetsResponseBody: type: object properties: pagination: $ref: '#/components/schemas/Pagination' results: type: array items: $ref: '#/components/schemas/Target' example: - baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo - baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo - baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo example: pagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 results: - baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo - baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo - baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl created: 1651578240 directory: app/src id: abcdef1234567890ghijkl lastModified: 1651578240 name: NodeGoat orgId: example_org projectId: example_project type: repository url: https://github.com/example/repo required: - results - pagination TargetsTargetOverviewResponseBody: $ref: '#/components/schemas/TargetOverviewResult' TargetsTargetScaLicensesResponseBody: $ref: '#/components/schemas/TargetScaLicensesResult' TargetsTargetScaPackagesResponseBody: $ref: '#/components/schemas/TargetScaPackagesResult' TestTarget: type: object properties: approvedVariantsCount: type: integer description: Number of approved variants for a test target example: 1 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. example: release_.* maxLength: 128 directory: type: string description: Directory of target example: / id: type: string description: ID of target example: target1111111111111111 lastScanned: type: integer description: Timestamp at which the Baseline was last scanned example: 1634836529 format: int64 name: type: string description: Name of Target example: target 1 status: type: string description: Status of target as base image example: approved enum: - approved - unapproved totalVariantsCount: type: integer description: Number of total variants for a test target example: 10 format: int64 type: type: string description: Type of target example: repository enum: - container - repository - instance - configuration url: type: string description: Url of target example: github.com/harness/sto-core variants: type: array items: $ref: '#/components/schemas/TestTargetVariant' example: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved description: Individual TestTarget example: approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved required: - id - name - type - variants - lastScanned - approvedVariantsCount - totalVariantsCount TestTargetResult: type: object properties: targets: type: array items: $ref: '#/components/schemas/TestTarget' description: Test Targets data example: - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved targetsPagination: $ref: '#/components/schemas/Pagination' description: Data needed by the Test Targets page example: targets: - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved - approvedVariantsCount: 1 baseline: id: variant111111111111111 name: 'Branch: feature-1' status: approved baselineRegEx: release_.* directory: / id: target1111111111111111 lastScanned: 1634836529 name: target 1 status: approved totalVariantsCount: 10 type: repository url: github.com/harness/sto-core variants: - id: variant111111111111111 name: 'Branch: feature-1' status: approved - id: variant111111111111111 name: 'Branch: feature-1' status: approved targetsPagination: link: "" page: 4 pageSize: 20 totalItems: 230 totalPages: 12 required: - targets - targetsPagination TestTargetVariant: type: object properties: id: type: string description: Target Variant ID example: variant111111111111111 name: type: string description: Name of Target Variant example: 'Branch: feature-1' status: type: string description: Status of target variant example: approved enum: - approved - unapproved description: Individual Test Target Variant example: id: variant111111111111111 name: 'Branch: feature-1' status: approved required: - id - name TokenResponse: type: object properties: token: type: string description: Issued cross-service JWT example: example-token-value example: token: example-token-value required: - token UpdateExemptionRequestBody: type: object properties: expiration: type: integer description: Unix timestamp at which this Exemption will expire example: 1651578240 format: int64 link: type: string description: Link to a related ticket example: https://example.com/ABC-1234 maxLength: 1024 pendingChanges: $ref: '#/components/schemas/PendingChanges' pipelineId: type: string description: ID of the Harness Pipeline to which the exemption applies. You must also specify "projectId" and "orgId". Cannot be specified alongside "targetId". example: your_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 reason: type: string description: Text describing why this Exemption is necessary example: Waiting on upstream bug fix maxLength: 1024 requesterEmail: type: string description: Email of the user who requested this Exemption example: user@harness.io requesterName: type: string description: Name of the user who requested this Exemption example: firstname lastname targetId: type: string description: ID of the Target to which the exemption applies. Cannot be specified alongside "projectId" or "pipelineId". example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: type: string description: Type of Exemption (Compensating Controls / Acceptable Use / Acceptable Risk / False Positive / Fix Unavailable / Other) example: Other enum: - Compensating Controls - Acceptable Use - Acceptable Risk - False Positive - Fix Unavailable - Other example: expiration: 1651578240 link: https://example.com/ABC-1234 pendingChanges: durationDays: 7 pipelineId: your_pipeline reason: Waiting on upstream bug fix requesterEmail: user@harness.io requesterName: firstname lastname targetId: abcdef1234567890ghijkl type: Other required: - type - reason - pendingChanges - issueId - status - requesterId - created - lastModified UpdateExemptionRuleRequestBody: type: object properties: actions: type: object description: 'Actions to apply when the rule matches. Today: duration only. Action handlers are pluggable; see the design doc for the planned set.' example: duration: maxDurationDays: 3 additionalProperties: true conditions: type: object description: Matcher conditions. Keys are attribute names that appear in the issue context (severity_code, type, reachability, exploitability, epss, plus anything in issue.details). Missing keys are wildcards. Each value is either an array (OR-list), an object describing a numeric range, or a scalar (equality). example: epss_score: gte: 90 reachable: true severity_code: - Critical additionalProperties: true description: type: string description: Free-form rule description. example: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. maxLength: 1024 enabled: type: boolean description: 'Whether the rule is active. Disabled rules are retained and still listed, but are skipped during evaluation. OPTIONAL: defaults to true on create; on update, omit to keep the current state or send false/true to toggle.' example: true name: type: string description: Human-readable rule name. Must be unique within an account. example: 'Critical reachable issues: 3 days max' minLength: 1 maxLength: 256 priority: type: integer description: '0-based rank within an account. Lower fires first (first-match-wins). OPTIONAL on both create and update: if omitted on CREATE the new rule is appended at the bottom (rank = current rule count); if omitted on UPDATE the rule keeps its current rank. When supplied, send 0 to insert at the top, 1..n to insert at that rank, or any value >= rule count to land at the tail.' example: 0 format: int64 minimum: 0 userId: type: string description: Harness User ID example: abcdef1234567890ghijkl example: actions: duration: maxDurationDays: 3 conditions: epss_score: gte: 90 reachable: true severity_code: - Critical description: Critical findings that are reachable in production must be remediated quickly; cap exemptions at 3 days. enabled: true name: 'Critical reachable issues: 3 days max' priority: 0 userId: abcdef1234567890ghijkl required: - userId UpdateIssueRequestBody: type: object properties: numOccurrences: type: integer description: Indicates the number of Occurrences on the Issue example: 10 format: int32 occurrences: type: array items: type: object example: Odio voluptas omnis alias sit odit.: Vel provident dolor velit quis cum. Qui esse perspiciatis in.: Maxime soluta. additionalProperties: true description: Array of details unique to each occurrence example: - line: "42" - line: "666" scanId: type: string description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ type: type: string description: The type of vulnerability or quality issue for this Issue example: SAST enum: - SAST - DAST - SCA - IAC - SECRET - MISCONFIG - BUG_SMELLS - CODE_SMELLS - CODE_COVERAGE - EXTERNAL_POLICY example: numOccurrences: 10 occurrences: - line: "42" - line: "666" scanId: abcdef1234567890ghijkl type: SAST required: - occurrences - scanId UpdateOverrideRequestBody: type: object properties: link: type: string description: Link to a related ticket example: https://example.com/ABC-1234 maxLength: 1024 overrideFieldName: type: string description: Name of the field that is being overridden example: severity maxLength: 1024 overrideFieldValue: type: string description: Value of the field that is being overridden example: Low maxLength: 1024 pipelineId: type: string description: Harness Pipeline ID example: example_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 reason: type: string description: Text describing why this override is necessary example: Waiting on upstream bug fix maxLength: 1024 requesterId: type: string description: User ID of the user who requested this Exemption example: user111111111111111111 targetId: type: string description: Associated Target ID example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ example: link: https://example.com/ABC-1234 overrideFieldName: severity overrideFieldValue: Low pipelineId: example_pipeline reason: Waiting on upstream bug fix requesterId: user111111111111111111 targetId: abcdef1234567890ghijkl required: - reason - requesterId - overrideFieldName - overrideFieldValue - issueId - status UpdatePullRequestRequestBody: type: object properties: id: type: string description: The ID of the Security Issue to create a Pull Request for example: 1234567890abcdefghijkl pattern: ^[a-zA-Z0-9_-]{22}$ occurrenceId: type: integer example: 12345 format: int64 minimum: 1 pipelineUrl: type: string example: https://app.harness.io/path/to/pipeline pullRequestNumber: type: integer example: 11 format: int64 minimum: 1 remediationCode: type: string example: |- func example() int { return 0 } remediationCodeEnd: type: integer example: 16 format: int64 remediationCodePath: type: string example: path/to/code remediationCodeStart: type: integer example: 14 format: int64 remediationContext: type: string example: Context to the function. remediationIndent: type: integer example: 9 format: int64 scanId: type: string description: The Security Scan execution that detected this Security Issue example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ vulnerableCode: type: string example: |- func example() int { return 0 } example: id: 1234567890abcdefghijkl occurrenceId: 12345 pipelineUrl: https://app.harness.io/path/to/pipeline pullRequestNumber: 11 remediationCode: |- func example() int { return 0 } remediationCodeEnd: 16 remediationCodePath: path/to/code remediationCodeStart: 14 remediationContext: Context to the function. remediationIndent: 9 scanId: abcdef1234567890ghijkl vulnerableCode: |- func example() int { return 0 } required: - pipelineUrl - id - occurrenceId - scanId - vulnerableCode - remediationCode - remediationCodePath - remediationCodeStart - remediationCodeEnd - remediationContext - pullRequestNumber UpdateScanRequestBody: type: object properties: artifactFingerprint: type: string description: The Artifact Fingerprint used use to identify the target example: abcdef1234567890ghijkl pattern: ^[A-Za-z0-9_]*$ maxLength: 64 codeCoverage: type: number description: The Code Coverage value for the Scan example: 65.5 format: float executionId: type: string description: Pipeline Execution ID associated with the Scan example: abcdef1234567890ghijkl pattern: ^[a-zA-Z0-9_-]{22}$ gitMetadata: $ref: '#/components/schemas/GitMetadata' metadata: $ref: '#/components/schemas/ScanMetadata' orgId: type: string description: Harness Organization ID example: your_harness_org pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 pipelineId: type: string description: Harness Organization ID example: your_harness_pipeline pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 productId: type: string description: The Scan Product used for the Scan example: product111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ productName: type: string description: The machine name of the Scan Product (scanner), e.g. snyk. Optional; populated by endpoints that join the product table. example: snyk productPrettyName: type: string description: The human-readable display name of the Scan Product (scanner), e.g. Snyk. Optional; populated by endpoints that join the product table. example: Snyk projectId: type: string description: Harness Project ID example: your_harness_project pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 refinementVersion: type: string description: The Issue refinement version used for this Scan example: 1.0.5 scannerDiffKey: type: string description: Key used to differentiate scanner configurations for scan comparison (e.g. sast, sca, sast_sca) example: sast stageId: type: string description: Pipeline Stage ID associated with the Scan example: stage_id pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 status: type: string description: Current status of the Scan example: Succeeded enum: - Pending - Running - Succeeded - Failed stepId: type: string description: Pipeline Step ID associated with the Scan example: step_id pattern: ^[A-Za-z_][A-Za-z0-9_]*$ maxLength: 128 subproduct: type: string description: The Scan Subproduct used for the Scan example: owasp format: binary targetVariantId: type: string description: The Target Variant associated with the Scan example: variant111111111111111 pattern: ^[a-zA-Z0-9_-]{22}$ example: artifactFingerprint: abcdef1234567890ghijkl codeCoverage: 65.5 executionId: abcdef1234567890ghijkl gitMetadata: commit: "0000000000000000000000000000000000000001" detectedName: Recusandae rem autem optio est. detectedVariant: Mollitia recusandae incidunt necessitatibus rerum odit. droneCorrelated: false provider: Error deleniti sint rem doloribus. pullRequestNumber: 11 repositoryHttp: https://github.com/harness/drone-cli.git repositoryPath: - Dolor sunt blanditiis. - Quibusdam inventore voluptatem. repositorySsh: git@github.com:harness/drone-cli.git sourceBranch: feat/shiny-object targetBranch: develop workspace: /harness metadata: baseImageDigest: sha256:abcdef1234567890ghijkl baseImageName: my-image baseImageTag: 1.0.0 orgId: your_harness_org pipelineId: your_harness_pipeline productId: product111111111111111 productName: snyk productPrettyName: Snyk projectId: your_harness_project refinementVersion: 1.0.5 scannerDiffKey: sast stageId: stage_id status: Succeeded stepId: step_id subproduct: owasp targetVariantId: variant111111111111111 required: - targetVariantId - orgId - projectId - pipelineId - executionId - stageId - stepId - productId - status - refinementVersion - created - lastModified UpdateTargetRequestBody: type: object properties: baselineRegEx: type: string description: RegEx to match for dynamically selecting the Baseline for this Scan Target. Must be compatible with the RE2 standard. example: release_.* maxLength: 128 baselineVariantId: type: string description: ID of baseline Target Variant for Issue comparison example: abcdef1234567890ghijkl pattern: ^([a-zA-Z0-9_-]{22}|)$ directory: type: string description: Directory within the Test Target to be scanned example: app/src maxLength: 1024 name: type: string description: Name of the Test Target example: NodeGoat pattern: ^[a-zA-Z0-9_.:/|()-]+$ maxLength: 128 type: type: string description: Test Target's type example: repository enum: - container - repository - instance - configuration url: type: string description: URL used to access the Test Target example: https://github.com/example/repo maxLength: 1024 example: baselineRegEx: release_.* baselineVariantId: abcdef1234567890ghijkl directory: app/src name: NodeGoat type: repository url: https://github.com/example/repo required: - created - lastModified - name - type UpdateTargetVariantRequestBody: type: object properties: hash: type: string description: Git Commit or Container Image hash example: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef maxLength: 64 parameters: type: object description: Parameters for this Variant, as a JSON-encoded string example: branch: main additionalProperties: type: string example: Voluptatum qui sed. example: hash: deadbeefdeadbeefdeadbeefdeadbeefdeadbeef parameters: branch: main required: - parameters - created - lastModified UpdateTestTargetVariantsRequestBody: type: object properties: targetVariants: type: array items: $ref: '#/components/schemas/TargetVariantStatusInfo' description: List of target variants with their status example: - id: abcdef1234567890ghijkl status: approved - id: xyz987zyx654wvu321tsr9 status: unapproved minItems: 1 maxItems: 100 example: targetVariants: - id: abcdef1234567890ghijkl status: approved - id: xyz987zyx654wvu321tsr9 status: unapproved Usage: type: object properties: count: type: integer description: Unit count example: 0 format: int64 displayName: type: string description: Display name example: Last 30 Days references: type: array items: type: string example: Ab repellendus quia esse. description: References example: - In sint quisquam quo. - Quibusdam praesentium quaerat voluptate. - In debitis accusamus laudantium sunt similique at. - Reprehenderit quo sunt distinctio laudantium. description: Usage example: count: 0 displayName: Last 30 Days references: - Quis voluptatem et nesciunt quaerat velit aut. - Laboriosam rerum placeat et accusantium et. required: - count - displayName - references UsageAllAccountsResult: type: object properties: timestamp: type: integer description: Timestamp example: 1670427991307 format: int64 usage: type: array items: $ref: '#/components/schemas/AccountUsage' description: Usage of all accounts example: - accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 - accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 - accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 description: All Accounts Usage Result example: timestamp: 1670427991307 usage: - accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 - accountId: BdsgiWzwT7CQFeJl9XkQ3A developerCount: 25 harnessCodeCount: 100 harnessContainerCount: 50 scanCount: 5000 required: - timestamp - usage UsageReportUsageResponseBody: $ref: '#/components/schemas/UsageResult' UsageResult: type: object properties: accountIdentifier: type: string description: Account identifier example: BdsgiWzwT7CQFeJl9XkQ3A activeDevelopers: $ref: '#/components/schemas/Usage' activeScans: $ref: '#/components/schemas/Usage' module: type: string description: Harness module example: STO timestamp: type: integer description: Timestamp example: 1670427991307 format: int64 description: Usage Result example: accountIdentifier: BdsgiWzwT7CQFeJl9XkQ3A activeDevelopers: count: 0 displayName: Last 30 Days references: - Vitae dolorum ullam atque aut cum qui. - Dolore tempore incidunt expedita voluptatem excepturi. - Eos culpa. activeScans: count: 0 displayName: Last 30 Days references: - Vitae dolorum ullam atque aut cum qui. - Dolore tempore incidunt expedita voluptatem excepturi. - Eos culpa. module: STO timestamp: 1670427991307 required: - accountIdentifier - module - timestamp - activeDevelopers - activeScans UsageUsageAllAccountsResponseBody: $ref: '#/components/schemas/UsageAllAccountsResult' securitySchemes: X-Api-Key_header_Authorization: type: apiKey name: Authorization in: header X-Api-Key_header_X-Api-Key: type: apiKey name: X-Api-Key in: header X-Harness-Token_header_X-Harness-Token: type: apiKey name: X-Harness-Token in: header jwt_header_Authorization: type: http scheme: bearer tags: - name: Accounts description: Account Management Operations - name: ExemptionRules description: Manage admin-defined rules that gate Exemption creation - name: Exemptions description: Access and modify Exemptions to Security Issues - name: IngestionActivity description: Internal APIs for ingestion worker activity on external Qwiet scans - name: Overrides description: Access and modify Overrides for Security Issues - name: pipeline-security description: Pipeline Security API for STO - name: PolicyEnforcements description: Evaluate STO scan issues against Harness policy sets - name: Products description: Access Scan Tool information - name: Pull Requests description: Access and Modify Pull Requests - name: Qwiet description: Qwiet/ShiftLeft integration endpoints - name: QwietIngestion description: Internal Qwiet scan-status callback API - name: qwietproxy description: Harness Qwiet reverse-proxy analyze APIs on Qwiet-compatible /api/v4 and /api/v2 (config validate, policy upload/validate) paths. - name: RemediationAgent description: Internal endpoints for remediation-agent plugins and account-scoped STO base-image approval lookup - name: ScannerSettings description: Scanner settings stored per Harness scope, merged for scan-time consumers (Qwiet CLI) - name: FpTriage description: Agent ingest endpoints for the FP Triage agent's pre- and post-plugins - name: System description: Unauthenticated support endpoints - name: Artifacts description: Read APIs for the Artifacts page. - name: Repositories description: Read APIs for the Repositories page. - name: Target Variants description: Access and modify Scan Target Variants - name: Frontend description: Endpoints that power the STO micro-frontend - name: Issues description: Access and modify Security Issues - name: Scans description: Access and modify Security Test Scans - name: STO Data Frontend description: Endpoints that power the other modules micro-frontend with STO data - name: Applications description: User-created groups of already-scanned targets in one project - name: Test Targets description: Access and modify Scan Targets - name: Token description: Internal endpoints for cross-service authentication - name: Usage description: Access Account Usage - name: Reference Identifiers description: Reference Identifiers Lookup