File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ def __init__(
20
20
self .scan_cycode_client = scan_cycode_client
21
21
self .scan_config = scan_config
22
22
23
- self .SCAN_CONTROLLER_PATH = 'api/v1/scan'
24
- self .DETECTIONS_SERVICE_CONTROLLER_PATH = 'api/v1/detections'
23
+ self .SCAN_CONTROLLER_PATH = 'api/v1/cli- scan'
24
+ self .DETECTIONS_SERVICE_CONTROLLER_PATH = 'api/v1/detections/cli '
25
25
self .POLICIES_SERVICE_CONTROLLER_PATH_V3 = 'api/v3/policies'
26
26
27
27
self ._hide_response_log = hide_response_log
@@ -151,7 +151,7 @@ def get_detection_rules(
151
151
return self ._filter_detection_rules_by_ids (self .parse_detection_rules_response (response ), detection_rules_ids )
152
152
153
153
def get_scan_detections_path (self ) -> str :
154
- return f'{ self .scan_config .get_detections_prefix ()} /{ self .DETECTIONS_SERVICE_CONTROLLER_PATH } '
154
+ return f'{ self .scan_config .get_detections_prefix ()} /{ self .DETECTIONS_SERVICE_CONTROLLER_PATH } /detections '
155
155
156
156
def get_scan_detections (self , scan_id : str ) -> List [dict ]:
157
157
params = {'scan_id' : scan_id }
You can’t perform that action at this time.
0 commit comments