git clone https://gitlab.com/typomedia/inspector.git
cd inspector/
composer install --no-dev
bin/inspector check [options] [--] [<name>]
lockfile The path to the composer.lock file [default: "composer.lock"]
-s, --severity=SEVERITY Defines the severity level [default: "low"]
-w, --whitelist[=WHITELIST] The path to the whitelist.json file
bin/inspector check --severity high example.json
bin/inspector check --help
{
"packages": [
{
"name": "bootstrap",
"version": "v3.3.7",
"homepage": "bootstrap.com"
},
{
"name": "twig/twig",
"version": "v2.14.11",
"whitelist": [
"GHSA-52m2-vc4m-jj33",
"CVE-2022-39261"
]
},
{
"name": "dompdf/dompdf",
"version": "v1.0.2"
}
]
}
2022 Typomedia Foundation. Created with ♥ in Heidelberg by Philipp Speck.