-
Notifications
You must be signed in to change notification settings - Fork 0
/
youtube-controller-example.yaml
89 lines (84 loc) · 1.96 KB
/
youtube-controller-example.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
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
---
logLevel: info
unifi:
username: "myUser"
password: "myPassword"
baseURL: "https://192.168.100.1"
httpTimeout: 5000 # Time in ms
insecureSkipVerify: true
sensu:
sendSensuEventOnFailure: true
sendSensuEventOnSuccess: true
clients:
whitelist:
- 50:de:06:4b:1a:5b
- da:d2:af:fc:6a:a6
- 18:3e:ef:c2:5a:7b
- 88:66:5a:4b:85:ef
- 78:4f:43:82:47:5c
- 00:0c:6c:0a:70:20
- 56:19:f3:55:62:7e
- 78:fb:d8:91:8d:8e
rules:
allow_rule_scaffold: >
{
"_id":"62291e672266ee479431ccd7",
"action":"ALLOW",
"app_category_ids":[],
"app_ids":[262256],
"description":"Allow youtube for cool people",
"domains":[],
"enabled":false,
"ip_addresses":[],
"ip_ranges":[],
"matching_target":"APP",
"network_ids":[],
"schedule":{
"date_end":"2035-03-09",
"date_start":"2022-03-09",
"mode":"ALWAYS",
"repeat_on_days":[],
"time_all_day":false,
"time_range_end":"12:00",
"time_range_start":"09:00"
},
"target_devices":[],
"isAllTab":true,
"child":false,
"lastChild":false,
"parent":false,
"expanded":false
}
block_rule_scaffold: >
{
"_id":"62291e2d2266ee479431ccd6",
"action":"BLOCK",
"app_category_ids":[],
"app_ids":[262256],
"description":"Block Youtube for little folk",
"domains":[],
"enabled":false,
"ip_addresses":[],
"ip_ranges":[],
"matching_target":"APP",
"network_ids":[],
"schedule":{
"date_end":"2022-03-16",
"date_start":"2022-03-09",
"mode":"ALWAYS",
"repeat_on_days":[],
"time_all_day":false,
"time_range_end":"12:00",
"time_range_start":"09:00"
},
"target_devices":[
{
"type":"ALL_CLIENTS"
}
],
"isAllTab":true,
"child":false,
"lastChild":false,
"parent":false,
"expanded":false
}