Skip to content

Commit

Permalink
Revert "Remove descriptions about "profile""
Browse files Browse the repository at this point in the history
This reverts commit c4b2d52.
  • Loading branch information
a-takahashi223 committed Apr 23, 2022
1 parent c4b2d52 commit 2d6cd55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/config.rst
Expand Up @@ -78,7 +78,7 @@ look like the following:

.. code-block:: yaml
### configuration may optionally select or skip tests
### profile may optionally select or skip tests
# (optional) list included tests here:
tests: ['B201', 'B301']
Expand Down
5 changes: 5 additions & 0 deletions doc/source/start.rst
Expand Up @@ -40,6 +40,11 @@ context and only reporting on the high-severity issues::

bandit examples/*.py -n 3 -lll

Bandit can be run with profiles. To run Bandit against the examples directory
using only the plugins listed in the ``ShellInjection`` profile::

bandit examples/*.py -p ShellInjection

Bandit also supports passing lines of code to scan using standard input. To
run Bandit with standard input::

Expand Down

0 comments on commit 2d6cd55

Please sign in to comment.