cycode 3.3.1.dev4__tar.gz → 3.3.1.dev6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/PKG-INFO +63 -14
  2. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/README.md +62 -13
  3. cycode-3.3.1.dev6/cycode/__init__.py +1 -0
  4. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/__init__.py +1 -1
  5. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/walk_ignore.py +2 -1
  6. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/pyproject.toml +1 -1
  7. cycode-3.3.1.dev4/cycode/__init__.py +0 -1
  8. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/LICENCE +0 -0
  9. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/__main__.py +0 -0
  10. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/__init__.py +0 -0
  11. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/app.py +0 -0
  12. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/__init__.py +0 -0
  13. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ai_remediation/__init__.py +0 -0
  14. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ai_remediation/ai_remediation_command.py +0 -0
  15. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ai_remediation/apply_fix.py +0 -0
  16. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ai_remediation/print_remediation.py +0 -0
  17. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/__init__.py +0 -0
  18. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/auth_command.py +0 -0
  19. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/auth_common.py +0 -0
  20. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/auth_manager.py +0 -0
  21. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/auth/models.py +0 -0
  22. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/__init__.py +0 -0
  23. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/configure_command.py +0 -0
  24. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/consts.py +0 -0
  25. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/messages.py +0 -0
  26. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/configure/prompts.py +0 -0
  27. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ignore/__init__.py +0 -0
  28. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/ignore/ignore_command.py +0 -0
  29. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/mcp/__init__.py +0 -0
  30. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/mcp/mcp_command.py +0 -0
  31. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/__init__.py +0 -0
  32. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/report_command.py +0 -0
  33. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/__init__.py +0 -0
  34. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/common.py +0 -0
  35. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/path/__init__.py +0 -0
  36. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/path/path_command.py +0 -0
  37. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/repository_url/__init__.py +0 -0
  38. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/repository_url/repository_url_command.py +0 -0
  39. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/sbom_command.py +0 -0
  40. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/report/sbom/sbom_report_file.py +0 -0
  41. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/aggregation_report.py +0 -0
  42. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/code_scanner.py +0 -0
  43. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/commit_history/__init__.py +0 -0
  44. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/commit_history/commit_history_command.py +0 -0
  45. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/commit_range_scanner.py +0 -0
  46. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/detection_excluder.py +0 -0
  47. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/path/__init__.py +0 -0
  48. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/path/path_command.py +0 -0
  49. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_commit/__init__.py +0 -0
  50. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_commit/pre_commit_command.py +0 -0
  51. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_receive/__init__.py +0 -0
  52. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/pre_receive/pre_receive_command.py +0 -0
  53. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/remote_url_resolver.py +0 -0
  54. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/repository/__init__.py +0 -0
  55. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/repository/repository_command.py +0 -0
  56. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_ci/__init__.py +0 -0
  57. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_ci/ci_integrations.py +0 -0
  58. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_ci/scan_ci_command.py +0 -0
  59. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_command.py +0 -0
  60. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_parameters.py +0 -0
  61. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/scan/scan_result.py +0 -0
  62. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/__init__.py +0 -0
  63. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/get_cli_status.py +0 -0
  64. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/models.py +0 -0
  65. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/status_command.py +0 -0
  66. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/apps/status/version_command.py +0 -0
  67. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/cli_types.py +0 -0
  68. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/config.py +0 -0
  69. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/console.py +0 -0
  70. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/consts.py +0 -0
  71. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/__init__.py +0 -0
  72. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/custom_exceptions.py +0 -0
  73. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_ai_remediation_errors.py +0 -0
  74. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_auth_errors.py +0 -0
  75. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_errors.py +0 -0
  76. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_report_sbom_errors.py +0 -0
  77. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/exceptions/handle_scan_errors.py +0 -0
  78. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/__init__.py +0 -0
  79. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/commit_range_documents.py +0 -0
  80. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/file_excluder.py +0 -0
  81. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/iac/__init__.py +0 -0
  82. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/iac/tf_content_generator.py +0 -0
  83. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/models/__init__.py +0 -0
  84. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/models/in_memory_zip.py +0 -0
  85. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/path_documents.py +0 -0
  86. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/repository_documents.py +0 -0
  87. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/__init__.py +0 -0
  88. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/base_restore_dependencies.py +0 -0
  89. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/go/__init__.py +0 -0
  90. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/go/restore_go_dependencies.py +0 -0
  91. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/maven/__init__.py +0 -0
  92. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/maven/restore_gradle_dependencies.py +0 -0
  93. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py +0 -0
  94. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/npm/__init__.py +0 -0
  95. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py +0 -0
  96. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/nuget/__init__.py +0 -0
  97. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/nuget/restore_nuget_dependencies.py +0 -0
  98. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/ruby/__init__.py +0 -0
  99. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/ruby/restore_ruby_dependencies.py +0 -0
  100. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/sbt/__init__.py +0 -0
  101. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/sbt/restore_sbt_dependencies.py +0 -0
  102. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/sca/sca_file_collector.py +0 -0
  103. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/files_collector/zip_documents.py +0 -0
  104. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/logger.py +0 -0
  105. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/main.py +0 -0
  106. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/models.py +0 -0
  107. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/__init__.py +0 -0
  108. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/console_printer.py +0 -0
  109. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/json_printer.py +0 -0
  110. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/printer_base.py +0 -0
  111. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/rich_printer.py +0 -0
  112. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/__init__.py +0 -0
  113. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/sca_table_printer.py +0 -0
  114. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/table.py +0 -0
  115. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/table_models.py +0 -0
  116. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/table_printer.py +0 -0
  117. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/tables/table_printer_base.py +0 -0
  118. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/text_printer.py +0 -0
  119. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/__init__.py +0 -0
  120. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/code_snippet_syntax.py +0 -0
  121. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_data.py +0 -0
  122. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_ordering/__init__.py +0 -0
  123. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_ordering/common_ordering.py +0 -0
  124. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/detection_ordering/sca_ordering.py +0 -0
  125. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/printers/utils/rich_helpers.py +0 -0
  126. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/__init__.py +0 -0
  127. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/base_file_manager.py +0 -0
  128. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/config_file_manager.py +0 -0
  129. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/configuration_manager.py +0 -0
  130. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/credentials_manager.py +0 -0
  131. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/user_settings/jwt_creator.py +0 -0
  132. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/__init__.py +0 -0
  133. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/enum_utils.py +0 -0
  134. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/get_api_client.py +0 -0
  135. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/git_proxy.py +0 -0
  136. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/ignore_utils.py +0 -0
  137. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/jwt_utils.py +0 -0
  138. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/path_utils.py +0 -0
  139. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/progress_bar.py +0 -0
  140. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/scan_batch.py +0 -0
  141. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/scan_utils.py +0 -0
  142. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/sentry.py +0 -0
  143. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/shell_executor.py +0 -0
  144. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/string_utils.py +0 -0
  145. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/task_timer.py +0 -0
  146. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/version_checker.py +0 -0
  147. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cli/utils/yaml_utils.py +0 -0
  148. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/config.py +0 -0
  149. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/__init__.py +0 -0
  150. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/auth_client.py +0 -0
  151. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/client_creator.py +0 -0
  152. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/config.py +0 -0
  153. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/config_dev.py +0 -0
  154. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/cycode_client.py +0 -0
  155. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/cycode_client_base.py +0 -0
  156. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/cycode_dev_based_client.py +0 -0
  157. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/cycode_token_based_client.py +0 -0
  158. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/headers.py +0 -0
  159. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/logger.py +0 -0
  160. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/models.py +0 -0
  161. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/report_client.py +0 -0
  162. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/scan_client.py +0 -0
  163. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/cyclient/scan_config_base.py +0 -0
  164. {cycode-3.3.1.dev4 → cycode-3.3.1.dev6}/cycode/logger.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cycode
