1
0
Fork 0

fix(docs): Audit command dependency from custom repositories (#12212)

pull/11772/merge
Michał Mleczko 2024-11-27 16:31:32 +01:00 committed by GitHub
parent 302ecf824c
commit 74f68adeb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -1069,9 +1069,10 @@ php composer.phar archive vendor/package 2.0.21 --format=zip
## audit
This command is used to audit the packages you have installed
for possible security issues. It checks for and
lists security vulnerability advisories according to the
[Packagist.org api](https://packagist.org/apidoc#list-security-advisories).
for potential security issues. It checks for and
lists security vulnerability advisories using the
[Packagist.org api](https://packagist.org/apidoc#list-security-advisories)
by default or other repositories if specified in the `repositories` section of `composer.json`.
The audit command returns the amount of vulnerabilities found. `0` if successful, and up to `255` otherwise.