TMAegisBeta
Aturan lainnya untuk docker

Docker

TMA-DOCKER-7.7

Ensure that node certificates are rotated as appropriate

SedangLevel 1Tinjauan manualdocker

Deskripsi

You should rotate swarm node certificates in line with your organizational security policy. Docker Swarm uses TLS for clustering operations between its nodes. Certificate rotation ensures that in an event such as a compromised node or key, it is difficult to impersonate a node. Reported as a manual review item: the audit needs a site-specific judgement.

Cara pemeriksaan

Metode audit: Tinjauan manual

Rekomendasi ini tidak dapat diperiksa secara otomatis. Pemindaian akan menampilkannya beserta petunjuk ini saat Anda memberikan opsi --include-manual.

Run one of the commands below and ensure that the node certificate Expiry Duration is set as appropriate. docker info | grep "Expiry Duration" docker info --format 'NodeCertExpiry: {{ .Swarm.Cluster.Spec.CAConfig.NodeCertExpiry }}'

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

You should run the command to set the desired expiry time on the node certificate. For example: docker swarm update --cert-expiry 48h

Properti

Sistem operasi
Apa saja
Tag
dockermanual
Referensi
CIS Docker Benchmark v1.9.0 - 7.7 Ensure that node certificates are rotated as appropriate