@@ -1293,34 +1293,6 @@ cookie will be ever created by Symfony):
12931293
12941294.. _book-security-checking-vulnerabilities :
12951295
1296- Checking for Known Security Vulnerabilities in Dependencies
1297- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1298-
1299- .. versionadded :: 2.5
1300- The ``security:check `` command was introduced in Symfony 2.5. This command is
1301- included in ``SensioDistributionBundle ``, which has to be registered in your
1302- application in order to use this command.
1303-
1304- When using lots of dependencies in your Symfony projects, some of them may
1305- contain security vulnerabilities. That's why Symfony includes a command called
1306- ``security:check `` that checks your ``composer.lock `` file to find any known
1307- security vulnerability in your installed dependencies:
1308-
1309- .. code-block :: bash
1310-
1311- $ php app/console security:check
1312-
1313- A good security practice is to execute this command regularly to be able to
1314- update or replace compromised dependencies as soon as possible. Internally,
1315- this command uses the public `security advisories database `_ published by the
1316- FriendsOfPHP organization.
1317-
1318- .. tip ::
1319-
1320- The ``security:check `` command terminates with a non-zero exit code if
1321- any of your dependencies is affected by a known security vulnerability.
1322- Therefore, you can easily integrate it in your build process.
1323-
13241296Final Words
13251297-----------
13261298
@@ -1349,4 +1321,3 @@ Learn more from the Cookbook
13491321
13501322.. _`online tool` : https://www.dailycred.com/blog/12/bcrypt-calculator
13511323.. _`frameworkextrabundle documentation` : http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
1352- .. _`security advisories database` : https://github.com/FriendsOfPHP/security-advisories
0 commit comments