Catalyst / admin/Synapse-Cortex 14.8 GB / 57.8 GB 40.0 GB free
Help Sign in

admin / Synapse-Cortex

public

Self Hosted ITSM Tool with RBAC/Tenanting and MFA

Code Issues Pull requests Pipelines Packages Security Insights Wiki Settings
Synapse-Cortex / Synapse-Cortexv2 / playbooks / check-renew-an-expiring-tls-certificate-linux.json 1948 B · main
 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
  "name": "Check / Renew an Expiring TLS Certificate (Linux)",
  "enabled": true,
  "allowed_target_os": [
    "linux"
  ],
  "required_approval_level": "human_in_the_loop",
  "forbidden_commands": [],
  "graph_json": {
    "nodes": [
      {
        "id": "start",
        "type": "start",
        "data": {},
        "position": {
          "x": 250,
          "y": 0
        }
      },
      {
        "id": "cmd_list",
        "type": "command",
        "data": {
          "label": "List certificates & expiry",
          "command": "certbot certificates"
        },
        "position": {
          "x": 250,
          "y": 130
        }
      },
      {
        "id": "cmd_dryrun",
        "type": "command",
        "data": {
          "label": "Dry-run the renewal",
          "command": "certbot renew --dry-run"
        },
        "position": {
          "x": 250,
          "y": 260
        }
      },
      {
        "id": "cmd_renew",
        "type": "command",
        "data": {
          "label": "Renew certificates",
          "command": "certbot renew"
        },
        "position": {
          "x": 250,
          "y": 390
        }
      },
      {
        "id": "cmd_reload",
        "type": "command",
        "data": {
          "label": "Reload the web server",
          "command": "systemctl reload nginx || systemctl reload apache2"
        },
        "position": {
          "x": 250,
          "y": 520
        }
      }
    ],
    "edges": [
      {
        "id": "e_start_cmd_list",
        "source": "start",
        "target": "cmd_list"
      },
      {
        "id": "e_cmd_list_cmd_dryrun",
        "source": "cmd_list",
        "target": "cmd_dryrun"
      },
      {
        "id": "e_cmd_dryrun_cmd_renew",
        "source": "cmd_dryrun",
        "target": "cmd_renew"
      },
      {
        "id": "e_cmd_renew_cmd_reload",
        "source": "cmd_renew",
        "target": "cmd_reload"
      }
    ]
  }
}