Git Related Configuration
Software Risk Manager allows you to configure each project to automatically use source
from a git repository as input for each analysis. When configuring a connection to a git
repository, Software Risk Manager will, by default, disallow the usage of “local” URLs
(i.e., URLs that point to a file in the Software Risk Manager file system). This is
enforced as a security measure to prevent system information exposure via the validation
user interface. Although it is strongly recommended that this setting be left disabled,
in the exceptional cases where it is necessary to use local git repositories, set the
git.config.allow-local-urls
property to true
.
When configuring a git repository connection, Software Risk Manager uses a request timeout
of 60 seconds by default. This timeout can be changed by setting a value for the
git.config.timeout
property. For example, a value of
2 minutes
changes the timeout to 2 minutes.