Ensure that the etcd data directory ownership is set to etcd:etcd (Automated)
Scanned 9/3/2026
Install to Claude Code
npx -y skills add CyberStrikeus/CyberStrike --skill cis-k8s-v1120-1.1.12 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cis K8s V1120 1.1.12?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-k8s-v1120-1-1-12)More formats (shields.io, HTML) on the badges page.
---
name: cis-k8s-v1120-1.1.12
description: "Ensure that the etcd data directory ownership is set to etcd:etcd (Automated)"
category: cis-k8s
version: "1.12.0"
author: cyberstrike-official
tags: [cis, kubernetes, control-plane, config-files, etcd, data-directory, ownership, level1]
cis_id: "1.1.12"
cis_benchmark: "CIS Kubernetes Benchmark v1.12.0"
tech_stack: [kubernetes]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---
# 1.1.12 Ensure that the etcd data directory ownership is set to etcd:etcd (Automated)
## Profile Applicability
- Level 1 - Master Node
## Description
Ensure that the etcd data directory ownership is set to `etcd:etcd`.
## Rationale
etcd is a highly-available key-value store used by Kubernetes deployments for persistent storage of all of its REST API objects. This data directory should be protected from any unauthorized reads or writes. It should be owned by `etcd:etcd`.
## Impact
None
## Audit
On the etcd server node, get the etcd data directory, passed as an argument `--data-dir`, from the below command:
```bash
ps -ef | grep etcd
```
Run the below command (based on the etcd data directory found above). For example,
```bash
stat -c %U:%G /var/lib/etcd
```
Verify that the ownership is set to `etcd:etcd`.
## Remediation
On the etcd server node, get the etcd data directory, passed as an argument `--data-dir`, from the below command:
```bash
ps -ef | grep etcd
```
Run the below command (based on the etcd data directory found above). For example,
```bash
chown etcd:etcd /var/lib/etcd
```
## Default Value
By default, etcd data directory ownership is set to `etcd:etcd`.
## References
1. [https://coreos.com/etcd/docs/latest/op-guide/configuration.html#data-dir](https://coreos.com/etcd/docs/latest/op-guide/configuration.html#data-dir)
2. [https://kubernetes.io/docs/admin/etcd/](https://kubernetes.io/docs/admin/etcd/)
## CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
| ---------------- | --------------------------------------- | ---- | ---- | ---- |
| v8 | 3.3 Configure Data Access Control Lists | \* | \* | \* |
| v7 | 16 Account Monitoring and Control | | | |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!