cycode 3.1.1.dev1__tar.gz → 3.1.1.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/PKG-INFO +23 -20
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/README.md +22 -19
- cycode-3.1.1.dev2/cycode/__init__.py +1 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/pyproject.toml +1 -1
- cycode-3.1.1.dev1/cycode/__init__.py +0 -1
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/LICENCE +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/__main__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/app.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/ai_remediation/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/ai_remediation/ai_remediation_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/ai_remediation/apply_fix.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/ai_remediation/print_remediation.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/auth/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/auth/auth_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/auth/auth_common.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/auth/auth_manager.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/auth/models.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/configure/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/configure/configure_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/configure/consts.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/configure/messages.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/configure/prompts.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/ignore/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/ignore/ignore_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/report_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/common.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/path/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/path/path_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/repository_url/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/repository_url/repository_url_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/sbom_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/sbom_report_file.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/code_scanner.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/commit_history/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/commit_history/commit_history_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/path/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/path/path_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/pre_commit/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/pre_receive/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/repository/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/repository/repository_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/scan_ci/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/scan_ci/ci_integrations.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/scan_ci/scan_ci_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/scan_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/status/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/status/get_cli_status.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/status/models.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/status/status_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/status/version_command.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/cli_types.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/config.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/console.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/consts.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/exceptions/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/exceptions/custom_exceptions.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/exceptions/handle_ai_remediation_errors.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/exceptions/handle_auth_errors.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/exceptions/handle_errors.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/exceptions/handle_report_sbom_errors.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/exceptions/handle_scan_errors.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/excluder.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/iac/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/iac/tf_content_generator.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/models/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/models/in_memory_zip.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/path_documents.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/repository_documents.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/base_restore_dependencies.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/go/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/maven/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/npm/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/nuget/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/nuget/restore_nuget_dependencies.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/ruby/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/ruby/restore_ruby_dependencies.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/sbt/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/sbt/restore_sbt_dependencies.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/sca_code_scanner.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/walk_ignore.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/zip_documents.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/logger.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/main.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/models.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/console_printer.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/json_printer.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/printer_base.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/rich_printer.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/tables/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/tables/sca_table_printer.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/tables/table.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/tables/table_models.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/tables/table_printer.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/tables/table_printer_base.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/text_printer.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/code_snippet_syntax.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/detection_data.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/detection_ordering/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/detection_ordering/common_ordering.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/rich_helpers.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/user_settings/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/user_settings/base_file_manager.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/user_settings/config_file_manager.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/user_settings/configuration_manager.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/user_settings/credentials_manager.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/user_settings/jwt_creator.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/enum_utils.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/get_api_client.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/git_proxy.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/ignore_utils.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/jwt_utils.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/path_utils.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/progress_bar.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/scan_batch.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/scan_utils.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/sentry.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/shell_executor.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/string_utils.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/task_timer.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/version_checker.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/utils/yaml_utils.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/config.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/__init__.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/auth_client.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/client_creator.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/config.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/config_dev.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/cycode_client.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/cycode_client_base.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/cycode_dev_based_client.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/cycode_token_based_client.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/headers.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/logger.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/models.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/report_client.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/scan_client.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cyclient/scan_config_base.py +0 -0
- {cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cycode
|
|
3
|
-
Version: 3.1.1.
|
|
3
|
+
Version: 3.1.1.dev2
|
|
4
4
|
Summary: Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning.
|
|
5
5
|
Home-page: https://github.com/cycodehq/cycode-cli
|
|
6
6
|
License: MIT
|
|
@@ -91,7 +91,8 @@ This guide walks you through both installation and usage.
|
|
|
91
91
|
6. [Ignoring via a config file](#ignoring-via-a-config-file)
|
|
92
92
|
5. [Report command](#report-command)
|
|
93
93
|
1. [Generating SBOM Report](#generating-sbom-report)
|
|
94
|
-
6. [
|
|
94
|
+
6. [Scan logs](#scan-logs)
|
|
95
|
+
7. [Syntax Help](#syntax-help)
|
|
95
96
|
|
|
96
97
|
# Prerequisites
|
|
97
98
|
|
|
@@ -332,20 +333,20 @@ The following are the options and commands available with the Cycode CLI applica
|
|
|
332
333
|
|
|
333
334
|
The Cycode CLI application offers several types of scans so that you can choose the option that best fits your case. The following are the current options and commands available:
|
|
334
335
|
|
|
335
|
-
| Option | Description
|
|
336
|
-
|
|
337
|
-
| `-t, --scan-type [secret\|iac\|sca\|sast]` | Specify the scan you wish to execute (`secret`/`iac`/`sca`/`sast`), the default is `secret`.
|
|
338
|
-
| `--client-secret TEXT` | Specify a Cycode client secret for this specific scan execution.
|
|
339
|
-
| `--client-id TEXT` | Specify a Cycode client ID for this specific scan execution.
|
|
340
|
-
| `--show-secret BOOLEAN` | Show secrets in plain text. See [Show/Hide Secrets](#showhide-secrets) section for more details.
|
|
341
|
-
| `--soft-fail BOOLEAN` | Run scan without failing, always return a non-error status code. See [Soft Fail](#soft-fail) section for more details.
|
|
342
|
-
| `--severity-threshold [INFO\|LOW\|MEDIUM\|HIGH\|CRITICAL]` | Show only violations at the specified level or higher.
|
|
343
|
-
| `--sca-scan` | Specify the SCA scan you wish to execute (`package-vulnerabilities`/`license-compliance`). The default is both.
|
|
344
|
-
| `--monitor` | When specified, the scan results will be recorded in
|
|
345
|
-
| `--cycode-report` | When specified, displays a link to the scan report in the Cycode platform in the console output.
|
|
346
|
-
| `--no-restore` | When specified, Cycode will not run restore command. Will scan direct dependencies ONLY!
|
|
347
|
-
| `--gradle-all-sub-projects` | When specified, Cycode will run gradle restore command for all sub projects. Should run from root project directory ONLY!
|
|
348
|
-
| `--help` | Show options for given command.
|
|
336
|
+
| Option | Description |
|
|
337
|
+
|------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
|
|
338
|
+
| `-t, --scan-type [secret\|iac\|sca\|sast]` | Specify the scan you wish to execute (`secret`/`iac`/`sca`/`sast`), the default is `secret`. |
|
|
339
|
+
| `--client-secret TEXT` | Specify a Cycode client secret for this specific scan execution. |
|
|
340
|
+
| `--client-id TEXT` | Specify a Cycode client ID for this specific scan execution. |
|
|
341
|
+
| `--show-secret BOOLEAN` | Show secrets in plain text. See [Show/Hide Secrets](#showhide-secrets) section for more details. |
|
|
342
|
+
| `--soft-fail BOOLEAN` | Run scan without failing, always return a non-error status code. See [Soft Fail](#soft-fail) section for more details. |
|
|
343
|
+
| `--severity-threshold [INFO\|LOW\|MEDIUM\|HIGH\|CRITICAL]` | Show only violations at the specified level or higher. |
|
|
344
|
+
| `--sca-scan` | Specify the SCA scan you wish to execute (`package-vulnerabilities`/`license-compliance`). The default is both. |
|
|
345
|
+
| `--monitor` | When specified, the scan results will be recorded in Cycode. |
|
|
346
|
+
| `--cycode-report` | When specified, displays a link to the scan report in the Cycode platform in the console output. |
|
|
347
|
+
| `--no-restore` | When specified, Cycode will not run restore command. Will scan direct dependencies ONLY! |
|
|
348
|
+
| `--gradle-all-sub-projects` | When specified, Cycode will run gradle restore command for all sub projects. Should run from root project directory ONLY! |
|
|
349
|
+
| `--help` | Show options for given command. |
|
|
349
350
|
|
|
350
351
|
| Command | Description |
|
|
351
352
|
|----------------------------------------|-----------------------------------------------------------------|
|
|
@@ -369,16 +370,14 @@ The following command will scan the repository for policy violations that have s
|
|
|
369
370
|
> [!NOTE]
|
|
370
371
|
> This option is only available to SCA scans.
|
|
371
372
|
|
|
372
|
-
To push scan results tied to the [SCA policies](https://docs.cycode.com/docs/sca-policies) found in an SCA type scan to Cycode
|
|
373
|
+
To push scan results tied to the [SCA policies](https://docs.cycode.com/docs/sca-policies) found in an SCA type scan to Cycode, add the argument `--monitor` to the scan command.
|
|
373
374
|
|
|
374
375
|
Consider the following example. The following command will scan the repository for SCA policy violations and push them to Cycode:
|
|
375
376
|
|
|
376
377
|
`cycode scan -t sca --monitor repository ~/home/git/codebase`
|
|
377
378
|
|
|
378
|
-
When using this option, the scan results
|
|
379
|
+
When using this option, the scan results will appear in Cycode.
|
|
379
380
|
|
|
380
|
-
> [!WARNING]
|
|
381
|
-
> You must be an `owner` or an `admin` in Cycode to view the knowledge graph page.
|
|
382
381
|
|
|
383
382
|
#### Cycode Report Option
|
|
384
383
|
|
|
@@ -879,6 +878,10 @@ To create an SBOM report for a path:\
|
|
|
879
878
|
For example:\
|
|
880
879
|
`cycode report sbom --format spdx-2.3 --include-vulnerabilities --include-dev-dependencies path /path/to/local/project`
|
|
881
880
|
|
|
881
|
+
# Scan Logs
|
|
882
|
+
|
|
883
|
+
All CLI scan are logged in Cycode. The logs can be found under Settings > CLI Logs.
|
|
884
|
+
|
|
882
885
|
# Syntax Help
|
|
883
886
|
|
|
884
887
|
You may add the `--help` argument to any command at any time to see a help message that will display available options and their syntax.
|
|
@@ -50,7 +50,8 @@ This guide walks you through both installation and usage.
|
|
|
50
50
|
6. [Ignoring via a config file](#ignoring-via-a-config-file)
|
|
51
51
|
5. [Report command](#report-command)
|
|
52
52
|
1. [Generating SBOM Report](#generating-sbom-report)
|
|
53
|
-
6. [
|
|
53
|
+
6. [Scan logs](#scan-logs)
|
|
54
|
+
7. [Syntax Help](#syntax-help)
|
|
54
55
|
|
|
55
56
|
# Prerequisites
|
|
56
57
|
|
|
@@ -291,20 +292,20 @@ The following are the options and commands available with the Cycode CLI applica
|
|
|
291
292
|
|
|
292
293
|
The Cycode CLI application offers several types of scans so that you can choose the option that best fits your case. The following are the current options and commands available:
|
|
293
294
|
|
|
294
|
-
| Option | Description
|
|
295
|
-
|
|
296
|
-
| `-t, --scan-type [secret\|iac\|sca\|sast]` | Specify the scan you wish to execute (`secret`/`iac`/`sca`/`sast`), the default is `secret`.
|
|
297
|
-
| `--client-secret TEXT` | Specify a Cycode client secret for this specific scan execution.
|
|
298
|
-
| `--client-id TEXT` | Specify a Cycode client ID for this specific scan execution.
|
|
299
|
-
| `--show-secret BOOLEAN` | Show secrets in plain text. See [Show/Hide Secrets](#showhide-secrets) section for more details.
|
|
300
|
-
| `--soft-fail BOOLEAN` | Run scan without failing, always return a non-error status code. See [Soft Fail](#soft-fail) section for more details.
|
|
301
|
-
| `--severity-threshold [INFO\|LOW\|MEDIUM\|HIGH\|CRITICAL]` | Show only violations at the specified level or higher.
|
|
302
|
-
| `--sca-scan` | Specify the SCA scan you wish to execute (`package-vulnerabilities`/`license-compliance`). The default is both.
|
|
303
|
-
| `--monitor` | When specified, the scan results will be recorded in
|
|
304
|
-
| `--cycode-report` | When specified, displays a link to the scan report in the Cycode platform in the console output.
|
|
305
|
-
| `--no-restore` | When specified, Cycode will not run restore command. Will scan direct dependencies ONLY!
|
|
306
|
-
| `--gradle-all-sub-projects` | When specified, Cycode will run gradle restore command for all sub projects. Should run from root project directory ONLY!
|
|
307
|
-
| `--help` | Show options for given command.
|
|
295
|
+
| Option | Description |
|
|
296
|
+
|------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
|
|
297
|
+
| `-t, --scan-type [secret\|iac\|sca\|sast]` | Specify the scan you wish to execute (`secret`/`iac`/`sca`/`sast`), the default is `secret`. |
|
|
298
|
+
| `--client-secret TEXT` | Specify a Cycode client secret for this specific scan execution. |
|
|
299
|
+
| `--client-id TEXT` | Specify a Cycode client ID for this specific scan execution. |
|
|
300
|
+
| `--show-secret BOOLEAN` | Show secrets in plain text. See [Show/Hide Secrets](#showhide-secrets) section for more details. |
|
|
301
|
+
| `--soft-fail BOOLEAN` | Run scan without failing, always return a non-error status code. See [Soft Fail](#soft-fail) section for more details. |
|
|
302
|
+
| `--severity-threshold [INFO\|LOW\|MEDIUM\|HIGH\|CRITICAL]` | Show only violations at the specified level or higher. |
|
|
303
|
+
| `--sca-scan` | Specify the SCA scan you wish to execute (`package-vulnerabilities`/`license-compliance`). The default is both. |
|
|
304
|
+
| `--monitor` | When specified, the scan results will be recorded in Cycode. |
|
|
305
|
+
| `--cycode-report` | When specified, displays a link to the scan report in the Cycode platform in the console output. |
|
|
306
|
+
| `--no-restore` | When specified, Cycode will not run restore command. Will scan direct dependencies ONLY! |
|
|
307
|
+
| `--gradle-all-sub-projects` | When specified, Cycode will run gradle restore command for all sub projects. Should run from root project directory ONLY! |
|
|
308
|
+
| `--help` | Show options for given command. |
|
|
308
309
|
|
|
309
310
|
| Command | Description |
|
|
310
311
|
|----------------------------------------|-----------------------------------------------------------------|
|
|
@@ -328,16 +329,14 @@ The following command will scan the repository for policy violations that have s
|
|
|
328
329
|
> [!NOTE]
|
|
329
330
|
> This option is only available to SCA scans.
|
|
330
331
|
|
|
331
|
-
To push scan results tied to the [SCA policies](https://docs.cycode.com/docs/sca-policies) found in an SCA type scan to Cycode
|
|
332
|
+
To push scan results tied to the [SCA policies](https://docs.cycode.com/docs/sca-policies) found in an SCA type scan to Cycode, add the argument `--monitor` to the scan command.
|
|
332
333
|
|
|
333
334
|
Consider the following example. The following command will scan the repository for SCA policy violations and push them to Cycode:
|
|
334
335
|
|
|
335
336
|
`cycode scan -t sca --monitor repository ~/home/git/codebase`
|
|
336
337
|
|
|
337
|
-
When using this option, the scan results
|
|
338
|
+
When using this option, the scan results will appear in Cycode.
|
|
338
339
|
|
|
339
|
-
> [!WARNING]
|
|
340
|
-
> You must be an `owner` or an `admin` in Cycode to view the knowledge graph page.
|
|
341
340
|
|
|
342
341
|
#### Cycode Report Option
|
|
343
342
|
|
|
@@ -838,6 +837,10 @@ To create an SBOM report for a path:\
|
|
|
838
837
|
For example:\
|
|
839
838
|
`cycode report sbom --format spdx-2.3 --include-vulnerabilities --include-dev-dependencies path /path/to/local/project`
|
|
840
839
|
|
|
840
|
+
# Scan Logs
|
|
841
|
+
|
|
842
|
+
All CLI scan are logged in Cycode. The logs can be found under Settings > CLI Logs.
|
|
843
|
+
|
|
841
844
|
# Syntax Help
|
|
842
845
|
|
|
843
846
|
You may add the `--help` argument to any command at any time to see a help message that will display available options and their syntax.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.1.1.dev2' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "cycode"
|
|
3
|
-
version = "3.1.1.
|
|
3
|
+
version = "3.1.1.dev2" # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
4
4
|
description = "Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning."
|
|
5
5
|
keywords=["secret-scan", "cycode", "devops", "token", "secret", "security", "cycode", "code"]
|
|
6
6
|
authors = ["Cycode <support@cycode.com>"]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '3.1.1.dev1' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/ai_remediation/ai_remediation_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/report/sbom/repository_url/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/apps/scan/repository/repository_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/exceptions/handle_ai_remediation_errors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/iac/tf_content_generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/base_restore_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/detection_ordering/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.1.1.dev1 → cycode-3.1.1.dev2}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|