Orchestrata Ultimate › Tests › Reference › kernel › test_audit_logger_extended

Tests reference — tests/kernel/test_audit_logger_extended.py

Module of tests/kernel, split out because the directory page would be too large.

Prose pending.

tests/kernel/test_audit_logger_extended.py

source · 36 tests · 913 lines

Covers: kernel.audit_logger

Kind Name Line Description
function test_redis_audit_queue_enqueue_dequeue_roundtrip 185
function test_redis_audit_queue_enqueue_json_failure 206
function test_redis_audit_queue_dequeue_json_failure 223
function test_redis_audit_queue_close_releases_client 232
function test_file_audit_writer_should_rotate_date_change 244
function test_file_audit_writer_cleanup_old_logs_oserror 252
function test_file_audit_writer_write_oserror 266
function test_graph_audit_writer_connect_and_write 282
function test_graph_audit_writer_volk_merges_on_alias 298 Volk's canonical merge key is alias (SPEC-106 CANONICAL_MERGE_KEYS) --
function test_graph_audit_writer_skips_unresolvable_volk_id 357 A non-agent volk_id (e.g. a protocol/schema version string like
function test_graph_audit_writer_close_releases_driver 396
function test_graph_audit_writer_write_json_failure 415
function test_audit_logger_start_stop_with_redis 437
function test_audit_logger_log_via_redis_queue 447
function test_audit_logger_worker_loop_no_queue_sleep 459
function test_audit_logger_worker_loop_writer_exception 475
function test_audit_logger_worker_processes_redis_queue 491
function test_audit_logger_buffer_full_writer_error 531
function test_audit_logger_flush_writer_error 547
function test_audit_logger_flush_loop_exception 562
function test_aggregate_logs_by_session_id 579
function test_aggregate_logs_by_unknown_field 604
function test_aggregate_logs_by_existing_data_field 622
function test_query_file_logs_compressed 645
function test_query_file_logs_compressed_limit 671
function test_query_file_logs_bad_json 700
function test_query_file_logs_missing_keys 712
function test_query_file_logs_oserror 724
function test_query_file_logs_two_files_limit 735
function test_query_file_logs_compressed_bad_json 773
function test_query_file_logs_uncompressed_limit 786
function test_audit_logger_with_graph_enabled 813
function test_restore_logs_failure 834
function test_audit_entry_from_dict_config_change 852
function test_audit_entry_from_dict_compliance_check 869
function test_file_audit_writer_rotation_by_date_change 893