Docker
TMA-DOCKER-7.6
Ensure that the swarm manager auto-lock key is rotated periodically
Descripción
You should rotate the swarm manager auto-lock key periodically. The swarm manager auto-lock key is not automatically rotated. Good security practice is to rotate keys. Reported as a manual review item: the audit needs a site-specific judgement.
Cómo se verifica
Método de auditoría: Revisión manual
Currently, there is no mechanism to find out when the key was last rotated on a swarm manager node. You should check with the system administrator to see if there is a key rotation process, and how often the key is rotated.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
You should run the command below to rotate the keys: docker swarm unlock-key --rotate Additionally, to facilitate auditing of this recommendation, you should maintain key rotation records and ensure that you establish a pre-defined frequency for key rotation.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- dockermanual
- Referencia
- CIS Docker Benchmark v1.9.0 - 7.6 Ensure that the swarm manager auto-lock key is rotated periodically