Skip to content

fix(lab): roles/base removes Panther\unattend.xml, and verify.yml asserts it - #1778

Merged
Gerrrt merged 1 commit into
mainfrom
gerrrt/lab-remove-panther-unattend
Nov 27, 2026
Merged

Gerrrt merged 1 commit into
mainfrom
gerrrt/lab-remove-panther-unattend

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 27, 2026

Copy link
Copy Markdown
Owner

What changed

roles/base now removes C:\Windows\Panther\unattend.xml along with the other two answer files, and verify.yml adds the check no unattend.xml in Panther. Nothing has been applied yet: the next lab-domain.yml --tags base run deletes the file on each guest that has it.

Why

The repository said two things about this file. packer/windows/scripts/SetupComplete.cmd deletes it on every clone (#1103), and so does the #1099 changelog entry. roles/base kept it on purpose ("Setup scrubbed its password"). The leviathan audit (read-only, 2026-11-13 to 2026-11-26) found it on bahamut, leviathan, titan and ramuh:

  • All four were installed on 2026-10-07 from template 912. The copy of SetupComplete.cmd on each is byte-identical to be31da31, from the morning of 2026-10-07. That version has no Panther delete and no scrubfail guard. fix(packer): scrub the plaintext Panther answer files on Windows clones (#1099) #1103 added both on 2026-10-09, and 912 has not been rebuilt since, so the scrub never ran.
  • Each copy has 0 PlainText=true elements, so it holds no password. The other two Panther files are already gone.
  • The endpoints (.54, .55) were not reachable to check.

The new changelog entry corrects the #1099 one. Refs #1099.

Blast radius

The four lab servers, plus the two endpoints when they are next run. The change deletes one vestigial Setup file after Setup has finished, and nothing reads it on a running clone. sysprep.ps1's "unattend.xml stays" is about the template before generalising, and does not change.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • python3 scripts/check_docs.py: docs OK.

  • ./scripts/lint.sh: passed, with 7 checks skipped and not run on phoenix: yamllint, ansible-lint, ruff, markdownlint-cli2, editorconfig-checker, actionlint and zizmor. CI runs them.

  • ansible-playbook --syntax-check lab-domain.yml verify.yml: OK.

  • lab-domain.yml --limit 'dcs:titan:ramuh' --tags base --check --diff from this branch: on each of the four, the only change is changed: (item=C:\Windows\Panther\unattend.xml). Every host reports changed=1 failed=0.

  • verify.yml --limit 'dcs:titan:ramuh' from this branch: each of the four fails only no unattend.xml in Panther. That is expected until the role is applied.

  • make validate was not run: phoenix has 14 GB free on /, and the suite pulls about 38 GB.

  • make validate passes

  • Deployed to the lab and confirmed working

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

…erts it

SetupComplete.cmd deletes Panther\unattend.xml on a clone (#1103), but
roles/base kept it on purpose, so the repository said both. The leviathan
audit found it on all four servers. They were cloned on 2026-10-07 from a 912
whose SetupComplete.cmd predates #1103 (byte-identical to be31da3), so the
scrub never ran. Each copy is password-scrubbed. roles/base now removes it
with the other two answer files, and verify.yml checks it.

Refs #1099

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit a71c837 into main Nov 27, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/lab-remove-panther-unattend branch November 27, 2026 05:04
Gerrrt added a commit that referenced this pull request Nov 27, 2026
lab-domain.yml --tags base,sysmon,soc,exporter ran on the five reachable
guests: Panther\unattend.xml removed on the four servers, and #1770's
installer and ACL changes on carbuncle. verify.yml holds on all five.
siren was unreachable. Also corrects the 2026-11-26 root-hints entry on
what cleared the DCs' in-memory hints that morning.

Refs #1099
Refs #449

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gerrrt added a commit that referenced this pull request Nov 27, 2026
…1788)

lab-domain.yml --tags base,sysmon,soc,exporter ran on the five reachable
guests: Panther\unattend.xml removed on the four servers, and #1770's
installer and ACL changes on carbuncle. verify.yml holds on all five.
siren was unreachable. Also corrects the 2026-11-26 root-hints entry on
what cleared the DCs' in-memory hints that morning.

Refs #1099
Refs #449

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Gerrrt added a commit that referenced this pull request Nov 28, 2026
Each finding with what closed or decided it: the audit footprint
removed from both DCs, the root hints, ADR-0137's no-patch, ADR-0141's
Spooler, #1778's unattend.xml, and the no-AD-CS ADR in review.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Gerrrt added a commit that referenced this pull request Nov 28, 2026
…1801)

siren was stopped (--onboot 0) during the 2026-11-27 rollout. It was
started, lab-domain.yml --tags base,sysmon,soc,exporter removed its staged
installers and cut its textfile ACL, verify.yml held (28 checks), and it
was shut down again. #1778 found no unattend.xml to remove.

Refs #449
Refs #1099

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant