Skip to content

Scoped parameter-alias allowlist - #204

Merged
Splaxi merged 2 commits into
d365collaborative:mainfrom
es-alficody:t3/alias-allowlist
Oct 25, 2026
Merged

Splaxi merged 2 commits into
d365collaborative:mainfrom
es-alficody:t3/alias-allowlist

Conversation

@es-alficody

Copy link
Copy Markdown
Contributor

Adds allowedParameterAliases to ps1-lint.json, honored at declaration and use sites (exact, case-insensitive match). Public functions allow only the established PpacEnvId pipeline alias; any new alias fails the ps1-lint gate until a reviewer adds it to the list. Verified: allowlisted alias passes, unknown/new aliases and abbreviations still fail, wrong-typed config errors clearly.

Adds allowedParameterAliases to ps1-lint.json, honored at declaration and use sites. Public functions allow only the established PpacEnvId pipeline alias; any new alias fails the lint gate until a reviewer adds it to the list.
Both alias rules are always on. allowedCommandAliases and allowedParameterAliases are the sole mechanism, honored at declaration and use sites with exact case-insensitive match. The old rules object is rejected loudly. Public functions allow only PpacEnvId.
@Splaxi
Splaxi merged commit 0d641fd into d365collaborative:main Oct 25, 2026
8 checks passed
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