TLS

Steps

connectTo

ParamDescription
toWhich host:port do you want to request?

dnsShouldBePresent

ParamDescription
dnsCheck if DNS is present on certificate

shouldBeValidFor

ParamDescription
forCheck that it is valid for a period of time. Valid values could be: 15m, 1h, 1d…

dumpMetrics

ParamDescription

Example

name: tls_basic_example
description: Test that google.com has a TLS certificate
scrapeInterval: 1m
scenario:
  kind: tls
  steps:
    - type: connectTo
      params:
        to: google.com:443
    - type: dnsShouldBePresent
      params:
        dns: google.com
    - type: shouldBeValidFor
      params:
        for: 7d
    - type: dumpMetrics

Last modified March 1, 2022: add missing changes (77e6d9c)