Skip to content

Commit

Permalink
Merge branch 'main' into CM-32048-non-admin-user-cannot-run-scan
Browse files Browse the repository at this point in the history
# Conflicts:
#	cycode/cyclient/scan_client.py
  • Loading branch information
MarshalX committed Feb 6, 2024
2 parents fee02c0 + 292a719 commit 91be467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cycode/cyclient/scan_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_detections_service_controller_path(self, scan_type: str) -> str:

def get_scan_service_url_path(self, scan_type: str, should_use_scan_service: bool = False) -> str:
service_path = self.scan_config.get_service_name(scan_type, should_use_scan_service)
controller_path = self.get_scan_controller_path(scan_type, should_use_scan_service)
controller_path = self.get_scan_controller_path(scan_type)
return f'{service_path}/{controller_path}'

def content_scan(self, scan_type: str, file_name: str, content: str, is_git_diff: bool = True) -> models.ScanResult:
Expand Down

0 comments on commit 91be467

Please sign in to comment.