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__(
2020        self .scan_cycode_client  =  scan_cycode_client 
2121        self .scan_config  =  scan_config 
2222
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 ' 
2525        self .POLICIES_SERVICE_CONTROLLER_PATH_V3  =  'api/v3/policies' 
2626
2727        self ._hide_response_log  =  hide_response_log 
@@ -151,7 +151,7 @@ def get_detection_rules(
151151        return  self ._filter_detection_rules_by_ids (self .parse_detection_rules_response (response ), detection_rules_ids )
152152
153153    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 ' 
155155
156156    def  get_scan_detections (self , scan_id : str ) ->  List [dict ]:
157157        params  =  {'scan_id' : scan_id }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments