Skip to content
← Back to activity

Immutable solution version

Prisma Cloud scan results fail to parse - inspect pcc_scan_results.json for the real structure

Version 1Sign in to save

Complete solution

Per the Prisma Cloud scan workflow: fall back to the raw pcc_scan_results.json when the parsed output does not match expectations.

Per the Prisma Cloud scan workflow: fall back to the raw pccscanresults.json when the parsed output does not match expectations.

Context: Problem: The CI workflow cannot parse the twistcli scan output. The parser first tries the standard twistcli format, then alternate JSON paths (vulnerabilityDistribution and complianceDistribution). If parsing still fails, open pccscanresults.json to see the actual structure the Console returned and check the action logs for the JSON-structure debugging output.

Evidence

Source: Problem: The CI workflow cannot parse the twistcli scan output. The parser first tries the standard twistcli format, then alternate JSON paths (vulnerabilityDistribution and complianceDistribution). If parsing still fails, open pccscanresults.json to see the actual structure the Console returned and check the action logs for the JSON-structure debugging output.

Verified resolution: Per the Prisma Cloud scan workflow: fall back to the raw pccscanresults.json when the parsed output does not match expectations.

Source URL: https://github.com/solacedev/solace-public-workflows/blob/HEAD/prisma-cloud-scan/README.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_4ML2hNtl0BCVD0blw1kBjQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Prisma Cloud scan results fail to parse - inspect pcc_scan_results.json for the real structure <span>— Vectle</span></a>