cycode 3.9.2.dev1__tar.gz → 3.9.3__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.9.2.dev1 → cycode-3.9.3}/PKG-INFO +1 -1
- cycode-3.9.3/cycode/__init__.py +1 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/install_command.py +1 -1
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/payload.py +3 -3
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/response_builders.py +2 -5
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/scan_command.py +4 -4
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/status_command.py +1 -1
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/uninstall_command.py +1 -1
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/scan_result.py +1 -1
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/tables/sca_table_printer.py +1 -1
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/detection_data.py +1 -1
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py +1 -1
- {cycode-3.9.2.dev1 → cycode-3.9.3}/pyproject.toml +1 -1
- cycode-3.9.2.dev1/cycode/__init__.py +0 -1
- {cycode-3.9.2.dev1 → cycode-3.9.3}/LICENCE +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/README.md +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/__main__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/app.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/command_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/consts.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/hooks_manager.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/consts.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/handlers.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/policy.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/types.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_guardrails/scan/utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_remediation/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_remediation/ai_remediation_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_remediation/apply_fix.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ai_remediation/print_remediation.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/auth/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/auth/auth_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/auth/auth_common.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/auth/auth_manager.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/auth/models.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/configure/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/configure/configure_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/configure/consts.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/configure/messages.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/configure/prompts.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ignore/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/ignore/ignore_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/mcp/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/mcp/mcp_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/report_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/sbom/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/sbom/common.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/sbom/path/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/sbom/path/path_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/sbom/repository_url/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/sbom/repository_url/repository_url_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/sbom/sbom_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report/sbom/sbom_report_file.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report_import/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report_import/report_import_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report_import/sbom/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/report_import/sbom/sbom_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/aggregation_report.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/code_scanner.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/commit_history/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/commit_history/commit_history_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/commit_range_scanner.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/detection_excluder.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/path/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/path/path_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/pre_commit/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/pre_push/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/pre_push/pre_push_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/pre_receive/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/remote_url_resolver.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/repository/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/repository/repository_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/scan_ci/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/scan_ci/ci_integrations.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/scan_ci/scan_ci_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/scan_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/scan_parameters.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/status/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/status/get_cli_status.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/status/models.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/status/status_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/status/version_command.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/cli_types.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/config.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/console.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/consts.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/exceptions/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/exceptions/custom_exceptions.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/exceptions/handle_ai_remediation_errors.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/exceptions/handle_auth_errors.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/exceptions/handle_errors.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/exceptions/handle_report_sbom_errors.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/exceptions/handle_scan_errors.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/commit_range_documents.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/documents_walk_ignore.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/file_excluder.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/iac/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/iac/tf_content_generator.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/models/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/models/in_memory_zip.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/path_documents.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/repository_documents.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/base_restore_dependencies.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/go/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/maven/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/npm/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/nuget/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/nuget/restore_nuget_dependencies.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/ruby/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/ruby/restore_ruby_dependencies.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/sbt/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/sbt/restore_sbt_dependencies.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/sca_file_collector.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/walk_ignore.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/zip_documents.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/logger.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/main.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/models.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/console_printer.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/json_printer.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/printer_base.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/rich_printer.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/tables/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/tables/table.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/tables/table_models.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/tables/table_printer.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/tables/table_printer_base.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/text_printer.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/code_snippet_syntax.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/detection_ordering/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/detection_ordering/common_ordering.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/rich_helpers.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/user_settings/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/user_settings/base_file_manager.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/user_settings/config_file_manager.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/user_settings/configuration_manager.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/user_settings/credentials_manager.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/user_settings/jwt_creator.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/enum_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/get_api_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/git_proxy.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/ignore_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/jwt_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/path_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/progress_bar.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/scan_batch.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/scan_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/shell_executor.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/string_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/task_timer.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/url_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/version_checker.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/utils/yaml_utils.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/config.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/__init__.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/ai_security_manager_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/ai_security_manager_service_config.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/auth_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/base_token_auth_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/client_creator.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/config.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/config_dev.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/cycode_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/cycode_client_base.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/cycode_dev_based_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/cycode_oidc_based_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/cycode_token_based_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/headers.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/import_sbom_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/logger.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/models.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/report_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/scan_client.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cyclient/scan_config_base.py +0 -0
- {cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/logger.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.9.3' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
@@ -31,7 +31,7 @@ def install_command(
|
|
|
31
31
|
'--ide',
|
|
32
32
|
help='IDE to install hooks for (e.g., "cursor", "claude-code", or "all" for all IDEs). Defaults to cursor.',
|
|
33
33
|
),
|
|
34
|
-
] = AIIDEType.CURSOR,
|
|
34
|
+
] = AIIDEType.CURSOR.value,
|
|
35
35
|
repo_path: Annotated[
|
|
36
36
|
Optional[Path],
|
|
37
37
|
typer.Option(
|
|
@@ -155,7 +155,7 @@ class AIHookPayload:
|
|
|
155
155
|
generation_id=payload.get('generation_id'),
|
|
156
156
|
ide_user_email=payload.get('user_email'),
|
|
157
157
|
model=payload.get('model'),
|
|
158
|
-
ide_provider=AIIDEType.CURSOR,
|
|
158
|
+
ide_provider=AIIDEType.CURSOR.value,
|
|
159
159
|
ide_version=payload.get('cursor_version'),
|
|
160
160
|
prompt=payload.get('prompt', ''),
|
|
161
161
|
file_path=payload.get('file_path') or payload.get('path'),
|
|
@@ -213,7 +213,7 @@ class AIHookPayload:
|
|
|
213
213
|
generation_id=generation_id,
|
|
214
214
|
ide_user_email=None, # Claude Code doesn't provide this in hook payload
|
|
215
215
|
model=model,
|
|
216
|
-
ide_provider=AIIDEType.CLAUDE_CODE,
|
|
216
|
+
ide_provider=AIIDEType.CLAUDE_CODE.value,
|
|
217
217
|
ide_version=ide_version,
|
|
218
218
|
prompt=payload.get('prompt', ''),
|
|
219
219
|
file_path=file_path,
|
|
@@ -248,7 +248,7 @@ class AIHookPayload:
|
|
|
248
248
|
return True
|
|
249
249
|
|
|
250
250
|
@classmethod
|
|
251
|
-
def from_payload(cls, payload: dict, tool: str = AIIDEType.CURSOR) -> 'AIHookPayload':
|
|
251
|
+
def from_payload(cls, payload: dict, tool: str = AIIDEType.CURSOR.value) -> 'AIHookPayload':
|
|
252
252
|
"""Create AIHookPayload from any tool's payload.
|
|
253
253
|
|
|
254
254
|
Args:
|
|
@@ -117,7 +117,7 @@ _RESPONSE_BUILDERS: dict[str, IDEResponseBuilder] = {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
def get_response_builder(ide: str = AIIDEType.CURSOR) -> IDEResponseBuilder:
|
|
120
|
+
def get_response_builder(ide: str = AIIDEType.CURSOR.value) -> IDEResponseBuilder:
|
|
121
121
|
"""Get the response builder for a specific IDE.
|
|
122
122
|
|
|
123
123
|
Args:
|
|
@@ -129,10 +129,7 @@ def get_response_builder(ide: str = AIIDEType.CURSOR) -> IDEResponseBuilder:
|
|
|
129
129
|
Raises:
|
|
130
130
|
ValueError: If the IDE is not supported
|
|
131
131
|
"""
|
|
132
|
-
|
|
133
|
-
if isinstance(ide, str):
|
|
134
|
-
ide = ide.lower()
|
|
135
|
-
builder = _RESPONSE_BUILDERS.get(ide)
|
|
132
|
+
builder = _RESPONSE_BUILDERS.get(ide.lower())
|
|
136
133
|
if not builder:
|
|
137
134
|
raise ValueError(f'Unsupported IDE: {ide}. Supported IDEs: {list(_RESPONSE_BUILDERS.keys())}')
|
|
138
135
|
return builder
|
|
@@ -34,17 +34,17 @@ def _get_auth_error_message(error: Exception) -> str:
|
|
|
34
34
|
"""Get user-friendly message for authentication errors."""
|
|
35
35
|
if isinstance(error, click.ClickException):
|
|
36
36
|
# Missing credentials
|
|
37
|
-
return f'{error.message} Please run `cycode
|
|
37
|
+
return f'{error.message} Please run `cycode auth` to set up your credentials.'
|
|
38
38
|
|
|
39
39
|
if isinstance(error, HttpUnauthorizedError):
|
|
40
40
|
# Invalid/expired credentials
|
|
41
41
|
return (
|
|
42
42
|
'Unable to authenticate to Cycode. Your credentials are invalid or have expired. '
|
|
43
|
-
'Please run `cycode
|
|
43
|
+
'Please run `cycode auth` to update your credentials.'
|
|
44
44
|
)
|
|
45
45
|
|
|
46
46
|
# Fallback
|
|
47
|
-
return 'Authentication failed. Please run `cycode
|
|
47
|
+
return 'Authentication failed. Please run `cycode auth` to set up your credentials.'
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
def _initialize_clients(ctx: typer.Context) -> None:
|
|
@@ -69,7 +69,7 @@ def scan_command(
|
|
|
69
69
|
help='IDE that sent the payload (e.g., "cursor"). Defaults to cursor.',
|
|
70
70
|
hidden=True,
|
|
71
71
|
),
|
|
72
|
-
] = AIIDEType.CURSOR,
|
|
72
|
+
] = AIIDEType.CURSOR.value,
|
|
73
73
|
) -> None:
|
|
74
74
|
"""Scan content from AI IDE hooks for secrets.
|
|
75
75
|
|
|
@@ -28,7 +28,7 @@ def status_command(
|
|
|
28
28
|
'--ide',
|
|
29
29
|
help='IDE to check status for (e.g., "cursor", "claude-code", or "all" for all IDEs). Defaults to cursor.',
|
|
30
30
|
),
|
|
31
|
-
] = AIIDEType.CURSOR,
|
|
31
|
+
] = AIIDEType.CURSOR.value,
|
|
32
32
|
repo_path: Annotated[
|
|
33
33
|
Optional[Path],
|
|
34
34
|
typer.Option(
|
|
@@ -88,7 +88,7 @@ def _get_file_name_from_detection(scan_type: str, raw_detection: dict) -> str:
|
|
|
88
88
|
if scan_type == consts.SECRET_SCAN_TYPE:
|
|
89
89
|
return _get_secret_file_name_from_detection(raw_detection)
|
|
90
90
|
|
|
91
|
-
return raw_detection['detection_details']['
|
|
91
|
+
return raw_detection['detection_details']['file_path']
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
def _get_secret_file_name_from_detection(raw_detection: dict) -> str:
|
|
@@ -86,7 +86,7 @@ class ScaTablePrinter(TablePrinterBase):
|
|
|
86
86
|
table.add_cell(SEVERITY_COLUMN, 'N/A')
|
|
87
87
|
|
|
88
88
|
table.add_cell(REPOSITORY_COLUMN, detection_details.get('repository_name'))
|
|
89
|
-
table.add_file_path_cell(CODE_PROJECT_COLUMN, detection_details.get('
|
|
89
|
+
table.add_file_path_cell(CODE_PROJECT_COLUMN, detection_details.get('file_path'))
|
|
90
90
|
table.add_cell(ECOSYSTEM_COLUMN, detection_details.get('ecosystem'))
|
|
91
91
|
table.add_cell(PACKAGE_COLUMN, detection_details.get('package_name'))
|
|
92
92
|
|
{cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py
RENAMED
|
@@ -49,7 +49,7 @@ def sort_and_group_detections(detections: list['Detection']) -> tuple[list['Dete
|
|
|
49
49
|
|
|
50
50
|
grouped_by_repository = __group_by(sorted_detections, 'repository_name')
|
|
51
51
|
for repository_group in grouped_by_repository.values():
|
|
52
|
-
grouped_by_code_project = __group_by(repository_group, '
|
|
52
|
+
grouped_by_code_project = __group_by(repository_group, 'file_path')
|
|
53
53
|
for code_project_group in grouped_by_code_project.values():
|
|
54
54
|
grouped_by_package = __group_by(code_project_group, 'package_name')
|
|
55
55
|
for package_group in grouped_by_package.values():
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '3.9.2.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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/apps/scan/commit_history/commit_history_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
|
|
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.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/base_restore_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.9.2.dev1 → cycode-3.9.3}/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
|
{cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/ruby/restore_ruby_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/files_collector/sca/sbt/restore_sbt_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
|
{cycode-3.9.2.dev1 → cycode-3.9.3}/cycode/cli/printers/utils/detection_ordering/common_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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|