-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yaml
36 lines (36 loc) · 1.36 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: SSL/TLS Monitor
description: Monitor SSL/TLS certificates for your domains.
author: '@zrosenbauer'
inputs:
domain:
description: The domain to monitor, i.e. example.com.
required: true
expiration_days:
description: The number of days prior to expiration to trigger an alert, MUST be a valid integer.
default: '7'
required: false
approved_protocols:
description: (Optional) A common separated list of supported protocols, MUST be one of - SSLv3,TLSv1,TLSv1.1,TLSv1.2,TLSv1.3.
default: TLSv1.2,TLSv1.3
required: false
alert_method:
description: (Optional) Any detected issues will be alerted to this remote system (alert_method), MUST be one of - slack.
required: false
alert_token:
description: The API token or Webhook URL used to alert the remote system (alert_method).
required: false
outputs:
protocol:
description: A common separated list of supported protocols - SSLv3, TLSv1, TLSv1.1, TLSv1.2 or TLSv1.3.
valid_to:
description: The validTo date for the certificate in ISO-8601 format (i.e. 2021-01-01T10:20:11Z).
valid_from:
description: The validFrom date for the certificate in ISO-8601 format (i.e. 2021-01-01T10:20:11Z).
error_message:
description: A short description of the issue if an issue is found.
runs:
using: node20
main: build/index.js
branding:
color: blue
icon: alert-triangle