STO Data Frontend
Endpoints that power the other modules micro-frontend with STO data
Distinct filter values for selected targets and variants
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.
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Artifact fingerprints for lookup
["lu6","94b","s9t"]OK response.
Distinct filter values available for the issues produced by the requested target and variant combinations
Distinct issue types present in the matching issues
["SAST","SCA"]Distinct scanner (product) names present in the matching issues
["semgrep","trivy"]Distinct severity codes present in the matching issues
["Critical","High","Medium"]Distinct target names present in the matching issues
["NodeGoat","juice-shop"]BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
POST /gateway/sto/api/v2/sto-data-frontend/all-issues/filters?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 531
{
"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."
}
]
}{
"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
}Provides a paginated list of issues for the provided target name and variant combinations
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Artifact fingerprints for lookup
["ivi","0f6","bz8"]SASTPattern: ^(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 number to fetch (starting from 0)
0Example: 4Number of results per page
30Example: 50OWASP,Aqua Trivy,SnykPattern: ^[a-zA-Z0-9](?:[a-zA-Z0-9 ._-]*[a-zA-Z0-9])?(?:,[a-zA-Z0-9](?:[a-zA-Z0-9 ._-]*[a-zA-Z0-9])?)*$CWE-123Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$repo/abc,another-repo/xyzPattern: ^([a-zA-Z0-9/_-]+)(,[a-zA-Z0-9/_-]+)*$repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
POST /gateway/sto/api/v2/sto-data-frontend/all-issues/issues?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 747
{
"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."
}
]
}{
"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
}
}Returns counts of active Security Issues for one or more Pipeline Executions per scanner
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Artifact fingerprints for lookup
["lu6","94b","s9t"]OK response.
The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info
Fingerprint which identifies an artifact
bdbHarness Execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Timestamp at which the target variant was last scanned
1634836529Harness Pipeline ID
example_pipelinePattern: ^[A-Za-z_][A-Za-z0-9_]*$Associated Target ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Name of the Scan Target
NodeGoatAssociated Target Variant ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Name of the Scan Target
NodeGoatScan Target's type
repositoryPossible values: BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
POST /gateway/sto/api/v2/sto-data-frontend/artifact-scan-summary?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 531
{
"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."
}
]
}[
{
"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"
}
]Returns counts of active Security Issues for one or more Pipeline Executions
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$Artifact fingerprints for lookup
["lu6","94b","s9t"]OK response.
The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info
Fingerprint which identifies an artifact
fe3The number of Critical-severity Issues
1Harness Execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$The number of High-severity Issues
3The number of Issues ignored due to Exemptions, and therefore not included in other counts
1The number of Informational Issues
11Timestamp at which the target variant was last scanned
1634836529The number of Low-severity Issues
39The number of Medium-severity Issues
17Harness Pipeline ID
example_pipelinePattern: ^[A-Za-z_][A-Za-z0-9_]*$Associated Target ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Name of the Scan Target
NodeGoatAssociated Target Variant ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Name of the Scan Target
NodeGoatScan Target's type
repositoryPossible values: BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
POST /gateway/sto/api/v2/sto-data-frontend/artifact-summary?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 531
{
"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."
}
]
}[
{
"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"
}
]Returns counts of active Security Issues for a specific Pipeline Executions
Harness pipeline execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$OK response.
The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info
Fingerprint which identifies an artifact
fe3The number of Critical-severity Issues
1Harness Execution ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$The number of High-severity Issues
3The number of Issues ignored due to Exemptions, and therefore not included in other counts
1The number of Informational Issues
11Timestamp at which the target variant was last scanned
1634836529The number of Low-severity Issues
39The number of Medium-severity Issues
17Harness Pipeline ID
example_pipelinePattern: ^[A-Za-z_][A-Za-z0-9_]*$Associated Target ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Name of the Scan Target
NodeGoatAssociated Target Variant ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Name of the Scan Target
NodeGoatScan Target's type
repositoryPossible values: BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
GET /gateway/sto/api/v2/sto-data-frontend/execution-summary/{executionId}?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"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"
}
]Returns counts of active Security Issues for one or more Pipeline Executions
Harness Account ID
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Harness Organization ID
example_orgPattern: ^[A-Za-z_][A-Za-z0-9_]*$Harness Project ID
example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
POST /gateway/sto/api/v2/sto-data-frontend/issue-counts?accountId=abcdef1234567890ghijkl&orgId=example_org&projectId=example_project HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 431
{
"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."
}
]
}{
"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"
}
}
}
}Last updated
Was this helpful?