From c4dd4aa65313fde6327101e0e65cf952ad7f5b5e Mon Sep 17 00:00:00 2001 From: jowj Date: Tue, 21 Jan 2020 16:59:22 -0600 Subject: [PATCH] Add tlsTargets, move the cert check to check against those. --- arke.py | 2 +- arkevars.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arke.py b/arke.py index 8815d10..bbd9ba0 100644 --- a/arke.py +++ b/arke.py @@ -71,7 +71,7 @@ while is_on: json_string = json.dumps(datastore) # get SSL certs on http targets - cert_info = monitor_TlsExpiry(arkevars.httpTargets) + cert_info = monitor_TlsExpiry(arkevars.tlsTargets) cert_json = json.dumps(cert_info) # get whois info on domain targets diff --git a/arkevars.py b/arkevars.py index 6c3c63c..48c1311 100644 --- a/arkevars.py +++ b/arkevars.py @@ -5,8 +5,10 @@ httpTargets = ( "https://matrix.awful.club" ) -containerTargets = ( - "slack.awful.club" +tlsTargets = ( + "https://my.awful.club", + "https://me.jowj.net", + "https://matrix.awful.club" ) domains_to_check = (