Expand description

kev-push

This crate (source builds a binary that will compare CISA’s current KEV Catalog to a locally cached copy and send a Pushover notification if there is a new update. On macOS a desktop notification will also be displayed.

You can, say, put it in a cron job to check at some regularity and be notified whenever there is a new addition to the catalog.

Structs

This struct enables (de)serialization of the KEV JSON as of 2022-09-24

This struct enables (de)serialization of the KEV JSON as of 2022-09-24

Functions

This is just a wrapper which makes it clearer what we’re creating.

This uses Pushover to notify when there’s a new KEV release You need to have the PUSHOVER_USER (key) and PUSHOVER_APP (token) environment variables set in order for the notification to work.

This is used to read the locally cached KEV JSON file

This is just a wrapper function which makes it clearer what we’re fetching.

At first launch, this will cache the current KEV JSON. Subsequent launches will then compare the current catalog served from CISA’s site with the cached one and both update the local cache and fire off a notification. macOS users will also receive a desktop notification.