FlowRunner
Features Pricing
Theme
Start Free

New devices checked against their exact firmware in BreachSpider

A device added to the inventory sheet is checked in BreachSpider against the CVEs for its exact firmware. Confirmed findings go to the OT engineer in Slack, who picks the window for the fix.

The prompt

When someone adds a device to our asset inventory sheet in Google Sheets with its vendor, product and firmware version, check it in BreachSpider against the CVEs for that exact version and write the result back to the row: how many CVEs, how many confirmed, how many known-exploited, the top fix and the hashes for later re-checks. If BreachSpider can't resolve the product or flags a warning, mark the row Needs review and say so in our OT channel in Slack, never show it as clean. When there are confirmed CVEs, post the fix plan to the OT channel and ask the OT engineer which window the fix goes in, with Next planned stop, Next shutdown and Hold as accepted risk buttons. Open a change request in Freshservice for the window they pick, or log the hold on the row, and confirm in the Slack thread.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

The flow

Yes No Yes Yes No Action Note the hold inthe Slack thread Action Flag needsreview in Slack Code Write the question forthe OT engineer Asks a person Wait for the OTengineer's answer Asks a person Ask the OTengineer Action Write the result tothe sheet Condition Confirmed findings? Condition Needs review? Starts the flow New device in theinventory Condition Hold as acceptedrisk? Action Open the changerequest inFreshservice Code Write the changerequest Action Log the acceptedrisk in the sheet Action Confirm the changerequest in Slack Action Check the devicein BreachSpider Code Read the result Action Log the changerequest in the sheet

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works

What each step does

  1. New device in the inventory Checks the inventory sheet in Google Sheets every 5 minutes and starts once for each new row, reading the device's vendor, product and firmware version.
  2. Check the device in BreachSpider Sends the device to Check Devices. BreachSpider resolves the product, says how confident the match is, and returns the CVEs for that exact version ranked fix-first, with the single upgrade that clears them.
  3. Read the result Counts the confirmed and known-exploited CVEs and picks out the fix plan. A product BreachSpider could not resolve, a match it flagged, or a warning such as PRODUCT_UNRESOLVED is read as Needs review, never as clean.
  4. Write the result to the sheet Writes the status, CVE counts, top fix, result and status hashes and the check time into the device's row, so the nightly re-check has something to compare against.
  5. Confirmed findings? A device with confirmed CVEs goes to the OT engineer. One that needs review is flagged in the Slack channel with the reason and stays marked Needs review in the sheet. A clean result ends here.
  6. Ask the OT engineer Posts the device, the match, the fix plan and the top confirmed CVEs to your OT channel in Slack with three buttons: Next planned stop, Next shutdown and Hold as accepted risk.
  7. Wait for the OT engineer's answer The run waits for the click. A window opens a change request in Freshservice with the fix plan, the CVEs and their sources, and the change number goes into the Slack thread and the row. Hold notes the accepted risk in the thread and on the row.

Before you turn it on

  • Enter your BreachSpider API key. An owner or admin makes it in BreachSpider under Integrations, API keys; a 14-day trial key runs Check Devices with up to 25 devices per check, and production keys are issued by BreachSpider on request. Enter your Freshservice domain and API key, and connect your Google and Slack accounts.
  • Make the inventory sheet with these headers in row 1: Asset, Vendor, Product, Firmware, Status, CVEs, Confirmed, Exploited, Fix, Decision, ResultHash, StatusHash, StatusFacts, Checked. Asset is your own tag or asset number, never an IP address, MAC address or host name, which BreachSpider refuses. Pick the spreadsheet and tab in the four Google Sheets steps.
  • Copy the URL of the block Wait for the OT engineer's answer into the flow setting Answer link. The Slack buttons open it.
  • Pick your OT channel in the four Slack steps.