From 882a4be27508fe75452036f5fcf05fe09e3eca5c Mon Sep 17 00:00:00 2001 From: Austin Taylor Date: Thu, 4 Jan 2018 13:49:08 -0500 Subject: [PATCH] Update to readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index c21c0df..3752c54 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,17 @@ vuln_whisperer -c configs/example.ini -s qualys

Next you'll need to import the visualizations into Kibana and setup your logstash config. A more thorough README is underway with setup instructions. +Running Nightly +--------------- +If you're running linux, be sure to setup a cronjob to remove old files that get stored in the database. Be sure to change .csv if you're using json. + +Setup crontab -e with the following config (modify to your environment) - this will run vulnwhisperer each night at 0130: + +`00 1 * * * /usr/bin/find /opt/vulnwhisp/ -type f -name '*.csv' -ctime +3 -exec rm {} \;` + +`30 1 * * * /usr/local/bin/vuln_whisperer -c /opt/vulnwhisp/configs/example.ini` + + _For windows, you may need to type the full path of the binary in vulnWhisperer located in the bin directory._ Credit