@@ -1230,34 +1230,6 @@ cookie will be ever created by Symfony):
12301230
12311231.. _book-security-checking-vulnerabilities :
12321232
1233- Checking for Known Security Vulnerabilities in Dependencies
1234- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1235-
1236- .. versionadded :: 2.5
1237- The ``security:check `` command was introduced in Symfony 2.5. This command is
1238- included in ``SensioDistributionBundle ``, which has to be registered in your
1239- application in order to use this command.
1240-
1241- When using lots of dependencies in your Symfony projects, some of them may
1242- contain security vulnerabilities. That's why Symfony includes a command called
1243- ``security:check `` that checks your ``composer.lock `` file to find any known
1244- security vulnerability in your installed dependencies:
1245-
1246- .. code-block :: bash
1247-
1248- $ php app/console security:check
1249-
1250- A good security practice is to execute this command regularly to be able to
1251- update or replace compromised dependencies as soon as possible. Internally,
1252- this command uses the public `security advisories database `_ published by the
1253- FriendsOfPHP organization.
1254-
1255- .. tip ::
1256-
1257- The ``security:check `` command terminates with a non-zero exit code if
1258- any of your dependencies is affected by a known security vulnerability.
1259- Therefore, you can easily integrate it in your build process.
1260-
12611233Final Words
12621234-----------
12631235
@@ -1286,4 +1258,3 @@ Learn more from the Cookbook
12861258
12871259.. _`online tool` : https://www.dailycred.com/blog/12/bcrypt-calculator
12881260.. _`frameworkextrabundle documentation` : http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
1289- .. _`security advisories database` : https://github.com/FriendsOfPHP/security-advisories
0 commit comments