cycode 3.8.10.dev1__py3-none-any.whl → 3.9.0__py3-none-any.whl

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 (30) hide show
  1. cycode/__init__.py +1 -1
  2. cycode/cli/app.py +2 -1
  3. cycode/cli/apps/ai_guardrails/__init__.py +19 -0
  4. cycode/cli/apps/ai_guardrails/command_utils.py +66 -0
  5. cycode/cli/apps/ai_guardrails/consts.py +78 -0
  6. cycode/cli/apps/ai_guardrails/hooks_manager.py +200 -0
  7. cycode/cli/apps/ai_guardrails/install_command.py +78 -0
  8. cycode/cli/apps/ai_guardrails/scan/__init__.py +1 -0
  9. cycode/cli/apps/ai_guardrails/scan/consts.py +48 -0
  10. cycode/cli/apps/ai_guardrails/scan/handlers.py +341 -0
  11. cycode/cli/apps/ai_guardrails/scan/payload.py +72 -0
  12. cycode/cli/apps/ai_guardrails/scan/policy.py +85 -0
  13. cycode/cli/apps/ai_guardrails/scan/response_builders.py +86 -0
  14. cycode/cli/apps/ai_guardrails/scan/scan_command.py +134 -0
  15. cycode/cli/apps/ai_guardrails/scan/types.py +54 -0
  16. cycode/cli/apps/ai_guardrails/scan/utils.py +72 -0
  17. cycode/cli/apps/ai_guardrails/status_command.py +92 -0
  18. cycode/cli/apps/ai_guardrails/uninstall_command.py +73 -0
  19. cycode/cli/apps/scan/code_scanner.py +1 -1
  20. cycode/cli/cli_types.py +13 -0
  21. cycode/cli/utils/get_api_client.py +15 -2
  22. cycode/cli/utils/scan_utils.py +24 -0
  23. cycode/cyclient/ai_security_manager_client.py +86 -0
  24. cycode/cyclient/ai_security_manager_service_config.py +27 -0
  25. cycode/cyclient/client_creator.py +20 -0
  26. {cycode-3.8.10.dev1.dist-info → cycode-3.9.0.dist-info}/METADATA +1 -1
  27. {cycode-3.8.10.dev1.dist-info → cycode-3.9.0.dist-info}/RECORD +30 -12
  28. {cycode-3.8.10.dev1.dist-info → cycode-3.9.0.dist-info}/WHEEL +0 -0
  29. {cycode-3.8.10.dev1.dist-info → cycode-3.9.0.dist-info}/entry_points.txt +0 -0
  30. {cycode-3.8.10.dev1.dist-info → cycode-3.9.0.dist-info}/licenses/LICENCE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cycode
3
- Version: 3.8.10.dev1
3
+ Version: 3.9.0
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
@@ -1,8 +1,24 @@
1
- cycode/__init__.py,sha256=bCWClXXqkw-rOxqHYxMBz0EgWIHCXYBBc4jWWLB39YU,115
1
+ cycode/__init__.py,sha256=XpgzNO7uqI7iMwTUSTSGryadJj-3rwtybbmOz1ze_hE,109
2
2
  cycode/__main__.py,sha256=Z3bD5yrA7yPvAChcADQrqCaZd0ChGI1gdiwALwbWJ6U,104
3
3
  cycode/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- cycode/cli/app.py,sha256=Th7skHthoJN1EuDtgjl4flflFqejfxaTORKmMKSXE00,6412
4
+ cycode/cli/app.py,sha256=j7jXFJwVbXROvi6LeBcf7MxhY9q-O7-XkLOkfqOqL3I,6460
5
5
  cycode/cli/apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ cycode/cli/apps/ai_guardrails/__init__.py,sha256=7VsEUYYyqiuJJAV-_Ti_Wudr4SWQZGnoVLBuq8NTvVQ,902
