Skip to content

Commit

Permalink
Add changelog entry and documentation for the new pipeline #1182
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <tdruez@nexb.com>
  • Loading branch information
tdruez committed May 29, 2024
1 parent 997cd6a commit 1f4cce4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
v34.6.0 (unreleased)
--------------------

- Add a new ``scan_for_virus`` add-on pipeline based on ClamAV scan.
https://github.com/nexB/scancode.io/issues/1182

- Add ability to filter by tag on the resource list view.
https://github.com/nexB/scancode.io/issues/1217

Expand Down
8 changes: 8 additions & 0 deletions docs/built-in-pipelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,14 @@ Scan Codebase
:members:
:member-order: bysource

.. _pipeline_scan_for_virus:

Scan For Virus
--------------
.. autoclass:: scanpipe.pipelines.scan_for_virus.ScanForVirus()
:members:
:member-order: bysource

.. _pipeline_scan_single_package:

Scan Single Package
Expand Down
2 changes: 1 addition & 1 deletion scanpipe/pipelines/scan_for_virus.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


class ScanForVirus(Pipeline):
"""Run a ClamAV scan on the uploaded file to detect virus infection."""
"""Run a ClamAV scan on the codebase directory to detect virus infection."""

download_inputs = False
is_addon = True
Expand Down

0 comments on commit 1f4cce4

Please sign in to comment.