We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an option to disable PowerShell-based rules and conventions from being run from the current repository.
This allows customers to harden security within their DevOps pipelines.
Expose an option (Execution.RestrictScriptSource) to:
Execution.RestrictScriptSource
Unrestricted
ModuleOnly
DisablePowerShell
This will allow customers additional options above the existing Execution.LanguageMode option.
The text was updated successfully, but these errors were encountered:
Allow disabling PowerShell features microsoft#1742
11cdb38
Allow disabling PowerShell features #1742 (#1743)
c0c0600
BernieWhite
Successfully merging a pull request may close this issue.
Provide an option to disable PowerShell-based rules and conventions from being run from the current repository.
This allows customers to harden security within their DevOps pipelines.
Expose an option (
Execution.RestrictScriptSource
) to:Unrestricted
- Allow running of PowerShell rules and conventions from the workspace and installed modules.ModuleOnly
- Allow running of PowerShell rules and conventions from installed modules only.DisablePowerShell
- Do not allow running of any PowerShell rules and conventions, only YAML and JSON based rules and resources will be allowed.This will allow customers additional options above the existing Execution.LanguageMode option.
The text was updated successfully, but these errors were encountered: