Skip to content

SocketDotTech/security-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Security monitoring scripts

This repo contains scripts to monitor Socket systems and detect if they can be accessed as intended. Started with scripts to monitor website content hashes and DNS resolutions. It is recomended to setup a cron for these sctipts in multiple regions. Each cron will get data and store in /tmp/ folder. Values are then compared when cron is triggered next time. Notifications are sent on discord when a change is detected for these. More script will be added with need.

Setup crons

Open an editor to edit cron tasks.

crontab -e

DNS Monitoring Cron

* * * * * MACHINE_NAME="<discord_bot_name>" DISCORD_WEBHOOK="<discord_webhook_url>" <path_of_check-dns.sh> "<domain_name>" >/dev/null 2>&1

Website Monitoring Cron

* * * * * MACHINE_NAME="<discord_bot_name>" DISCORD_WEBHOOK="<discord_webhook_url>" <path_of_check-website.sh> "<domain_name>" >/dev/null 2>&1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages