Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.45 KB

enlightn.md

File metadata and controls

52 lines (35 loc) · 1.45 KB

Enlightn Security Checker

The Security Checker will check your composer.lock file for known security vulnerabilities.

Composer

composer require --dev enlightn/security-checker

Config

The task lives under the securitychecker_enlightn namespace and has the following configurable parameters:

# grumphp.yml
grumphp:
    tasks:
        securitychecker_enlightn:
            lockfile: ./composer.lock
            run_always: false
            allow_list:
                - CVE-2018-15133
                - CVE-2024-51755
                - CVE-2024-45411

lockfile

Default: ./composer.lock

If your composer.lock file is located in an exotic location, you can specify the location with this option. By default, the task will try to load a composer.lock file in the current directory.

run_always

Default: false

When this option is set to false, the task will only run when the composer.lock file has changed. If it is set to true, the composer.lock file will be checked on every commit.

allow_list

Default: []

This option allows you to specify a list of CVE identifiers that should be ignored during the security check. This is useful if you have assessed certain vulnerabilities and determined that they do not pose a risk to your project. The CVE identifiers should be provided as an array of strings. For example:

allow_list:
    - CVE-2018-15133
    - CVE-2024-51755
    - CVE-2024-45411