Skip to content

Add: optional Scrutiny API token for Disk Health - #470

Merged
SandObserver merged 1 commit into
mainfrom
feat/scrutiny-api-token
Oct 17, 2026
Merged

SandObserver merged 1 commit into
mainfrom
feat/scrutiny-api-token

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Add an optional scrutinyToken secret field to the Disk Health widget, shown for the Scrutiny source.
  • Send it as Authorization: Bearer <token> on /api/summary for both the card and the bay picker. No header is sent when the field is empty.
  • Point the Scrutiny 401/403 message at the token.
  • Add the field label and hint in all six locales.

Testing
All green, e2e included. Added tests that the token is sent only when set, for the card and the bay picker.

Changelog

Added

  • Add an optional API token for Scrutiny in Disk Health, needed from Scrutiny 2.0.

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

Send the token as a Bearer header on the summary request and the bay
picker when it is set. Scrutiny 2.0 requires a token by default.
@SandObserver SandObserver added the enhancement New feature or request label Oct 17, 2026
@SandObserver
SandObserver merged commit 87272a6 into main Oct 17, 2026
6 checks passed
@SandObserver
SandObserver deleted the feat/scrutiny-api-token branch October 17, 2026 14:21
stackyard-release Bot pushed a commit that referenced this pull request Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant