
<p>Your vulnerability scanning is only as <a href="https://www.runzero.com/blog/strengthen-vm/">good as the coverage</a>. As devices get added and taken off the network, it is important to monitor for gaps in scanning.</p>
<h2 id="vuln-scan-gaps-audience">Who is this playbook for and why?</h2>
<p>This playbook will be useful for <strong>security teams</strong> who want to close gaps in their vulnerability management program to ensure effective and efficient remediation of vulnerabilities.</p>
<h2 id="vuln-scan-gaps-solution">How will runZero help?</h2>
<p>runZero is able to discover assets on your network without an agent and import asset information from your vulnerability management platform. This allows you to easily identify assets that are not currently being scanned by your vulnerability management platform.</p>
<h2 id="vuln-scan-gaps-overview">What will I need to do?</h2>
<p>To find gaps in vulnerability scan coverage, start by scanning your entire network with runZero. Then, you will configure a runZero integration with your vulnerability management platform to merge vulnerability data with runZero data. Lastly, you will query asset data to find assets that are not being vulnerability scanned.</p>
<h2 id="vuln-scan-gaps-prereqs">Prerequisites</h2>
<ul>
<li>A <a href="/docs/playbooks/building-complete-asset-inventory/">complete asset inventory</a></li>
<li>A vulnerability management platform <a href="https://www.runzero.com/product/integrations/#vulnerabilities-and-risk">supported by runZero</a></li>
</ul>
<h2 id="vuln-scan-gaps-steps">Implementation steps</h2>
<ol>
<li>Configure vulnerability management integration:
<ul>
<li><a href="/docs/qualys/">Qualys VMDR</a></li>
<li><a href="/docs/rapid7/">Rapid7</a></li>
<li><a href="/docs/tenable/">Tenable</a></li>
</ul>
</li>
<li>Use <a href="/docs/playbooks/finding-gaps-in-vuln-scanning/#vuln-sample-queries">sample queries</a> to search your inventory for assets not seen in your vulnerability scanning data.</li>
<li>Set up <a href="/docs/rules-engine/">alerts</a> to automatically notify you of gaps or to initiate a workflow.</li>
</ol>
<h2 id="vuln-sample-queries">Sample Queries</h2>
<p>There are endless ways to combine terms and operators into effective queries, and the examples below can be used as-is or adjusted to meet your needs.</p>
<h3 id="vuln-sample-queries-qualys">Qualys</h3>
<p>The following queries can be used to monitor the state of your <strong>Qualys</strong> deployment from within runZero.</p>
<h4 id="identify-assets-that-have-not-been-scanned-by-qualys">Identify assets that have not been scanned by Qualys</h4>
<pre><code class="language-plaintext">source:runZero AND not source:qualys
</code></pre>
<h4 id="identify-assets-that-have-not-been-scanned-in-the-last-14-days">Identify assets that have not been scanned in the last 14 days</h4>
<pre><code class="language-plaintext">source:qualys AND (@qualys.dev.host.lastScannedDateTimeTS:&gt;14days OR @qualys.dev.host.lastVMScannedDateTS:&gt;14days)
</code></pre>
<h3 id="vuln-sample-queries-rapid7">Rapid7 InsightVM or Nexpose</h3>
<p>The following queries can be used to monitor the state of your <strong>Rapid7</strong> deployment from within runZero.</p>
<h4 id="identify-assets-that-have-not-been-scanned-by-rapid7">Identify assets that have not been scanned by Rapid7</h4>
<pre><code class="language-plaintext">source:runZero AND not source:rapid7
</code></pre>
<h3 id="vuln-sample-queries-tenable">Tenable.io or Tenable Nessus</h3>
<p>The following queries can be used to monitor the state of your <strong>Tenable.io</strong> or <strong>Tenable Nessus</strong> deployment from within runZero.</p>
<h4 id="identify-assets-that-have-not-been-scanned-by-tenable">Identify assets that have not been scanned by Tenable</h4>
<pre><code class="language-plaintext">source:runZero AND not source:tenable
</code></pre>
<h4 id="identify-assets-that-have-not-been-scanned-in-the-last-14-days-1">Identify assets that have not been scanned in the last 14 days</h4>
<pre><code class="language-plaintext">source:tenable AND @tenable.dev.lastScanTimeTS:&gt;14days
</code></pre>
<h2 id="vuln-demo">Outcome demo</h2>
<p>This video is a short demo of what the outcome of finding gaps in your vulnerability scanning policies may look like.</p>
<iframe src="https://www.loom.com/embed/c9fc58d421ef442c921a117b7d5231c7" title="Finding Gaps in Vulnerability Scanning Demo" allowfullscreen=""></iframe>
<h2 id="vuln-help">Getting help</h2>
<p>If you need assistance in building out this process, you can <a href="https://scheduler.zoom.us/d/z8gaq_36/runzero-customer-success-engineer">book a session with a runZero Customer Success Engineer</a> to discuss further.</p>
