File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1414from code42cli .options import end_option
1515from code42cli .options import format_option
1616from code42cli .options import sdk_options
17- from code42cli .options import send_to_format_options
1817from code42cli .options import server_options
1918from code42cli .output_formats import OutputFormatter
2019from code42cli .util import hash_event
@@ -173,13 +172,11 @@ def search(
173172@filter_options
174173@checkpoint_option
175174@server_options
176- @send_to_format_options
177175@sdk_options ()
178176def send_to (
179177 state ,
180178 hostname ,
181179 protocol ,
182- format ,
183180 begin ,
184181 end ,
185182 event_type ,
@@ -190,8 +187,8 @@ def send_to(
190187 affected_username ,
191188 use_checkpoint ,
192189):
193- """Send audit logs to the given server address."""
194- logger = get_logger_for_server (hostname , protocol , format )
190+ """Send audit logs to the given server address in JSON format ."""
191+ logger = get_logger_for_server (hostname , protocol , "RAW-JSON" )
195192 cursor = _get_audit_log_cursor_store (state .profile .name )
196193 if use_checkpoint :
197194 checkpoint_name = use_checkpoint
You can’t perform that action at this time.
0 commit comments