@@ -174,6 +174,10 @@ Required arguments (one of):
174174 | project-2 | pkg:deb/debian/curl@7.50.3 |
175175 +----------------+---------------------------------+
176176
177+ .. tip ::
178+ In place of a local path, a download URL to the CSV file is supported for the
179+ ``--input-list `` argument.
180+
177181Optional arguments:
178182
179183- ``--project-name-suffix `` Optional custom suffix to append to project names.
@@ -194,14 +198,15 @@ Optional arguments:
194198Example: Processing Multiple Docker Images
195199^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
196200
197- Assume multiple Docker images are available in a directory named ``local-data/ `` on
201+ Suppose you have multiple Docker images stored in a directory named ``local-data/ `` on
198202the host machine.
199- To process these images with the ``analyze_docker_image `` pipeline using asynchronous
200- execution::
203+ To process these images using the ``analyze_docker_image `` pipeline with asynchronous
204+ execution, you can use this command ::
201205
202206 $ docker compose run --rm \
203- --volume local-data/:/input-data:ro \
204- web scanpipe batch-create input-data/ \
207+ --volume local-data/:/input-data/:ro \
208+ web scanpipe batch-create
209+ --input-directory /input-data/ \
205210 --pipeline analyze_docker_image \
206211 --label "Docker" \
207212 --execute --async
@@ -224,6 +229,19 @@ Each Docker image in the ``local-data/`` directory will result in the creation o
224229project with the specified pipeline (``analyze_docker_image ``) executed by worker
225230services.
226231
232+ Example: Processing Multiple Develop to Deploy Mapping
233+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
234+
235+ To process an input list CSV file with the ``map_deploy_to_develop `` pipeline using
236+ asynchronous execution::
237+
238+ $ docker compose run --rm \
239+ web scanpipe batch-create \
240+ --input-list https://url/input_list.csv \
241+ --pipeline map_deploy_to_develop \
242+ --label "d2d_mapping" \
243+ --execute --async
244+
227245`$ scanpipe list-pipeline [--verbosity {0,1,2,3}] `
228246--------------------------------------------------
229247
0 commit comments