feat: report workspaceId, backend and loginType in the organization workspace report - #116
Open
jirkasemmler wants to merge 1 commit into
Open
feat: report workspaceId, backend and loginType in the organization workspace report#116jirkasemmler wants to merge 1 commit into
jirkasemmler wants to merge 1 commit into
Conversation
…eport `manage:describe-organization-workspaces` described what each workspace is for but not how its backend user authenticates, so auditing an organization ahead of the Snowflake password-authentication deprecation meant joining the report against a separate export of Snowflake users just to tell password workspaces from key-pair ones. `loginType` answers that directly. `workspaceId` is added for the same reason: it is what `manage:delete-project-workspaces-by-id` takes as input, so a row of this report can now be fed straight into the deletion step instead of being looked up again. `backend` comes along because it is free and the report already spans backends. Also fixes a typo that made the command unusable: `lismkdirtWorkspaces()` is not a method on the Workspaces client, so every invocation died with a fatal error. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Aug 27, 2026
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:describe-organization-workspacesnow reportsloginType(snowflake-legacy-service= password,*-keypair/*-sso= already migrated), so an organization can be audited for the Snowflake password-authentication deprecation without joining the report against a separate export of Snowflake users.workspaceId- it is the inputmanage:delete-project-workspaces-by-idtakes, so a row of this report now feeds straight into the deletion step instead of needing a second lookup - andbackend.lismkdirtWorkspaces()is not a method on the Workspaces client, so every invocation died with a fatal error.The new columns are appended in place rather than at the end of the row, so anything parsing this CSV by column name keeps working; anything parsing it by position does not.
Additional notes
Same as #115: the 4 phpstan errors in
FlowMigration/ProjectClientsFactory.phpare pre-existing onmainat c4ef6b4 and unchanged by this PR. Locally phpunit (76 tests) and phpcs are green.🤖 Generated with Claude Code