rafabu / SCOM-PKICertificateMP

This is for SCOM - System Center Operations Manager: The PKI Certificate Verification MP discovers PKI Certificates and Certificate Revocation Lists inside computers’ local certificate stores. It helps preventing service interruptions caused by invalid certificates by alerting when
GNU Lesser General Public License v3.0
20 stars 11 forks source link

Added handlers for NULL parameters in the alert. #10

Closed randomnote1 closed 5 years ago

randomnote1 commented 5 years ago

I added defaults of an empty string for every alert parameter.

Fixes #6, #8

This needs fully tested as I don't have a lab stood up to do so at the moment.

randomnote1 commented 5 years ago

After more testing, this doesn't work. Will try again another way :(

jhestness commented 5 years ago

Just imported the new V3, same issue as above. No alert parameters being passed to Details.

gioniL commented 3 years ago

Just installed V3 (1.4.3.0) and some of the lifespan alerts are having the Alert Description like:

The certificate {0}.Certificate Subject: {1}Certificate Issuer: {2}Certificate Valid to: {8}Serial number: {3}Enterprise Template: {4}Enhanced Key Usage List: {5}Store: {6}{7}Chain Time Details:{9}

I never got this with V2.