# Cis Docker 7.3

> Cis Docker 7.3 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Ensure that all Docker swarm overlay networks are encrypted

- Skill name: `cis-docker-7.3`
- Category: [DevOps & Security](https://www.openparable.com/skill/devops-security/1)
- Source: https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Server_Software/Docker/CIS_Docker_Benchmark_v1.8.0/cis-docker-7.3/SKILL.md
- Repository: CyberStrikeus/CyberStrike (1,211 GitHub stars when collected)

## SKILL.md

# 7.3 Ensure that all Docker swarm overlay networks are encrypted (Manual)

## Profile Applicability

- Level 1 - Docker Swarm

## Description

Ensure that all Docker swarm overlay networks are encrypted.

## Rationale

By default, data exchanged between containers on nodes on the overlay network is not encrypted. This could potentially expose traffic between containers.

## Impact

None

## Audit Procedure

You should run the command below to ensure that each overlay network has been encrypted.

```
docker network ls --filter driver=overlay --quiet | xargs docker network inspect --format '{{.Name}} {{ .Options }}'
```

## Remediation

You should create overlay networks the with `--opt encrypted` flag.

## Default Value

By default, data exchanged in overlay networks in Docker swarm mode is not encrypted.

## References

1. https://docs.docker.com/network/overlay/#encrypt-traffic-on-an-overlay-network

## CIS Controls

| Controls Version | Control                                                                                                                                                                           | IG 1 | IG 2 | IG 3 |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---- | ---- |
| v8               | 3.10 Encrypt Sensitive Data in Transit<br>Encrypt sensitive data in transit. Example implementations can include: Transport Layer Security (TLS) and Open Secure Shell (OpenSSH). |      | ●    | ●    |
| v7               | 14.4 Encrypt All Sensitive Information in Transit<br>Encrypt all sensitive information in transit.                                                                                |      | ●    | ●    |

---

Source: https://www.openparable.com/skill/devops-security/cis-docker-7-3 (OpenParable). Cite the canonical URL above.