7
+ cycode/cli/apps/ai_guardrails/command_utils.py,sha256=o1LAsmr1jkTxue6sSWzRC8WKUiuzXZd4nRCZJjaWwRw,1810
8
+ cycode/cli/apps/ai_guardrails/consts.py,sha256=85FxVg23-KrF4QnCO7nWRQ1LC2UciV1zJS3zSLOGZwU,2046
9
+ cycode/cli/apps/ai_guardrails/hooks_manager.py,sha256=HEmyYAsdEPOHnLIZyIyeOkZvzH1e7SluP1OqvRHX9Vo,6478
10
+ cycode/cli/apps/ai_guardrails/install_command.py,sha256=cMqEmdIJZgQGCb9y3jy4FPmJ4arSU3_J5pJc3Lst5lM,2671
11
+ cycode/cli/apps/ai_guardrails/scan/__init__.py,sha256=qJc82XiQGiAuc1sYY8Ij_A-qXpxgLPuayQq8xWlouMA,48
12
+ cycode/cli/apps/ai_guardrails/scan/consts.py,sha256=drAslw6vW3kxmbCs2qPCUbUPR7PJouT2lsXtu5sD-lQ,1094
13
+ cycode/cli/apps/ai_guardrails/scan/handlers.py,sha256=R55cfOAJ9Yd8ENddJ0P2_llDsnMoOvXZ7b6vXYVjwJ0,13902
14
+ cycode/cli/apps/ai_guardrails/scan/payload.py,sha256=ZmMj-GYL3BttsL515RF5aEVDqYWlcl3uEfEzmJlGxOc,2832
15
+ cycode/cli/apps/ai_guardrails/scan/policy.py,sha256=39s8hnxgjny1l6XAO59wsRcAlpW-LG00GUnO0PfqvuY,2566
16
+ cycode/cli/apps/ai_guardrails/scan/response_builders.py,sha256=rdynnvvKRBjIeXnStafiIp1w5cNuj7uQolRcL453pkI,2934
17
+ cycode/cli/apps/ai_guardrails/scan/scan_command.py,sha256=NYVFRemxbzEZJ8pynKt9uB46qML8-mjxkXUz_zFsEuU,5180
18
+ cycode/cli/apps/ai_guardrails/scan/types.py,sha256=dYpiQ9F5McYBoDfX9AeiuyAuQZpuZ1KbHuqfBo8A79A,1384
19
+ cycode/cli/apps/ai_guardrails/scan/utils.py,sha256=KVfX-NrcM-QW4quLtoNqfmz4GF0FlDs-TkqUOu1hAWM,2057
20
+ cycode/cli/apps/ai_guardrails/status_command.py,sha256=ThkbEkAbZPQgTP8G6ZzfodgkkUvUBTQLnqeO3D-KikU,3066
21
+ cycode/cli/apps/ai_guardrails/uninstall_command.py,sha256=LTvpahXhyivL2eO-fDltyYRR7svjiH8paFZJ3ug23oQ,2300
6
22
  cycode/cli/apps/ai_remediation/__init__.py,sha256=8vYthY9RQeJqEni3AIF5sryz8n-XJQ6VNqG4aEFBAdY,553
7
23
  cycode/cli/apps/ai_remediation/ai_remediation_command.py,sha256=u1EdebaKCEmzv9fXmnIN0xDSLcCmGyjueYKvYfLOj_8,1549
8
24
  cycode/cli/apps/ai_remediation/apply_fix.py,sha256=9zgqiqF9HBQXi7Oz9ZIiANIAuKAMTji1PlNncCEOf5Q,817
@@ -37,7 +53,7 @@ cycode/cli/apps/report_import/sbom/__init__.py,sha256=5E9x4UqWsk333RlklV9cCo7Q9o
37
53
  cycode/cli/apps/report_import/sbom/sbom_command.py,sha256=aTFGXxpdvqMdxFpEKZs927EL7MRzCbu8oXVXuYdHnKA,2355
38
54
  cycode/cli/apps/scan/__init__.py,sha256=-q1AIBnrQ4GP0CVKFLr_2CdWf9TBQC90ejSL4I7rxuA,2444
39
55
  cycode/cli/apps/scan/aggregation_report.py,sha256=8f9kPfO7biNf5OsDZG6UhMPqG6ymoFrX5GBtlEIfFAg,1540
40
- cycode/cli/apps/scan/code_scanner.py,sha256=Y5IwZ8_vYYQnzGggZlGniS_CQk2JaE6Xh3gf3wF7Wjk,12194
56
+ cycode/cli/apps/scan/code_scanner.py,sha256=JTGJoJ0wAYiYK7wBfxgYrA0kA2U0OjvkFw2lKvdzTjE,12211
41
57
  cycode/cli/apps/scan/commit_history/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
58
  cycode/cli/apps/scan/commit_history/commit_history_command.py,sha256=Yp_17vfjDqytjCqjXQ73HaDGH5_ertoLhoV7Cvt1Hhw,1104
43
59
  cycode/cli/apps/scan/commit_range_scanner.py,sha256=g3joPg0P1suQ2KDxb7SopjecLOlMKFf_xopah6SPHQ0,14740
@@ -64,7 +80,7 @@ cycode/cli/apps/status/get_cli_status.py,sha256=qAuDdtWTCMI8ChYrQzgeJI31v8dDu-aE
64
80
  cycode/cli/apps/status/models.py,sha256=2SBpJlh_MNCPxv8aXMV5D4GfK6-G-XB0GlMFZ3Nep_o,1907
65
81
  cycode/cli/apps/status/status_command.py,sha256=B8YZ4hibWkjkAkikailll2lkJmCRYh9APdvZSR4L33c,1069
66
82
  cycode/cli/apps/status/version_command.py,sha256=c6Iko_rmZo9T_kQSd3HUloBi40Qv7cjgKJNVxpMiMfE,315
67
- cycode/cli/cli_types.py,sha256=kSqVRkm3zGmGTugXLV3qLTMxwUdnVFsIPEPHao4xY04,2885
83
+ cycode/cli/cli_types.py,sha256=ago61pEEofLTiRk3HS0mY7GoT2zj3WkgYjbvXwJwwsc,3318
68
84
  cycode/cli/config.py,sha256=Op-lX_neanJtvPvoOEx4ByBdveh5ygElIga1FdSHhOI,299
69
85
  cycode/cli/console.py,sha256=vp-DHwlkwpwdsPyfwGdjsPF-6-Bi3f8W7G-W_YXCMH8,1914
70
86
  cycode/cli/consts.py,sha256=l2PtFCXI8U8UoGo-ClfFCMKdH4gOGTCAbeVSgDLG1QY,8969
@@ -133,14 +149,14 @@ cycode/cli/user_settings/credentials_manager.py,sha256=jGCpNuQmnRvcWBBAknggLrBRb
133
149
  cycode/cli/user_settings/jwt_creator.py,sha256=xEkFLFqhwbNJnXuIi02XDxoj2E-4Nw-m10uJaHl3luA,745
134
150
  cycode/cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
135
151
  cycode/cli/utils/enum_utils.py,sha256=h_VTCfJ-0hnhwDsEznmx56rJrCb5FQ8u6PrI6p8MP3E,187
136
- cycode/cli/utils/get_api_client.py,sha256=k4SVe_FAxT_tdZHJu9CvobOUPeeTffv_mdoou9dvaQk,2986
152
+ cycode/cli/utils/get_api_client.py,sha256=wwHabfVCDbFjcIwOn5Raho8MEPiOAgkHlGUEfXKpl8U,3542
137
153
  cycode/cli/utils/git_proxy.py,sha256=FPHMBiyLFK9X9vKYpKySRKJH6Dc9Cb3nO241Q95dASE,2911
138
154
  cycode/cli/utils/ignore_utils.py,sha256=cODqhnOHA2kRo8rMY0YcmcKkmXNPOC9UTCmFu62RRqE,15567
139
155
  cycode/cli/utils/jwt_utils.py,sha256=TfTHCCCxKO6RvSKT2qspx4577Gax3n9YRj2UgigpGuQ,537
140
156
  cycode/cli/utils/path_utils.py,sha256=OmAOtZwvPmYqqhBnB4jI6hkSnCkGpSOibY7PtP213Cc,3235
141
157
  cycode/cli/utils/progress_bar.py,sha256=bKBWHHdZsVkdDdWMJLfgLGR0cBYeB44P_DpRM8pvWqU,9528
142
158
  cycode/cli/utils/scan_batch.py,sha256=jIG3jPYBptcwPHcTze0goFs4etCAOyKahdhUNPBsufw,5106
143
- cycode/cli/utils/scan_utils.py,sha256=PHmTTZKatUHeAA2d1GrfmAK_APO7yEZa4safdl6Cfxs,1110
159
+ cycode/cli/utils/scan_utils.py,sha256=j3nkm7KxO1nCjPDppdTWzmo7gNw1XfRUlhfeY66xGNw,2100
144
160
  cycode/cli/utils/sentry.py,sha256=hHWYtiGKD6vRi8S6Jx9hycs5JpJvGlkBImXZfWfWB1o,3612
145
161
  cycode/cli/utils/shell_executor.py,sha256=CuHeXoYM6VaYtDernWtf49_s1EfuU8nWxj4MPIAciww,1290
