2022-01-22 00:49:40 +08:00
|
|
|
###############################################################################
|
2022-01-26 18:19:52 +08:00
|
|
|
#@ 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.
|
2022-01-22 00:49:40 +08:00
|
|
|
###############################################################################
|
|
|
|
{
|
|
|
|
# > Logging
|
|
|
|
# >> These options configure the way the script logs its actions
|
|
|
|
#
|
2022-01-26 18:19:52 +08:00
|
|
|
# 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.
|
2022-01-22 00:49:40 +08:00
|
|
|
# DEFAULT: local6
|
2022-01-26 18:19:52 +08:00
|
|
|
"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
|
2022-01-22 00:49:40 +08:00
|
|
|
}
|