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

STO Data Frontend

Endpoints that power the other modules micro-frontend with STO data

Distinct filter values for selected targets and variants

post
/api/v2/sto-data-frontend/all-issues/filters

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.

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

Harness Account ID

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

Harness Organization ID

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

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Body
artifactFingerprintsstring[] · max: 100Optional

Artifact fingerprints for lookup

Example: ["lu6","94b","s9t"]
Responses
200

OK response.

application/json

Distinct filter values available for the issues produced by the requested target and variant combinations

issueTypesstring[]Required

Distinct issue types present in the matching issues

Example: ["SAST","SCA"]
scannersstring[]Required

Distinct scanner (product) names present in the matching issues

Example: ["semgrep","trivy"]
severitiesstring[]Required

Distinct severity codes present in the matching issues

Example: ["Critical","High","Medium"]
targetsstring[]Required

Distinct target names present in the matching issues

Example: ["NodeGoat","juice-shop"]
post/api/v2/sto-data-frontend/all-issues/filters
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
}

List of issues for selected targets and variants

post
/api/v2/sto-data-frontend/all-issues/issues

Provides a paginated list of issues for the provided target name and variant combinations

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

Harness Account ID

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

Harness Organization ID

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

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Body
artifactFingerprintsstring[] · max: 100Optional

Artifact fingerprints for lookup

Example: ["ivi","0f6","bz8"]
issueTypesstringOptionalExample: 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)*$
pageinteger · int64Optional

Page number to fetch (starting from 0)

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

Number of results per page

Default: 30Example: 50
scanToolsstringOptionalExample: OWASP,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])?)*$
searchstring · max: 256OptionalExample: CWE-123
severityCodesstringOptionalExample: Critical,High,MediumPattern: ^(Critical|High|Medium|Low|Info)(,Critical|,High|,Medium|,Low|,Info)*$
targetNamesstringOptionalExample: repo/abc,another-repo/xyzPattern: ^([a-zA-Z0-9/_-]+)(,[a-zA-Z0-9/_-]+)*$
targetTypesstringOptionalExample: repository,containerPattern: ^(repository|container|instance|configuration)(,repository|,container|,instance|,configuration)*$
Responses
200

OK response.

application/json
post/api/v2/sto-data-frontend/all-issues/issues
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
  }
}
post
/api/v2/sto-data-frontend/artifact-scan-summary

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

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

Harness Account ID

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

Harness Organization ID

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

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Body
artifactFingerprintsstring[] · max: 100Optional

Artifact fingerprints for lookup

Example: ["lu6","94b","s9t"]
Responses
200

OK response.

application/json

The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info

artifactFingerprintstring · max: 64Optional

Fingerprint which identifies an artifact

Example: bdb
executionIdstringRequired

Harness Execution ID

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

Timestamp at which the target variant was last scanned

Example: 1634836529
pipelineIdstring · max: 128Required

Harness Pipeline ID

Example: example_pipelinePattern: ^[A-Za-z_][A-Za-z0-9_]*$
targetIdstringRequired

Associated Target ID

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

Name of the Scan Target

Example: NodeGoat
targetVariantIdstringRequired

Associated Target Variant ID

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

Name of the Scan Target

Example: NodeGoat
typestring · enumRequired

Scan Target's type

Example: repositoryPossible values:
post/api/v2/sto-data-frontend/artifact-scan-summary
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"
  }
]
post
/api/v2/sto-data-frontend/artifact-summary

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

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

Harness Account ID

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

Harness Organization ID

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

Harness Project ID

Example: example_projectPattern: ^[A-Za-z_][A-Za-z0-9_]*$
Body
artifactFingerprintsstring[] · max: 100Optional

Artifact fingerprints for lookup

Example: ["lu6","94b","s9t"]
Responses
200

OK response.

application/json

The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info

artifactFingerprintstring · max: 64Optional

Fingerprint which identifies an artifact

Example: fe3
criticalinteger · int32Required

The number of Critical-severity Issues

Example: 1
executionIdstringRequired

Harness Execution ID

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

The number of High-severity Issues

Example: 3
ignoredinteger · int32Optional

The number of Issues ignored due to Exemptions, and therefore not included in other counts

Example: 1
infointeger · int32Required

The number of Informational Issues

Example: 11
lastScannedinteger · int64Required

Timestamp at which the target variant was last scanned

Example: 1634836529
lowinteger · int32Required

The number of Low-severity Issues

Example: 39
mediuminteger · int32Required

The number of Medium-severity Issues

Example: 17
pipelineIdstring · max: 128Required

Harness Pipeline ID

Example: example_pipelinePattern: ^[A-Za-z_][A-Za-z0-9_]*$
targetIdstringRequired

Associated Target ID

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

Name of the Scan Target

Example: NodeGoat
targetVariantIdstringRequired

Associated Target Variant ID

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

Name of the Scan Target

Example: NodeGoat
typestring · enumRequired

Scan Target's type

Example: repositoryPossible values:
post/api/v2/sto-data-frontend/artifact-summary
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"
  }
]
get
/api/v2/sto-data-frontend/execution-summary/{executionId}

Returns counts of active Security Issues for a specific Pipeline Executions

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

Harness pipeline execution ID

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

Harness Account ID

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

Harness Organization ID

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

Harness Project ID

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

OK response.

application/json

The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info

artifactFingerprintstring · max: 64Optional

Fingerprint which identifies an artifact

Example: fe3
criticalinteger · int32Required

The number of Critical-severity Issues

Example: 1
executionIdstringRequired

Harness Execution ID

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

The number of High-severity Issues

Example: 3
ignoredinteger · int32Optional

The number of Issues ignored due to Exemptions, and therefore not included in other counts

Example: 1
infointeger · int32Required

The number of Informational Issues

Example: 11
lastScannedinteger · int64Required

Timestamp at which the target variant was last scanned

Example: 1634836529
lowinteger · int32Required

The number of Low-severity Issues

Example: 39
mediuminteger · int32Required

The number of Medium-severity Issues

Example: 17
pipelineIdstring · max: 128Required

Harness Pipeline ID

Example: example_pipelinePattern: ^[A-Za-z_][A-Za-z0-9_]*$
targetIdstringRequired

Associated Target ID

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

Name of the Scan Target

Example: NodeGoat
targetVariantIdstringRequired

Associated Target Variant ID

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

Name of the Scan Target

Example: NodeGoat
typestring · enumRequired

Scan Target's type

Example: repositoryPossible values:
get/api/v2/sto-data-frontend/execution-summary/{executionId}
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"
  }
]
post
/api/v2/sto-data-frontend/issue-counts

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

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

Harness Account ID

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

Harness Organization ID

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

Harness Project ID

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

OK response.

application/json
post/api/v2/sto-data-frontend/issue-counts
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?