sl ngsast

The ngsast command allows you to generate a sample ShiftLeft CORE configuration file and validate any changes you make.

Usage

To run: sl ngsast [command options]

Command options

OptionArgumentsDescription
defaultCreate a default (sample) config file for NG SAST
validateValidate a custom config file for NG SAST; does not run code analysis. If the config file isn't located in the default location (i.e., the root of the project repo), provide the path using the --config flag: sl ngsast validate --config path/to/config/file.yaml