cycode 3.2.1.dev1__tar.gz → 3.2.2.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/PKG-INFO +1 -1
- cycode-3.2.2.dev2/cycode/__init__.py +1 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/scan_command.py +11 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/consts.py +2 -1
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py +15 -7
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/pyproject.toml +1 -1
- cycode-3.2.1.dev1/cycode/__init__.py +0 -1
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/LICENCE +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/README.md +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/__main__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/app.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/ai_remediation/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/ai_remediation/ai_remediation_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/ai_remediation/apply_fix.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/ai_remediation/print_remediation.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/auth/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/auth/auth_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/auth/auth_common.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/auth/auth_manager.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/auth/models.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/configure/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/configure/configure_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/configure/consts.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/configure/messages.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/configure/prompts.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/ignore/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/ignore/ignore_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/mcp/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/mcp/mcp_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/report_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/common.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/path/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/path/path_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/repository_url/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/repository_url/repository_url_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/sbom_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/sbom_report_file.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/aggregation_report.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/code_scanner.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/commit_history/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/commit_history/commit_history_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/commit_range_scanner.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/detection_excluder.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/path/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/path/path_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/pre_commit/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/pre_receive/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/remote_url_resolver.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/repository/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/repository/repository_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/scan_ci/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/scan_ci/ci_integrations.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/scan_ci/scan_ci_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/scan_parameters.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/scan_result.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/status/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/status/get_cli_status.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/status/models.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/status/status_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/status/version_command.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/cli_types.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/config.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/console.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/exceptions/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/exceptions/custom_exceptions.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/exceptions/handle_ai_remediation_errors.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/exceptions/handle_auth_errors.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/exceptions/handle_errors.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/exceptions/handle_report_sbom_errors.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/exceptions/handle_scan_errors.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/commit_range_documents.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/file_excluder.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/iac/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/iac/tf_content_generator.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/models/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/models/in_memory_zip.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/path_documents.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/repository_documents.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/base_restore_dependencies.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/go/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/maven/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/npm/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/nuget/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/nuget/restore_nuget_dependencies.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/ruby/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/ruby/restore_ruby_dependencies.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/sbt/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/sbt/restore_sbt_dependencies.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/sca_file_collector.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/walk_ignore.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/zip_documents.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/logger.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/main.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/models.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/console_printer.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/json_printer.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/printer_base.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/rich_printer.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/tables/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/tables/sca_table_printer.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/tables/table.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/tables/table_models.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/tables/table_printer.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/tables/table_printer_base.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/text_printer.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/code_snippet_syntax.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/detection_data.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/detection_ordering/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/detection_ordering/common_ordering.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/rich_helpers.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/user_settings/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/user_settings/base_file_manager.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/user_settings/config_file_manager.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/user_settings/configuration_manager.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/user_settings/credentials_manager.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/user_settings/jwt_creator.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/enum_utils.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/get_api_client.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/git_proxy.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/ignore_utils.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/jwt_utils.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/path_utils.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/progress_bar.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/scan_batch.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/scan_utils.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/sentry.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/shell_executor.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/string_utils.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/task_timer.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/version_checker.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/utils/yaml_utils.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/config.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/__init__.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/auth_client.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/client_creator.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/config.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/config_dev.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/cycode_client.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/cycode_client_base.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/cycode_dev_based_client.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/cycode_token_based_client.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/headers.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/logger.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/models.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/report_client.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/scan_client.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cyclient/scan_config_base.py +0 -0
- {cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/logger.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.2.2.dev2' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
@@ -88,6 +88,16 @@ def scan_command(
|
|
|
88
88
|
rich_help_panel=_SCA_RICH_HELP_PANEL,
|
|
89
89
|
),
|
|
90
90
|
] = False,
|
|
91
|
+
maven_settings_file: Annotated[
|
|
92
|
+
Optional[Path],
|
|
93
|
+
typer.Option(
|
|
94
|
+
'--maven-settings-file',
|
|
95
|
+
show_default=False,
|
|
96
|
+
help='When specified, Cycode will use this settings.xml file when building the maven dependency tree.',
|
|
97
|
+
dir_okay=False,
|
|
98
|
+
rich_help_panel=_SCA_RICH_HELP_PANEL,
|
|
99
|
+
),
|
|
100
|
+
] = None,
|
|
91
101
|
export_type: Annotated[
|
|
92
102
|
ExportTypeOption,
|
|
93
103
|
typer.Option(
|
|
@@ -143,6 +153,7 @@ def scan_command(
|
|
|
143
153
|
ctx.obj['sync'] = sync
|
|
144
154
|
ctx.obj['severity_threshold'] = severity_threshold
|
|
145
155
|
ctx.obj['monitor'] = monitor
|
|
156
|
+
ctx.obj['maven_settings_file'] = maven_settings_file
|
|
146
157
|
ctx.obj['report'] = report
|
|
147
158
|
|
|
148
159
|
scan_client = get_scan_cycode_client(ctx)
|
|
@@ -72,6 +72,7 @@ SCA_CONFIGURATION_SCAN_SUPPORTED_FILES = ( # keep in lowercase
|
|
|
72
72
|
'package.json',
|
|
73
73
|
'package-lock.json',
|
|
74
74
|
'yarn.lock',
|
|
75
|
+
'pnpm-lock.yaml',
|
|
75
76
|
'npm-shrinkwrap.json',
|
|
76
77
|
'packages.config',
|
|
77
78
|
'project.assets.json',
|
|
@@ -126,7 +127,7 @@ PROJECT_FILES_BY_ECOSYSTEM_MAP = {
|
|
|
126
127
|
'go': ['go.sum', 'go.mod', 'go.mod.graph', 'Gopkg.lock'],
|
|
127
128
|
'maven_pom': ['pom.xml'],
|
|
128
129
|
'maven_gradle': ['build.gradle', 'build.gradle.kts', 'gradle.lockfile'],
|
|
129
|
-
'npm': ['package.json', 'package-lock.json', 'yarn.lock', 'npm-shrinkwrap.json', '.npmrc'],
|
|
130
|
+
'npm': ['package.json', 'package-lock.json', 'yarn.lock', 'npm-shrinkwrap.json', '.npmrc', 'pnpm-lock.yaml'],
|
|
130
131
|
'nuget': ['packages.config', 'project.assets.json', 'packages.lock.json', 'nuget.config'],
|
|
131
132
|
'ruby_gems': ['Gemfile', 'Gemfile.lock'],
|
|
132
133
|
'sbt': ['build.sbt', 'build.scala', 'build.sbt.lock'],
|
|
@@ -24,7 +24,12 @@ class RestoreMavenDependencies(BaseRestoreDependencies):
|
|
|
24
24
|
return path.basename(document.path).split('/')[-1] == BUILD_MAVEN_FILE_NAME
|
|
25
25
|
|
|
26
26
|
def get_commands(self, manifest_file_path: str) -> list[list[str]]:
|
|
27
|
-
|
|
27
|
+
command = ['mvn', 'org.cyclonedx:cyclonedx-maven-plugin:2.7.4:makeAggregateBom', '-f', manifest_file_path]
|
|
28
|
+
|
|
29
|
+
maven_settings_file = self.ctx.obj.get('maven_settings_file')
|
|
30
|
+
if maven_settings_file:
|
|
31
|
+
command += ['-s', str(maven_settings_file)]
|
|
32
|
+
return [command]
|
|
28
33
|
|
|
29
34
|
def get_lock_file_name(self) -> str:
|
|
30
35
|
return join_paths('target', MAVEN_CYCLONE_DEP_TREE_FILE_NAME)
|
|
@@ -46,7 +51,7 @@ class RestoreMavenDependencies(BaseRestoreDependencies):
|
|
|
46
51
|
|
|
47
52
|
def restore_from_secondary_command(self, document: Document, manifest_file_path: str) -> Optional[Document]:
|
|
48
53
|
restore_content = execute_commands(
|
|
49
|
-
commands=create_secondary_restore_commands(manifest_file_path),
|
|
54
|
+
commands=self.create_secondary_restore_commands(manifest_file_path),
|
|
50
55
|
timeout=self.command_timeout,
|
|
51
56
|
working_directory=self.get_working_directory(document),
|
|
52
57
|
)
|
|
@@ -61,10 +66,8 @@ class RestoreMavenDependencies(BaseRestoreDependencies):
|
|
|
61
66
|
absolute_path=restore_file_path,
|
|
62
67
|
)
|
|
63
68
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
return [
|
|
67
|
-
[
|
|
69
|
+
def create_secondary_restore_commands(self, manifest_file_path: str) -> list[list[str]]:
|
|
70
|
+
command = [
|
|
68
71
|
'mvn',
|
|
69
72
|
'dependency:tree',
|
|
70
73
|
'-B',
|
|
@@ -73,4 +76,9 @@ def create_secondary_restore_commands(manifest_file_path: str) -> list[list[str]
|
|
|
73
76
|
manifest_file_path,
|
|
74
77
|
f'-DoutputFile={MAVEN_DEP_TREE_FILE_NAME}',
|
|
75
78
|
]
|
|
76
|
-
|
|
79
|
+
|
|
80
|
+
maven_settings_file = self.ctx.obj.get('maven_settings_file')
|
|
81
|
+
if maven_settings_file:
|
|
82
|
+
command += ['-s', str(maven_settings_file)]
|
|
83
|
+
|
|
84
|
+
return [command]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "cycode"
|
|
3
|
-
version = "3.2.
|
|
3
|
+
version = "3.2.2.dev2" # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
4
4
|
description = "Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning."
|
|
5
5
|
keywords=["secret-scan", "cycode", "devops", "token", "secret", "security", "cycode", "code"]
|
|
6
6
|
authors = ["Cycode <support@cycode.com>"]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '3.2.1.dev1' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/ai_remediation/ai_remediation_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/report/sbom/repository_url/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/apps/scan/repository/repository_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/exceptions/handle_ai_remediation_errors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/commit_range_documents.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/iac/tf_content_generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/base_restore_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/files_collector/sca/sca_file_collector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/detection_ordering/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-3.2.1.dev1 → cycode-3.2.2.dev2}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|