Payload

The payload can be any JSON you wish. See this example provided in the repository. You will have 5 variables to play with as well.

  • {{ HOST }}
    • The hostname that was checked.
  • {{ HTTP_CODE }}
    • The return code that was returned.
  • {{ SSL_VALID }}
    • If the SSL/TLS certificate is valid (true/false).
  • {{ SSL_EXPIRY_DAYS }}
    • The number of days before the SSL/TLS certificate expires.
  • {{ ALERT_STRING }}
    • String containing all the relevant alerts (as appropriate):
      • Recovery: Site is now returning the correct code.
      • ERROR: Site Is Returning Incorrect Code!
      • Recovery: SSL Certificate is now valid.
      • ERROR: SSL Certificate is Invalid!
      • Recovery: SSL Certificate has been renewed.
      • WARNING: SSL Certificate will be expiring soon!