summaryrefslogtreecommitdiffstats
path: root/controlloop/templates/template.demo/src/test/resources/yaml/policy_guard_vUSP_1707_appc_restart_blacklist.yaml
blob: 50af17af641c975630903521e39a28eb47fe5a35 (plain)
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
guard:
  version: 2.0.0

guards:
  - id: unique_guard_vUSP_1_Blacklist
    name: APPC Restart Blacklist
    description: |
      We deny restart of the blacklisted targets (avoid midnight to 5am)
    actor: APPC
    recipe: Restart
    limit_constraints:
      - blacklist:
          - server123
          - server2234
          - vserver.vserver-name22
          - aaabbbccc
          - foobartriggersource35
        time_in_range:
          arg2: 00:00:00-05:00
          arg3: 23:59:59-05:00