Loading... Background job is running.
- Quick Start Guide
- Private Networks and Firewalls
- Using Private Packagist in a Composer project
- API Documentation
- Security Monitoring
- Private Composer Packages
- Mirroring Composer Packages
- GitHub, Bitbucket, GitLab and Other Integrations
- Security Monitoring
- Dependency License Review
Private Packagist Enterprise
Private Packagist Security Monitoring searches the dependencies of your projects for known security vulnerabilities. Projects, which are Composer packages with a composer.lock file, are analyzed every time you push a new commit to your project and when a new vulnerability is published in one of the databases.
The following databases are used to analyze your projects:
Security monitoring is available for packages in your organization. To monitor your projects, you must add them to Private Packagist as packages, even if you do not intend to install them as a dependency.
Configuring Monitoring Settings
The default branch of every project is automatically monitored if a composer.lock file is present. Additional branches to be monitored can be selected on the package page.
Security monitoring can be disabled for individual project packages on the package security page or for all projects on the organization’s security settings page. Organizations using the agency add-on have the option to disable security monitoring for individual subrepositories.
Every user receives security notifications by email for all projects they have access to by default. Users can unsubscribe either from individual projects or from all security notifications if they do not wish to receive any email notifications.
Notification channels allow you to receive security notifications via other means than email to user accounts. The following types of notification channels are available:
- Email: Sends notifications to a list of email addresses
- Slack Webhook: Sends notifications to your configured Slack channel
- Microsoft Teams Webhook: Sends notifications to your configured Microsoft Teams channel
- Webhook: Sends an HTTP POST request to a defined URL optionally signed with a user supplied secret. You can validate the secret using our api client or by running
hash_equals('sha1='.hash_hmac('sha1', (string) $request->getBody(), $SECRET_USER_CHOSEN), $response->getHeader('Packagist-Signature'));
Notification channels can be added on your organization’s settings page under Notification Channels -> Add Notification Channel.
Once you create a notification channel, you can assign it to the packages to be monitored on the organization's security settings.
Resolving Security Issues
When Private Packagist finds a security issue it will list safe versions, which you can update to, in order to resolve the problem. Once your project has been updated to use a secure version of the dependency the issue will automatically be closed. You can also manually close an issue for instance in the case where the affected component is not actually used in your project.
Login to create an organization and start your free trial!