cycode 3.27.0__tar.gz → 3.27.1__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.27.0 → cycode-3.27.1}/PKG-INFO +2 -2
- {cycode-3.27.0 → cycode-3.27.1}/cycode/__init__.py +1 -1
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/code_scanner.py +5 -14
- cycode-3.27.1/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +136 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/scan_client.py +13 -6
- {cycode-3.27.0 → cycode-3.27.1}/pyproject.toml +4 -4
- cycode-3.27.0/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +0 -81
- {cycode-3.27.0 → cycode-3.27.1}/LICENCE +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/README.md +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/__main__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/app.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/activation_manager.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/command_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/consts.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/hooks_manager.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/ides/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/ides/_plugin_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/ides/_skill_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/ides/base.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/ides/claude_code.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/ides/codex.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/ides/copilot.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/ides/cursor.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/install_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/consts.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/detach.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/guardrail_config.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/handlers.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/mcp_server_status.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/payload.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/policy.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/scan_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/types.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/scan/utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/session_start_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/status_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_guardrails/uninstall_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_remediation/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_remediation/ai_remediation_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_remediation/apply_fix.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ai_remediation/print_remediation.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/api/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/api/api_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/api/openapi_spec.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/auth/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/auth/auth_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/auth/auth_common.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/auth/auth_manager.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/auth/models.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/configure/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/configure/configure_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/configure/consts.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/configure/messages.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/configure/prompts.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ignore/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/ignore/ignore_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/mcp/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/mcp/mcp_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/report_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/common.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/path/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/path/path_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/repository_url/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/repository_url/repository_url_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/sbom_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/sbom_report_file.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report_import/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report_import/report_import_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report_import/sbom/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/report_import/sbom/sbom_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/sca_options.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/aggregation_report.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/commit_history/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/commit_history/commit_history_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/commit_range_scanner.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/detection_excluder.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/path/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/path/path_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/pre_commit/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/pre_push/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/pre_push/pre_push_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/pre_receive/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/remote_url_resolver.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/repository/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/repository/repository_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/scan_ci/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/scan_ci/ci_integrations.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/scan_ci/scan_ci_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/scan_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/scan_parameters.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/scan/scan_result.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/status/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/status/get_cli_status.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/status/models.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/status/status_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/apps/status/version_command.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/cli_types.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/config.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/console.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/consts.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/exceptions/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/exceptions/custom_exceptions.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/exceptions/handle_ai_remediation_errors.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/exceptions/handle_auth_errors.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/exceptions/handle_errors.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/exceptions/handle_report_sbom_errors.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/exceptions/handle_scan_errors.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/commit_range_documents.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/documents_walk_ignore.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/file_excluder.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/iac/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/iac/tf_content_generator.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/models/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/models/in_memory_zip.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/path_documents.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/repository_documents.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/base_restore_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/go/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/maven/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/restore_bun_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/restore_deno_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/restore_pnpm_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/restore_yarn_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/workspace/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/workspace/coverage.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/workspace/files.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/workspace/globs.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/workspace/names.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/npm/workspace/resolvers.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/nuget/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/nuget/restore_nuget_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/php/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/php/restore_composer_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/python/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/python/restore_pip_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/python/restore_pipenv_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/python/restore_poetry_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/python/restore_uv_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/ruby/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/ruby/restore_ruby_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/sbt/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/sbt/restore_sbt_dependencies.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/sca/sca_file_collector.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/walk_ignore.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/files_collector/zip_documents.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/logger.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/main.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/models.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/console_printer.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/json_printer.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/printer_base.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/rich_printer.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/tables/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/tables/sca_table_printer.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/tables/table.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/tables/table_models.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/tables/table_printer.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/tables/table_printer_base.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/text_printer.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/code_snippet_syntax.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/detection_data.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/detection_ordering/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/detection_ordering/common_ordering.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/rich_helpers.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/sca_ossf.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/printers/utils/sca_policy_details.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/user_settings/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/user_settings/base_file_manager.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/user_settings/config_file_manager.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/user_settings/configuration_manager.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/user_settings/credentials_manager.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/user_settings/jwt_creator.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/binary_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/enum_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/get_api_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/git_proxy.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/host_info.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/ignore_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/jwt_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/path_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/progress_bar.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/scan_batch.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/scan_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/shell_executor.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/string_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/task_timer.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/trust_store.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/url_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/version_checker.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cli/utils/yaml_utils.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/config.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/__init__.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/ai_security_manager_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/ai_security_manager_service_config.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/auth_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/base_token_auth_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/cli_activation_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/client_creator.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/config.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/config_dev.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/cycode_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/cycode_client_base.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/cycode_dev_based_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/cycode_oidc_based_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/cycode_token_based_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/headers.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/import_sbom_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/logger.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/models.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/report_client.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/cyclient/scan_config_base.py +0 -0
- {cycode-3.27.0 → cycode-3.27.1}/cycode/logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cycode
|
|
3
|
-
Version: 3.27.
|
|
3
|
+
Version: 3.27.1
|
|
4
4
|
Summary: Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENCE
|
|
@@ -34,7 +34,7 @@ Requires-Dist: pywin32 (>=312,<313) ; sys_platform == "win32"
|
|
|
34
34
|
Requires-Dist: pyyaml (>=6.0,<7.0)
|
|
35
35
|
Requires-Dist: requests (>=2.33.0,<3.0)
|
|
36
36
|
Requires-Dist: rich (>=15.0.0,<16.0.0)
|
|
37
|
-
Requires-Dist: tenacity (>=9.1
|
|
37
|
+
Requires-Dist: tenacity (>=9.2.1,<9.3.0)
|
|
38
38
|
Requires-Dist: tomli (>=2.0.0,<3.0.0) ; python_version < "3.11"
|
|
39
39
|
Requires-Dist: tomli-w (>=1.0.0,<2.0.0)
|
|
40
40
|
Requires-Dist: truststore (>=0.10.4,<0.11.0)
|
|
@@ -5,4 +5,4 @@ import time as _time
|
|
|
5
5
|
# end-to-end scan duration from the moment the user actually triggered it.
|
|
6
6
|
_BOOT_WALL: float = _time.time()
|
|
7
7
|
|
|
8
|
-
__version__ = '3.27.
|
|
8
|
+
__version__ = '3.27.1' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
@@ -121,26 +121,17 @@ def _should_use_sync_flow(command_scan_type: str, scan_type: str, sync_option: b
|
|
|
121
121
|
Passing `--sync` option does not mean that sync flow will be used in all cases.
|
|
122
122
|
|
|
123
123
|
The logic:
|
|
124
|
-
- for
|
|
125
|
-
- for
|
|
126
|
-
- for SCA and Secrets scan, sync flow is supported only for path/repository scan
|
|
124
|
+
- for IaC and SAST scans, the async flow is always used
|
|
125
|
+
- for SCA and Secrets scans, sync flow is used only with `--sync` on path/repository scans
|
|
127
126
|
|
|
128
127
|
"""
|
|
129
|
-
if
|
|
128
|
+
if scan_type in {consts.IAC_SCAN_TYPE, consts.SAST_SCAN_TYPE}:
|
|
130
129
|
return False
|
|
131
130
|
|
|
132
|
-
if
|
|
131
|
+
if not sync_option:
|
|
133
132
|
return False
|
|
134
133
|
|
|
135
|
-
|
|
136
|
-
# sync in the only available flow for IAC scan; we do not use detector directly anymore
|
|
137
|
-
return True
|
|
138
|
-
|
|
139
|
-
if scan_type is consts.SAST_SCAN_TYPE: # noqa: SIM103
|
|
140
|
-
# SAST does not support sync flow
|
|
141
|
-
return False
|
|
142
|
-
|
|
143
|
-
return True
|
|
134
|
+
return command_scan_type in {'path', 'repository', 'ai_guardrails'}
|
|
144
135
|
|
|
145
136
|
|
|
146
137
|
def _get_scan_documents_thread_func(
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import platform
|
|
3
|
+
import re
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
import typer
|
|
7
|
+
|
|
8
|
+
from cycode.cli.files_collector.sca.base_restore_dependencies import BaseRestoreDependencies
|
|
9
|
+
from cycode.cli.models import Document
|
|
10
|
+
from cycode.cli.utils.path_utils import get_path_from_context
|
|
11
|
+
from cycode.cli.utils.shell_executor import shell
|
|
12
|
+
from cycode.logger import get_logger
|
|
13
|
+
|
|
14
|
+
logger = get_logger('Gradle Restore')
|
|
15
|
+
|
|
16
|
+
BUILD_GRADLE_FILE_NAME = 'build.gradle'
|
|
17
|
+
BUILD_GRADLE_KTS_FILE_NAME = 'build.gradle.kts'
|
|
18
|
+
BUILD_GRADLE_DEP_TREE_FILE_NAME = 'gradle-dependencies-generated.txt'
|
|
19
|
+
ALL_PROJECTS_REGEX = r"[+-]{3} Project '(.*?)'"
|
|
20
|
+
PROJECT_LOCATION_REGEX = r"^project '(.+?)' - (.+?)\s*$"
|
|
21
|
+
CURRENT_PROJECT_REGEX = r"^Project '(.+?)'\s*$"
|
|
22
|
+
ROOT_PROJECT_PATH = ':'
|
|
23
|
+
|
|
24
|
+
GRADLE_EXECUTABLE = 'gradle'
|
|
25
|
+
GRADLEW_FILE_NAME = 'gradlew'
|
|
26
|
+
GRADLEW_BAT_FILE_NAME = 'gradlew.bat'
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class RestoreGradleDependencies(BaseRestoreDependencies):
|
|
30
|
+
def __init__(
|
|
31
|
+
self, ctx: typer.Context, is_git_diff: bool, command_timeout: int, projects: set[str] | None = None
|
|
32
|
+
) -> None:
|
|
33
|
+
super().__init__(ctx, is_git_diff, command_timeout, create_output_file_manually=True)
|
|
34
|
+
self.gradle_executable = self._resolve_gradle_executable()
|
|
35
|
+
if projects is None:
|
|
36
|
+
projects = set()
|
|
37
|
+
self.project_locations: dict[Path, str] = {}
|
|
38
|
+
self.projects = self.get_all_projects() if self.is_gradle_sub_projects() else projects
|
|
39
|
+
|
|
40
|
+
def _resolve_gradle_executable(self) -> str:
|
|
41
|
+
scan_root = get_path_from_context(self.ctx)
|
|
42
|
+
if scan_root:
|
|
43
|
+
wrapper_name = GRADLEW_BAT_FILE_NAME if platform.system() == 'Windows' else GRADLEW_FILE_NAME
|
|
44
|
+
wrapper_path = os.path.join(scan_root, wrapper_name)
|
|
45
|
+
if os.path.isfile(wrapper_path):
|
|
46
|
+
return wrapper_path
|
|
47
|
+
return GRADLE_EXECUTABLE
|
|
48
|
+
|
|
49
|
+
def is_gradle_sub_projects(self) -> bool:
|
|
50
|
+
return self.ctx.obj.get('gradle_all_sub_projects', False)
|
|
51
|
+
|
|
52
|
+
def is_project(self, document: Document) -> bool:
|
|
53
|
+
return document.path.endswith(BUILD_GRADLE_FILE_NAME) or document.path.endswith(BUILD_GRADLE_KTS_FILE_NAME)
|
|
54
|
+
|
|
55
|
+
def get_commands(self, manifest_file_path: str) -> list[list[str]]:
|
|
56
|
+
if self.is_gradle_sub_projects():
|
|
57
|
+
return self.get_commands_for_sub_projects(manifest_file_path)
|
|
58
|
+
|
|
59
|
+
# Gradle finds the root settings file above it and selects the project whose projectDir
|
|
60
|
+
# is that directory.
|
|
61
|
+
manifest_dir = str(Path(manifest_file_path).parent)
|
|
62
|
+
return [[self.gradle_executable, '-p', manifest_dir, 'dependencies', '-q', '--console', 'plain']]
|
|
63
|
+
|
|
64
|
+
def get_lock_file_name(self) -> str:
|
|
65
|
+
return BUILD_GRADLE_DEP_TREE_FILE_NAME
|
|
66
|
+
|
|
67
|
+
def get_lock_file_names(self) -> list[str]:
|
|
68
|
+
return [self.get_lock_file_name()]
|
|
69
|
+
|
|
70
|
+
def get_working_directory(self, document: Document) -> str | None:
|
|
71
|
+
return get_path_from_context(self.ctx) if self.is_gradle_sub_projects() else None
|
|
72
|
+
|
|
73
|
+
def get_all_projects(self) -> set[str]:
|
|
74
|
+
scan_root = get_path_from_context(self.ctx)
|
|
75
|
+
output = shell(
|
|
76
|
+
command=[self.gradle_executable, 'projects'],
|
|
77
|
+
timeout=self.command_timeout,
|
|
78
|
+
working_directory=scan_root,
|
|
79
|
+
)
|
|
80
|
+
if not output:
|
|
81
|
+
return set()
|
|
82
|
+
|
|
83
|
+
if scan_root:
|
|
84
|
+
self.project_locations = self._parse_project_locations(output, Path(scan_root))
|
|
85
|
+
|
|
86
|
+
return set(re.findall(ALL_PROJECTS_REGEX, output))
|
|
87
|
+
|
|
88
|
+
@staticmethod
|
|
89
|
+
def _parse_project_locations(output: str, scan_root: Path) -> dict[Path, str]:
|
|
90
|
+
"""Map each project directory to its Gradle project path, from the "Project locations" section."""
|
|
91
|
+
# A location starts with a separator ("/x/y"). Strip it, or pathlib treats it as an absolute path.
|
|
92
|
+
relative_dirs = {
|
|
93
|
+
project_path: Path(relative_dir.lstrip('/\\'))
|
|
94
|
+
for project_path, relative_dir in re.findall(PROJECT_LOCATION_REGEX, output, flags=re.MULTILINE)
|
|
95
|
+
}
|
|
96
|
+
if not relative_dirs:
|
|
97
|
+
return {}
|
|
98
|
+
|
|
99
|
+
build_root = RestoreGradleDependencies._find_build_root(output, scan_root, relative_dirs)
|
|
100
|
+
locations = {(build_root / relative_dir).resolve(): path for path, relative_dir in relative_dirs.items()}
|
|
101
|
+
locations[build_root] = ROOT_PROJECT_PATH
|
|
102
|
+
return locations
|
|
103
|
+
|
|
104
|
+
@staticmethod
|
|
105
|
+
def _find_build_root(output: str, scan_root: Path, relative_dirs: dict[str, Path]) -> Path:
|
|
106
|
+
build_root = scan_root.resolve()
|
|
107
|
+
current_project = re.search(CURRENT_PROJECT_REGEX, output, flags=re.MULTILINE)
|
|
108
|
+
if current_project and current_project.group(1) in relative_dirs:
|
|
109
|
+
for _ in relative_dirs[current_project.group(1)].parts:
|
|
110
|
+
build_root = build_root.parent
|
|
111
|
+
|
|
112
|
+
return build_root
|
|
113
|
+
|
|
114
|
+
def _get_sub_project_path(self, manifest_file_path: str) -> str | None:
|
|
115
|
+
manifest_dir = Path(manifest_file_path).parent
|
|
116
|
+
if self.project_locations:
|
|
117
|
+
return self.project_locations.get(manifest_dir.resolve())
|
|
118
|
+
|
|
119
|
+
scan_root = get_path_from_context(self.ctx)
|
|
120
|
+
if self.projects and scan_root and manifest_dir.resolve() == Path(scan_root).resolve():
|
|
121
|
+
return ROOT_PROJECT_PATH
|
|
122
|
+
|
|
123
|
+
project_path = f':{manifest_dir.name}'
|
|
124
|
+
return project_path if project_path in self.projects else None
|
|
125
|
+
|
|
126
|
+
def get_commands_for_sub_projects(self, manifest_file_path: str) -> list[list[str]]:
|
|
127
|
+
project_path = self._get_sub_project_path(manifest_file_path)
|
|
128
|
+
if project_path is None:
|
|
129
|
+
logger.debug(
|
|
130
|
+
'Manifest does not match a Gradle project, skipping restore, %s',
|
|
131
|
+
{'manifest_file_path': manifest_file_path},
|
|
132
|
+
)
|
|
133
|
+
return []
|
|
134
|
+
|
|
135
|
+
task = 'dependencies' if project_path == ROOT_PROJECT_PATH else f'{project_path}:dependencies'
|
|
136
|
+
return [[self.gradle_executable, task, '-q', '--console', 'plain']]
|
|
@@ -23,6 +23,8 @@ from cycode.cyclient.logger import logger
|
|
|
23
23
|
if TYPE_CHECKING:
|
|
24
24
|
from cycode.cyclient.scan_config_base import ScanConfigBase
|
|
25
25
|
|
|
26
|
+
_DETECTION_RULES_IDS_PER_REQUEST = 50
|
|
27
|
+
|
|
26
28
|
|
|
27
29
|
class ScanClient:
|
|
28
30
|
def __init__(
|
|
@@ -317,13 +319,18 @@ class ScanClient:
|
|
|
317
319
|
return models.DetectionRuleSchema().load(response.json(), many=True)
|
|
318
320
|
|
|
319
321
|
def get_detection_rules(self, detection_rules_ids: set[str] | list[str]) -> list[models.DetectionRule]:
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
322
|
+
# The ids go in the query string; too many of them exceed the URL limit (HTTP 414).
|
|
323
|
+
ids = list(detection_rules_ids)
|
|
324
|
+
detection_rules = []
|
|
325
|
+
for start in range(0, len(ids), _DETECTION_RULES_IDS_PER_REQUEST):
|
|
326
|
+
response = self.scan_cycode_client.get(
|
|
327
|
+
url_path=self.get_detection_rules_path(),
|
|
328
|
+
params={'ids': ids[start : start + _DETECTION_RULES_IDS_PER_REQUEST]},
|
|
329
|
+
hide_response_content_log=self._hide_response_log,
|
|
330
|
+
)
|
|
331
|
+
detection_rules.extend(self.parse_detection_rules_response(response))
|
|
325
332
|
|
|
326
|
-
return
|
|
333
|
+
return detection_rules
|
|
327
334
|
|
|
328
335
|
def get_scan_detections_path(self) -> str:
|
|
329
336
|
return f'{self.scan_config.get_detections_prefix()}/{self._DETECTIONS_SERVICE_CLI_CONTROLLER_PATH}'
|
|
@@ -20,7 +20,7 @@ classifiers = [
|
|
|
20
20
|
"Programming Language :: Python :: 3.14",
|
|
21
21
|
]
|
|
22
22
|
dynamic = ["dependencies"]
|
|
23
|
-
version = "3.27.
|
|
23
|
+
version = "3.27.1"
|
|
24
24
|
|
|
25
25
|
[project.scripts]
|
|
26
26
|
cycode = "cycode.cli.app:app"
|
|
@@ -45,7 +45,7 @@ pyjwt = ">=2.15.0,<3.0"
|
|
|
45
45
|
rich = ">=15.0.0,<16.0.0"
|
|
46
46
|
patch-ng = "1.19.1"
|
|
47
47
|
typer = "^0.15.3"
|
|
48
|
-
tenacity = ">=9.1
|
|
48
|
+
tenacity = ">=9.2.1,<9.3.0"
|
|
49
49
|
mcp = ">=1.30.0,<2.0.0"
|
|
50
50
|
truststore = ">=0.10.4,<0.11.0"
|
|
51
51
|
pywin32 = { version = ">=312,<313", markers = "sys_platform == 'win32'" }
|
|
@@ -61,11 +61,11 @@ pytest = ">=9.0.3,<9.1.0"
|
|
|
61
61
|
pytest-mock = ">=3.15.1,<3.16.0"
|
|
62
62
|
coverage = ">=7.2.3,<7.11.0"
|
|
63
63
|
responses = ">=0.26.3,<0.27.0"
|
|
64
|
-
pyfakefs = ">=
|
|
64
|
+
pyfakefs = ">=6.2.0,<6.3.0"
|
|
65
65
|
|
|
66
66
|
[tool.poetry.group.executable.dependencies]
|
|
67
67
|
pyinstaller = {version=">=6.22.2,<7.0.0", python=">=3.10,<3.15"}
|
|
68
|
-
dunamai = ">=1.26.
|
|
68
|
+
dunamai = ">=1.26.3,<1.27.0"
|
|
69
69
|
|
|
70
70
|
[tool.poetry.group.dev.dependencies]
|
|
71
71
|
ruff = "0.16.9"
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
import platform
|
|
3
|
-
import re
|
|
4
|
-
|
|
5
|
-
import typer
|
|
6
|
-
|
|
7
|
-
from cycode.cli.files_collector.sca.base_restore_dependencies import BaseRestoreDependencies
|
|
8
|
-
from cycode.cli.models import Document
|
|
9
|
-
from cycode.cli.utils.path_utils import get_path_from_context
|
|
10
|
-
from cycode.cli.utils.shell_executor import shell
|
|
11
|
-
|
|
12
|
-
BUILD_GRADLE_FILE_NAME = 'build.gradle'
|
|
13
|
-
BUILD_GRADLE_KTS_FILE_NAME = 'build.gradle.kts'
|
|
14
|
-
BUILD_GRADLE_DEP_TREE_FILE_NAME = 'gradle-dependencies-generated.txt'
|
|
15
|
-
ALL_PROJECTS_REGEX = r"[+-]{3} Project '(.*?)'"
|
|
16
|
-
|
|
17
|
-
GRADLE_EXECUTABLE = 'gradle'
|
|
18
|
-
GRADLEW_FILE_NAME = 'gradlew'
|
|
19
|
-
GRADLEW_BAT_FILE_NAME = 'gradlew.bat'
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class RestoreGradleDependencies(BaseRestoreDependencies):
|
|
23
|
-
def __init__(
|
|
24
|
-
self, ctx: typer.Context, is_git_diff: bool, command_timeout: int, projects: set[str] | None = None
|
|
25
|
-
) -> None:
|
|
26
|
-
super().__init__(ctx, is_git_diff, command_timeout, create_output_file_manually=True)
|
|
27
|
-
self.gradle_executable = self._resolve_gradle_executable()
|
|
28
|
-
if projects is None:
|
|
29
|
-
projects = set()
|
|
30
|
-
self.projects = self.get_all_projects() if self.is_gradle_sub_projects() else projects
|
|
31
|
-
|
|
32
|
-
def _resolve_gradle_executable(self) -> str:
|
|
33
|
-
scan_root = get_path_from_context(self.ctx)
|
|
34
|
-
if scan_root:
|
|
35
|
-
wrapper_name = GRADLEW_BAT_FILE_NAME if platform.system() == 'Windows' else GRADLEW_FILE_NAME
|
|
36
|
-
wrapper_path = os.path.join(scan_root, wrapper_name)
|
|
37
|
-
if os.path.isfile(wrapper_path):
|
|
38
|
-
return wrapper_path
|
|
39
|
-
return GRADLE_EXECUTABLE
|
|
40
|
-
|
|
41
|
-
def is_gradle_sub_projects(self) -> bool:
|
|
42
|
-
return self.ctx.obj.get('gradle_all_sub_projects', False)
|
|
43
|
-
|
|
44
|
-
def is_project(self, document: Document) -> bool:
|
|
45
|
-
return document.path.endswith(BUILD_GRADLE_FILE_NAME) or document.path.endswith(BUILD_GRADLE_KTS_FILE_NAME)
|
|
46
|
-
|
|
47
|
-
def get_commands(self, manifest_file_path: str) -> list[list[str]]:
|
|
48
|
-
return (
|
|
49
|
-
self.get_commands_for_sub_projects(manifest_file_path)
|
|
50
|
-
if self.is_gradle_sub_projects()
|
|
51
|
-
else [[self.gradle_executable, 'dependencies', '-b', manifest_file_path, '-q', '--console', 'plain']]
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
def get_lock_file_name(self) -> str:
|
|
55
|
-
return BUILD_GRADLE_DEP_TREE_FILE_NAME
|
|
56
|
-
|
|
57
|
-
def get_lock_file_names(self) -> list[str]:
|
|
58
|
-
return [self.get_lock_file_name()]
|
|
59
|
-
|
|
60
|
-
def get_working_directory(self, document: Document) -> str | None:
|
|
61
|
-
return get_path_from_context(self.ctx) if self.is_gradle_sub_projects() else None
|
|
62
|
-
|
|
63
|
-
def get_all_projects(self) -> set[str]:
|
|
64
|
-
output = shell(
|
|
65
|
-
command=[self.gradle_executable, 'projects'],
|
|
66
|
-
timeout=self.command_timeout,
|
|
67
|
-
working_directory=get_path_from_context(self.ctx),
|
|
68
|
-
)
|
|
69
|
-
if not output:
|
|
70
|
-
return set()
|
|
71
|
-
|
|
72
|
-
return set(re.findall(ALL_PROJECTS_REGEX, output))
|
|
73
|
-
|
|
74
|
-
def get_commands_for_sub_projects(self, manifest_file_path: str) -> list[list[str]]:
|
|
75
|
-
project_name = os.path.basename(os.path.dirname(manifest_file_path))
|
|
76
|
-
project_name = f':{project_name}'
|
|
77
|
-
return (
|
|
78
|
-
[[self.gradle_executable, f'{project_name}:dependencies', '-q', '--console', 'plain']]
|
|
79
|
-
if project_name in self.projects
|
|
80
|
-
else []
|
|
81
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.27.0 → cycode-3.27.1}/cycode/cli/apps/report/sbom/repository_url/repository_url_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
|
{cycode-3.27.0 → cycode-3.27.1}/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
|