-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig_schema.json
More file actions
204 lines (204 loc) · 5.48 KB
/
config_schema.json
File metadata and controls
204 lines (204 loc) · 5.48 KB
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
{
"fields": [
{
"name": "log-level",
"description": "The log level: debug, info, warn, error",
"isOps": true,
"stringField": {
"defaultValue": "info"
}
},
{
"name": "log-level-debug-expires-at",
"description": "The timestamp indicating when debug-level logging should expire",
"isOps": true,
"stringField": {}
},
{
"name": "session-store-maximum-size",
"description": "The maximum size of the local in-memory session store cache in bytes.",
"isOps": true,
"intField": {
"defaultValue": "15728640"
}
},
{
"name": "otel-collector-endpoint",
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
"isOps": true,
"stringField": {}
},
{
"name": "otel-collector-endpoint-tls-cert-path",
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
"isOps": true,
"stringField": {}
},
{
"name": "otel-collector-endpoint-tls-cert",
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
"isOps": true,
"stringField": {}
},
{
"name": "otel-collector-endpoint-tls-insecure",
"description": "Allow insecure connections to the OpenTelemetry collector",
"isOps": true,
"boolField": {}
},
{
"name": "otel-tracing-disabled",
"description": "Disable OpenTelemetry tracing",
"isOps": true,
"boolField": {}
},
{
"name": "otel-logging-disabled",
"description": "Disable OpenTelemetry logging",
"isOps": true,
"boolField": {}
},
{
"name": "health-check",
"description": "Enable the HTTP health check endpoint",
"isOps": true,
"boolField": {}
},
{
"name": "health-check-port",
"description": "Port for the HTTP health check endpoint",
"isOps": true,
"intField": {
"defaultValue": "8081"
}
},
{
"name": "health-check-bind-address",
"description": "Bind address for health check server (127.0.0.1 for localhost-only)",
"isOps": true,
"stringField": {
"defaultValue": "127.0.0.1"
}
},
{
"name": "http-timeout-seconds",
"description": "HTTP client timeout in seconds (max 1800)",
"isOps": true,
"intField": {
"defaultValue": "300",
"rules": {
"lte": "1800",
"gte": "1"
}
}
},
{
"name": "token",
"displayName": "Personal access token",
"description": "The GitHub access token used to connect to the GitHub API.",
"isRequired": true,
"isSecret": true,
"stringField": {
"rules": {
"isRequired": true
}
}
},
{
"name": "orgs",
"displayName": "Organizations",
"description": "Limit syncing to specific organizations.",
"stringSliceField": {}
},
{
"name": "enterprises",
"displayName": "Enterprises",
"description": "Sync enterprise roles, must be an admin of the enterprise.",
"stringSliceField": {}
},
{
"name": "instance-url",
"displayName": "GitHub instance URL",
"description": "The GitHub instance URL to connect to. (default \"https://github.com\")",
"stringField": {}
},
{
"name": "app-id",
"displayName": "GitHub App ID",
"description": "The GitHub App to connect to.",
"isRequired": true,
"stringField": {
"rules": {
"isRequired": true
}
}
},
{
"name": "app-privatekey-path",
"displayName": "GitHub App private key (.pem)",
"description": "Path to private key that is used to connect to the GitHub App",
"isRequired": true,
"isSecret": true,
"stringField": {
"rules": {
"isRequired": true
},
"type": "STRING_FIELD_TYPE_FILE_UPLOAD",
"allowedExtensions": [
".pem"
]
}
},
{
"name": "org",
"displayName": "Github App Organization",
"description": "Organization of your github app",
"isRequired": true,
"stringField": {
"rules": {
"isRequired": true
}
}
},
{
"name": "sync-secrets",
"displayName": "Sync secrets",
"description": "Whether to sync secrets or not",
"boolField": {}
},
{
"name": "omit-archived-repositories",
"displayName": "Omit syncing archived repositories",
"description": "Whether to skip syncing archived repositories or not",
"boolField": {}
}
],
"displayName": "GitHub v2",
"helpUrl": "/docs/baton/github-v2",
"iconUrl": "/static/app-icons/github.svg",
"fieldGroups": [
{
"name": "personal-access-token-group",
"displayName": "Personal access token",
"helpText": "Use a personal access token for authentication.",
"fields": [
"token",
"orgs",
"omit-archived-repositories"
],
"default": true
},
{
"name": "github-app-group",
"displayName": "GitHub app",
"helpText": "Use a github app for authentication",
"fields": [
"app-id",
"app-privatekey-path",
"org",
"sync-secrets",
"omit-archived-repositories"
]
}
]
}