-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
257 lines (242 loc) · 7.57 KB
/
config.yaml
File metadata and controls
257 lines (242 loc) · 7.57 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
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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
application:
name: session-manager
environment: development
audit:
endpoint: http://localhost:4043/logs
additionalProperties: |
appID: "session-manager"
http:
address: :8080
grpc:
address: :9091
flags:
reflection: true
health: true
status:
enabled: true
address: :8888
profiling: true
logger:
level: info # one of: debug, info, warn, error
# Format of the logs
format: json # one of: json, text
formatter:
time:
type: unix # one of: pattern, unix
# Used only when the property type: pattern
# Should follow golang time pattern
# Default value time.RFC3339.
pattern: "Mon Jan 02 15:04:05 -0700 2006"
# Used only when the property type: unix
# Time units are "1ns", "1us" (or "1µs"), "1ms", "1s"
# Default value 1s.
precision: 1us
fields:
# Field names (this way the field name can be changed) to be used on log records; These are their defaults.
error: "error"
message: "msg"
level: "level"
time: "time"
# Fields names used by OTEL to track the Trace and Span ID
otel:
traceId: "traceId" # Default is TraceID
spanId: "spanId" # Default is SpanID
masking:
# All fields under PII, the formatters will mask the value and keeping first 4 original characters
pii:
- email
- ip-address
# All fields under other, the formatters will mask the value, using given mask.
other:
jwt-token: "*****"
telemetry:
logs:
enabled: false
protocol: grpc
host:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-endpoint"
#url: "/v1/logs"
secretRef:
type: mtls # insecure, mtls, api-token
mtls:
cert:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-cert"
certKey:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-key"
serverCa:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.server-ca"
traces:
enabled: false
#protocol: http
#host:
# source: embedded
# value: live.eu30.apm.services.cloud.sap
#url:
# source: embedded
# value: /e/98373022-4039-442d-8646-0b69d207eee8/api/v2/otlp/v1/traces
#secretRef:
# type: api-token # insecure, mtls, api-token
# apiToken:
# source: embedded
# value: "dt0c01.3X64SRHJVCJ43KRTPPJZYG5M.....5U6FZWJRMM6L2FJZFNZWM5EN2LRKWYUQLWLME"
protocol: grpc
host:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-endpoint"
#url: "/v1/traces"
secretRef:
type: mtls # insecure, mtls, api-token
mtls:
cert:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-cert"
certKey:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-key"
serverCa:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.server-ca"
metrics:
enabled: false
prometheus:
enabled: false
#protocol: http
#host:
# source: embedded
# value: live.eu30.apm.services.cloud.sap
#url:
# source: embedded
# value: /e/98373022-4039-442d-8646-0b69d207eee8/api/v2/otlp/v1/metrics
#secretRef:
# type: api-token # insecure, mtls, api-token
# apiToken:
# source: embedded
# value: "dt0c01.3X64SRHJVCJ43KRTPPJZYG5M.TOCDC...5U6FZWJRMM6L2FJZFNZWM5EN2LRKWYUQLWLME"
protocol: grpc
host:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-endpoint"
#url: "/v1/metrics"
secretRef:
type: mtls # insecure, mtls, api-token
mtls:
cert:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-cert"
certKey:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.ingest-otlp-key"
serverCa:
source: file
file:
path: /etc/credentials/sap-cloud-logging.json
format: json
jsonPath: "$.server-ca"
database:
name: session_manager
port: 5432
host:
source: embedded
value: localhost
user:
source: embedded
value: postgres
password:
source: embedded
value: secret
valkey:
host:
source: embedded
value: localhost:6379
user:
source: embedded
value: ""
password:
source: embedded
value: secret
prefix: session-manager
secretRef:
type: insecure # Supports "mtls" or "insecure"
# mtls:
# cert:
# source: embedded
# value: value
# certKey:
# source: embedded
# value: value
# serverCa:
# source: embedded
# value: value
sessionManager:
sessionDuration: 12h
idleSessionTimeout: 90m
callbackURL: http://localhost:8080/sm/callback
clientAuth:
clientID: "client-id"
type: client_secret
clientSecret:
source: embedded
value: secret
sessionCookieTemplate:
name: "__Host-Http-SESSION"
path: "/"
secure: true
sameSite: None
httpOnly: true
csrfCookieTemplate:
name: "CSRF"
path: "/"
secure: true
sameSite: Strict
domain: localhost
loginCSRFCookieTemplate:
path: "/"
secure: true
sameSite: Strict
domain: localhost
csrfSecret:
source: embedded
value: my-csrf-secret-at-least-thirty-two-bits-size
migrate:
source: file://./sql
housekeeper:
triggerInterval: 10m
concurrencyLimit: 10
tokenRefreshTriggerInterval: 15m