the-bastion/etc/cron.d/osh-cleanup-guest-key-access.dist
Stéphane Lesimple e71aa7b975 feat: add osh-cleanup-guest-key-access.pl script
This script removes system-level access to group keys to old guests
of groups that no longer have any active access to servers of that group.
This only happens when the last access to be removed from them had a TTL.
2022-02-09 14:31:33 +01:00

3 lines
168 B
Plaintext

# Check each 5 minutes that we don't have dangling guests still having access to keys
*/5 * * * * root /opt/bastion/bin/cron/osh-cleanup-guest-key-access.pl >/dev/null