TMAegisBeta
更多 docker 规则

Docker

TMA-DOCKER-7.7

Ensure that node certificates are rotated as appropriate

中级别 1人工审核docker

说明

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.

检查方式

审计方法: 人工审核

此项建议无法自动检查。当您传入 --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 }}'

修复方式

修复方法: 操作指南或基础设施补丁

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

属性

操作系统
任意
标签
dockermanual
参考
CIS Docker Benchmark v1.9.0 - 7.7 Ensure that node certificates are rotated as appropriate