@@ -122,9 +122,9 @@ def update_alert_cmd(credentials_file, project_id, project_instance, region,
122122@alerts .command ("bulk-update" )
123123@add_common_options
124124@click .option (
125- "--filter " ,
125+ "--a_filter " ,
126126 required = True ,
127- help = "Filter to select alerts to update." ,
127+ help = "a_filter to select alerts to update." ,
128128)
129129@click .option (
130130 "--update-mask" ,
@@ -137,7 +137,7 @@ def update_alert_cmd(credentials_file, project_id, project_instance, region,
137137 help = "JSON string containing the update data." ,
138138)
139139def bulk_update_alerts_cmd (credentials_file , project_id , project_instance ,
140- region , filter , update_mask , json_body ):
140+ region , a_filter , update_mask , json_body ):
141141 """Bulk update alerts matching a filter."""
142142 auth_session = chronicle_auth .initialize_http_session (
143143 credentials_file ,
@@ -148,7 +148,7 @@ def bulk_update_alerts_cmd(credentials_file, project_id, project_instance,
148148 project_id ,
149149 project_instance ,
150150 region ,
151- filter ,
151+ a_filter ,
152152 update_mask ,
153153 json_body ,
154154 )
@@ -195,8 +195,8 @@ def get_detection_cmd(credentials_file, project_id, project_instance, region,
195195@detections .command ("list" )
196196@add_common_options
197197@click .option (
198- "--filter " ,
199- help = "Filter string for the list request." ,
198+ "--a_filter " ,
199+ help = "a_filter string for the list request." ,
200200)
201201@click .option (
202202 "--page-size" ,
@@ -208,7 +208,7 @@ def get_detection_cmd(credentials_file, project_id, project_instance, region,
208208 help = "Page token from previous response." ,
209209)
210210def list_detections_cmd (credentials_file , project_id , project_instance , region ,
211- filter , page_size , page_token ):
211+ a_filter , page_size , page_token ):
212212 """List detections."""
213213 auth_session = chronicle_auth .initialize_http_session (
214214 credentials_file ,
@@ -219,7 +219,7 @@ def list_detections_cmd(credentials_file, project_id, project_instance, region,
219219 region ,
220220 project_id ,
221221 project_instance ,
222- filter ,
222+ a_filter ,
223223 page_size ,
224224 page_token ,
225225 )
@@ -331,8 +331,8 @@ def enable_rule_cmd(credentials_file, project_id, project_instance, region,
331331@rules .command ("list" )
332332@add_common_options
333333@click .option (
334- "--filter " ,
335- help = "Filter string for the list request." ,
334+ "--a_filter " ,
335+ help = "a_filter string for the list request." ,
336336)
337337@click .option (
338338 "--page-size" ,
@@ -344,7 +344,7 @@ def enable_rule_cmd(credentials_file, project_id, project_instance, region,
344344 help = "Page token from previous response." ,
345345)
346346def list_rules_cmd (credentials_file , project_id , project_instance , region ,
347- filter , page_size , page_token ):
347+ a_filter , page_size , page_token ):
348348 """List rules."""
349349 auth_session = chronicle_auth .initialize_http_session (
350350 credentials_file ,
@@ -355,7 +355,7 @@ def list_rules_cmd(credentials_file, project_id, project_instance, region,
355355 project_id ,
356356 project_instance ,
357357 region ,
358- filter ,
358+ a_filter ,
359359 page_size ,
360360 page_token ,
361361 )
@@ -427,8 +427,8 @@ def errors():
427427@errors .command ("list" )
428428@add_common_options
429429@click .option (
430- "--filter " ,
431- help = "Filter string for the list request." ,
430+ "--a_filter " ,
431+ help = "a_filter string for the list request." ,
432432)
433433@click .option (
434434 "--page-size" ,
@@ -440,7 +440,7 @@ def errors():
440440 help = "Page token from previous response." ,
441441)
442442def list_errors_cmd (credentials_file , project_id , project_instance , region ,
443- filter , page_size , page_token ):
443+ a_filter , page_size , page_token ):
444444 """List errors."""
445445 auth_session = chronicle_auth .initialize_http_session (
446446 credentials_file ,
@@ -451,7 +451,7 @@ def list_errors_cmd(credentials_file, project_id, project_instance, region,
451451 project_id ,
452452 project_instance ,
453453 region ,
454- filter ,
454+ a_filter ,
455455 page_size ,
456456 page_token ,
457457 )
@@ -479,6 +479,7 @@ def batch_update_rule_sets_cmd(credentials_file, project_id, project_instance,
479479 credentials_file ,
480480 SCOPES ,
481481 )
482+ # pylint: disable-next=line-too-long
482483 result = batch_update_curated_rule_set_deployments .batch_update_curated_rule_set_deployments (
483484 auth_session ,
484485 project_id ,
0 commit comments