-
Notifications
You must be signed in to change notification settings - Fork 0
/
unskript_ctl_config.yaml
239 lines (224 loc) · 4.8 KB
/
unskript_ctl_config.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# unSkript-ctl config file
#
# Copyright (c) 2023 unSkript.com
# All rights reserved.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE
#
#
version: 1.0.0
#
# Global section
#
# Global config
#
global:
# if enable_runbooks is enabled, jupyterlab is launched so that one can open
# runbooks in jupyterlab.
enable_runbooks: true
# audit_period in days. Number of days worth of audit data to be kept.
# Any date older than this number of days, will be deleted.
audit_period: 90
#
# Checks section
#
# Check specific configuration. For eg, arguments.
#
checks:
# Arguments common to all checks, like region, namespace, etc.
arguments:
global:
region: us-west-2
# Credential section
#
# uncomment the relevant sections below to enable respective credential
#
credential:
# AWS connector details
aws:
- name: awscreds
enable: false
access-key: ""
secret-access-key: ""
# Kubernetes connector details
k8s:
- name: k8screds
enable: false
kubeconfig: ""
# GCP connector details
gcp:
- name: gcpcreds
enable: false
credential-json: ""
# Elasticsearch connector details
elasticsearch:
- name: escreds
enable: false
host: ""
api-key: ""
no-verify-ssl: ""
# Redis connector details
redis:
- name: rediscreds
enable: false
host: ""
port: ""
username: ""
password: ""
database: ""
use-ssl: ""
# Postgres connector details
postgres:
- name: postgrescreds
enable: false
host: ""
port: ""
username: ""
password: ""
database: ""
# Mongodb connector details
mongodb:
- name: mongodbcreds
enable: false
host: ""
port: ""
username: ""
password: ""
# Kafka connector details
kafka:
- name: kafkacreds
enable: false
broker: ""
username: ""
password: ""
zookeeper: ""
# Rest connector details
rest:
- name: restcreds
enable: false
base-url: ""
username: ""
password: ""
headers: ""
# Vault connector details
vault:
- name: vaultcreds
enable: false
url: ""
token: ""
# Keycloak connector details
keycloak:
- name: keycloakcreds
enable: false
server-url: ""
realm: ""
client-id: ""
username: ""
password: ""
client-secret: ""
no-verify-certs: ""
#
# Notification section
#
# uncomment the relevant sections below to enable either slack or email notification
notification:
# Slack Notification setting
Slack:
enable: false
web-hook-url: ""
channel-name: ""
verbose: false #Not yet supported
Email:
verbose: true #Not yet supported
enable: false
# provider for the email. Possible values:
# - SMTP - SMTP server
# - SES - AWS SES
# - Sendgrid - Sendgrid
provider: ""
SMTP:
smtp-host: ""
smtp-user: ""
smtp-password: ""
to-email: ""
from-email: ""
SES:
access_key: ""
secret_access: ""
region: ""
to-email: ""
from-email: ""
Sendgrid:
api_key: ""
to-email: ""
from-email: ""
#
# Job section
#
# Job detail contains information about what all unskript-ctl can run.
jobs:
- name: "" # Unique name
# The results of the job to be notified or not.
notify: true
enable: false
# Specific checks to run
# Not supported: multiple checks, only single check support for now.
checks: []
# Specific suites to run
# Not supported
suites: []
# connector types whose checks need to be run
# Possible values:
# - aws
# - k8s
# - gcp
# - postgresql
# - slack
# - mongodb
# - jenkins
# - mysql
# - jira
# - rest
# - elasticsearch
# - kafka
# - grafana
# - ssh
# - prometheus
# - datadog
# - stripe
# - redis
# - zabbix
# - opensearch
# - pingdom
# - github
# - terraform
# - airflow
# - hadoop
# - mssql
# - snowflake
# - splunk
# - salesforce
# - azure
# - nomad
# - netbox
# - opsgenie
connector_types: []
# Custom scripts to be run.
# Not supported
custom_scripts: []
#
# Scheduler section
#
# You can configure multiple schedules.
scheduler:
- enable: false
# Cadence is specified in cron syntax. More information about the syntax can
# be found in https://crontab.guru
# minute hour day (of month) month day (of week)
# * * * * *
# Example: "*/30 * * * *" <= This will run every 30 Minutes
cadence: "*/60 * * * *"
# Name of the job to add to the schedule
job_name: ""