the-bastion/etc/bastion/osh-cleanup-guest-key-access.conf.dist

32 lines
1.3 KiB
Text
Raw Normal View History

###############################################################################
#@ Config for /opt/bastion/bin/cron/osh-cleanup-guest-key-access.pl
#@ This is a JSON file.
##
## This script is called by cron and is responsible for cleaning up dangling
## accesses to group keys for group guests that no longer have access to any
## server of the group. This happens when the last access a guest have on a
## group has a TTL, and this TTL expires.
## This is a basic background task of The Bastion, hence there is not much
## to configure. You can still disable this script below, if needs be.
###############################################################################
{
# > Logging
# >> These options configure the way the script logs its actions
#
# syslog_facility (string)
# DESC: The syslog facility to use for logging the script output.
# If set to the empty string, we'll not log through syslog at all.
# If this configuration option is missing from your config file altogether,
# the default value will be used (local6), which means that we'll log to syslog.
# DEFAULT: local6
"syslog_facility": "local6",
#
# > Behaviour
# >> These options govern the behaviour of the script
#
# enabled (bool)
# DESC: If not set to `true` (or a true value), the script will not run.
# DEFAULT: true
"enabled": true
}