3
- Version: 3.3.1.dev4
3
+ Version: 3.3.1.dev6
4
4
  Summary: Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning.
5
5
  Home-page: https://github.com/cycodehq/cycode-cli
6
6
  License: MIT
@@ -79,7 +79,7 @@ This guide walks you through both installation and usage.
79
79
  3. [Path Scan](#path-scan)
80
80
  1. [Terraform Plan Scan](#terraform-plan-scan)
81
81
  4. [Commit History Scan](#commit-history-scan)
82
- 1. [Commit Range Option](#commit-range-option)
82
+ 1. [Commit Range Option (Diff Scanning)](#commit-range-option-diff-scanning)
83
83
  5. [Pre-Commit Scan](#pre-commit-scan)
84
84
  2. [Scan Results](#scan-results)
85
85
  1. [Show/Hide Secrets](#showhide-secrets)
@@ -596,12 +596,12 @@ The Cycode CLI application offers several types of scans so that you can choose
596
596
  | `--maven-settings-file` | For Maven only, allows using a custom [settings.xml](https://maven.apache.org/settings.html) file when scanning for dependencies |
597
597
  | `--help` | Show options for given command. |
598
598
 
599
- | Command | Description |
600
- |----------------------------------------|-----------------------------------------------------------------|
601
- | [commit-history](#commit-history-scan) | Scan all the commits history in this git repository |
602
- | [path](#path-scan) | Scan the files in the path supplied in the command |
603
- | [pre-commit](#pre-commit-scan) | Use this command to scan the content that was not committed yet |
604
- | [repository](#repository-scan) | Scan git repository including its history |
599
+ | Command | Description |
600
+ |----------------------------------------|-----------------------------------------------------------------------|
601
+ | [commit-history](#commit-history-scan) | Scan commit history or perform diff scanning between specific commits |
602
+ | [path](#path-scan) | Scan the files in the path supplied in the command |
603
+ | [pre-commit](#pre-commit-scan) | Use this command to scan the content that was not committed yet |
604
+ | [repository](#repository-scan) | Scan git repository including its history |
605
605
 
606
606
  ### Options
607
607
 
@@ -745,9 +745,16 @@ If you just have a configuration file, you can generate a plan by doing the foll
745
745
  ### Commit History Scan
746
746
 
747
747
  > [!NOTE]
748
- > Secrets scanning analyzes all commits in the repository history because secrets introduced and later removed can still be leaked or exposed. SCA and SAST scanning focus only on the latest code state and the changes between branches or pull requests. Full commit history scanning is not performed for SCA and SAST.
748
+ > Commit History Scan is not available for IaC scans.
749
749
 
750
- A commit history scan is limited to a local repository’s previous commits, focused on finding any secrets within the commit history, instead of examining the repository’s current state.
750
+ The commit history scan command provides two main capabilities:
751
+
752
+ 1. **Full History Scanning**: Analyze all commits in the repository history
753
+ 2. **Diff Scanning**: Scan only the changes between specific commits
754
+
755
+ Secrets scanning can analyze all commits in the repository history because secrets introduced and later removed can still be leaked or exposed. For SCA and SAST scans, the commit history command focuses on scanning the differences/changes between commits, making it perfect for pull request reviews and incremental scanning.
756
+
757
+ A commit history scan examines your Git repository's commit history and can be used both for comprehensive historical analysis and targeted diff scanning of specific changes.
751
758
 
752
759
  To execute a commit history scan, execute the following:
753
760
 
@@ -763,13 +770,55 @@ The following options are available for use with this command:
763
770
  |---------------------------|----------------------------------------------------------------------------------------------------------|
764
771
  | `-r, --commit-range TEXT` | Scan a commit range in this git repository, by default cycode scans all commit history (example: HEAD~1) |
765
772
 
766
- #### Commit Range Option
773
+ #### Commit Range Option (Diff Scanning)
774
+
775
+ The commit range option enables **diff scanning** – scanning only the changes between specific commits instead of the entire repository history.
776
+ This is particularly useful for:
777
+ - **Pull request validation**: Scan only the changes introduced in a PR
778
+ - **Incremental CI/CD scanning**: Focus on recent changes rather than the entire codebase
779
+ - **Feature branch review**: Compare changes against main/master branch
780
+ - **Performance optimization**: Faster scans by limiting scope to relevant changes
781
+
782
+ #### Commit Range Syntax
783
+
784
+ The `--commit-range` (`-r`) option supports standard Git revision syntax:
785
+
786
+ | Syntax | Description | Example |
787
+ |---------------------|-----------------------------------|-------------------------|
788
+ | `commit1..commit2` | Changes from commit1 to commit2 | `abc123..def456` |
789
+ | `commit1...commit2` | Changes in commit2 not in commit1 | `main...feature-branch` |
790
+ | `commit` | Changes from commit to HEAD | `HEAD~1` |
791
+ | `branch1..branch2` | Changes from branch1 to branch2 | `main..feature-branch` |
792
+
793
+ #### Diff Scanning Examples
794
+
795
+ **Scan changes in the last commit:**
796
+ ```bash
797
+ cycode scan commit-history -r HEAD~1 ~/home/git/codebase
798
+ ```
799
+
800
+ **Scan changes between two specific commits:**
801
+ ```bash
802
+ cycode scan commit-history -r abc123..def456 ~/home/git/codebase
803
+ ```
767
804
 
768
- The commit history scan, by default, examines the repository’s entire commit history, all the way back to the initial commit. You can instead limit the scan to a specific commit range by adding the argument `--commit-range` (`-r`) followed by the name you specify.
805
+ **Scan changes in your feature branch compared to main:**
806
+ ```bash
807
+ cycode scan commit-history -r main..HEAD ~/home/git/codebase
808
+ ```
769
809
 
770
- Consider the previous example. If you wanted to scan only specific commits in your repository, you could execute the following:
810
+ **Scan changes between main and a feature branch:**
811
+ ```bash
812
+ cycode scan commit-history -r main..feature-branch ~/home/git/codebase
813
+ ```
771
814
 
772
- `cycode scan commit-history -r {{from-commit-id}}...{{to-commit-id}} ~/home/git/codebase`
815
+ **Scan all changes in the last 3 commits:**
816
+ ```bash
817
+ cycode scan commit-history -r HEAD~3..HEAD ~/home/git/codebase
818
+ ```
819
+
820
+ > [!TIP]
821
+ > For CI/CD pipelines, you can use environment variables like `${{ github.event.pull_request.base.sha }}..${{ github.sha }}` (GitHub Actions) or `$CI_MERGE_REQUEST_TARGET_BRANCH_SHA..$CI_COMMIT_SHA` (GitLab CI) to scan only PR/MR changes.
773
822
 
774
823
  ### Pre-Commit Scan
775
824
 
@@ -35,7 +35,7 @@ This guide walks you through both installation and usage.
35
35
  3. [Path Scan](#path-scan)
36
36
  1. [Terraform Plan Scan](#terraform-plan-scan)
37
37
  4. [Commit History Scan](#commit-history-scan)
38
- 1. [Commit Range Option](#commit-range-option)
38
+ 1. [Commit Range Option (Diff Scanning)](#commit-range-option-diff-scanning)
39
39
  5. [Pre-Commit Scan](#pre-commit-scan)
40
40
  2. [Scan Results](#scan-results)
41
41
  1. [Show/Hide Secrets](#showhide-secrets)
@@ -552,12 +552,12 @@ The Cycode CLI application offers several types of scans so that you can choose
552
552
  | `--maven-settings-file` | For Maven only, allows using a custom [settings.xml](https://maven.apache.org/settings.html) file when scanning for dependencies |
553
553
  | `--help` | Show options for given command. |
554
554
 
555
- | Command | Description |
556
- |----------------------------------------|-----------------------------------------------------------------|
557
- | [commit-history](#commit-history-scan) | Scan all the commits history in this git repository |
558
- | [path](#path-scan) | Scan the files in the path supplied in the command |
559
- | [pre-commit](#pre-commit-scan) | Use this command to scan the content that was not committed yet |
560
- | [repository](#repository-scan) | Scan git repository including its history |
555
+ | Command | Description |
556
+ |----------------------------------------|-----------------------------------------------------------------------|
557
+ | [commit-history](#commit-history-scan) | Scan commit history or perform diff scanning between specific commits |
558
+ | [path](#path-scan) | Scan the files in the path supplied in the command |
559
+ | [pre-commit](#pre-commit-scan) | Use this command to scan the content that was not committed yet |
560
+ | [repository](#repository-scan) | Scan git repository including its history |
561
561
 
562
562
  ### Options
563
563
 
@@ -701,9 +701,16 @@ If you just have a configuration file, you can generate a plan by doing the foll
701
701
  ### Commit History Scan
702
702
 
703
703
  > [!NOTE]
704
- > Secrets scanning analyzes all commits in the repository history because secrets introduced and later removed can still be leaked or exposed. SCA and SAST scanning focus only on the latest code state and the changes between branches or pull requests. Full commit history scanning is not performed for SCA and SAST.
704
+ > Commit History Scan is not available for IaC scans.
705
705
 
706
- A commit history scan is limited to a local repository’s previous commits, focused on finding any secrets within the commit history, instead of examining the repository’s current state.
706
+ The commit history scan command provides two main capabilities:
707
+
708
+ 1. **Full History Scanning**: Analyze all commits in the repository history
709
+ 2. **Diff Scanning**: Scan only the changes between specific commits
710
+
711
+ Secrets scanning can analyze all commits in the repository history because secrets introduced and later removed can still be leaked or exposed. For SCA and SAST scans, the commit history command focuses on scanning the differences/changes between commits, making it perfect for pull request reviews and incremental scanning.
712
+
713
+ A commit history scan examines your Git repository's commit history and can be used both for comprehensive historical analysis and targeted diff scanning of specific changes.
707
714
 
708
715
  To execute a commit history scan, execute the following:
709
716
 
@@ -719,13 +726,55 @@ The following options are available for use with this command:
719
726
  |---------------------------|----------------------------------------------------------------------------------------------------------|
720
727
  | `-r, --commit-range TEXT` | Scan a commit range in this git repository, by default cycode scans all commit history (example: HEAD~1) |
721
728
 
722
- #### Commit Range Option
729
+ #### Commit Range Option (Diff Scanning)
730
+
731
+ The commit range option enables **diff scanning** – scanning only the changes between specific commits instead of the entire repository history.
732
+ This is particularly useful for:
733
+ - **Pull request validation**: Scan only the changes introduced in a PR
734
+ - **Incremental CI/CD scanning**: Focus on recent changes rather than the entire codebase
735
+ - **Feature branch review**: Compare changes against main/master branch
736
+ - **Performance optimization**: Faster scans by limiting scope to relevant changes
737
+
738
+ #### Commit Range Syntax
739
+
740
+ The `--commit-range` (`-r`) option supports standard Git revision syntax:
741
+
742
+ | Syntax | Description | Example |
743
+ |---------------------|-----------------------------------|-------------------------|
744
+ | `commit1..commit2` | Changes from commit1 to commit2 | `abc123..def456` |
745
+ | `commit1...commit2` | Changes in commit2 not in commit1 | `main...feature-branch` |
746
+ | `commit` | Changes from commit to HEAD | `HEAD~1` |
747
+ | `branch1..branch2` | Changes from branch1 to branch2 | `main..feature-branch` |
748
+
749
+ #### Diff Scanning Examples
750
+
751
+ **Scan changes in the last commit:**
752
+ ```bash
753
+ cycode scan commit-history -r HEAD~1 ~/home/git/codebase
754
+ ```
755
+
756
+ **Scan changes between two specific commits:**
757
+ ```bash
758
+ cycode scan commit-history -r abc123..def456 ~/home/git/codebase
759
+ ```
723
760
 
724
- The commit history scan, by default, examines the repository’s entire commit history, all the way back to the initial commit. You can instead limit the scan to a specific commit range by adding the argument `--commit-range` (`-r`) followed by the name you specify.
761
+ **Scan changes in your feature branch compared to main:**
762
+ ```bash
763
+ cycode scan commit-history -r main..HEAD ~/home/git/codebase
764
+ ```
725
765
 
726
- Consider the previous example. If you wanted to scan only specific commits in your repository, you could execute the following:
766
+ **Scan changes between main and a feature branch:**
767
+ ```bash
768
+ cycode scan commit-history -r main..feature-branch ~/home/git/codebase
769
+ ```
727
770
 
728
- `cycode scan commit-history -r {{from-commit-id}}...{{to-commit-id}} ~/home/git/codebase`
771
+ **Scan all changes in the last 3 commits:**
772
+ ```bash
773
+ cycode scan commit-history -r HEAD~3..HEAD ~/home/git/codebase
774
+ ```
775
+
776
+ > [!TIP]
777
+ > For CI/CD pipelines, you can use environment variables like `${{ github.event.pull_request.base.sha }}..${{ github.sha }}` (GitHub Actions) or `$CI_MERGE_REQUEST_TARGET_BRANCH_SHA..$CI_COMMIT_SHA` (GitLab CI) to scan only PR/MR changes.
729
778
 
730
779
  ### Pre-Commit Scan
731
780
 
@@ -0,0 +1 @@
1
+ __version__ = '3.3.1.dev6' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
@@ -20,7 +20,7 @@ app.callback(
20
20
 
21
21
  app.command(name='path', short_help='Scan the files in the paths provided in the command.')(path_command)
22
22
  app.command(name='repository', short_help='Scan the Git repository included files.')(repository_command)
23
- app.command(name='commit-history', short_help='Scan all the commits history in this Git repository.')(
23
+ app.command(name='commit-history', short_help='Scan commit history or perform diff scanning between specific commits.')(
24
24
  commit_history_command
25
25
  )
26
26
  app.command(
@@ -4,8 +4,9 @@ from collections.abc import Generator, Iterable
4
4
  from cycode.cli.logger import logger
5
5
  from cycode.cli.utils.ignore_utils import IgnoreFilterManager
6
6
 
7
- _SUPPORTED_IGNORE_PATTERN_FILES = { # oneday we will bring .cycodeignore or something like that
7
+ _SUPPORTED_IGNORE_PATTERN_FILES = {
8
8
  '.gitignore',
9
+ '.cycodeignore',
9
10
  }
10
11
  _DEFAULT_GLOBAL_IGNORE_PATTERNS = [
11
12
  '.git',
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cycode"
3
- version = "3.3.1.dev4" # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
3
+ version = "3.3.1.dev6" # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
4
4
  description = "Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning."
5
5
  keywords=["secret-scan", "cycode", "devops", "token", "secret", "security", "cycode", "code"]
6
6
  authors = ["Cycode <support@cycode.com>"]
@@ -1 +0,0 @@
1
- __version__ = '3.3.1.dev4' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
File without changes