TMA-GITLAB-4.1.2
Ensure artifacts are encrypted before distribution
Description
Encrypt artifacts before they are distributed and ensure only trusted platforms have decryption capabilities. Build artifacts might contain sensitive data such as production configurations. In order to protect them and decrease the risk for breach, it is recommended to encrypt them before delivery. Encryption makes data unreadable, so even if attackers gain access to these artifacts, they won't be able to harvest sensitive data from them without the decryption key.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
Ensure every artifact is encrypted before it is delivered.
How it is fixed
Fix method: Guidance or infrastructure patch
Encrypt every artifact before distribution.
Properties
- Operating systems
- Any
- Tags
- devsecopsencryptiongitlab
- Reference
- CIS GitLab Benchmark v1.0.1 - 4.1.2 Ensure artifacts are encrypted before distribution