General configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
--folder
Specifies the root folder of the project.Please note that this option is not supported by the dockerized client yet.
Default: the current folder
Example: --folder=/projects/sample
--auth-file
Specifies where to find the authorisation file, which can be downloaded from the "Tokens" view of the Meterian Dashboard
Example: --auth-file=~/ci.json
--interactive
When no authorisation file is present (or is invalid) and an authentication token is not present in the environment variables (see the section for more information) this option allows using the system standard internet browser in order to perform the authentication
Default: true
Example: --interactive=false
--fail-gracefully
In case of any system failure the client will report a non-zero exit code, thus failing or blocking the build if configured in a pipeline: this flag forces a 0 exit in case of a system failure
Default: false
Example: --fail-gracefully
or --fail-gracefully=true
--exclude-folders
Certain scanners are able to work recursively: in that situation is possible to exclude folders from the analysis using standard global regexes separated by commas
Example: --exclude-folders=**/*.samples,**/*.labs
--ignore-exclusions
Instruct the scanner to ignore all exclusions reported in the .meterian
flle
Default: false
Example: --ignore-exclusions
or --ignore-exclusions=true
--exclude-roots
In a multi project setting, should you need to exclude certain sub-projects you can use this flag to specify them
Example: --exclude-roots=app,lib
Given the above structure the example flag will cause project app
and lib
and all their sub-dependencies to be excluded from the analysis
--external-exclusions
Specifies where to load the .meterian
exclusions file from instead of loaded it directly from within your project folder (read more about exclusions )
Example: --external-exclusions=/path/to/a/folder