I need to report on a certificate expiring within 30 days that is unreachable due to SW platform being none internet facing. But the cert resides on a node within my SW platform. I have created a script within NCM, executed successfully and have the output within the NCM_Jobs table in the JobLog column. With the output of
sh crypto ca certificates replaced.asdfg_Jul-27 | i end
end date: 06:56:26 UTC Feb 18 2027
I'm struggling to do a date calculation for the 'within 30days' after getting the NCM Job details narrowed down.
Anyone managed this or can see what I need to add to create SQL or SWQL alert. Thanks in advanced.