<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Selectionlist | FirewallSync</title><link>https://firewallsync.com/tags/selectionlist/</link><description>Practical cybersecurity writing for engineering teams that ship fast.</description><language>en-us</language><image><url>https://firewallsync.com/icon-512.png</url><title>FirewallSync</title><link>https://firewallsync.com/</link></image><lastBuildDate>Wed, 25 Nov 2026 04:30:00 +0000</lastBuildDate><atom:link href="https://firewallsync.com/tags/selectionlist/index.xml" rel="self" type="application/rss+xml"/><item><title>SSVC Object Registry: Resolve namespace:key:version IDs</title><link>https://firewallsync.com/posts/ssvc-object-registry-namespace-key-version-lookup/</link><guid>https://firewallsync.com/posts/ssvc-object-registry-namespace-key-version-lookup/</guid><pubDate>Wed, 25 Nov 2026 04:30:00 +0000</pubDate><dc:creator>Craig Leslie</dc:creator><category>AppSec &amp; APIs</category><description>CERT/CC's ssvc_object_registry.json holds every SSVC decision point and decision table by type, namespace, key and version. This guide shows the structure, how to resolve an ID like ssvc:E:1.1.0:P, how to validate a SelectionList and how to turn CISA's ADP SSVC words into registry keys.</description><enclosure url="https://firewallsync.com/posts/ssvc-object-registry-namespace-key-version-lookup/cover_hu15979467066744326507.jpg" type="image/jpeg" length="0"/><media:content url="https://firewallsync.com/posts/ssvc-object-registry-namespace-key-version-lookup/cover_hu15979467066744326507.jpg" medium="image" type="image/jpeg" width="1200" height="630"/><content:encoded><![CDATA[<p><img src="https://firewallsync.com/posts/ssvc-object-registry-namespace-key-version-lookup/cover_hu15979467066744326507.jpg" alt="Rows of wooden card catalogue drawers with metal label holders, receding out of focus" width="1200" height="630"></p><p><strong>Short answer:</strong> CERT/CC publishes every SSVC decision point and decision table in one JSON file, <code>data/json/ssvc_object_registry.json</code>, indexed by type, namespace, key and version. Any SSVC value can be written as an ID such as <code>ssvc:E:1.1.0:P</code>, and that ID is also the path to its name and definition in the registry. Resolve the exact version, check value keys against it, and you can validate SSVC selections from CSAF files, map CISA&rsquo;s SSVC words in CVE records to the same keys, and look up a decision table outcome, all in about 100 lines of standard-library Python.</p>
<p>This guide is for engineers who consume SSVC from more than one place. Our <a href="/posts/cisa-vulnrichment-how-to-read-ssvc-values-in-a-cve-record-and-turn-them-into-a-patch-decision/">Vulnrichment SSVC guide</a> explains what the three CISA values mean, the <a href="/posts/bod-26-04-decision-table-ssvc-json-lookup/">BOD 26-04 decision table post</a> walks one table row by row, and the <a href="/posts/csaf-2-1-metrics-epss-ssvc-cvss-v4-per-product/">CSAF 2.1 metrics guide</a> shows where vendors put SSVC in advisories. This piece is about the lookup layer underneath all three.</p>
<h2 id="what-is-in-the-registry-file">What is in the registry file</h2>
<p>The figures below come from the file at CERT/CC SSVC commit <code>11e6fdf</code> (generated <code>2026-10-20T16:15:07Z</code>), parsed with Python.</p>
<p>The top level has five keys: <code>name</code> (&ldquo;SSVC Object Registry&rdquo;), <code>definition</code>, <code>schemaVersion</code> (<code>2.0.0</code>), <code>generatedAt</code> and <code>types</code>. Under <code>types</code> there are two object types, each split by namespace:</p>
<table>
  <thead>
      <tr>
          <th>Type</th>
          <th>Namespace</th>
          <th style="text-align: right">Keys</th>
          <th style="text-align: right">Versions</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>DecisionPoint</td>
          <td><code>ssvc</code></td>
          <td style="text-align: right">25</td>
          <td style="text-align: right">35</td>
      </tr>
      <tr>
          <td>DecisionPoint</td>
          <td><code>cvss</code></td>
          <td style="text-align: right">60</td>
          <td style="text-align: right">93</td>
      </tr>
      <tr>
          <td>DecisionPoint</td>
          <td><code>basic</code></td>
          <td style="text-align: right">13</td>
          <td style="text-align: right">13</td>
      </tr>
      <tr>
          <td>DecisionPoint</td>
          <td><code>cisa</code></td>
          <td style="text-align: right">5</td>
          <td style="text-align: right">5</td>
      </tr>
      <tr>
          <td>DecisionPoint</td>
          <td><code>nist#800-30</code></td>
          <td style="text-align: right">1</td>
          <td style="text-align: right">1</td>
      </tr>
      <tr>
          <td>DecisionPoint</td>
          <td><code>x_com.yahooinc#prioritized-risk-remediation</code></td>
          <td style="text-align: right">1</td>
          <td style="text-align: right">1</td>
      </tr>
      <tr>
          <td>DecisionTable</td>
          <td><code>ssvc</code></td>
          <td style="text-align: right">7</td>
          <td style="text-align: right">7</td>
      </tr>
      <tr>
          <td>DecisionTable</td>
          <td><code>cvss</code></td>
          <td style="text-align: right">7</td>
          <td style="text-align: right">7</td>
      </tr>
      <tr>
          <td>DecisionTable</td>
          <td><code>cisa</code></td>
          <td style="text-align: right">2</td>
          <td style="text-align: right">2</td>
      </tr>
  </tbody>
