<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shahid Saddique</title>
    <description>The latest articles on DEV Community by Shahid Saddique (@shahidsaddique).</description>
    <link>https://dev.to/shahidsaddique</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3996466%2F259d1627-7592-4189-b92b-b831365b0476.png</url>
      <title>DEV Community: Shahid Saddique</title>
      <link>https://dev.to/shahidsaddique</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shahidsaddique"/>
    <language>en</language>
    <item>
      <title>Building a Zero-Dependency Python Parser to Convert Veracode SAST JSON to HTML Dashboards</title>
      <dc:creator>Shahid Saddique</dc:creator>
      <pubDate>Mon, 22 Jun 2026 08:11:32 +0000</pubDate>
      <link>https://dev.to/shahidsaddique/building-a-zero-dependency-python-parser-to-convert-veracode-sast-json-to-html-dashboards-27ke</link>
      <guid>https://dev.to/shahidsaddique/building-a-zero-dependency-python-parser-to-convert-veracode-sast-json-to-html-dashboards-27ke</guid>
      <description>&lt;p&gt;In enterprise DevSecOps pipelines, velocity is everything. While running static application security testing (SAST) tools like Veracode inside containerized CI/CD runners is crucial for catching vulnerabilities early, dealing with the raw artifact data can be a bottleneck. &lt;/p&gt;

&lt;p&gt;By default, high-velocity pipeline scans output a heavy, nested &lt;code&gt;results.json&lt;/code&gt; file. Expecting developers or QA leads to dig through thousands of lines of raw JSON during a broken build step slows down remediation cycles.&lt;/p&gt;

&lt;p&gt;To solve this, I built a lightweight, zero-dependency Python automation script that parses raw Veracode JSON data and instantly outputs a beautifully styled, responsive Bootstrap 5 HTML reporting dashboard.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📊 &lt;strong&gt;Full Engineering Architecture &amp;amp; Implementation Details:&lt;/strong&gt; &amp;gt; For the complete step-by-step framework setup, local directory structures, and advanced break-build pipeline rules, check out the full guide on my portfolio:&lt;br&gt;&lt;br&gt;
&lt;strong&gt;&lt;a href="https://shahidsaddique.com/projects/veracode/veracode-pipeline-scan" rel="noopener noreferrer"&gt;Veracode SAST Pipeline Scan Automation Guide&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🚀 Why Go Zero-Dependency?
&lt;/h2&gt;

&lt;p&gt;When writing automated tasks for ephemeral CI/CD runners (like GitHub Actions, GitLab CI, or Bitbucket Pipelines), minimizing container setup time is critical. &lt;/p&gt;

&lt;p&gt;Using external libraries like &lt;code&gt;pandas&lt;/code&gt; or &lt;code&gt;requests&lt;/code&gt; requires a &lt;code&gt;pip install&lt;/code&gt; phase. This consumes precious build minutes, requires internet access within isolated runners, and introduces third-party dependency vulnerabilities. &lt;/p&gt;

&lt;p&gt;This parser uses nothing but Python's built-in &lt;code&gt;json&lt;/code&gt; and &lt;code&gt;os&lt;/code&gt; libraries, meaning it executes in &lt;strong&gt;milliseconds&lt;/strong&gt; on any minimal container base (like Python-slim or Alpine).&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠️ The Core Logic Blueprint
&lt;/h2&gt;

&lt;p&gt;The parsing script executes three main tasks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Validation &amp;amp; Ingestion:&lt;/strong&gt; Safely checks for the existence of the compilation artifact (&lt;code&gt;results.json&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Metrics Aggregation:&lt;/strong&gt; Tallies up total vulnerabilities and segments them into priority levels (High/Critical vs. Medium vs. Low) based on Veracode's severity weights.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Semantic HTML Synthesis:&lt;/strong&gt; Flushes the parsed findings arrays into an optimized, self-contained Bootstrap 5 table component.&lt;/li&gt;
&lt;/ol&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
python
# Quick snippet showing the data extraction layer
total_flaws = len(findings)
high_flaws = sum(1 for f in findings if f.get("severity") &amp;gt;= 4)
med_flaws = sum(1 for f in findings if f.get("severity") == 3)
low_flaws = sum(1 for f in findings if f.get("severity") &amp;lt;= 2)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>devsecops</category>
      <category>automation</category>
      <category>python</category>
      <category>cicd</category>
    </item>
  </channel>
</rss>
