Skip to content

Contents of a Minimum ruleset #386

Open
@rkeithhill

Description

@rkeithhill

I'll start with a list of some rules that probably should not be in a Minimum ruleset:

  • PSAvoidUsingInternalURLs (vast majority of scripts are not distributed outside of orgs IMO)
  • PSAvoidUsingComputerNameHardcoded (unnecessary for scripts not shared)

There are probably more rules than this that should be in a Minimum ruleset but this is just starting the conversation:

  • PSUseDeclaredVarsMoreThanAssignments
  • PSPossibleIncorrectComparisonWithNull
  • PSAvoidUsingUserNameAndPassWordParams
  • PSAvoidUsingConvertToSecureStringWithPlainText

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