mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge branch 'kilo' of https://github.com/Security-Onion-Solutions/securityonion into kilo
This commit is contained in:
@@ -241,7 +241,7 @@ function syncAll() {
|
|||||||
staleCount=$(echo "select count(*) from identity_credentials where updated_at >= Datetime('now', '-${usersFileAgeSecs} seconds');" \
|
staleCount=$(echo "select count(*) from identity_credentials where updated_at >= Datetime('now', '-${usersFileAgeSecs} seconds');" \
|
||||||
| sqlite3 "$databasePath")
|
| sqlite3 "$databasePath")
|
||||||
if [[ "$staleCount" == "0" ]]; then
|
if [[ "$staleCount" == "0" ]]; then
|
||||||
fail "Users are already in sync. Run 'FORCE_SYNC=1 $0 sync' to force a full sync anyway."
|
return 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
syncElastic
|
syncElastic
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
{%- set WEBACCESS = salt['pillar.get']('global:url_base', '') -%}
|
{%- set WEBACCESS = salt['pillar.get']('global:url_base', '') -%}
|
||||||
{%- set KRATOSKEY = salt['pillar.get']('kratos:kratoskey', '') -%}
|
{%- set KRATOSKEY = salt['pillar.get']('kratos:kratoskey', '') -%}
|
||||||
|
{%- set SESSIONTIMEOUT = salt['pillar.get']('kratos:sessiontimeout', '24h') -%}
|
||||||
|
|
||||||
|
session:
|
||||||
|
lifespan: {{ SESSIONTIMEOUT }}
|
||||||
|
|
||||||
selfservice:
|
selfservice:
|
||||||
methods:
|
methods:
|
||||||
|
|||||||
Reference in New Issue
Block a user