cscli collections install Dominic-Wagner/vaultwarden
A collection to defend Vaultwarden instance against common attacks :
Example acquisition for this collection :
If using LOG_FILE environment variable:
---
filenames:
- /var/log/vaultwarden.log
labels:
type: Vaultwarden
If running via systemd:
---
source: journalctl
journalctl_filter:
- "SYSLOG_IDENTIFER=Vaultwarden"
labels:
type: Vaultwarden
In the default configuration of vaultwarden
logs, the timestamp uses system local time. This means that detection may not work as expected as CrowdSec uses UTC time. To fix this, you can configure vaultwarden
to log the offset from UTC time. To do this, head over to Vaultwarden Admin Panel -> Advanced Settings -> Log timestamp format
and change format to %Y-%m-%d %H:%M:%S.%3f%z
.