feat(runtime)!: remove legacy dlp-profiles command (use 'runtime dlp profiles' instead)#227
Merged
Merged
Conversation
`airs runtime dlp-profiles list` (Management API) removed; use `airs runtime dlp profiles list` (DLP namespace) — canonical, populated IDs, paginated, richer fields. See release notes for legacy-only vs new-only profile differences observed across endpoints (#226).
This was referenced May 28, 2026
cdot65
added a commit
that referenced
this pull request
May 28, 2026
7 tasks
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.
Summary
Removes the legacy
airs runtime dlp-profiles list(Management API) command. The newairs runtime dlp profiles list(DLP namespace) shipped in v2.9 is now the canonical DLP profile listing.Breaking change — marked with
!in the conventional-commit title. Minor bump queued via changeset (per project policy: the new namespace command is a fully shipped equivalent, the legacy path is removed but its replacement has been GA since v2.9).Closes the removal half of the work tracked in #226 (the override was applied by maintainer in the issue's closing comment).
What changed
airs runtime dlp-profiles list(no moredlp-profilessubcommand onruntime).SdkManagementService.listDlpProfiles,DlpProfileInfotype,ManagementServiceinterface entry,renderDlpProfileListrenderer.runtime dlpgroup description no longer points users at the removed command.docs/cli/runtime/dlp-profiles.mdremoved,docs/cli/index.md+SUMMARY.mdrefreshed. Typedoc-generateddocs/developers/api/**updated for line-shift + dropped method.Migration call-out (per maintainer's required addition)
docs/about/release-notes.mdnow ships an explicit Migration note covering the legacy-only/new-only profile name differences observed across the two endpoints on the same tenant:PII Basic Block All Data— acceptable loss (Management artifact).Malware— bonus.--page/--sizepast the first page.[{id,name}]with empty IDs; new returns{items:[{id,name,type,profile_type,status,version}], page:{...}}.TDD
RED first — added
tests/unit/cli/runtime-commands.spec.tsasserting:runtimehas nodlp-profilessubcommandruntimestill has adlpgroup with aprofilessubcommandThen migrated:
tests/unit/scripts/render.spec.ts— dropped the dlp-profiles fixture + assertion, added negative assertion that noruntime/dlp-profilesentry is emittedtests/unit/airs/management.spec.ts— droppedlistDlpProfilesdescribe + mockTest plan
pnpm lint— passes (only pre-existing non-error warnings)pnpm tsc --noEmit— passespnpm test— 707/707 passingpnpm docs:check— passes (123 commands, 30 on allowlist)pnpm docs:build— passes (mkdocs --strict)pnpm dev runtime dlp-profiles list→error: unknown command 'dlp-profiles'pnpm dev runtime dlp profiles list --output json→ returns paginated DLP profiles against live tenantRelease
.changeset/runtime-remove-legacy-dlp-profiles.mdqueued (minor). No version bump or release cut in this PR.Out of scope
--dlp-profiles <list>flag on profile create/update (unrelated feature) — untouched.