Closed fer closed 6 months ago
Checkmarx One – Scan Summary & Details – a2d46317-99cb-440f-bfcd-ab20a0b04e64
Severity | Issue | Source File / Package | Checkmarx Insight |
---|---|---|---|
Unpinned Actions Full Length Commit SHA | /build-unified.yml: 194 | Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps... |
Severity | Issue | Source File / Package |
---|---|---|
Unpinned Actions Full Length Commit SHA | /build-unified.yml: 190 |
Description
Introduces a new feature to the Bitwarden self-hosted script
bitwarden.sh
– the ability to compress and archive logs within a specified date range, or all logs if no range is provided.This enhancement simplifies log management, particularly for troubleshooting and audit purposes, by allowing administrators to easily package relevant log files.
Features
START_DATE
andEND_DATE
) specified inYYYYMMDD
format.START_DATE
is not afterEND_DATE
.Usage examples
Compress logs from March 4th, 2024 to March 5th, 2024:
A compressed file
bitwarden-logs-20240304-to-20240305.tar.gz
is produced.Compress all logs:
A compress file
bitwarden-logs-all.tar.gz
is producedTesting
Please review this PR for inclusion in the next release of Bitwarden self-hosted. Your feedback and suggestions are welcome!