From d929c09c56b8aae8cf269bf256c7a886c1516bbf Mon Sep 17 00:00:00 2001 From: Chris Grindstaff Date: Sun, 29 May 2022 15:14:25 -0400 Subject: [PATCH] docs(cert): list valid units for CERTIFICATE_EXPIRATION (#285) Fixes #246 --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b83bc398..3a17210f 100644 --- a/README.md +++ b/README.md @@ -220,15 +220,15 @@ Here are some examples of conditions you can use: #### Placeholders -| Placeholder | Description | Example of resolved value | -|:---------------------------|:---------------------------------------------------------|:---------------------------------------------| -| `[STATUS]` | Resolves into the HTTP status of the request | 404 | -| `[RESPONSE_TIME]` | Resolves into the response time the request took, in ms | 10 | -| `[IP]` | Resolves into the IP of the target host | 192.168.0.232 | -| `[BODY]` | Resolves into the response body. Supports JSONPath. | `{"name":"john.doe"}` | -| `[CONNECTED]` | Resolves into whether a connection could be established | `true` | -| `[CERTIFICATE_EXPIRATION]` | Resolves into the duration before certificate expiration | `24h`, `48h`, 0 (if not protocol with certs) | -| `[DNS_RCODE]` | Resolves into the DNS status of the response | NOERROR | +| Placeholder | Description | Example of resolved value | +|:---------------------------|:------------------------------------------------------------------------------------------|:---------------------------------------------| +| `[STATUS]` | Resolves into the HTTP status of the request | 404 | +| `[RESPONSE_TIME]` | Resolves into the response time the request took, in ms | 10 | +| `[IP]` | Resolves into the IP of the target host | 192.168.0.232 | +| `[BODY]` | Resolves into the response body. Supports JSONPath. | `{"name":"john.doe"}` | +| `[CONNECTED]` | Resolves into whether a connection could be established | `true` | +| `[CERTIFICATE_EXPIRATION]` | Resolves into the duration before certificate expiration (valid units are "s", "m", "h".) | `24h`, `48h`, 0 (if not protocol with certs) | +| `[DNS_RCODE]` | Resolves into the DNS status of the response | NOERROR | #### Functions