{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-artifact-v2-overview-schema.json", "title": "ArtifactV2Overview", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-artifactlisting-api-openapi.yml#/components/schemas/ArtifactV2Overview", "type": "object", "x-stoplight": { "id": "mupnp70njtgn7" }, "required": [ "name", "url" ], "properties": { "id": { "type": "string", "description": "Artifact Identifier" }, "name": { "type": "string", "description": "Artifact Name" }, "url": { "type": "string", "description": "Artifact URL" }, "tags": { "type": "array", "items": { "type": "string" } }, "digest": { "type": "string", "description": "digest of the artifact" }, "updated": { "type": "string", "description": "Last Updated time of artifact" }, "metadata": { "type": "object" }, "sto_issue_count": { "$ref": "#/$defs/StoIssueCount" }, "deployments": { "$ref": "#/$defs/Deployments" }, "sbom_details": { "$ref": "#/$defs/SBOMInfo" }, "pipeline_details": { "$ref": "#/$defs/PipelineDetails" }, "violations": { "$ref": "#/$defs/Violations" }, "scorecard": { "$ref": "#/$defs/Scorecard1" }, "slsa_details": { "$ref": "#/$defs/SLSADetails1" }, "source_id": { "type": "string", "x-stoplight": { "id": "i8uxq3e1vcpkh" } }, "signing": { "$ref": "#/$defs/IntegrityVerification" } }, "$defs": { "Deployments": { "title": "Deployments", "x-stoplight": { "id": "3gv4s6tifivpk" }, "type": "object", "properties": { "prod_env_count": { "type": "integer", "x-stoplight": { "id": "gqp8yu3px6k5x" } }, "non_prod_env_count": { "type": "integer", "x-stoplight": { "id": "8bm3sz8deaxk6" } }, "env_type": { "x-stoplight": { "id": "d7ixva9h2b6ou" }, "enum": [ "PreProduction", "Production" ] }, "env_identifier": { "type": "string", "x-stoplight": { "id": "5j5td0cjoezth" } }, "env_name": { "type": "string", "x-stoplight": { "id": "ll2uo89ao3j7w" } }, "pipeline_details": { "$ref": "#/$defs/PipelineDetails" } } }, "IntegrityVerification": { "title": "IntegrityVerification", "x-stoplight": { "id": "o67gzhl92dluh" }, "type": "object", "properties": { "rekor": { "$ref": "#/$defs/RekorLog" }, "error_message": { "type": "string", "x-stoplight": { "id": "n4kkqgdolwbxh" } }, "status": { "$ref": "#/$defs/VerificationStatus" }, "pipeline_id": { "type": "string", "x-stoplight": { "id": "1oh36wopxh7ek" } }, "pipeline_execution_id": { "type": "string", "x-stoplight": { "id": "wqwwxp6452gmd" } } } }, "PipelineDetails": { "title": "PipelineDetails", "x-stoplight": { "id": "rr6hfyn7yqya8" }, "type": "object", "properties": { "org_id": { "type": "string", "x-stoplight": { "id": "tevm6bc13y3hi" }, "description": "Organisation where pipeline is present." }, "project_id": { "type": "string", "x-stoplight": { "id": "7s1mu1n1dan0s" }, "description": "Project where pipeline is present." }, "name": { "type": "string", "x-stoplight": { "id": "dl352mt8yqdxt" }, "description": "Name of the pipeline." }, "execution_id": { "type": "string", "x-stoplight": { "id": "tevm6bc13y3hi" }, "description": "Execution Id of the pipeline." }, "id": { "type": "string", "x-stoplight": { "id": "7s1mu1n1dan0s" }, "description": "Id of the pipeline." }, "triggered_by": { "type": "string", "description": "Name of who trigger the deployment pipeline" }, "triggered_by_id": { "type": "string", "description": "Id of who trigger the deployment pipeline" }, "triggered_at": { "type": [ "integer", "null" ], "description": "Time of trigger of the deployment pipeline", "format": "int64" }, "triggered_type": { "type": "string", "description": "Trigger type of the deployment pipeline" }, "status": { "type": "string", "x-stoplight": { "id": "qqz5h836cnx8e" }, "enum": [ "PASSED", "FAILED", "UNKNOWN" ] }, "stage_execution_id": { "type": "string", "x-stoplight": { "id": "68i7ms2hxjctl" }, "description": "Execution Id for the Stage" }, "step_execution_id": { "type": "string", "x-stoplight": { "id": "22ha61i5fiwzc" }, "description": "Execution Id for the step" }, "stage_type": { "type": "string", "x-stoplight": { "id": "22ha61i5fiwzc" }, "description": "Stage type in which the step executed", "enum": [ "BUILD", "DEPLOY", "SECURITY" ] } } }, "RekorLog": { "title": "RekorLogDataModel", "x-stoplight": { "id": "2tz0t40gohsnp" }, "type": "object", "properties": { "hash": { "type": "string", "x-stoplight": { "id": "pw8nommavkh17" } }, "t_log_index": { "type": "string", "x-stoplight": { "id": "3h63tu9ilxhaq" } }, "signature": { "type": "string", "x-stoplight": { "id": "f2uvqh6uh4dj0" } }, "entry_uuid": { "type": "string", "x-stoplight": { "id": "04859pdq51kvo" } }, "signed_at": { "type": "string", "x-stoplight": { "id": "w0tobwpwa3kcs" } }, "signed_by": { "type": "string", "x-stoplight": { "id": "x13syvivwlh3c" } } } }, "SBOMInfo": { "title": "SBOMInfo", "x-stoplight": { "id": "2dzt0ov3lmusq" }, "type": "object", "properties": { "orchestration_id": { "type": "string", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "project_id": { "type": "string", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "org_id": { "type": "string", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "components_count": { "type": "integer", "x-stoplight": { "id": "peqspkq16qkwq" } }, "drift_id": { "type": "string", "x-stoplight": { "id": "7n8p0njpodkus" } }, "total_drifts": { "type": "integer", "x-stoplight": { "id": "62jr4hroubi5s" } }, "pipeline_details": { "$ref": "#/$defs/PipelineDetails" } } }, "SLSADetails1": { "title": "SLSADetails", "x-stoplight": { "id": "fl0ysc7r5hupw" }, "type": "object", "properties": { "status": { "type": "string", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "provenance_id": { "type": "string", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "project_id": { "type": "string", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "org_id": { "type": "string", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "pipeline_details": { "$ref": "#/$defs/PipelineDetails" } } }, "Scorecard1": { "title": "Scorecard", "x-stoplight": { "id": "102ivoz6d9d0e" }, "type": "object", "properties": { "max_score": { "type": "string", "x-stoplight": { "id": "thfkvwow3l96k" } }, "avg_score": { "type": "string", "x-stoplight": { "id": "0mcqty415kzb6" } } } }, "StoIssueCount": { "title": "StoIssueCount", "x-stoplight": { "id": "f6ujzuy4ee24s" }, "type": "object", "description": "The count of Security Issues, by severity code, for a given Harness Pipeline Execution along with this execution info", "properties": { "critical": { "type": "integer", "x-stoplight": { "id": "hr4evvvkdwlaj" }, "description": "The number of Critical-severity Issues" }, "high": { "type": "integer", "x-stoplight": { "id": "xku8fdplguqn8" }, "description": "The number of High-severity Issues" }, "ignored": { "type": "integer", "x-stoplight": { "id": "pugpn1qpfuiz2" }, "description": "The number of Issues ignored due to Exemptions, and therefore not included in other counts" }, "info": { "type": "integer", "x-stoplight": { "id": "uq1mu3ju7hqvj" }, "description": "The number of Informational Issues" }, "last_scanned": { "type": "string", "x-stoplight": { "id": "31o2aroslpv8t" }, "description": "Timestamp at which the target variant was last scanned" }, "low": { "type": "integer", "x-stoplight": { "id": "0ke8tj8nksxb0" }, "description": "The number of Low-severity Issues" }, "medium": { "type": "integer", "x-stoplight": { "id": "dgxoss72dtrpd" }, "description": "The number of Medium-severity Issues" }, "total": { "type": "integer", "x-stoplight": { "id": "dgxoss72dtrpd" }, "description": "The number of total-severity Issues" }, "target_id": { "type": "string", "x-stoplight": { "id": "77ehb4jdd7e4e" }, "description": "Associated Target ID" }, "target_name": { "type": "string", "x-stoplight": { "id": "qmyrjo5stdfwh" }, "description": "Name of the Scan Target" }, "target_variant_id": { "type": "string", "x-stoplight": { "id": "md8z2e8kl4sdb" }, "description": "Associated Target Variant ID" }, "target_variant_name": { "type": "string", "x-stoplight": { "id": "eky1hzk5ljwed" }, "description": "Name of the Scan Target" }, "type": { "type": "string", "x-stoplight": { "id": "6w9cfeu92rj4d" }, "enum": [ "image", "repository" ], "description": "Scan Target's type" }, "tool": { "type": "string", "x-stoplight": { "id": "6w9cfeu92rj4d" }, "description": "The name of the tool that performed the scan" }, "execution_id": { "type": "string", "x-stoplight": { "id": "w8x5d831w1s0f" }, "description": "Harness Execution ID" }, "pipeline_id": { "type": "string", "x-stoplight": { "id": "knvaykwgq2syk" }, "description": "Harness Pipeline Id" }, "pipeline_details": { "$ref": "#/$defs/PipelineDetails" } } }, "VerificationStatus": { "type": "string", "enum": [ "PASSED", "FAILED" ] }, "Violations": { "title": "Violations", "x-stoplight": { "id": "8khk0g7i7jidc" }, "type": "object", "properties": { "enforcement_id": { "type": "string", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "allow_list_violations": { "type": "integer", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "deny_list_violations": { "type": "integer", "x-stoplight": { "id": "ju6d8j0ulhw4t" } }, "pipeline_details": { "$ref": "#/$defs/PipelineDetails" } } } } }