feat: implement auth-gated homelab service probe and access-failure artifact capture#205
Open
clubanderson wants to merge 1 commit into
Open
feat: implement auth-gated homelab service probe and access-failure artifact capture#205clubanderson wants to merge 1 commit into
clubanderson wants to merge 1 commit into
Conversation
- Add tests/homelab_access/test_auth_probe.py: 15 tests (14 active + 1 explicit skip for SSO deferred to projectbluefin#61), organised in three classes: TestUnauthenticatedRejection — 401 status, WWW-Authenticate header, Basic realm, body does not contain protected content; TestAuthenticatedAccess — 200 on correct credentials, access-ok body, wrong password/username both return 401; TestHttpsIntegrityUnderAuth — TLS handshake passes, plaintext HTTP cannot reach protected content, auth-evidence artifact written - Add manifests/homelab-access-auth.yaml: GitOps-owned ConfigMap documenting the auth contract shape (scheme, realm, expected statuses, artifact-dir); actual credentials are ephemeral per workflow run - Justfile: add run-homelab-auth target (submits homelab-access-probe WorkflowTemplate with -p auth-mode=true) - WORKFLOWS.md: document homelab-access-probe in both auth and non-auth modes, artifact locations, and operator entry points - RUNBOOK.md: add 5 auth-lane failure mode rows The existing homelab-access-probe WorkflowTemplate already routes auth-mode=true to test_auth_probe.py; this PR provides the test implementation and operator surfaces. Out of scope: SSO / identity-provider integration (issue projectbluefin#61) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
hanthor
approved these changes
Jun 6, 2026
hanthor
left a comment
Member
There was a problem hiding this comment.
LGTM — well-structured test/infra addition, clean code.
6 tasks
6 tasks
hanthor
approved these changes
Jun 16, 2026
hanthor
left a comment
Member
There was a problem hiding this comment.
Approved via org-wide review.
hanthor
approved these changes
Jun 16, 2026
hanthor
left a comment
Member
There was a problem hiding this comment.
Approved via org-wide review.
hanthor
approved these changes
Jul 1, 2026
hanthor
left a comment
Member
There was a problem hiding this comment.
Review: Approved ✅
Part of the structured service-catalog project build-up. Conventional Commits format, referenced issues, consistent with related PRs in the series.
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.
Closes #83. Implements the auth-gated access lane on top of the existing homelab-access-probe WorkflowTemplate (auth-mode=true routing already present). See PR description in commit message.