cycode 3.3.1.dev4__tar.gz → 3.3.1.dev6__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.3.1.dev4 → cycode-3.3.1.dev6}/PKG-INFO +63 -14
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/README.md +62 -13
- cycode-3.3.1.dev6/cycode/__init__.py +1 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/__init__.py +1 -1
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/walk_ignore.py +2 -1
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/pyproject.toml +1 -1
- cycode-3.3.1.dev4/cycode/__init__.py +0 -1
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/LICENCE +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/__main__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/app.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ai_remediation/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ai_remediation/ai_remediation_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ai_remediation/apply_fix.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ai_remediation/print_remediation.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/auth_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/auth_common.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/auth_manager.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/models.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/configure_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/consts.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/messages.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/prompts.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ignore/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ignore/ignore_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/mcp/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/mcp/mcp_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/report_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/common.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/path/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/path/path_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/repository_url/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/repository_url/repository_url_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/sbom_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/sbom_report_file.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/aggregation_report.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/code_scanner.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/commit_history/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/commit_history/commit_history_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/commit_range_scanner.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/detection_excluder.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/path/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/path/path_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_commit/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_receive/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/remote_url_resolver.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/repository/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/repository/repository_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_ci/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_ci/ci_integrations.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_ci/scan_ci_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_parameters.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_result.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/get_cli_status.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/models.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/status_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/version_command.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/cli_types.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/config.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/console.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/consts.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/custom_exceptions.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_ai_remediation_errors.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_auth_errors.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_errors.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_report_sbom_errors.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_scan_errors.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/commit_range_documents.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/file_excluder.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/iac/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/iac/tf_content_generator.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/models/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/models/in_memory_zip.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/path_documents.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/repository_documents.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/base_restore_dependencies.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/go/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/maven/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/npm/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/nuget/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/nuget/restore_nuget_dependencies.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/ruby/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/ruby/restore_ruby_dependencies.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/sbt/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/sbt/restore_sbt_dependencies.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/sca_file_collector.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/zip_documents.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/logger.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/main.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/models.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/console_printer.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/json_printer.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/printer_base.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/rich_printer.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/sca_table_printer.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/table.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/table_models.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/table_printer.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/table_printer_base.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/text_printer.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/code_snippet_syntax.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_data.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_ordering/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_ordering/common_ordering.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/rich_helpers.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/base_file_manager.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/config_file_manager.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/configuration_manager.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/credentials_manager.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/jwt_creator.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/enum_utils.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/get_api_client.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/git_proxy.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/ignore_utils.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/jwt_utils.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/path_utils.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/progress_bar.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/scan_batch.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/scan_utils.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/sentry.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/shell_executor.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/string_utils.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/task_timer.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/version_checker.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/yaml_utils.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/config.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/__init__.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/auth_client.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/client_creator.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/config.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/config_dev.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/cycode_client.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/cycode_client_base.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/cycode_dev_based_client.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/cycode_token_based_client.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/headers.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/logger.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/models.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/report_client.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/scan_client.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/scan_config_base.py +0 -0
- {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cycode
|
|
3
|
-
Version: 3.3.1.
|
|
3
|
+
Version: 3.3.1.dev6
|
|
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
|
|
@@ -79,7 +79,7 @@ This guide walks you through both installation and usage.
|
|
|
79
79
|
3. [Path Scan](#path-scan)
|
|
80
80
|
1. [Terraform Plan Scan](#terraform-plan-scan)
|
|
81
81
|
4. [Commit History Scan](#commit-history-scan)
|
|
82
|
-
1. [Commit Range Option](#commit-range-option)
|
|
82
|
+
1. [Commit Range Option (Diff Scanning)](#commit-range-option-diff-scanning)
|
|
83
83
|
5. [Pre-Commit Scan](#pre-commit-scan)
|
|
84
84
|
2. [Scan Results](#scan-results)
|
|
85
85
|
1. [Show/Hide Secrets](#showhide-secrets)
|
|
@@ -596,12 +596,12 @@ The Cycode CLI application offers several types of scans so that you can choose
|
|
|
596
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
597
|
| `--help` | Show options for given command. |
|
|
598
598
|
|
|
599
|
-
| Command | Description
|
|
600
|
-
|
|
601
|
-
| [commit-history](#commit-history-scan) | Scan
|
|
602
|
-
| [path](#path-scan) | Scan the files in the path supplied in the command
|
|
603
|
-
| [pre-commit](#pre-commit-scan) | Use this command to scan the content that was not committed yet
|
|
604
|
-
| [repository](#repository-scan) | Scan git repository including its history
|
|
599
|
+
| Command | Description |
|
|
600
|
+
|----------------------------------------|-----------------------------------------------------------------------|
|
|
601
|
+
| [commit-history](#commit-history-scan) | Scan commit history or perform diff scanning between specific commits |
|
|
602
|
+
| [path](#path-scan) | Scan the files in the path supplied in the command |
|
|
603
|
+
| [pre-commit](#pre-commit-scan) | Use this command to scan the content that was not committed yet |
|
|
604
|
+
| [repository](#repository-scan) | Scan git repository including its history |
|
|
605
605
|
|
|
606
606
|
### Options
|
|
607
607
|
|
|
@@ -745,9 +745,16 @@ If you just have a configuration file, you can generate a plan by doing the foll
|
|
|
745
745
|
### Commit History Scan
|
|
746
746
|
|
|
747
747
|
> [!NOTE]
|
|
748
|
-
>
|
|
748
|
+
> Commit History Scan is not available for IaC scans.
|
|
749
749
|
|
|
750
|
-
|
|
750
|
+
The commit history scan command provides two main capabilities:
|
|
751
|
+
|
|
752
|
+
1. **Full History Scanning**: Analyze all commits in the repository history
|
|
753
|
+
2. **Diff Scanning**: Scan only the changes between specific commits
|
|
754
|
+
|
|
755
|
+
Secrets scanning can analyze all commits in the repository history because secrets introduced and later removed can still be leaked or exposed. For SCA and SAST scans, the commit history command focuses on scanning the differences/changes between commits, making it perfect for pull request reviews and incremental scanning.
|
|
756
|
+
|
|
757
|
+
A commit history scan examines your Git repository's commit history and can be used both for comprehensive historical analysis and targeted diff scanning of specific changes.
|
|
751
758
|
|
|
752
759
|
To execute a commit history scan, execute the following:
|
|
753
760
|
|
|
@@ -763,13 +770,55 @@ The following options are available for use with this command:
|
|
|
763
770
|
|---------------------------|----------------------------------------------------------------------------------------------------------|
|
|
764
771
|
| `-r, --commit-range TEXT` | Scan a commit range in this git repository, by default cycode scans all commit history (example: HEAD~1) |
|
|
765
772
|
|
|
766
|
-
#### Commit Range Option
|
|
773
|
+
#### Commit Range Option (Diff Scanning)
|
|
774
|
+
|
|
775
|
+
The commit range option enables **diff scanning** – scanning only the changes between specific commits instead of the entire repository history.
|
|
776
|
+
This is particularly useful for:
|
|
777
|
+
- **Pull request validation**: Scan only the changes introduced in a PR
|
|
778
|
+
- **Incremental CI/CD scanning**: Focus on recent changes rather than the entire codebase
|
|
779
|
+
- **Feature branch review**: Compare changes against main/master branch
|
|
780
|
+
- **Performance optimization**: Faster scans by limiting scope to relevant changes
|
|
781
|
+
|
|
782
|
+
#### Commit Range Syntax
|
|
783
|
+
|
|
784
|
+
The `--commit-range` (`-r`) option supports standard Git revision syntax:
|
|
785
|
+
|
|
786
|
+
| Syntax | Description | Example |
|
|
787
|
+
|---------------------|-----------------------------------|-------------------------|
|
|
788
|
+
| `commit1..commit2` | Changes from commit1 to commit2 | `abc123..def456` |
|
|
789
|
+
| `commit1...commit2` | Changes in commit2 not in commit1 | `main...feature-branch` |
|
|
790
|
+
| `commit` | Changes from commit to HEAD | `HEAD~1` |
|
|
791
|
+
| `branch1..branch2` | Changes from branch1 to branch2 | `main..feature-branch` |
|
|
792
|
+
|
|
793
|
+
#### Diff Scanning Examples
|
|
794
|
+
|
|
795
|
+
**Scan changes in the last commit:**
|
|
796
|
+
```bash
|
|
797
|
+
cycode scan commit-history -r HEAD~1 ~/home/git/codebase
|
|
798
|
+
```
|
|
799
|
+
|
|
800
|
+
**Scan changes between two specific commits:**
|
|
801
|
+
```bash
|
|
802
|
+
cycode scan commit-history -r abc123..def456 ~/home/git/codebase
|
|
803
|
+
```
|
|
767
804
|
|
|
768
|
-
|
|
805
|
+
**Scan changes in your feature branch compared to main:**
|
|
806
|
+
```bash
|
|
807
|
+
cycode scan commit-history -r main..HEAD ~/home/git/codebase
|
|
808
|
+
```
|
|
769
809
|
|
|
770
|
-
|
|
810
|
+
**Scan changes between main and a feature branch:**
|
|
811
|
+
```bash
|
|
812
|
+
cycode scan commit-history -r main..feature-branch ~/home/git/codebase
|
|
813
|
+
```
|
|
771
814
|
|
|
772
|
-
|
|
815
|
+
**Scan all changes in the last 3 commits:**
|
|
816
|
+
```bash
|
|
817
|
+
cycode scan commit-history -r HEAD~3..HEAD ~/home/git/codebase
|
|
818
|
+
```
|
|
819
|
+
|
|
820
|
+
> [!TIP]
|
|
821
|
+
> For CI/CD pipelines, you can use environment variables like `${{ github.event.pull_request.base.sha }}..${{ github.sha }}` (GitHub Actions) or `$CI_MERGE_REQUEST_TARGET_BRANCH_SHA..$CI_COMMIT_SHA` (GitLab CI) to scan only PR/MR changes.
|
|
773
822
|
|
|
774
823
|
### Pre-Commit Scan
|
|
775
824
|
|
|
@@ -35,7 +35,7 @@ This guide walks you through both installation and usage.
|
|
|
35
35
|
3. [Path Scan](#path-scan)
|
|
36
36
|
1. [Terraform Plan Scan](#terraform-plan-scan)
|
|
37
37
|
4. [Commit History Scan](#commit-history-scan)
|
|
38
|
-
1. [Commit Range Option](#commit-range-option)
|
|
38
|
+
1. [Commit Range Option (Diff Scanning)](#commit-range-option-diff-scanning)
|
|
39
39
|
5. [Pre-Commit Scan](#pre-commit-scan)
|
|
40
40
|
2. [Scan Results](#scan-results)
|
|
41
41
|
1. [Show/Hide Secrets](#showhide-secrets)
|
|
@@ -552,12 +552,12 @@ The Cycode CLI application offers several types of scans so that you can choose
|
|
|
552
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
553
|
| `--help` | Show options for given command. |
|
|
554
554
|
|
|
555
|
-
| Command | Description
|
|
556
|
-
|
|
557
|
-
| [commit-history](#commit-history-scan) | Scan
|
|
558
|
-
| [path](#path-scan) | Scan the files in the path supplied in the command
|
|
559
|
-
| [pre-commit](#pre-commit-scan) | Use this command to scan the content that was not committed yet
|
|
560
|
-
| [repository](#repository-scan) | Scan git repository including its history
|
|
555
|
+
| Command | Description |
|
|
556
|
+
|----------------------------------------|-----------------------------------------------------------------------|
|
|
557
|
+
| [commit-history](#commit-history-scan) | Scan commit history or perform diff scanning between specific commits |
|
|
558
|
+
| [path](#path-scan) | Scan the files in the path supplied in the command |
|
|
559
|
+
| [pre-commit](#pre-commit-scan) | Use this command to scan the content that was not committed yet |
|
|
560
|
+
| [repository](#repository-scan) | Scan git repository including its history |
|
|
561
561
|
|
|
562
562
|
### Options
|
|
563
563
|
|
|
@@ -701,9 +701,16 @@ If you just have a configuration file, you can generate a plan by doing the foll
|
|
|
701
701
|
### Commit History Scan
|
|
702
702
|
|
|
703
703
|
> [!NOTE]
|
|
704
|
-
>
|
|
704
|
+
> Commit History Scan is not available for IaC scans.
|
|
705
705
|
|
|
706
|
-
|
|
706
|
+
The commit history scan command provides two main capabilities:
|
|
707
|
+
|
|
708
|
+
1. **Full History Scanning**: Analyze all commits in the repository history
|
|
709
|
+
2. **Diff Scanning**: Scan only the changes between specific commits
|
|
710
|
+
|
|
711
|
+
Secrets scanning can analyze all commits in the repository history because secrets introduced and later removed can still be leaked or exposed. For SCA and SAST scans, the commit history command focuses on scanning the differences/changes between commits, making it perfect for pull request reviews and incremental scanning.
|
|
712
|
+
|
|
713
|
+
A commit history scan examines your Git repository's commit history and can be used both for comprehensive historical analysis and targeted diff scanning of specific changes.
|
|
707
714
|
|
|
708
715
|
To execute a commit history scan, execute the following:
|
|
709
716
|
|
|
@@ -719,13 +726,55 @@ The following options are available for use with this command:
|
|
|
719
726
|
|---------------------------|----------------------------------------------------------------------------------------------------------|
|
|
720
727
|
| `-r, --commit-range TEXT` | Scan a commit range in this git repository, by default cycode scans all commit history (example: HEAD~1) |
|
|
721
728
|
|
|
722
|
-
#### Commit Range Option
|
|
729
|
+
#### Commit Range Option (Diff Scanning)
|
|
730
|
+
|
|
731
|
+
The commit range option enables **diff scanning** – scanning only the changes between specific commits instead of the entire repository history.
|
|
732
|
+
This is particularly useful for:
|
|
733
|
+
- **Pull request validation**: Scan only the changes introduced in a PR
|
|
734
|
+
- **Incremental CI/CD scanning**: Focus on recent changes rather than the entire codebase
|
|
735
|
+
- **Feature branch review**: Compare changes against main/master branch
|
|
736
|
+
- **Performance optimization**: Faster scans by limiting scope to relevant changes
|
|
737
|
+
|
|
738
|
+
#### Commit Range Syntax
|
|
739
|
+
|
|
740
|
+
The `--commit-range` (`-r`) option supports standard Git revision syntax:
|
|
741
|
+
|
|
742
|
+
| Syntax | Description | Example |
|
|
743
|
+
|---------------------|-----------------------------------|-------------------------|
|
|
744
|
+
| `commit1..commit2` | Changes from commit1 to commit2 | `abc123..def456` |
|
|
745
|
+
| `commit1...commit2` | Changes in commit2 not in commit1 | `main...feature-branch` |
|
|
746
|
+
| `commit` | Changes from commit to HEAD | `HEAD~1` |
|
|
747
|
+
| `branch1..branch2` | Changes from branch1 to branch2 | `main..feature-branch` |
|
|
748
|
+
|
|
749
|
+
#### Diff Scanning Examples
|
|
750
|
+
|
|
751
|
+
**Scan changes in the last commit:**
|
|
752
|
+
```bash
|
|
753
|
+
cycode scan commit-history -r HEAD~1 ~/home/git/codebase
|
|
754
|
+
```
|
|
755
|
+
|
|
756
|
+
**Scan changes between two specific commits:**
|
|
757
|
+
```bash
|
|
758
|
+
cycode scan commit-history -r abc123..def456 ~/home/git/codebase
|
|
759
|
+
```
|
|
723
760
|
|
|
724
|
-
|
|
761
|
+
**Scan changes in your feature branch compared to main:**
|
|
762
|
+
```bash
|
|
763
|
+
cycode scan commit-history -r main..HEAD ~/home/git/codebase
|
|
764
|
+
```
|
|
725
765
|
|
|
726
|
-
|
|
766
|
+
**Scan changes between main and a feature branch:**
|
|
767
|
+
```bash
|
|
768
|
+
cycode scan commit-history -r main..feature-branch ~/home/git/codebase
|
|
769
|
+
```
|
|
727
770
|
|
|
728
|
-
|
|
771
|
+
**Scan all changes in the last 3 commits:**
|
|
772
|
+
```bash
|
|
773
|
+
cycode scan commit-history -r HEAD~3..HEAD ~/home/git/codebase
|
|
774
|
+
```
|
|
775
|
+
|
|
776
|
+
> [!TIP]
|
|
777
|
+
> For CI/CD pipelines, you can use environment variables like `${{ github.event.pull_request.base.sha }}..${{ github.sha }}` (GitHub Actions) or `$CI_MERGE_REQUEST_TARGET_BRANCH_SHA..$CI_COMMIT_SHA` (GitLab CI) to scan only PR/MR changes.
|
|
729
778
|
|
|
730
779
|
### Pre-Commit Scan
|
|
731
780
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.3.1.dev6' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
@@ -20,7 +20,7 @@ app.callback(
|
|
|
20
20
|
|
|
21
21
|
app.command(name='path', short_help='Scan the files in the paths provided in the command.')(path_command)
|
|
22
22
|
app.command(name='repository', short_help='Scan the Git repository included files.')(repository_command)
|
|
23
|
-
app.command(name='commit-history', short_help='Scan
|
|
23
|
+
app.command(name='commit-history', short_help='Scan commit history or perform diff scanning between specific commits.')(
|
|
24
24
|
commit_history_command
|
|
25
25
|
)
|
|
26
26
|
app.command(
|
|
@@ -4,8 +4,9 @@ from collections.abc import Generator, Iterable
|
|
|
4
4
|
from cycode.cli.logger import logger
|
|
5
5
|
from cycode.cli.utils.ignore_utils import IgnoreFilterManager
|
|
6
6
|
|
|
7
|
-
_SUPPORTED_IGNORE_PATTERN_FILES = {
|
|
7
|
+
_SUPPORTED_IGNORE_PATTERN_FILES = {
|
|
8
8
|
'.gitignore',
|
|
9
|
+
'.cycodeignore',
|
|
9
10
|
}
|
|
10
11
|
_DEFAULT_GLOBAL_IGNORE_PATTERNS = [
|
|
11
12
|
'.git',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "cycode"
|
|
3
|
-
version = "3.3.1.
|
|
3
|
+
version = "3.3.1.dev6" # 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.3.1.dev4' # 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.3.1.dev4 → cycode-3.3.1.dev6}/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.3.1.dev4 → cycode-3.3.1.dev6}/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
|
{cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/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.3.1.dev4 → cycode-3.3.1.dev6}/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
|
{cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/commit_range_documents.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/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.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/base_restore_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/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.3.1.dev4 → cycode-3.3.1.dev6}/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
|
{cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_ordering/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/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
|