Skip to content

Update Checking Security Vulnerabilities doc part #16356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,11 @@ require --no-unpack ...`` option to disable unpacking.
Checking Security Vulnerabilities
---------------------------------

The ``symfony`` binary created when you `install Symfony CLI`_ provides a command to
check whether your project's dependencies contain any known security
vulnerability:
A good and recommended security practice is to check from time to time whether your
project's dependencies contain any known security vulnerability. You can leverage the
`Local PHP Security Checker`_ to do so.

.. code-block:: terminal

$ symfony check:security

A good security practice is to execute this command regularly to be able to
You can also execute this process regularly to be able to
update or replace compromised dependencies as soon as possible. The security
check is done locally by fetching the public `PHP security advisories database`_,
so your ``composer.lock`` file is not sent on the network.
Expand Down Expand Up @@ -314,6 +310,7 @@ Learn More
.. _`The Symfony Demo Application`: https://github.com/symfony/demo
.. _`Symfony Flex`: https://github.com/symfony/flex
.. _`PHP security advisories database`: https://github.com/FriendsOfPHP/security-advisories
.. _`Local PHP Security Checker`: https://github.com/fabpot/local-php-security-checker
.. _`Symfony releases`: https://symfony.com/releases
.. _`Main recipe repository`: https://github.com/symfony/recipes
.. _`Contrib recipe repository`: https://github.com/symfony/recipes-contrib
Expand Down