bjompen / PSSecretScanner

Scan your repos for accidentily exposed secrets using powershell
MIT License
41 stars 5 forks source link

Change recursive behaviour #18

Closed bjompen closed 2 years ago

bjompen commented 2 years ago

Today we scan repos recursively. In order to create the console plugin we need to change this behaviour to be recursive on request.

There are two options on how to this:

jdhitsolutions commented 2 years ago

The correct PowerShell model would be to define this parameter as a [Switch]. If you want to recurse by default, then change the parameter to -NoRecurse.