cycode 1.11.1.dev4__tar.gz → 1.11.1.dev5__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-1.11.1.dev4 → cycode-1.11.1.dev5}/PKG-INFO +1 -1
- cycode-1.11.1.dev5/cycode/__init__.py +1 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/sca_code_scanner.py +22 -21
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/pyproject.toml +1 -1
- cycode-1.11.1.dev4/cycode/__init__.py +0 -1
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/README.md +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/auth/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/auth/auth_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/auth/auth_manager.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/configure/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/configure/configure_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/ignore/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/ignore/ignore_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/main_cli.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/report_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/common.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/path/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/path/path_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/repository_url/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/repository_url/repository_url_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/sbom_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/sbom_report_file.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/code_scanner.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/commit_history/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/commit_history/commit_history_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/path/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/path/path_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/pre_commit/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/pre_commit/pre_commit_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/pre_receive/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/pre_receive/pre_receive_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/repository/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/repository/repository_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/scan_ci/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/scan_ci/ci_integrations.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/scan_ci/scan_ci_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/scan_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/version/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/version/version_command.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/config.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/config.yaml +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/consts.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/exceptions/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/exceptions/custom_exceptions.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/exceptions/handle_report_sbom_errors.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/exceptions/handle_scan_errors.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/excluder.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/iac/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/iac/tf_content_generator.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/models/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/models/in_memory_zip.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/path_documents.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/repository_documents.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/base_restore_dependencies.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/maven/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/npm/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/nuget/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/nuget/restore_nuget_dependencies.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/zip_documents.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/main.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/models.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/console_printer.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/json_printer.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/printer_base.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/tables/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/tables/sca_table_printer.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/tables/table.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/tables/table_models.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/tables/table_printer.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/tables/table_printer_base.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/printers/text_printer.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/sentry.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/user_settings/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/user_settings/base_file_manager.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/user_settings/config_file_manager.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/user_settings/configuration_manager.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/user_settings/credentials_manager.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/user_settings/jwt_creator.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/enum_utils.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/get_api_client.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/git_proxy.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/jwt_utils.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/path_utils.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/progress_bar.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/scan_batch.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/scan_utils.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/shell_executor.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/string_utils.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/task_timer.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/utils/yaml_utils.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/__init__.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/auth_client.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/client_creator.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/config.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/config.yaml +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/config_dev.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/cycode_client.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/cycode_client_base.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/cycode_dev_based_client.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/cycode_token_based_client.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/headers.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/models.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/report_client.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/scan_client.py +0 -0
- {cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cyclient/scan_config_base.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.11.1.dev5' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/sca/sca_code_scanner.py
RENAMED
|
@@ -93,27 +93,28 @@ def try_restore_dependencies(
|
|
|
93
93
|
restore_dependencies: 'BaseRestoreDependencies',
|
|
94
94
|
document: Document,
|
|
95
95
|
) -> None:
|
|
96
|
-
if restore_dependencies.is_project(document):
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
96
|
+
if not restore_dependencies.is_project(document):
|
|
97
|
+
return
|
|
98
|
+
|
|
99
|
+
restore_dependencies_document = restore_dependencies.restore(document)
|
|
100
|
+
if restore_dependencies_document is None:
|
|
101
|
+
logger.warning('Error occurred while trying to generate dependencies tree, %s', {'filename': document.path})
|
|
102
|
+
return
|
|
103
|
+
|
|
104
|
+
if restore_dependencies_document.content is None:
|
|
105
|
+
logger.warning('Error occurred while trying to generate dependencies tree, %s', {'filename': document.path})
|
|
106
|
+
restore_dependencies_document.content = ''
|
|
107
|
+
else:
|
|
108
|
+
is_monitor_action = context.obj.get('monitor', False)
|
|
109
|
+
project_path = get_path_from_context(context)
|
|
110
|
+
|
|
111
|
+
manifest_file_path = get_manifest_file_path(document, is_monitor_action, project_path)
|
|
112
|
+
logger.debug('Succeeded to generate dependencies tree on path: %s', manifest_file_path)
|
|
113
|
+
|
|
114
|
+
if restore_dependencies_document.path in documents_to_add:
|
|
115
|
+
logger.debug('Duplicate document on restore for path: %s', restore_dependencies_document.path)
|
|
116
|
+
else:
|
|
117
|
+
documents_to_add[restore_dependencies_document.path] = restore_dependencies_document
|
|
117
118
|
|
|
118
119
|
|
|
119
120
|
def add_dependencies_tree_document(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "cycode"
|
|
3
|
-
version = "1.11.1.
|
|
3
|
+
version = "1.11.1.dev5" # 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__ = '1.11.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
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/configure/configure_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
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/path/path_command.py
RENAMED
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/repository_url/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/report/sbom/sbom_report_file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/commit_history/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/pre_commit/pre_commit_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/repository/repository_command.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/scan_ci/ci_integrations.py
RENAMED
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/commands/scan/scan_ci/scan_ci_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
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/exceptions/handle_report_sbom_errors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/iac/tf_content_generator.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/models/in_memory_zip.py
RENAMED
|
File without changes
|
|
File without changes
|
{cycode-1.11.1.dev4 → cycode-1.11.1.dev5}/cycode/cli/files_collector/repository_documents.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|