Describe the bug
We are getting Slack alerts for expired certificates, even after they are deleted from our F5 devices.
We are running BigIPReport data collector version 5.6.7
To Reproduce
Delete expired cert
Wait for expiration
we will still get slack alerts regularly
Expected behavior
I would expect to not get alerts for deleted certificates
Additional context
The certificate remains in the "state.json" file
"certificateAlerts": {
"gg2-lb-01.example.com/Common/RapidSSL_CA_G3.crt": {
"lastAlerted": 1653032845.0,
"commonName": "RapidSSL SHA256 CA - G3",
"expiresInDays": 4.0,
"key": "gg2-lb-01.example.com/Common/RapidSSL_CA_G3.crt",
"loadbalancer": "gg2-lb-01.example.com",
"fileName": "/Common/RapidSSL_CA_G3.crt"
}
},
Describe the bug We are getting Slack alerts for expired certificates, even after they are deleted from our F5 devices. We are running BigIPReport data collector version 5.6.7
To Reproduce Delete expired cert Wait for expiration we will still get slack alerts regularly
Expected behavior I would expect to not get alerts for deleted certificates
Additional context The certificate remains in the "state.json" file "certificateAlerts": { "gg2-lb-01.example.com/Common/RapidSSL_CA_G3.crt": { "lastAlerted": 1653032845.0, "commonName": "RapidSSL SHA256 CA - G3", "expiresInDays": 4.0, "key": "gg2-lb-01.example.com/Common/RapidSSL_CA_G3.crt", "loadbalancer": "gg2-lb-01.example.com", "fileName": "/Common/RapidSSL_CA_G3.crt" } },