# sm-joe/enterprise-hardened-images architecture

> Architecture diagram of the GitHub repository sm-joe/enterprise-hardened-images, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sm-joe/enterprise-hardened-images
- Repository: https://github.com/sm-joe/enterprise-hardened-images

## Overview

Enterprise Hardened Images provides a Debian base and four application-runtime image families for teams deploying containerized applications. The principal workflow is an application using a hardened runtime image built on the hardened Debian base. The README also documents security testing, release supply-chain attestations and signing, upstream/CVE rebuild automation, and security-exception governance. Those documented capabilities are retained as product branches; source excerpts were not provided for their implementations, so their relationships are cited to the README rather than inferred from filenames.

Main entry points: [`images/base/debian/Dockerfile`](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/base/debian/Dockerfile) (Debian Base Image), [`images/runtime/python/Dockerfile`](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/python/Dockerfile) (Python Runtime), [`images/runtime/node/Dockerfile`](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/node/Dockerfile) (Node Runtime), [`images/runtime/java/Dockerfile`](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/java/Dockerfile) (Java Runtime)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_images["Hardened Images"]
  node_debian["Debian Base Image"]
  node_python["Python Runtime"]
  node_node["Node Runtime"]
  node_java["Java Runtime"]
  node_nginx["Nginx Runtime"]
end

subgraph group_security["Security Assurance"]
  node_controls["Hardening Controls<br/>[control-map.yaml]"]
  node_security_tests["Security Tests"]
end

subgraph group_release["Release and Lifecycle"]
  node_supply_chain["Supply Chain Release<br/>[image-release.yml]"]
  node_lifecycle["Image Lifecycle"]
end

subgraph group_governance["Security Governance"]
  node_exceptions["Security Exceptions"]
end

node_application(("Application"))

node_application -->|"runs on"| node_python
node_application -->|"runs on"| node_node
node_application -->|"runs on"| node_java
node_application -->|"runs on"| node_nginx
node_python -->|"built on"| node_debian
node_node -->|"built on"| node_debian
node_java -->|"built on"| node_debian
node_nginx -->|"built on"| node_debian
node_debian -->|"security tested"| node_security_tests
node_debian -->|"attested and signed"| node_supply_chain
node_debian -->|"rebuilt for updates"| node_lifecycle
node_debian -->|"implements baseline"| node_controls
node_controls -->|"governed by"| node_exceptions

click node_debian "https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/base/debian/Dockerfile"
click node_python "https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/python/Dockerfile"
click node_node "https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/node/Dockerfile"
click node_java "https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/java/Dockerfile"
click node_nginx "https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/nginx/Dockerfile"
click node_controls "https://github.com/sm-joe/enterprise-hardened-images/blob/main/hardening/common/control-map.yaml"
click node_security_tests "https://github.com/sm-joe/enterprise-hardened-images/tree/main/tests"
click node_supply_chain "https://github.com/sm-joe/enterprise-hardened-images/blob/main/.github/workflows/image-release.yml"
click node_lifecycle "https://github.com/sm-joe/enterprise-hardened-images/blob/main/.github/workflows/image-lifecycle.yml"
click node_exceptions "https://github.com/sm-joe/enterprise-hardened-images/blob/main/policies/security-exceptions.yaml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_debian,node_python,node_node,node_java,node_nginx toneBlue
class node_controls,node_security_tests toneAmber
class node_supply_chain,node_lifecycle toneMint
class node_exceptions toneRose
class node_application toneIndigo
```

## Components

### Hardened Images

- [Debian Base Image](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/base/debian/Dockerfile): `images/base/debian/Dockerfile`
- [Python Runtime](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/python/Dockerfile): `images/runtime/python/Dockerfile`
- [Node Runtime](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/node/Dockerfile): `images/runtime/node/Dockerfile`
- [Java Runtime](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/java/Dockerfile): `images/runtime/java/Dockerfile`
- [Nginx Runtime](https://github.com/sm-joe/enterprise-hardened-images/blob/main/images/runtime/nginx/Dockerfile): `images/runtime/nginx/Dockerfile`

### Security Assurance

- [Hardening Controls](https://github.com/sm-joe/enterprise-hardened-images/blob/main/hardening/common/control-map.yaml): `hardening/common/control-map.yaml`
- [Security Tests](https://github.com/sm-joe/enterprise-hardened-images/tree/main/tests): `tests`

### Release and Lifecycle

- [Supply Chain Release](https://github.com/sm-joe/enterprise-hardened-images/blob/main/.github/workflows/image-release.yml): `.github/workflows/image-release.yml`
- [Image Lifecycle](https://github.com/sm-joe/enterprise-hardened-images/blob/main/.github/workflows/image-lifecycle.yml): `.github/workflows/image-lifecycle.yml`

### Security Governance

- [Security Exceptions](https://github.com/sm-joe/enterprise-hardened-images/blob/main/policies/security-exceptions.yaml): `policies/security-exceptions.yaml`

### Other components

- **Application**

## Connections

- Application → Python Runtime: runs on (evidence: `README.md`)
- Application → Node Runtime: runs on (evidence: `README.md`)
- Application → Java Runtime: runs on (evidence: `README.md`)
- Application → Nginx Runtime: runs on (evidence: `README.md`)
- Python Runtime → Debian Base Image: built on (evidence: `README.md`)
- Node Runtime → Debian Base Image: built on (evidence: `README.md`)
- Java Runtime → Debian Base Image: built on (evidence: `README.md`)
- Nginx Runtime → Debian Base Image: built on (evidence: `README.md`)
- Debian Base Image → Security Tests: security tested (evidence: `README.md`)
- Debian Base Image → Supply Chain Release: attested and signed (evidence: `README.md`)
- Debian Base Image → Image Lifecycle: rebuilt for updates (evidence: `README.md`)
- Debian Base Image → Hardening Controls: implements baseline (evidence: `README.md`)
- Hardening Controls → Security Exceptions: governed by (evidence: `README.md`)
