-
Notifications
You must be signed in to change notification settings - Fork 115
Fix Command
David Alcantar edited this page May 17, 2023
·
4 revisions
The Fix command applies fixes from a DevSkim Sarif file.
Usage: devskim fix [arguments] [options]
Arguments:
-I, --source-code Required. Path to the parent directory containing the source code that was scanned to
produce the sarif.
-O, --sarif-result Required. Filename for the output sarif from DevSkim Analyze.
Options:
--dry-run Print information about files that would be changed without changing them.
--all Apply all fixes.
--files Comma separated list of paths to apply fixes to.
--rules Comma separated list of rules to apply fixes for.
-x, --console-verbosity Console verbosity [Verbose|Debug|Information|Warning|Error|Fatal]. (Default: Information)
--disable-console Disable console output of logging messages. (Default: false)
-v, --log-file-level Log file level [Verbose|Debug|Information|Warning|Error|Fatal]. (Default: Error)
-l, --log-file-path Log file path. If not set, will not log to file.
--help Show help information.
--version Display version information.
devskim fix -I /home/user/myproject/ -O /home/user/myproject/DevSkim.sarif