Skip to content

Add rules for whether a script works under ConstrainedLanguage mode #1677

Open
@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature

Windows admins using Code Integrity may want to know if their scripts require full language mode or will work with constrained language mode. It would be helpful to have PSSA rule to let them know which parts of their scripts won't work under constrained language mode.

Addtionally, scripts running in a Code Integrity environment have some additional checks which may make sense to have as rules as well.

https://devblogs.microsoft.com/powershell/powershell-constrained-language-mode

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions