cycode 1.9.2.dev1__py3-none-any.whl → 1.9.3.dev2__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.
cycode/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '1.9.2.dev1' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
1
+ __version__ = '1.9.3.dev2' # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
@@ -146,6 +146,8 @@ def _enrich_scan_result_with_data_from_detection_rules(
146
146
 
147
147
  # detection_details never was typed properly. so not a problem for now
148
148
  detection.detection_details['custom_remediation_guidelines'] = detection_rule.custom_remediation_guidelines
149
+ detection.detection_details['remediation_guidelines'] = detection_rule.remediation_guidelines
150
+ detection.detection_details['description'] = detection_rule.description
149
151
 
150
152
 
151
153
  def _get_scan_documents_thread_func(
cycode/cyclient/models.py CHANGED
@@ -440,6 +440,8 @@ class DetectionRule:
440
440
  classification_data: List[ClassificationData]
441
441
  detection_rule_id: str
442
442
  custom_remediation_guidelines: Optional[str] = None
443
+ remediation_guidelines: Optional[str] = None
444
+ description: Optional[str] = None
443
445
 
444
446
 
445
447
  class DetectionRuleSchema(Schema):
@@ -449,6 +451,8 @@ class DetectionRuleSchema(Schema):
449
451
  classification_data = fields.Nested(ClassificationDataSchema, many=True)
450
452
  detection_rule_id = fields.String()
451
453
  custom_remediation_guidelines = fields.String(allow_none=True)
454
+ remediation_guidelines = fields.String(allow_none=True)
455
+ description = fields.String(allow_none=True)
452
456
 
453
457
  @post_load
454
458
  def build_dto(self, data: Dict[str, Any], **_) -> DetectionRule:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cycode
3
- Version: 1.9.2.dev1
3
+ Version: 1.9.3.dev2
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
@@ -1,4 +1,4 @@
1
- cycode/__init__.py,sha256=1WlYWU2AcPSgGC0j3ZPs8EwiDODLSQ0luP7Tnpc-9pE,114
1
+ cycode/__init__.py,sha256=cy8XpUgIqdCw5GuAMDRldvNcJkO0mcalgaqp_MEIf6w,114
2
2
  cycode/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  cycode/cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  cycode/cli/commands/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -20,7 +20,7 @@ cycode/cli/commands/report/sbom/repository_url/repository_url_command.py,sha256=
20
20
  cycode/cli/commands/report/sbom/sbom_command.py,sha256=1eERdshZA6ItootEX1tD1FdAHIOVUZIyw8FRjd8auGc,2358
21
21
  cycode/cli/commands/report/sbom/sbom_report_file.py,sha256=fr3HMSr6lppeI3OgYADDWlWD8ij2edN1gmpUOPmeTN0,1533
22
22
  cycode/cli/commands/scan/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
- cycode/cli/commands/scan/code_scanner.py,sha256=H89C1oamcsaeC_kYmC72KWoOwv0Fv4y3W-gTddSQpQM,38516
23
+ cycode/cli/commands/scan/code_scanner.py,sha256=-0TBkYKUnsZ0itlRCqrQQxt3oepjTtK_cHSzY02hbm0,38706
24
24
  cycode/cli/commands/scan/commit_history/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  cycode/cli/commands/scan/commit_history/commit_history_command.py,sha256=nOv2BMX7KB0Bi9dXtiulMQNLt4XjJh9_rEnxtvOehPE,975
26
26
  cycode/cli/commands/scan/path/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -99,11 +99,11 @@ cycode/cyclient/cycode_client.py,sha256=ifZMA4RlFw4QNHku5ZxmtUKglH2yd1479yYZGDtx
99
99
  cycode/cyclient/cycode_client_base.py,sha256=7hHiHmFHi_8OarQfTVOx4reVr125z7uSGAGzGnBexYo,4073
100
100
  cycode/cyclient/cycode_dev_based_client.py,sha256=JeAUZDVgptUs2LcWWvby2mfDf9JZBX7nZl8BBR6_jzc,670
101
101
  cycode/cyclient/cycode_token_based_client.py,sha256=c9LTBMdIZ-Q-tSkZiucEWz8kKoz0S4W0QGvRehxcKHE,3600
102
- cycode/cyclient/models.py,sha256=9ucELPLjTLyusBuuSeULY7QPqaXzyZk868Caz_XgQso,12952
102
+ cycode/cyclient/models.py,sha256=C8q_KFSdFRvUbhTSwCcDxhJEhxZIvZuEM_1z9O5fZRg,13148
103
103
  cycode/cyclient/report_client.py,sha256=sNLOm64oaONz-TUBs6fpFfbb7RfxALPS6YBqadMo2-8,3971
104
104
  cycode/cyclient/scan_client.py,sha256=VA-snhiDGSvTZsI6QWa0gI3lK4lpwt9GbMpRnuGYark,13449
105
105
  cycode/cyclient/scan_config_base.py,sha256=d4yVzwqgc9bsf9Bd4qBKoThLOfkgHDYgLqaLuIeTbBk,1658
106
- cycode-1.9.2.dev1.dist-info/METADATA,sha256=NcLROUneXvyd3-Cf8vBMlQg9Du2MucnVpjHdbeRySzc,44107
107
- cycode-1.9.2.dev1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
108
- cycode-1.9.2.dev1.dist-info/entry_points.txt,sha256=GKZlS6LtUdABDPd7-o9bwNSI5gYQnyA3qGrFFQKt3Vc,51
109
- cycode-1.9.2.dev1.dist-info/RECORD,,
106
+ cycode-1.9.3.dev2.dist-info/METADATA,sha256=kB2LziNNpmM6RpAsT8eWmi0TpC_gH7Uuh2fTqK2kvF4,44107
107
+ cycode-1.9.3.dev2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
108
+ cycode-1.9.3.dev2.dist-info/entry_points.txt,sha256=GKZlS6LtUdABDPd7-o9bwNSI5gYQnyA3qGrFFQKt3Vc,51
109
+ cycode-1.9.3.dev2.dist-info/RECORD,,