Vulnerability scanning on private packages - Maven
When letting Aikido scan your dependencies in repositories with private maven packages, Aikido would need to also have access to the private packages. You can now provide private Maven settings.xml configuration in Aikido for this.
Prerequisites
Prepare settings.xml
For private Maven packages, Aikido uses a settings.xml file to authenticate with the private registry.
Example settings.xml for accessing private packages on mvnrepository registry:
Make sure your pom.xml files have releases
or snapshots
enabled
Configuration in Aikido
Once the prerequisites are fulfilled, you can configure Aikido to authenticate with your private NuGet registry when updating the dependencies by following the steps below:
Go to your account's Settings > Repositories page in Aikido.
Click Actions > Private Registry Connections.
Dropdown menu displaying repository settings and private registry connections options. Select the Maven tab, and paste your settings.xml contents here.
Private registry connection setup for Maven with settings.xml configuration snippet. Click Apply Changes to save the configuration.
In the next scans, this settings.xml will be used by Aikido.
Last updated
Was this helpful?