Skip to content

Commit f2d3223

Browse files
committed
Revert #4651 for 2.3 branch
1 parent ece2c81 commit f2d3223

File tree

3 files changed

+0
-49
lines changed

3 files changed

+0
-49
lines changed

book/installation.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -288,18 +288,6 @@ them all at once:
288288
Depending on the complexity of your project, this update process can take up to
289289
several minutes to complete.
290290

291-
.. tip::
292-
293-
Symfony provides a command to check whether your project's dependencies
294-
contain any know security vulnerability:
295-
296-
.. code-block:: bash
297-
298-
$ php app/console security:check
299-
300-
A good security practice is to execute this command regularly to be able to
301-
update or replace compromised dependencies as soon as possible.
302-
303291
.. _installing-a-symfony2-distribution:
304292

305293
Installing a Symfony Distribution

book/security.rst

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
12611233
Final 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

contributing/code/security.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ confirmed, the core-team works on a solution following these steps:
3838
#. Publish the post on the official Symfony `blog`_ (it must also be added to
3939
the "`Security Advisories`_" category);
4040
#. Update the security advisory list (see below).
41-
#. Update the public `security advisories database`_ maintained by the
42-
FriendsOfPHP organization and which is used by the ``security:check`` command.
4341

4442
.. note::
4543

@@ -95,11 +93,6 @@ of the downstream projects included in this process:
9593
Security Advisories
9694
-------------------
9795

98-
.. tip::
99-
100-
You can check your Symfony application for known security vulnerabilities
101-
using the ``security:check`` command. See :ref:`book-security-checking-vulnerabilities`.
102-
10396
This section indexes security vulnerabilities that were fixed in Symfony
10497
releases, starting from Symfony 1.0.0:
10598

@@ -129,4 +122,3 @@ releases, starting from Symfony 1.0.0:
129122
.. _Git repository: https://github.com/symfony/symfony
130123
.. _blog: http://symfony.com/blog/
131124
.. _Security Advisories: http://symfony.com/blog/category/security-advisories
132-
.. _`security advisories database`: https://github.com/FriendsOfPHP/security-advisories

0 commit comments

Comments
 (0)