@@ -336,6 +336,91 @@ Scans Docker container images for dependencies, extracting and analyzing compone
336336 * - --ca-cert <file>
337337 - Alternative certificate PEM file
338338
339+ -----------------
340+ Crypto: crypto, cr
341+ -----------------
342+
343+ Provides subcommands to retrieve cryptographic information for components.
344+
345+ .. code-block :: bash
346+
347+ scanoss-py crypto < subcommand>
348+
349+ Subcommands:
350+ ~~~~~~~~~~~~
351+
352+ **algorithms (alg) **
353+ Retrieve cryptographic algorithms for the given components.
354+
355+ .. code-block :: bash
356+
357+ scanoss-py crypto algorithms --purl < purl_string>
358+
359+ .. list-table ::
360+ :widths: 20 30
361+ :header-rows: 1
362+
363+ * - Argument
364+ - Description
365+ * - --with-range
366+ - Returns the list of versions in the specified range that contains cryptographic algorithms. (Replaces the previous --range option)
367+
368+ **hints **
369+ Retrieve encryption hints for the given components.
370+
371+ .. code-block :: bash
372+
373+ scanoss-py crypto hints --purl < purl_string>
374+
375+ .. list-table ::
376+ :widths: 20 30
377+ :header-rows: 1
378+
379+ * - Argument
380+ - Description
381+ * - --with-range
382+ - Returns the list of versions in the specified range that contains encryption hints.
383+
384+ **versions-in-range (vr) **
385+ Given a list of PURLs and version ranges, get a list of versions that do/don't contain crypto algorithms.
386+
387+ .. code-block :: bash
388+
389+ scanoss-py crypto versions-in-range --purl < purl_string_with_range>
390+
391+ Common Crypto Arguments:
392+ ~~~~~~~~~~~~~~~~~~~~~~~~
393+ The following arguments are common to the ``algorithms ``, ``hints ``, and ``versions-in-range `` subcommands:
394+
395+ .. list-table ::
396+ :widths: 20 30
397+ :header-rows: 1
398+
399+ * - Argument
400+ - Description
401+ * - --purl <PURL>, -p <PURL>
402+ - Package URL (PURL) to process. Can be specified multiple times.
403+ * - --input <file>, -i <file>
404+ - Input file name containing PURLs.
405+ * - --output <file name>, -o <file name>
406+ - Output result file name (optional - default STDOUT).
407+ * - --timeout <seconds>, -M <seconds>
408+ - Timeout (in seconds) for API communication (optional - default 600).
409+ * - --key <KEY>, -k <KEY>
410+ - SCANOSS API Key token (optional - not required for default OSSKB URL).
411+ * - --api2url <API2URL>
412+ - SCANOSS gRPC API 2.0 URL (optional - default: https://api.osskb.org).
413+ * - --grpc-proxy <GRPC_PROXY>
414+ - GRPC Proxy URL to use for connections.
415+ * - --ca-cert <CA_CERT>
416+ - Alternative certificate PEM file.
417+ * - --debug, -d
418+ - Enable debug messages.
419+ * - --trace, -t
420+ - Enable trace messages, including API posts.
421+ * - --quiet, -q
422+ - Enable quiet mode.
423+
339424-----------------
340425Component:
341426-----------------
0 commit comments