@@ -174,6 +174,8 @@ Scan source code for dependencies, but do not decorate them.
174
174
- Description
175
175
* - --output <file name>, -o <file name>
176
176
- Output result file name (optional - default STDOUT)
177
+ * - --container <image_name:tag>
178
+ - Analyze dependencies from a Docker container image instead of a directory
177
179
* - --sc-command SC_COMMAND
178
180
- Scancode command and path if required (optional - default scancode)
179
181
* - --sc-timeout SC_TIMEOUT
@@ -301,6 +303,39 @@ Both commands also support these general options:
301
303
* --trace, -t: Enable trace messages
302
304
* --quiet, -q: Enable quiet mode
303
305
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
+
304
339
-----------------
305
340
Component:
306
341
-----------------
@@ -434,4 +469,4 @@ The Scanoss Open Source scanoss-py package is released under the MIT license.
434
469
435
470
SCANOSS Website <https://www.scanoss.com/ >
436
471
GitHub <https://github.com/scanoss >
437
- Software transparency foundation <https://www.softwaretransparency.org/ >
472
+ Software transparency foundation <https://www.softwaretransparency.org/ >
0 commit comments