Skip to content

fix(agent): include token in enrollment view command#1428

Merged
simonjcarr merged 1 commit into
mainfrom
issue-1426-enrollment-token
May 15, 2026
Merged

fix(agent): include token in enrollment view command#1428
simonjcarr merged 1 commit into
mainfrom
issue-1426-enrollment-token

Conversation

@simonjcarr
Copy link
Copy Markdown
Collaborator

Summary

  • include stored enrolment tokens in the admin token list payload under an admin guard
  • build the view-existing-token install command with CT_OPS_ENROLMENT_TOKEN
  • update focused authz and E2E coverage for the existing-token view command

Validation

  • pnpm --dir apps/web type-check
  • node apps/web/lib/actions/agents-authz.test.mjs
  • node --test apps/web/lib/agent/install-script.test.mjs
  • pnpm --dir apps/web test:unit
  • pnpm --dir apps/web test:e2e tests/e2e/settings/agent-enrolment.spec.ts (issue-specific existing-token case passed; neighboring pre-existing failures tracked in test(web): stabilise agent enrolment E2E submit cases #1427)

@simonjcarr simonjcarr merged commit 370aa08 into main May 15, 2026
19 checks passed
@simonjcarr simonjcarr deleted the issue-1426-enrollment-token branch May 15, 2026 08:43
simonjcarr pushed a commit that referenced this pull request May 15, 2026
Release generated by release-please after #1428.
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.

2 participants