146
162
  cycode/cli/utils/string_utils.py,sha256=0kvu_apAfHjwd7dUhZl8k1pr57aCiO1MhzBYnA2keK4,2434
@@ -150,9 +166,11 @@ cycode/cli/utils/version_checker.py,sha256=0f5PaTk02ZkDxzBqZOeMV9mU_CWcx6HKW80jU
150
166
  cycode/cli/utils/yaml_utils.py,sha256=R-tqzl0C-zoa42rS7nfWeHu3GJ0jpbQUyyqYYU2hleM,1818
151
167
  cycode/config.py,sha256=jHORGZQcAXkAGSf2XreC-RQoc8sdNWja69QKtPWTbWo,1044
152
168
  cycode/cyclient/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
169
+ cycode/cyclient/ai_security_manager_client.py,sha256=JqiSbnoHe_MPljIrW5jvBeyzIIbhj_HbIaErs9ewlaI,3327
170
+ cycode/cyclient/ai_security_manager_service_config.py,sha256=83pQzgOb93JW6E-dznJkI4c0NEXmQRlx9YZKMmjVwp8,808
153
171
  cycode/cyclient/auth_client.py,sha256=TwbmZ358Ancf-Q-IZolvfljZ8691_6botsqd0R0PLPk,2105
154
172
  cycode/cyclient/base_token_auth_client.py,sha256=3JIrSz0-ywVTIfxIs2zs5aGcE-x5GW3AgPHm9qA4ZDE,3857
155
- cycode/cyclient/client_creator.py,sha256=HtNrQaOXnTI913kNE9LLU92X2eIVwlHlbQ3tr7oiyrQ,2006
173
+ cycode/cyclient/client_creator.py,sha256=-bsOT7M28yx-WT1UhSzENY8N9EgoQIv48Smrr9izQTI,2849
156
174
  cycode/cyclient/config.py,sha256=Le3YYp7LyclTwS4vonuFipfRA1qhyC28_muUtxpnImc,1387
157
175
  cycode/cyclient/config_dev.py,sha256=GJ3w8Q-ow5SvXGBFA34eaeoI6GhitavAGy3UfcUh9OU,120
158
176
  cycode/cyclient/cycode_client.py,sha256=ifZMA4RlFw4QNHku5ZxmtUKglH2yd1479yYZGDtxVvw,257
@@ -168,8 +186,8 @@ cycode/cyclient/report_client.py,sha256=Scq30NeJPzgXv0hPLO1U05AdE9i_2iu6cIrSKpEJ
168
186
  cycode/cyclient/scan_client.py,sha256=uTBEjgfaCVuJREo73p_zkIVA23NQfdJ1d1-bzc7nSKk,12682
169
187
  cycode/cyclient/scan_config_base.py,sha256=mXsPZGYCtp85rv5GIige40yQZXuRcEKUW-VQJ0vgFzk,1201
170
188
  cycode/logger.py,sha256=xAzpkWLZhixO4egRcYn4HXM9lIfx5wHdpkHxNc5jrX8,2225
171
- cycode-3.8.10.dev1.dist-info/METADATA,sha256=BqfBvM6qzxUh_hGWBlpKaLKpyUq44LC7zkj4tmetzns,79038
172
- cycode-3.8.10.dev1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
173
- cycode-3.8.10.dev1.dist-info/entry_points.txt,sha256=iDcVJM8ByLElVgvBgtYxDjw1kT7O8Mo0LcWZIT5L3Ig,45
174
- cycode-3.8.10.dev1.dist-info/licenses/LICENCE,sha256=2Wx4N6mD_4xB7-E3hPkZ3MPhpJy__k_I8MaCSO-PDRo,1068
175
- cycode-3.8.10.dev1.dist-info/RECORD,,
189
+ cycode-3.9.0.dist-info/METADATA,sha256=fUyjncSh7EAqJbLep6W8zvtMDFL0SYeGUzPeiGOQlXY,79032
190
+ cycode-3.9.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
191
+ cycode-3.9.0.dist-info/entry_points.txt,sha256=iDcVJM8ByLElVgvBgtYxDjw1kT7O8Mo0LcWZIT5L3Ig,45
192
+ cycode-3.9.0.dist-info/licenses/LICENCE,sha256=2Wx4N6mD_4xB7-E3hPkZ3MPhpJy__k_I8MaCSO-PDRo,1068
193
+ cycode-3.9.0.dist-info/RECORD,,