</table>
<p>That is 105 decision point keys in 148 versions, and 16 decision tables. The <code>ssvc</code> namespace holds the project&rsquo;s own decision points (Exploitation <code>E</code>, Automatable <code>A</code>, Technical Impact <code>TI</code>, Mission and Well-Being Impact <code>MWI</code> and so on). <code>cvss</code> models CVSS metrics as decision points, <code>cisa</code> holds CISA-specific ones (<code>KEV</code>, <code>PE</code> for Publicly Exposed, <code>BOD2604</code>, the <code>CISA</code> outcome and <code>MP</code>), and <code>basic</code> holds generic scales such as yes/no and low/medium/high.</p>
<p>The path to any object is fixed:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>types.&lt;Type&gt;.namespaces.&lt;namespace&gt;.keys.&lt;key&gt;.versions.&lt;version&gt;.obj
</span></span><span style="display:flex;"><span>types.DecisionPoint.namespaces.&lt;ns&gt;.keys.&lt;key&gt;.versions.&lt;version&gt;.values.&lt;value_key&gt;
</span></span></code></pre></div><p>Each version entry carries the full object under <code>obj</code>. Decision point versions also carry a <code>values</code> dictionary keyed by value key, so you do not have to scan the <code>obj.values</code> list. Decision tables have no <code>values</code> map.</p>
<h2 id="the-id-format-namespacekeyversionvalue">The ID format: namespace:key:version[:value]</h2>
<p>The registry code in the SSVC repository (<code>src/ssvc/registry/base.py</code>) looks objects up &ldquo;by its ID in the format <code>namespace:key:version[:value_key]</code>&rdquo;. Decision tables use the same three-part IDs to list their inputs. For example, the CISA Coordinator table <code>cisa:DT_CO:2.0.3</code> declares these decision points:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span>[<span style="color:#e6db74">&#34;ssvc:E:1.1.0&#34;</span>, <span style="color:#e6db74">&#34;ssvc:A:2.0.0&#34;</span>, <span style="color:#e6db74">&#34;ssvc:TI:1.0.0&#34;</span>, <span style="color:#e6db74">&#34;ssvc:MWI:1.0.0&#34;</span>, <span style="color:#e6db74">&#34;cisa:CISA:1.1.0&#34;</span>]
</span></span></code></pre></div><p>The last one is the outcome (<code>T</code> Track, <code>T*</code> Track*, <code>AT</code> Attend, <code>AC</code> Act), and the table has 36 mapping rows.</p>
<h3 id="why-you-must-resolve-the-exact-version">Why you must resolve the exact version</h3>
<p>The registry keeps old versions, and they are not always cosmetic:</p>
<table>
  <thead>
      <tr>
          <th>ID</th>
          <th>What changed</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><code>ssvc:E:1.0.0</code> vs <code>ssvc:E:1.1.0</code></td>
          <td>Value P is &ldquo;PoC&rdquo; in 1.0.0 and includes &ldquo;private evidence of exploitation is attested but not shared&rdquo; and &ldquo;widespread hearsay&rdquo;. In 1.1.0 it is &ldquo;Public PoC&rdquo;: &ldquo;Typical public PoC exists in sources such as Metasploit or websites like ExploitDB; or (2) the vulnerability has a well-known method of exploitation.&rdquo;</td>
      </tr>
      <tr>
          <td><code>ssvc:EXP:1.0.0</code> vs <code>ssvc:EXP:1.0.1</code></td>
          <td>System Exposure value Unavoidable (<code>U</code>) became Open (<code>O</code>). A <code>U</code> under 1.0.1 is invalid.</td>
      </tr>
      <tr>
          <td><code>ssvc:HI</code> 2.0.0, 2.0.1, 2.0.2</td>
          <td>Three versions of Human Impact with the same keys but edited definitions; a September 2026 commit to the registry is titled &ldquo;Correct HI:2.0.2 value definitions to match DT_HI:1.0.0&rdquo;.</td>
      </tr>
  </tbody>
</table>
<p>The repository&rsquo;s own <code>lookup_latest()</code> helper picks the highest semantic version, which is convenient for authoring but wrong for reading someone else&rsquo;s data. A selection that says <code>ssvc:E:1.0.0</code> with value P may rest on hearsay; the same letter under 1.1.0 means a public exploit or a well-known method.</p>
<h2 id="code-resolve-validate-and-map">Code: resolve, validate and map</h2>
<p>The script below needs Python 3.9 or later and no third-party packages. We ran it against the registry at commit <code>11e6fdf</code> with <code>python3 -I ssvc_registry.py data/json/ssvc_object_registry.json</code>; the output follows the code. It is a reference implementation for a pipeline, not a full schema validator: run JSON Schema validation (<code>SelectionList_2_0_0.schema.json</code>) first, then these semantic checks.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-python" data-lang="python"><span style="display:flex;"><span><span style="color:#e6db74">&#34;&#34;&#34;Resolve and validate SSVC selections against CERT/CC&#39;s ssvc_object_registry.json.
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74">Python 3.9+, standard library only. Usage: python3 ssvc_registry.py path/to/ssvc_object_registry.json
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74">&#34;&#34;&#34;</span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">import</span> json<span style="color:#f92672">,</span> sys
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">load</span>(path):
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">with</span> open(path, encoding<span style="color:#f92672">=</span><span style="color:#e6db74">&#34;utf-8&#34;</span>) <span style="color:#66d9ef">as</span> f:
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">return</span> json<span style="color:#f92672">.</span>load(f)[<span style="color:#e6db74">&#34;types&#34;</span>]
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">resolve</span>(types, objtype, obj_id):
</span></span><span style="display:flex;"><span>    <span style="color:#e6db74">&#34;&#34;&#34;obj_id = &#39;namespace:key:version&#39; or &#39;namespace:key:version:value_key&#39;.&#34;&#34;&#34;</span>
</span></span><span style="display:flex;"><span>    parts <span style="color:#f92672">=</span> obj_id<span style="color:#f92672">.</span>split(<span style="color:#e6db74">&#34;:&#34;</span>)
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">if</span> len(parts) <span style="color:#f92672">not</span> <span style="color:#f92672">in</span> (<span style="color:#ae81ff">3</span>, <span style="color:#ae81ff">4</span>):
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">raise</span> <span style="color:#a6e22e">ValueError</span>(<span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;bad id </span><span style="color:#e6db74">{</span>obj_id<span style="color:#e6db74">!r}</span><span style="color:#e6db74">&#34;</span>)
</span></span><span style="display:flex;"><span>    ns, key, ver <span style="color:#f92672">=</span> parts[:<span style="color:#ae81ff">3</span>]
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">try</span>:
</span></span><span style="display:flex;"><span>        entry <span style="color:#f92672">=</span> types[objtype][<span style="color:#e6db74">&#34;namespaces&#34;</span>][ns][<span style="color:#e6db74">&#34;keys&#34;</span>][key][<span style="color:#e6db74">&#34;versions&#34;</span>][ver]
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">except</span> <span style="color:#a6e22e">KeyError</span>:
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">return</span> <span style="color:#66d9ef">None</span>
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">if</span> len(parts) <span style="color:#f92672">==</span> <span style="color:#ae81ff">4</span>:
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">return</span> entry<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;values&#34;</span>, {})<span style="color:#f92672">.</span>get(parts[<span style="color:#ae81ff">3</span>])
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">return</span> entry[<span style="color:#e6db74">&#34;obj&#34;</span>]
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">check_selection_list</span>(types, sl):
</span></span><span style="display:flex;"><span>    <span style="color:#e6db74">&#34;&#34;&#34;Return a list of problems with an SSVC SelectionList 2.0.0 object.&#34;&#34;&#34;</span>
</span></span><span style="display:flex;"><span>    problems <span style="color:#f92672">=</span> []
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> s <span style="color:#f92672">in</span> sl<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;selections&#34;</span>, []):
</span></span><span style="display:flex;"><span>        ns, key, ver <span style="color:#f92672">=</span> s[<span style="color:#e6db74">&#34;namespace&#34;</span>], s[<span style="color:#e6db74">&#34;key&#34;</span>], s[<span style="color:#e6db74">&#34;version&#34;</span>]
</span></span><span style="display:flex;"><span>        dp_id <span style="color:#f92672">=</span> <span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">{</span>ns<span style="color:#e6db74">}</span><span style="color:#e6db74">:</span><span style="color:#e6db74">{</span>key<span style="color:#e6db74">}</span><span style="color:#e6db74">:</span><span style="color:#e6db74">{</span>ver<span style="color:#e6db74">}</span><span style="color:#e6db74">&#34;</span>
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">if</span> ns<span style="color:#f92672">.</span>startswith(<span style="color:#e6db74">&#34;x_&#34;</span>):
</span></span><span style="display:flex;"><span>            problems<span style="color:#f92672">.</span>append(<span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">{</span>dp_id<span style="color:#e6db74">}</span><span style="color:#e6db74">: unregistered x_ namespace, not in the public registry&#34;</span>)
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">continue</span>
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">if</span> <span style="color:#e6db74">&#34;/&#34;</span> <span style="color:#f92672">in</span> ns:
</span></span><span style="display:flex;"><span>            problems<span style="color:#f92672">.</span>append(<span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">{</span>dp_id<span style="color:#e6db74">}</span><span style="color:#e6db74">: namespace extension; resolve the base namespace separately&#34;</span>)
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">continue</span>
</span></span><span style="display:flex;"><span>        dp <span style="color:#f92672">=</span> resolve(types, <span style="color:#e6db74">&#34;DecisionPoint&#34;</span>, dp_id)
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">if</span> dp <span style="color:#f92672">is</span> <span style="color:#66d9ef">None</span>:
</span></span><span style="display:flex;"><span>            known <span style="color:#f92672">=</span> sorted(types[<span style="color:#e6db74">&#34;DecisionPoint&#34;</span>][<span style="color:#e6db74">&#34;namespaces&#34;</span>]<span style="color:#f92672">.</span>get(ns, {})<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;keys&#34;</span>, {})<span style="color:#f92672">.</span>get(key, {})<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;versions&#34;</span>, {}))
</span></span><span style="display:flex;"><span>            problems<span style="color:#f92672">.</span>append(<span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">{</span>dp_id<span style="color:#e6db74">}</span><span style="color:#e6db74">: not in registry (known versions: </span><span style="color:#e6db74">{</span>known <span style="color:#f92672">or</span> <span style="color:#e6db74">&#39;none&#39;</span><span style="color:#e6db74">}</span><span style="color:#e6db74">)&#34;</span>)
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">continue</span>
</span></span><span style="display:flex;"><span>        valid <span style="color:#f92672">=</span> {v[<span style="color:#e6db74">&#34;key&#34;</span>] <span style="color:#66d9ef">for</span> v <span style="color:#f92672">in</span> dp[<span style="color:#e6db74">&#34;values&#34;</span>]}
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">for</span> v <span style="color:#f92672">in</span> s[<span style="color:#e6db74">&#34;values&#34;</span>]:
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">if</span> v[<span style="color:#e6db74">&#34;key&#34;</span>] <span style="color:#f92672">not</span> <span style="color:#f92672">in</span> valid:
</span></span><span style="display:flex;"><span>                problems<span style="color:#f92672">.</span>append(<span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">{</span>dp_id<span style="color:#e6db74">}</span><span style="color:#e6db74">: value </span><span style="color:#e6db74">{</span>v[<span style="color:#e6db74">&#39;key&#39;</span>]<span style="color:#e6db74">!r}</span><span style="color:#e6db74"> not one of </span><span style="color:#e6db74">{</span>sorted(valid)<span style="color:#e6db74">}</span><span style="color:#e6db74">&#34;</span>)
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">return</span> problems
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">adp_ssvc_to_selections</span>(types, content, table_id<span style="color:#f92672">=</span><span style="color:#66d9ef">None</span>):
</span></span><span style="display:flex;"><span>    <span style="color:#e6db74">&#34;&#34;&#34;Map CISA-ADP SSVC &#39;options&#39; (names like &#39;active&#39;) to registry keys,
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74">    using the inputs of the CISA Coordinator table that matches content[&#39;version&#39;].&#34;&#34;&#34;</span>
</span></span><span style="display:flex;"><span>    table_id <span style="color:#f92672">=</span> table_id <span style="color:#f92672">or</span> <span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;cisa:DT_CO:</span><span style="color:#e6db74">{</span>content[<span style="color:#e6db74">&#39;version&#39;</span>]<span style="color:#e6db74">}</span><span style="color:#e6db74">&#34;</span>
</span></span><span style="display:flex;"><span>    table <span style="color:#f92672">=</span> resolve(types, <span style="color:#e6db74">&#34;DecisionTable&#34;</span>, table_id)
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">if</span> table <span style="color:#f92672">is</span> <span style="color:#66d9ef">None</span>:
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">raise</span> <span style="color:#a6e22e">LookupError</span>(<span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;no decision table </span><span style="color:#e6db74">{</span>table_id<span style="color:#e6db74">}</span><span style="color:#e6db74">&#34;</span>)
</span></span><span style="display:flex;"><span>    by_name <span style="color:#f92672">=</span> {}
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> dp_id <span style="color:#f92672">in</span> table[<span style="color:#e6db74">&#34;decision_points&#34;</span>]:
</span></span><span style="display:flex;"><span>        dp <span style="color:#f92672">=</span> resolve(types, <span style="color:#e6db74">&#34;DecisionPoint&#34;</span>, dp_id)
</span></span><span style="display:flex;"><span>        by_name[dp[<span style="color:#e6db74">&#34;name&#34;</span>]<span style="color:#f92672">.</span>lower()] <span style="color:#f92672">=</span> (dp_id, {v[<span style="color:#e6db74">&#34;name&#34;</span>]<span style="color:#f92672">.</span>lower(): v[<span style="color:#e6db74">&#34;key&#34;</span>] <span style="color:#66d9ef">for</span> v <span style="color:#f92672">in</span> dp[<span style="color:#e6db74">&#34;values&#34;</span>]})
</span></span><span style="display:flex;"><span>    out <span style="color:#f92672">=</span> []
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> opt <span style="color:#f92672">in</span> content[<span style="color:#e6db74">&#34;options&#34;</span>]:
</span></span><span style="display:flex;"><span>        (name, value), <span style="color:#f92672">=</span> opt<span style="color:#f92672">.</span>items()
</span></span><span style="display:flex;"><span>        dp_id, values <span style="color:#f92672">=</span> by_name[name<span style="color:#f92672">.</span>lower()]
</span></span><span style="display:flex;"><span>        <span style="color:#75715e"># ADP uses &#34;poc&#34;; ssvc:E:1.1.0 names the value &#34;Public PoC&#34;</span>
</span></span><span style="display:flex;"><span>        vkey <span style="color:#f92672">=</span> values<span style="color:#f92672">.</span>get(value<span style="color:#f92672">.</span>lower()) <span style="color:#f92672">or</span> {<span style="color:#e6db74">&#34;poc&#34;</span>: values<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;public poc&#34;</span>)}<span style="color:#f92672">.</span>get(value<span style="color:#f92672">.</span>lower())
</span></span><span style="display:flex;"><span>        ns, key, ver <span style="color:#f92672">=</span> dp_id<span style="color:#f92672">.</span>split(<span style="color:#e6db74">&#34;:&#34;</span>)
</span></span><span style="display:flex;"><span>        out<span style="color:#f92672">.</span>append({<span style="color:#e6db74">&#34;namespace&#34;</span>: ns, <span style="color:#e6db74">&#34;key&#34;</span>: key, <span style="color:#e6db74">&#34;version&#34;</span>: ver, <span style="color:#e6db74">&#34;values&#34;</span>: [{<span style="color:#e6db74">&#34;key&#34;</span>: vkey}]})
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">return</span> {<span style="color:#e6db74">&#34;schemaVersion&#34;</span>: <span style="color:#e6db74">&#34;2.0.0&#34;</span>, <span style="color:#e6db74">&#34;timestamp&#34;</span>: content[<span style="color:#e6db74">&#34;timestamp&#34;</span>],
</span></span><span style="display:flex;"><span>            <span style="color:#e6db74">&#34;target_ids&#34;</span>: [content[<span style="color:#e6db74">&#34;id&#34;</span>]], <span style="color:#e6db74">&#34;selections&#34;</span>: out}
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">decide</span>(types, table_id, selections, extra):
</span></span><span style="display:flex;"><span>    <span style="color:#e6db74">&#34;&#34;&#34;Look up the outcome row in a decision table. extra = {&#39;ssvc:MWI:1.0.0&#39;: &#39;H&#39;} etc.&#34;&#34;&#34;</span>
</span></span><span style="display:flex;"><span>    table <span style="color:#f92672">=</span> resolve(types, <span style="color:#e6db74">&#34;DecisionTable&#34;</span>, table_id)
</span></span><span style="display:flex;"><span>    have <span style="color:#f92672">=</span> {<span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;</span><span style="color:#e6db74">{</span>x[<span style="color:#e6db74">&#39;namespace&#39;</span>]<span style="color:#e6db74">}</span><span style="color:#e6db74">:</span><span style="color:#e6db74">{</span>x[<span style="color:#e6db74">&#39;key&#39;</span>]<span style="color:#e6db74">}</span><span style="color:#e6db74">:</span><span style="color:#e6db74">{</span>x[<span style="color:#e6db74">&#39;version&#39;</span>]<span style="color:#e6db74">}</span><span style="color:#e6db74">&#34;</span>: x[<span style="color:#e6db74">&#34;values&#34;</span>][<span style="color:#ae81ff">0</span>][<span style="color:#e6db74">&#34;key&#34;</span>] <span style="color:#66d9ef">for</span> x <span style="color:#f92672">in</span> selections}
</span></span><span style="display:flex;"><span>    have<span style="color:#f92672">.</span>update(extra)
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> row <span style="color:#f92672">in</span> table[<span style="color:#e6db74">&#34;mapping&#34;</span>]:
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">if</span> all(have<span style="color:#f92672">.</span>get(k) <span style="color:#f92672">==</span> v <span style="color:#66d9ef">for</span> k, v <span style="color:#f92672">in</span> row<span style="color:#f92672">.</span>items() <span style="color:#66d9ef">if</span> k <span style="color:#f92672">!=</span> table[<span style="color:#e6db74">&#34;outcome&#34;</span>]):
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">return</span> row[table[<span style="color:#e6db74">&#34;outcome&#34;</span>]]
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">return</span> <span style="color:#66d9ef">None</span>
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">if</span> __name__ <span style="color:#f92672">==</span> <span style="color:#e6db74">&#34;__main__&#34;</span>:
</span></span><span style="display:flex;"><span>    types <span style="color:#f92672">=</span> load(sys<span style="color:#f92672">.</span>argv[<span style="color:#ae81ff">1</span>])
</span></span><span style="display:flex;"><span>    print(resolve(types, <span style="color:#e6db74">&#34;DecisionPoint&#34;</span>, <span style="color:#e6db74">&#34;ssvc:E:1.1.0:P&#34;</span>)[<span style="color:#e6db74">&#34;name&#34;</span>])
</span></span><span style="display:flex;"><span>    adp <span style="color:#f92672">=</span> {<span style="color:#e6db74">&#34;timestamp&#34;</span>: <span style="color:#e6db74">&#34;2026-10-21T00:00:00+00:00&#34;</span>, <span style="color:#e6db74">&#34;id&#34;</span>: <span style="color:#e6db74">&#34;CVE-2026-76466&#34;</span>, <span style="color:#e6db74">&#34;version&#34;</span>: <span style="color:#e6db74">&#34;2.0.3&#34;</span>,
</span></span><span style="display:flex;"><span>           <span style="color:#e6db74">&#34;role&#34;</span>: <span style="color:#e6db74">&#34;CISA Coordinator&#34;</span>,
</span></span><span style="display:flex;"><span>           <span style="color:#e6db74">&#34;options&#34;</span>: [{<span style="color:#e6db74">&#34;Exploitation&#34;</span>: <span style="color:#e6db74">&#34;active&#34;</span>}, {<span style="color:#e6db74">&#34;Automatable&#34;</span>: <span style="color:#e6db74">&#34;yes&#34;</span>}, {<span style="color:#e6db74">&#34;Technical Impact&#34;</span>: <span style="color:#e6db74">&#34;total&#34;</span>}]}
</span></span><span style="display:flex;"><span>    sl <span style="color:#f92672">=</span> adp_ssvc_to_selections(types, adp)
</span></span><span style="display:flex;"><span>    print(json<span style="color:#f92672">.</span>dumps(sl[<span style="color:#e6db74">&#34;selections&#34;</span>]))
</span></span><span style="display:flex;"><span>    print(check_selection_list(types, sl))
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> mwi <span style="color:#f92672">in</span> (<span style="color:#e6db74">&#34;L&#34;</span>, <span style="color:#e6db74">&#34;H&#34;</span>):
</span></span><span style="display:flex;"><span>        out <span style="color:#f92672">=</span> decide(types, <span style="color:#e6db74">&#34;cisa:DT_CO:2.0.3&#34;</span>, sl[<span style="color:#e6db74">&#34;selections&#34;</span>], {<span style="color:#e6db74">&#34;ssvc:MWI:1.0.0&#34;</span>: mwi})
</span></span><span style="display:flex;"><span>        print(<span style="color:#e6db74">&#34;MWI&#34;</span>, mwi, <span style="color:#e6db74">&#34;-&gt;&#34;</span>, out, resolve(types, <span style="color:#e6db74">&#34;DecisionPoint&#34;</span>, <span style="color:#e6db74">f</span><span style="color:#e6db74">&#34;cisa:CISA:1.1.0:</span><span style="color:#e6db74">{</span>out<span style="color:#e6db74">}</span><span style="color:#e6db74">&#34;</span>)[<span style="color:#e6db74">&#34;name&#34;</span>])
</span></span><span style="display:flex;"><span>    bad <span style="color:#f92672">=</span> {<span style="color:#e6db74">&#34;selections&#34;</span>: [
</span></span><span style="display:flex;"><span>        {<span style="color:#e6db74">&#34;namespace&#34;</span>: <span style="color:#e6db74">&#34;ssvc&#34;</span>, <span style="color:#e6db74">&#34;key&#34;</span>: <span style="color:#e6db74">&#34;E&#34;</span>, <span style="color:#e6db74">&#34;version&#34;</span>: <span style="color:#e6db74">&#34;2.0.0&#34;</span>, <span style="color:#e6db74">&#34;values&#34;</span>: [{<span style="color:#e6db74">&#34;key&#34;</span>: <span style="color:#e6db74">&#34;A&#34;</span>}]},
</span></span><span style="display:flex;"><span>        {<span style="color:#e6db74">&#34;namespace&#34;</span>: <span style="color:#e6db74">&#34;ssvc&#34;</span>, <span style="color:#e6db74">&#34;key&#34;</span>: <span style="color:#e6db74">&#34;EXP&#34;</span>, <span style="color:#e6db74">&#34;version&#34;</span>: <span style="color:#e6db74">&#34;1.0.1&#34;</span>, <span style="color:#e6db74">&#34;values&#34;</span>: [{<span style="color:#e6db74">&#34;key&#34;</span>: <span style="color:#e6db74">&#34;U&#34;</span>}]},
</span></span><span style="display:flex;"><span>        {<span style="color:#e6db74">&#34;namespace&#34;</span>: <span style="color:#e6db74">&#34;x_example.test#test&#34;</span>, <span style="color:#e6db74">&#34;key&#34;</span>: <span style="color:#e6db74">&#34;E&#34;</span>, <span style="color:#e6db74">&#34;version&#34;</span>: <span style="color:#e6db74">&#34;1.0.0&#34;</span>, <span style="color:#e6db74">&#34;values&#34;</span>: [{<span style="color:#e6db74">&#34;key&#34;</span>: <span style="color:#e6db74">&#34;A&#34;</span>}]}]}
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> p <span style="color:#f92672">in</span> check_selection_list(types, bad):
</span></span><span style="display:flex;"><span>        print(p)
</span></span></code></pre></div><p>Output:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>Public PoC
</span></span><span style="display:flex;"><span>[{&#34;namespace&#34;: &#34;ssvc&#34;, &#34;key&#34;: &#34;E&#34;, &#34;version&#34;: &#34;1.1.0&#34;, &#34;values&#34;: [{&#34;key&#34;: &#34;A&#34;}]}, {&#34;namespace&#34;: &#34;ssvc&#34;, &#34;key&#34;: &#34;A&#34;, &#34;version&#34;: &#34;2.0.0&#34;, &#34;values&#34;: [{&#34;key&#34;: &#34;Y&#34;}]}, {&#34;namespace&#34;: &#34;ssvc&#34;, &#34;key&#34;: &#34;TI&#34;, &#34;version&#34;: &#34;1.0.0&#34;, &#34;values&#34;: [{&#34;key&#34;: &#34;T&#34;}]}]
</span></span><span style="display:flex;"><span>[]
</span></span><span style="display:flex;"><span>MWI L -&gt; AT Attend
</span></span><span style="display:flex;"><span>MWI H -&gt; AC Act
</span></span><span style="display:flex;"><span>ssvc:E:2.0.0: not in registry (known versions: [&#39;1.0.0&#39;, &#39;1.1.0&#39;])
</span></span><span style="display:flex;"><span>ssvc:EXP:1.0.1: value &#39;U&#39; not one of [&#39;C&#39;, &#39;O&#39;, &#39;S&#39;]
</span></span><span style="display:flex;"><span>x_example.test#test:E:1.0.0: unregistered x_ namespace, not in the public registry
</span></span></code></pre></div><p>The ADP example is the real SSVC block from the CVE record for <a href="/posts/cisco-expressway-cve-2026-76466-kev-root-rce-fixed-release/">Cisco Expressway CVE-2026-76466</a> in cvelistV5 (timestamp <code>2026-10-21T00:00:00+00:00</code>). With Mission and Well-Being Impact low, the CISA Coordinator table returns Attend; with high, Act.</p>
<h2 id="mapping-cisa-adp-ssvc-words-to-registry-keys">Mapping CISA-ADP SSVC words to registry keys</h2>
<p>CISA&rsquo;s ADP container stores SSVC as words, not keys:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span>{<span style="color:#f92672">&#34;options&#34;</span>: [{<span style="color:#f92672">&#34;Exploitation&#34;</span>: <span style="color:#e6db74">&#34;active&#34;</span>}, {<span style="color:#f92672">&#34;Automatable&#34;</span>: <span style="color:#e6db74">&#34;yes&#34;</span>}, {<span style="color:#f92672">&#34;Technical Impact&#34;</span>: <span style="color:#e6db74">&#34;total&#34;</span>}],
</span></span><span style="display:flex;"><span> <span style="color:#f92672">&#34;role&#34;</span>: <span style="color:#e6db74">&#34;CISA Coordinator&#34;</span>, <span style="color:#f92672">&#34;version&#34;</span>: <span style="color:#e6db74">&#34;2.0.3&#34;</span>}
</span></span></code></pre></div><p>The <a href="https://github.com/cisagov/vulnrichment">Vulnrichment README</a> says the version field means &ldquo;major.minor denotes the SSVC version, and patch denotes the decision tree version&rdquo;, giving 2.0.3 for the current CISA tree, and urges consumers &ldquo;to observe the version when decoding SSVC scores&rdquo;. The registry happens to contain a <code>cisa:DT_CO</code> table at exactly version 2.0.3, so the script uses <code>cisa:DT_CO:&lt;version&gt;</code> to find the input decision points. Treat that as a working convention, not something CISA documents: if CISA ships a new version and no table with that ID exists, the script raises <code>LookupError</code> instead of guessing.</p>
<p>How much variety do you need to handle? We counted every CVE JSON file in the cvelistV5 bulk export <code>2026-11-25_all_CVEs_at_midnight</code> (431,850 records):</p>
<table>
  <thead>
      <tr>
          <th>Field</th>
          <th>Values seen in CISA-ADP SSVC blocks</th>
          <th style="text-align: right">Count</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><code>version</code></td>
          <td>2.0.3</td>
          <td style="text-align: right">226,884 (all)</td>
      </tr>
      <tr>
          <td><code>role</code></td>
          <td>CISA Coordinator</td>
          <td style="text-align: right">226,884 (all)</td>
      </tr>
      <tr>
          <td>Option names</td>
          <td>Exploitation, Automatable, Technical Impact</td>
          <td style="text-align: right">226,884 (all)</td>
      </tr>
      <tr>
          <td>Exploitation</td>
          <td>none / poc / active</td>
          <td style="text-align: right">176,560 / 48,525 / 1,799</td>
      </tr>
      <tr>
          <td>Automatable</td>
          <td>no / yes</td>
          <td style="text-align: right">174,860 / 52,024</td>
      </tr>
      <tr>
          <td>Technical Impact</td>
          <td>partial / total</td>
          <td style="text-align: right">147,724 / 79,160</td>
      </tr>
  </tbody>
</table>
<p>Every value matches a registry value name case-insensitively except one: ADP writes <code>poc</code>, while <code>ssvc:E:1.1.0</code> names the value &ldquo;Public PoC&rdquo;. The script carries that single alias. The fourth input of the CISA Coordinator table, Mission and Well-Being Impact, never appears in a CVE record because it describes your organization, so <code>decide()</code> takes it as a separate argument.</p>
<h2 id="namespaces-you-will-not-find-in-the-registry">Namespaces you will not find in the registry</h2>
<p>The SSVC project&rsquo;s namespace decision record (ADR 0012, accepted 2025-07-22) defines three kinds:</p>
<ul>
<li><strong>Registered namespaces</strong> such as <code>ssvc</code>, <code>cvss</code> and <code>cisa</code>, &ldquo;for objects that we create and maintain&rdquo;.</li>
<li><strong>Unregistered namespaces</strong> that &ldquo;must start with an <code>x_</code> prefix followed by a reverse domain name and conclude with a fragment, such as <code>x_example.test#test</code>&rdquo;, intended &ldquo;for experimental or private use&rdquo;.</li>
<li><strong>Namespace extensions</strong>, written with a slash (the ADR&rsquo;s example is <code>ssvc//.example.isao#constituency-1</code>), which &ldquo;refine existing objects with additional data or semantics&rdquo; rather than introduce new ones.</li>
</ul>
<p>The public registry does contain one <code>x_</code> namespace (<code>x_com.yahooinc#prioritized-risk-remediation</code>), but you should not expect a partner&rsquo;s private decision points to resolve. The script reports x_ and extension namespaces as findings instead of failing the document, so a CSAF file that mixes <code>ssvc:E</code> with a vendor&rsquo;s private decision point still yields the parts you can check.</p>
<h2 id="common-mistakes">Common mistakes</h2>
<ul>
<li><strong>Resolving the latest version.</strong> It silently rewrites the meaning of an old selection (see <code>E</code> and <code>EXP</code> above).</li>
<li><strong>Comparing names instead of keys.</strong> Names change between versions (&ldquo;PoC&rdquo; vs &ldquo;Public PoC&rdquo;); keys and versions are the stable identifiers. Keep names for display only.</li>
<li><strong>Treating <code>T*</code> as invalid.</strong> The SelectionList schema&rsquo;s key pattern explicitly grandfathers <code>T*</code> (&quot;<code>T*</code> is explicitly grandfathered in as a valid key, but should not be used for new objects&quot;), and the CISA outcome uses it for Track*.</li>
<li><strong>Reading the registry from <code>main</code> at runtime.</strong> The file is regenerated from code. Vendor it at a pinned commit and update deliberately, like any other dependency.</li>
<li><strong>Assuming CVE records carry all inputs.</strong> CISA&rsquo;s block gives three of the four Coordinator inputs. Your asset context supplies the rest, as our <a href="/posts/vulnerability-prioritization-workflow-cve-record-to-patch-ticket/">patch-decision workflow</a> shows.</li>
</ul>
<h2 id="limits-of-this-article">Limits of this article</h2>
<p>Counts reflect the registry at commit <code>11e6fdf</code> and the cvelistV5 export of 2026-11-25; both change. The mapping from CISA&rsquo;s version string to <code>cisa:DT_CO:2.0.3</code> is our inference from matching IDs, not a published CISA rule. The script checks registry membership and value keys only; it does not enforce schema rules such as required timestamps.</p>
<h2 id="sources-and-verification">Sources and verification</h2>
<table>
  <thead>
      <tr>
          <th>Important claim</th>
          <th>Source</th>
          <th>Status</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Registry structure, schemaVersion 2.0.0, generatedAt 2026-10-20, 105 keys / 148 versions / 16 tables</td>
          <td><a href="https://github.com/CERTCC/SSVC/blob/main/data/json/ssvc_object_registry.json">CERTCC/SSVC <code>data/json/ssvc_object_registry.json</code></a> at commit 11e6fdf, parsed with Python</td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>ID format <code>namespace:key:version[:value_key]</code>; <code>lookup_latest</code> picks highest semver</td>
          <td><a href="https://github.com/CERTCC/SSVC/blob/main/src/ssvc/registry/base.py">CERTCC/SSVC <code>src/ssvc/registry/base.py</code></a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>E 1.0.0 vs 1.1.0 P definitions, EXP U to O, DT_CO 2.0.3 inputs and 36 rows</td>
          <td>Registry file (verbatim definitions)</td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>Namespace types and x_ rule</td>
          <td><a href="https://github.com/CERTCC/SSVC/blob/main/docs/adr/0012-ssvc-namespaces.md">CERTCC/SSVC ADR 0012</a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td><code>T*</code> grandfathered key; SelectionList required fields</td>
          <td><a href="https://github.com/CERTCC/SSVC/blob/main/data/schema/v2/SelectionList_2_0_0.schema.json">CERTCC/SSVC <code>SelectionList_2_0_0.schema.json</code></a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>CISA-ADP version semantics</td>
          <td><a href="https://github.com/cisagov/vulnrichment">cisagov/vulnrichment README</a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>226,884 CISA-ADP SSVC blocks, value counts</td>
          <td><a href="https://github.com/CVEProject/cvelistV5/releases">cvelistV5 release</a> <code>2026-11-25_all_CVEs_at_midnight</code>, counted with Python</td>
          <td>Verified (snapshot)</td>
      </tr>
      <tr>
          <td>ADP version 2.0.3 maps to registry table <code>cisa:DT_CO:2.0.3</code></td>
          <td>Our inference from matching IDs</td>
          <td>Qualified</td>
      </tr>
  </tbody>
</table>
]]></content:encoded></item></channel></rss>