SV-269572r1053491_rule
V-269572
SRG-APP-000005
XYLK-20-000005
CAT I
10
Set the session expiration:
1. As root, open /etc/xylok.conf in a text editor.
2. Add/Amend "SESSION_EXPIRE_AT_BROWSER_CLOSE=True" to the configuration file.
3. Restart Xylok to apply settings by executing the following:
# systemctl restart xylok
Verify session expires after browser is closed. Execute the following:
$ grep SESSION_EXPIRE_AT_BROWSER_CLOSE /etc/xylok.conf
SESSION_EXPIRE_AT_BROWSER_CLOSE=True
If "SESSION_EXPIRE_AT_BROWSER_CLOSE" is not set to "True" or is missing, this is a finding.
V-269572
False
XYLK-20-000005
Verify session expires after browser is closed. Execute the following:
$ grep SESSION_EXPIRE_AT_BROWSER_CLOSE /etc/xylok.conf
SESSION_EXPIRE_AT_BROWSER_CLOSE=True
If "SESSION_EXPIRE_AT_BROWSER_CLOSE" is not set to "True" or is missing, this is a finding.
M
5665