You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: conf/st2.conf.sample
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,11 @@ workflows_pool_size = 40
38
38
[api]
39
39
# List of origins allowed for api, auth and stream
40
40
allow_origin = http://127.0.0.1:3000 # comma separated list allowed here.
41
+
# SameSite attribute value for the auth-token cookie we set on successful authentication from st2web. If you don't have a specific reason (e.g. supporting old browsers) we recommend you set this value to strict. Setting it to "unset" will default to the behavior in previous releases and not set this SameSite header value.
42
+
# Valid values: strict, lax, none, unset
43
+
auth_cookie_same_site = lax
44
+
# True if secure flag should be set for "auth-token" cookie which is set on successful authentication via st2web. You should only set this to False if you have a good reason to not run and access StackStorm behind https proxy.
45
+
auth_cookie_secure = True
41
46
# None
42
47
debug = False
43
48
# StackStorm API server host
@@ -142,6 +147,7 @@ ssl = False
142
147
# ca_certs file contains a set of concatenated CA certificates, which are used to validate certificates passed from MongoDB.
143
148
ssl_ca_certs = None
144
149
# Specifies whether a certificate is required from the other side of the connection, and whether it will be validated if provided
150
+
# Valid values: none, optional, required
145
151
ssl_cert_reqs = None
146
152
# Certificate file used to identify the localconnection
147
153
ssl_certfile = None
@@ -151,7 +157,7 @@ ssl_keyfile = None
151
157
ssl_match_hostname = True
152
158
# username for db login
153
159
username = None
154
-
# Compression level when compressors is set to zlib. Valid calues are -1 to 9. Defaults to 6.
160
+
# Compression level when compressors is set to zlib. Valid values are -1 to 9. Defaults to 6.
# Action execution output objects (ones generated by action output streaming) older than this value (days) will be automatically deleted.
170
+
# Action execution output objects (ones generated by action output streaming) older than this value (days) will be automatically deleted. Defaults to 7.
165
171
action_executions_output_ttl = 7
166
-
# Action executions and related objects (live actions, action output objects) older than this value (days) will be automatically deleted.
172
+
# Action executions and related objects (live actions, action output objects) older than this value (days) will be automatically deleted. Defaults to None (disabled).
167
173
action_executions_ttl = None
168
174
# How often to check database for old data and perform garbage collection.
169
175
collection_interval = 600
170
176
# Location of the logging configuration file.
171
177
logging = /etc/st2/logging.garbagecollector.conf
172
178
# Set to True to perform garbage collection on Inquiries (based on the TTL value per Inquiry)
173
179
purge_inquiries = False
180
+
# Rule enforcements older than this value (days) will be automatically deleted. Defaults to None (disabled).
181
+
rule_enforcements_ttl = None
174
182
# How long to wait / sleep (in seconds) between collection of different object types.
175
183
sleep_delay = 2
176
-
# Trigger instances older than this value (days) will be automatically deleted.
184
+
# Workflow task execution output objects (generated by action output streaming) older than this value (days) will be automatically deleted. Defaults to None (disabled).
185
+
task_executions_ttl = None
186
+
# Trace objects older than this value (days) will be automatically deleted. Defaults to None (disabled).
187
+
traces_ttl = None
188
+
# Trigger instances older than this value (days) will be automatically deleted. Defaults to None (disabled).
177
189
trigger_instances_ttl = None
190
+
# Workflow execution output objects (generated by action output streaming) older than this value (days) will be automatically deleted. Defaults to None (disabled).
191
+
workflow_executions_ttl = None
178
192
179
193
[keyvalue]
180
194
# Allow encryption of values in key value stored qualified as "secret".
@@ -195,7 +209,8 @@ redirect_stderr = False
195
209
[messaging]
196
210
# URL of all the nodes in a messaging service cluster.
197
211
cluster_urls = # comma separated list allowed here.
198
-
# Compression algorithm to use for compressing the payloads which are sent over the message bus. Valid values include: zstd, lzma, bz2, gzip. Defaults to no compression.
212
+
# Compression algorithm to use for compressing the payloads which are sent over the message bus. Defaults to no compression.
213
+
# Valid values: zstd, lzma, bz2, gzip, None
199
214
compression = None
200
215
# How many times should we retry connection before failing.
201
216
connection_retries = 10
@@ -208,6 +223,7 @@ ssl = False
208
223
# ca_certs file contains a set of concatenated CA certificates, which are used to validate certificates passed from RabbitMQ.
209
224
ssl_ca_certs = None
210
225
# Specifies whether a certificate is required from the other side of the connection, and whether it will be validated if provided.
226
+
# Valid values: none, optional, required
211
227
ssl_cert_reqs = None
212
228
# Certificate file used to identify the local connection (client).
0 commit comments