feat: add manage:list-backends command with cleanup verdicts - #111
Draft
jirkasemmler wants to merge 1 commit into
Draft
feat: add manage:list-backends command with cleanup verdicts#111jirkasemmler wants to merge 1 commit into
jirkasemmler wants to merge 1 commit into
Conversation
Read-only inventory of a stack's storage backends. Fetches the detail of every backend to include loginType, keyPairLastRotatedAt, SSO and dynamic backend flags, assigns a cleanup verdict per backend and prints ID lists ready for manage:delete-backend. Used for the DMD-1638 prod cleanup. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Changes:
manage:list-backendscommand — read-only inventory of a stack's storage backends with a cleanup verdict per backend (DELETE_UNSUPPORTED_UNUSED/DELETE_UNUSED/REVIEW_UNSUPPORTED_IN_USE/REVIEW_MAINTAINER_ONLY/KEEP). Prints comma-separated ID lists ready to paste intomanage:delete-backend.GET /manage/storage-backend/{id}) to add columns missing from the list response:loginType,keyRotated,dynBackends,useSso,ssoEnabled,ssoConfigured.--format=table|csv(CSV keeps stdout parseable, summary goes to stderr),--verdict=Xand--unsupportedfilters; summary is always computed over the whole stack.cli.php, documented in README.Used for the DMD-1638 prod backend cleanup — drove the inventory and keypair review of all 14 prod stacks.
Additional notes
🤖 Generated with Claude Code