Skip to main content

Property Settings

The following table lists property settings that you can update:

PropertyRequired/Optional?Description
codeinsight.serverRequiredThe Code Insight server URI (for example, http(s)://your\.codeinsight\.server:port/ )\.
codeinsight.auth.tokenRequiredAuthorized user token generated in the Code Insight user interface.
codeinsight.project.nameRequiredThe Code Insight project name where all the inventory information will be published.
plugin.root.pathRequiredThe local root path that can be replaced with path prefix.
plugin.project.nameOptionalThe name of the plugin project (for example, “Codeinsight Jenkins”).
plugin.project.descriptionOptionalThe plugin’s instance name/build number or tag that can be sent to the Code Insight server.
plugin.path.prefixOptionalPrefix to be added to file paths for display to the user. For example, it could be the URL for a Jenkins workspace.
plugin.alias.nameRequiredA name that you define for the scan-agent plugin. The alias is used to represent the “container” (scan root) under which all the files scanned in this instance will be listed in the API output and in the file tree in the Analysis Workbench . This name must be unique within the project.
plugin.proxy.hostRequired when using proxy serverThe IP address or Hostname of the proxy server.
plugin.proxy.portRequired when using proxy serverThe port used for the proxy server.
plugin.proxy.userRequired when using proxy serverThe user name used to authenticate the proxy.
plugin.proxy.passwordRequired when using proxy serverThe password used to authenticate the proxy.
plugin.has.proxyRequired when using proxy serverThe value indicating whether the proxy is enabled for the plugin: true enables the proxy. false disables it.
plugin.hostOptional(Optional) A user-defined name for the instance where the scan-agent plugin is configured to run scans. This property along with the alias property will remain unchanged for each subsequent rescan. Although optional in general, this value is required if you are running the scan in a dynamic host environment. See Note About Rescans Performed by v2.0 and Later Plugins.