@@ -174,6 +174,8 @@ Scan source code for dependencies, but do not decorate them.
174174 - Description
175175 * - --output <file name>, -o <file name>
176176 - Output result file name (optional - default STDOUT)
177+ * - --container <image_name:tag>
178+ - Analyze dependencies from a Docker container image instead of a directory
177179 * - --sc-command SC_COMMAND
178180 - Scancode command and path if required (optional - default scancode)
179181 * - --sc-timeout SC_TIMEOUT
@@ -301,6 +303,39 @@ Both commands also support these general options:
301303 * --trace, -t: Enable trace messages
302304 * --quiet, -q: Enable quiet mode
303305
306+ ------------------------------------
307+ Container Scanning: container-scan, cs
308+ ------------------------------------
309+
310+ Scans Docker container images for dependencies, extracting and analyzing components within containerized applications.
311+
312+ .. code-block :: bash
313+
314+ scanoss-py container-scan -i < image_name:tag>
315+
316+ .. list-table ::
317+ :widths: 20 30
318+ :header-rows: 1
319+
320+ * - Argument
321+ - Description
322+ * - --image <image_name:tag>, -i <image_name:tag>
323+ - Docker image name and tag to scan (required)
324+ * - --output <file name>, -o <file name>
325+ - Output result file name (optional - default STDOUT)
326+ * - --include-base-image
327+ - Include base image dependencies in the scan results
328+ * - --format <format>, -f <format>
329+ - Output format: {json} (optional - default json)
330+ * - --timeout <seconds>, -M <seconds>
331+ - Timeout in seconds for API communication (optional - default 600)
332+ * - --key <token>, -k <token>
333+ - SCANOSS API Key token (optional - not required for default OSSKB URL)
334+ * - --proxy <url>
335+ - Proxy URL to use for connections
336+ * - --ca-cert <file>
337+ - Alternative certificate PEM file
338+
304339-----------------
305340Component:
306341-----------------
@@ -434,4 +469,4 @@ The Scanoss Open Source scanoss-py package is released under the MIT license.
434469
435470 SCANOSS Website <https://www.scanoss.com/ >
436471 GitHub <https://github.com/scanoss >
437- Software transparency foundation <https://www.softwaretransparency.org/ >
472+ Software transparency foundation <https://www.softwaretransparency.org/ >
0 commit comments