Specific parameters of the scan_codebase.py script
Parameter | Required parameter | Description | Example |
---|---|---|---|
--codebase-url |
+ | URL of the main code base repository | --codebase-url https://github.com/appsecco/dvja.git |
--branch |
– | Repository branch or main codebase tag. By default: master | --branch master |
--branch-filter |
– | This parameter allows you to filter branches for scanning. This filter applies both to the main and additional code bases. By default: master | --branch-filter feature/* |
--codebase-name |
– | Name of code base in Maverix. Maverix back-end should use the appcode, codebase-url and branch parameters | --codebase-name dvja-master |
--codebase-type |
– | Type of Version Control System By default: git | --codebase-type git |
--additional-codebase-urls |
– | URL of the additional code base repository. This parameter can contain several links separated by a space. | --additional-codebase-urls http://github.com/appsecco/dvja1.git http://github.com/appsecco/dvja2.git |
--additional-branches |
– | Tag or branch of additional code base. By default: master. Auxiliary parameter. If this parameter isn’t specified or a single value is specified, it applies to all additional codebases specified by the additional_codebase_urls parameter. | --additional-branches maser develop |
--codebase-build-tool |
– | Build tool. Valid values: maven, gradle, nuget, npm, pip. By default: maven | --codebase-build-tool maven |