Auto-PR: security(anythingllm): CIS hardening play + encrypted-at-rest data volume (Phase A)#92
Merged
Merged
Conversation
…lume (Phase A) Ports Phase A of the SOP-INFRA-012 baseline to customer instances: - ansible/harden.yml: devsec os_hardening + ssh_hardening (~CIS Ubuntu L1) with the Docker-safe ip_forward=1 task-var override; Lynis measurement; Docker-survival check. Root key-only SSH kept deliberately (fleet tooling is root@) - Phase B (ops-user, root-off) tracked for pre-first-customer. - ansible/requirements.yml: devsec.hardening collection. - terraform: digitalocean_volume (default 50GB, prevent_destroy, data_volume_size_gb var, 0 disables) - DO block storage is encrypted at rest, droplet local disk is not. - cloud-init setup-data-volume.sh: waits out the attach race, formats/mounts, points Docker data-root + backups dir at the encrypted volume before Docker installs. - copier var, tfvars example, compliance-table rows, CHANGELOG. Verified: rendered harden.yml passes ansible-playbook --syntax-check; setup-data-volume.sh bash -n clean; rendered main.tf parses (tofu fmt).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Pull Request — authored by
weown-bot(ecosystem service account)Opened by: @ncimino
Last pushed by: @ncimino
Branch:
feature/nik-cis-hardening-data-volume→mainContributors on this branch:
📋 Human Review Checklist — NIST CSF 2.0 Functions
Review per the 6 NIST CSF Functions. Frameworks referenced: NIST CSF 2.0, CIS Controls v8 IG1, CSA CCM v4, ISO/IEC 27001:2022, SOC 2, ISO/IEC 42001:2023. See
docs/COMPLIANCE_ROADMAP.md.🏛️ Govern (GV)
.github/CODEOWNERS)🔍 Identify (ID)
.github/SECURITY_ASSESSMENT.md)🛡️ Protect (PR)
--from-literal, never/tmp, always$(mktemp)— ISO A.8.24)restricted(NIST PR.IP, CIS 4)🕵️ Detect (DE)
livenessProbe+readinessProbe) configured🚨 Respond (RS)
.github/INCIDENT_RESPONSE.md)♻️ Recover (RC)
📚 Documentation & Versioning
CHANGELOG.mdupdated (per-directory or repo-level/CHANGELOG.md)#WeOwnVerversion bumped perdocs/VERSIONING_WEOWNVER.md📝 Recent Commits (full bodies for Copilot context)
d695e0d security(anythingllm): CIS hardening play + encrypted-at-rest data volume (Phase A)
Author: Nik
Date: Wed Jul 15 15:37:33 2026 -0600
Ports Phase A of the SOP-INFRA-012 baseline to customer instances:
with the Docker-safe ip_forward=1 task-var override; Lynis measurement;
Docker-survival check. Root key-only SSH kept deliberately (fleet tooling
is root@) - Phase B (ops-user, root-off) tracked for pre-first-customer.
data_volume_size_gb var, 0 disables) - DO block storage is encrypted at
rest, droplet local disk is not.
points Docker data-root + backups dir at the encrypted volume before
Docker installs.
Verified: rendered harden.yml passes ansible-playbook --syntax-check;
setup-data-volume.sh bash -n clean; rendered main.tf parses (tofu fmt).
🔍 Copilot AI Review: Copilot is configured to auto-request review for bot-authored PRs. If an auto-created PR opens without an initial Copilot review, push a follow-up commit to the same open PR (
review_on_push: true) to trigger review automatically.👥 Required Reviewers: human approval enforced by branch protection + CODEOWNERS.
@nciminorequested automatically.📚 Review Guidelines:
.github/copilot-instructions.md(phase-aware compliance directives)🛠️ Workflow Operations:
.github/workflows/README.mdAuto-generated by
.github/workflows/auto-pr-to-main.yml