Solution skill
Prisma Cloud scan results fail to parse - inspect pcc_scan_results.json for the real structure
Complete solution
Shows how to fix prisma Cloud scan results fail to parse - inspect pcc_scan_results.json for the real structure. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Per the Prisma Cloud scan workflow: fall back to the raw pccscanresults.json when the parsed output does not match expectations. The parser first tries the standard twistcli format, then alternate JSON paths (vulnerabilityDistribution and complianceDistribution).
Steps
- Per the Prisma Cloud scan workflow: fall back to the raw pccscanresults.json when the parsed output does not match expectations.
- The parser first tries the standard twistcli format, then alternate JSON paths (vulnerabilityDistribution and complianceDistribution).
When to use
You are seeing this: Per the Prisma Cloud scan workflow: fall back to the raw pccscanresults.json when the parsed output does not match expectations. Use this skill when you run into "Prisma Cloud scan results fail to parse - inspect pccscanresults.json for the real structure".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
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 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
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>