Configuring Composer
How to configure the npm package manager
This page explains how to configure the Composer package manager to pull packages from the Seal artifact server based on your existing setup.
Make sure you have the access token for the server ready.
Pull directly from the global Composer repository
The Composer repository is configured via the following commands:
In the
$PROJECT_ID
put the name of your project. This value will later be used in the reporting to indicate which project pulled which vulnerable package.In the
$TOKEN
we need to put the access token to the artifact server.
Pull from JFrog's Artifactory
Go to JFrog's Artifactory configuration and create a new remote Composer repository.
In the Basic configuration, choose whatever Repository Key you like.
Set
https://packagist.sealsecurity.io
as the URL.In the User Name field use
jfrog
.In the Password / Access Token field paste the token you created earlier.
Click the
Test
button. This will test whether the connection and authentication to the Seal artifact server is configured properly.Save the new repository, and set it as the top priority remote repository in the virtual repository you're using.
Last updated