Mend Prioritize Command Line Parameters
The following are Prioritize-specific parameters that are supported for single and multi-module analysis.
Parameter | Description | Required? | Supported Languages | Valid Values | Default Values |
---|---|---|---|---|---|
appPath | Target path to be analyzed | Y | Java (*.jar, *war, *.ear) JS (package.json) Python (requirement.txt, setup.py, pip file) | Absolute/relative <path-to-file> | N/A |
d | Project folder path to be analyzed | Y | Java; JavaScript; Python | Absolute/relative <path-to-folder> | N/A |
euaMode | Analysis mode: 1 (Fast Scan - for Java only); 2 (Precise Scan - default full analysis) | N | Fast Scan is supported only in Java. | 1|2
| 2 |
iaLanguage | Scanning of a Java project without automatic resolving of dependencies. This parameter only applies to POJO cases (not Maven or Gradle profiles). This parameter accepts a single value (Java) and instructs the analysis to review all dependencies among the project files stored in a single, referenced folder | N | Java | Java | N/A |
ignoreEuaNotices | EUA code classification requested to not result in a returned Unified Agent error code; the parameter’s set value denotes the classification of non-EUA000 codes that will be logged but ignored, nonetheless | N | Java; JavaScript; Python | ALL | NONE | INFORMATIONAL ALL: All EUA codes will be ignored NONE: No EUA codes will be ignored INFORMATIONAL: INFORMATIONAL EUA codes will be ignored | INFORMATIONAL |
enableImpactAnalysis | Analysis enable status; the setting must be true to run analysis | Y | Java; JavaScript; Python | True/False | N/A |
euaOffline | Offline analysis mode; must be true to run analysis in offline fashion | N | Java; JavaScript; Python | [NONE] | N/A |
noConfig | Analysis will be run based on explicitly entered command line parameters rather than Unified Agent configuration parameters; this option allows for analysis if a unified agent configuration file cannot be employed. Once noConfig is set to true, all Prioritize mandatory parameters (should be given in the command line. | N | Java; JavaScript; Python | True/False | N/A |
The following are Prioritize Command Line Parameters for Multi-module Analysis - both for Unified Agent and xModuleAnalyzer.
All parameters are supported for Java, JavaScript, and Python only.
Parameter | Description | Required for Module: | Valid Values | Default Value |
---|---|---|---|---|
analyzeMultiModule | Creation of a setup file for multi-module analysis (the file is referenced by xModuleAnalyzer) Needed for creation of a new setup file. | Unified Agent | [NONE] | N/A |
overrideExistingSetup | Replacement of an existing multi-module setup file with a newly one created by this command (this is required to override an existing configuration file) | UA with analyzeMultiModule | [NONE] | N/A |
ignoreEuaNotices | EUA code classification requested to not result in a returned Unified Agent error code; the parameter’s set value denotes the classification of non-EUA000 codes that will be logged but ignored, nonetheless | xModuleAnalyzer | ALL | NONE | INFORMATIONAL | INFORMATIONAL |
logPath | Custom path for the multi-module analysis log | xModuleAnalyzer | Absolute/relative <path-to-file> | N/A |
runInParallel | Preferred execution of analysis; parallel execution allows for faster analysis overall of multiple processes | xModuleAnalyzer | True/False | True |