cycode 3.2.2.dev2__tar.gz → 3.2.2.dev4__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.2.2.dev2 → cycode-3.2.2.dev4}/PKG-INFO +14 -13
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/README.md +13 -12
- cycode-3.2.2.dev4/cycode/__init__.py +1 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/commit_range_documents.py +4 -1
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/user_settings/configuration_manager.py +1 -1
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/yaml_utils.py +13 -3
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/pyproject.toml +1 -1
- cycode-3.2.2.dev2/cycode/__init__.py +0 -1
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/LICENCE +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/__main__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/app.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/ai_remediation/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/ai_remediation/ai_remediation_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/ai_remediation/apply_fix.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/ai_remediation/print_remediation.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/auth/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/auth/auth_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/auth/auth_common.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/auth/auth_manager.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/auth/models.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/configure/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/configure/configure_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/configure/consts.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/configure/messages.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/configure/prompts.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/ignore/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/ignore/ignore_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/mcp/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/mcp/mcp_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/report_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/sbom/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/sbom/common.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/sbom/path/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/sbom/path/path_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/sbom/repository_url/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/sbom/repository_url/repository_url_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/sbom/sbom_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/report/sbom/sbom_report_file.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/aggregation_report.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/code_scanner.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/commit_history/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/commit_history/commit_history_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/commit_range_scanner.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/detection_excluder.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/path/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/path/path_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/pre_commit/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/pre_receive/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/remote_url_resolver.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/repository/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/repository/repository_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/scan_ci/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/scan_ci/ci_integrations.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/scan_ci/scan_ci_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/scan_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/scan_parameters.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/scan_result.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/status/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/status/get_cli_status.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/status/models.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/status/status_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/status/version_command.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/cli_types.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/config.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/console.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/consts.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/exceptions/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/exceptions/custom_exceptions.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/exceptions/handle_ai_remediation_errors.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/exceptions/handle_auth_errors.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/exceptions/handle_errors.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/exceptions/handle_report_sbom_errors.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/exceptions/handle_scan_errors.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/file_excluder.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/iac/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/iac/tf_content_generator.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/models/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/models/in_memory_zip.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/path_documents.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/repository_documents.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/base_restore_dependencies.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/go/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/maven/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/npm/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/nuget/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/nuget/restore_nuget_dependencies.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/ruby/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/ruby/restore_ruby_dependencies.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/sbt/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/sbt/restore_sbt_dependencies.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/sca_file_collector.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/walk_ignore.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/zip_documents.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/logger.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/main.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/models.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/console_printer.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/json_printer.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/printer_base.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/rich_printer.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/tables/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/tables/sca_table_printer.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/tables/table.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/tables/table_models.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/tables/table_printer.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/tables/table_printer_base.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/text_printer.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/utils/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/utils/code_snippet_syntax.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/utils/detection_data.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/utils/detection_ordering/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/utils/detection_ordering/common_ordering.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/utils/rich_helpers.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/user_settings/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/user_settings/base_file_manager.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/user_settings/config_file_manager.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/user_settings/credentials_manager.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/user_settings/jwt_creator.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/enum_utils.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/get_api_client.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/git_proxy.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/ignore_utils.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/jwt_utils.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/path_utils.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/progress_bar.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/scan_batch.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/scan_utils.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/sentry.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/shell_executor.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/string_utils.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/task_timer.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/utils/version_checker.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/config.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/__init__.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/auth_client.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/client_creator.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/config.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/config_dev.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/cycode_client.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/cycode_client_base.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/cycode_dev_based_client.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/cycode_token_based_client.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/headers.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/logger.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/models.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/report_client.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/scan_client.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cyclient/scan_config_base.py +0 -0
- {cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cycode
|
|
3
|
-
Version: 3.2.2.
|
|
3
|
+
Version: 3.2.2.dev4
|
|
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
|
|
@@ -582,18 +582,19 @@ This information can be helpful when:
|
|
|
582
582
|
|
|
583
583
|
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:
|
|
584
584
|
|
|
585
|
-
| Option | Description
|
|
586
|
-
|
|
587
|
-
| `-t, --scan-type [secret\|iac\|sca\|sast]` | Specify the scan you wish to execute (`secret`/`iac`/`sca`/`sast`), the default is `secret`.
|
|
588
|
-
| `--show-secret BOOLEAN` | Show secrets in plain text. See [Show/Hide Secrets](#showhide-secrets) section for more details.
|
|
589
|
-
| `--soft-fail BOOLEAN` | Run scan without failing, always return a non-error status code. See [Soft Fail](#soft-fail) section for more details.
|
|
590
|
-
| `--severity-threshold [INFO\|LOW\|MEDIUM\|HIGH\|CRITICAL]` | Show only violations at the specified level or higher.
|
|
591
|
-
| `--sca-scan` | Specify the SCA scan you wish to execute (`package-vulnerabilities`/`license-compliance`). The default is both.
|
|
592
|
-
| `--monitor` | When specified, the scan results will be recorded in Cycode.
|
|
593
|
-
| `--cycode-report` | Display a link to the scan report in the Cycode platform in the console output.
|
|
594
|
-
| `--no-restore` | When specified, Cycode will not run the restore command. This will scan direct dependencies ONLY!
|
|
595
|
-
| `--gradle-all-sub-projects` | Run gradle restore command for all sub projects. This should be run from
|
|
596
|
-
| `--
|
|
585
|
+
| Option | Description |
|
|
586
|
+
|------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
|
|
587
|
+
| `-t, --scan-type [secret\|iac\|sca\|sast]` | Specify the scan you wish to execute (`secret`/`iac`/`sca`/`sast`), the default is `secret`. |
|
|
588
|
+
| `--show-secret BOOLEAN` | Show secrets in plain text. See [Show/Hide Secrets](#showhide-secrets) section for more details. |
|
|
589
|
+
| `--soft-fail BOOLEAN` | Run scan without failing, always return a non-error status code. See [Soft Fail](#soft-fail) section for more details. |
|
|
590
|
+
| `--severity-threshold [INFO\|LOW\|MEDIUM\|HIGH\|CRITICAL]` | Show only violations at the specified level or higher. |
|
|
591
|
+
| `--sca-scan` | Specify the SCA scan you wish to execute (`package-vulnerabilities`/`license-compliance`). The default is both. |
|
|
592
|
+
| `--monitor` | When specified, the scan results will be recorded in Cycode. |
|
|
593
|
+
| `--cycode-report` | Display a link to the scan report in the Cycode platform in the console output. |
|
|
594
|
+
| `--no-restore` | When specified, Cycode will not run the restore command. This will scan direct dependencies ONLY! |
|
|
595
|
+
| `--gradle-all-sub-projects` | Run gradle restore command for all sub projects. This should be run from |
|
|
596
|
+
| `--maven-settings-file` | For Maven only, allows using a custom [settings.xml](https://maven.apache.org/settings.html) file when scanning for dependencies |
|
|
597
|
+
| `--help` | Show options for given command. |
|
|
597
598
|
|
|
598
599
|
| Command | Description |
|
|
599
600
|
|----------------------------------------|-----------------------------------------------------------------|
|
|
@@ -538,18 +538,19 @@ This information can be helpful when:
|
|
|
538
538
|
|
|
539
539
|
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:
|
|
540
540
|
|
|
541
|
-
| Option | Description
|
|
542
|
-
|
|
543
|
-
| `-t, --scan-type [secret\|iac\|sca\|sast]` | Specify the scan you wish to execute (`secret`/`iac`/`sca`/`sast`), the default is `secret`.
|
|
544
|
-
| `--show-secret BOOLEAN` | Show secrets in plain text. See [Show/Hide Secrets](#showhide-secrets) section for more details.
|
|
545
|
-
| `--soft-fail BOOLEAN` | Run scan without failing, always return a non-error status code. See [Soft Fail](#soft-fail) section for more details.
|
|
546
|
-
| `--severity-threshold [INFO\|LOW\|MEDIUM\|HIGH\|CRITICAL]` | Show only violations at the specified level or higher.
|
|
547
|
-
| `--sca-scan` | Specify the SCA scan you wish to execute (`package-vulnerabilities`/`license-compliance`). The default is both.
|
|
548
|
-
| `--monitor` | When specified, the scan results will be recorded in Cycode.
|
|
549
|
-
| `--cycode-report` | Display a link to the scan report in the Cycode platform in the console output.
|
|
550
|
-
| `--no-restore` | When specified, Cycode will not run the restore command. This will scan direct dependencies ONLY!
|
|
551
|
-
| `--gradle-all-sub-projects` | Run gradle restore command for all sub projects. This should be run from
|
|
552
|
-
| `--
|
|
541
|
+
| Option | Description |
|
|
542
|
+
|------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
|
|
543
|
+
| `-t, --scan-type [secret\|iac\|sca\|sast]` | Specify the scan you wish to execute (`secret`/`iac`/`sca`/`sast`), the default is `secret`. |
|
|
544
|
+
| `--show-secret BOOLEAN` | Show secrets in plain text. See [Show/Hide Secrets](#showhide-secrets) section for more details. |
|
|
545
|
+
| `--soft-fail BOOLEAN` | Run scan without failing, always return a non-error status code. See [Soft Fail](#soft-fail) section for more details. |
|
|
546
|
+
| `--severity-threshold [INFO\|LOW\|MEDIUM\|HIGH\|CRITICAL]` | Show only violations at the specified level or higher. |
|
|
547
|
+
| `--sca-scan` | Specify the SCA scan you wish to execute (`package-vulnerabilities`/`license-compliance`). The default is both. |
|
|
548
|
+
| `--monitor` | When specified, the scan results will be recorded in Cycode. |
|
|
549
|
+
| `--cycode-report` | Display a link to the scan report in the Cycode platform in the console output. |
|
|
550
|
+
| `--no-restore` | When specified, Cycode will not run the restore command. This will scan direct dependencies ONLY! |
|
|
551
|
+
| `--gradle-all-sub-projects` | Run gradle restore command for all sub projects. This should be run from |
|
|
552
|
+
| `--maven-settings-file` | For Maven only, allows using a custom [settings.xml](https://maven.apache.org/settings.html) file when scanning for dependencies |
|
|
553
|
+
| `--help` | Show options for given command. |
|
|
553
554
|
|
|
554
555
|
| Command | Description |
|
|
555
556
|
|----------------------------------------|-----------------------------------------------------------------|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.2.2.dev4' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/commit_range_documents.py
RENAMED
|
@@ -193,7 +193,10 @@ def get_diff_file_path(diff: 'Diff', relative: bool = False) -> Optional[str]:
|
|
|
193
193
|
|
|
194
194
|
if diff.b_blob:
|
|
195
195
|
return diff.b_blob.abspath
|
|
196
|
-
|
|
196
|
+
if diff.a_blob:
|
|
197
|
+
return diff.a_blob.abspath
|
|
198
|
+
|
|
199
|
+
return None
|
|
197
200
|
|
|
198
201
|
|
|
199
202
|
def get_diff_file_content(diff: 'Diff') -> str:
|
|
@@ -82,7 +82,7 @@ class ConfigurationManager:
|
|
|
82
82
|
@staticmethod
|
|
83
83
|
def _merge_exclusions(local_exclusions: dict, global_exclusions: dict) -> dict:
|
|
84
84
|
keys = set(list(local_exclusions.keys()) + list(global_exclusions.keys()))
|
|
85
|
-
return {key: local_exclusions.get(key
|
|
85
|
+
return {key: (local_exclusions.get(key) or []) + (global_exclusions.get(key) or []) for key in keys}
|
|
86
86
|
|
|
87
87
|
def get_or_create_installation_id(self) -> str:
|
|
88
88
|
config_file_manager = self.get_config_file_manager()
|
|
@@ -4,6 +4,10 @@ from typing import Any, TextIO
|
|
|
4
4
|
|
|
5
5
|
import yaml
|
|
6
6
|
|
|
7
|
+
from cycode.logger import get_logger
|
|
8
|
+
|
|
9
|
+
logger = get_logger('YAML Utils')
|
|
10
|
+
|
|
7
11
|
|
|
8
12
|
def _deep_update(source: dict[Hashable, Any], overrides: dict[Hashable, Any]) -> dict[Hashable, Any]:
|
|
9
13
|
for key, value in overrides.items():
|
|
@@ -15,10 +19,16 @@ def _deep_update(source: dict[Hashable, Any], overrides: dict[Hashable, Any]) ->
|
|
|
15
19
|
return source
|
|
16
20
|
|
|
17
21
|
|
|
18
|
-
def
|
|
22
|
+
def _yaml_object_safe_load(file: TextIO) -> dict[Hashable, Any]:
|
|
19
23
|
# loader.get_single_data could return None
|
|
20
24
|
loaded_file = yaml.safe_load(file)
|
|
21
|
-
|
|
25
|
+
|
|
26
|
+
if not isinstance(loaded_file, dict):
|
|
27
|
+
# forbid literals at the top level
|
|
28
|
+
logger.debug(
|
|
29
|
+
'YAML file does not contain a dictionary at the top level: %s',
|
|
30
|
+
{'filename': file.name, 'actual_type': type(loaded_file)},
|
|
31
|
+
)
|
|
22
32
|
return {}
|
|
23
33
|
|
|
24
34
|
return loaded_file
|
|
@@ -29,7 +39,7 @@ def read_yaml_file(filename: str) -> dict[Hashable, Any]:
|
|
|
29
39
|
return {}
|
|
30
40
|
|
|
31
41
|
with open(filename, encoding='UTF-8') as file:
|
|
32
|
-
return
|
|
42
|
+
return _yaml_object_safe_load(file)
|
|
33
43
|
|
|
34
44
|
|
|
35
45
|
def write_yaml_file(filename: str, content: dict[Hashable, Any]) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "cycode"
|
|
3
|
-
version = "3.2.2.
|
|
3
|
+
version = "3.2.2.dev4" # 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.2.2.dev2' # 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.2.2.dev2 → cycode-3.2.2.dev4}/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
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/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
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/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.2.2.dev2 → cycode-3.2.2.dev4}/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.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/base_restore_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/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
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/files_collector/sca/sca_file_collector.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.2.2.dev2 → cycode-3.2.2.dev4}/cycode/cli/printers/utils/detection_ordering/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.2.2.dev2 → cycode-3.2.2.dev4}/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
|