yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
agt_audit.h File Reference

NETCONF protocol audit log support. More...

#include "rpc.h"
#include "ses.h"
#include "status_enum.h"
#include "val.h"
Include dependency graph for agt_audit.h:

Go to the source code of this file.

Functions

void agt_audit_handle_edit_record (op_editop_t editop, ses_cb_t *scb, rpc_msg_t *msg, val_value_t *curnode_clone, val_value_t *newnode, val_value_t *curnode)
 Create and store a change-audit record, if needed. More...
 
void agt_audit_handle_update_startup (ses_cb_t *scb, rpc_msg_t *msg, const xmlChar *sourcetype, const xmlChar *sourcename)
 Create and store an update-startup audit record, if needed. More...
 
void agt_audit_handle_start_session (ses_cb_t *scb)
 Generate a start (client or control) session event if enabled. More...
 
void agt_audit_handle_end_session (ses_cb_t *scb, ses_term_reason_t termreason, ses_id_t killedby)
 Generate an end (client or control) session event if enabled. More...
 
void agt_audit_handle_acm_write_error (const xmlChar *user, val_value_t *val, op_editop_t editop)
 Generate an acm-write-error event if enabled. More...
 
void agt_audit_handle_acm_exec_error (const xmlChar *user, const xmlChar *modname, const xmlChar *rpcname)
 Generate an acm-exec-error event if enabled. More...
 
void agt_audit_handle_rpc_summary (ses_cb_t *scb, rpc_msg_t *msg)
 Create and store an rpc-summary event audit record, if needed. More...
 
uint32 agt_audit_cvt_log_events (val_value_t *val, status_t *res)
 Get the binary bits from the YANG bits value. More...
 
boolean agt_audit_log_edit_candidate (void)
 Check if <candidate> edit events are being collected. More...
 
boolean agt_audit_log_edit_running (void)
 Check if <running> edit events are being collected. More...
 
boolean agt_audit_log_update_startup (void)
 Check if <startup> update events are being collected. More...
 
boolean agt_audit_log_client_session (void)
 Check if client session events are being collected. More...
 
boolean agt_audit_log_control_session (void)
 Check if control session events are being collected. More...
 
boolean agt_audit_log_nacm_write_error (void)
 Check if NACM write-access errors are being collected. More...
 
boolean agt_audit_log_nacm_exec_error (void)
 Check if NACM exec-access errors are being collected. More...
 
boolean agt_audit_log_rpc_summary (void)
 Check if RPC summary events are being collected. More...
 
boolean agt_audit_log_edit_data (void)
 Check if edit-data events are being collected. More...
 
boolean agt_audit_log_rpc_error (void)
 Check if rpc-error events are being collected. More...
 

Detailed Description

NETCONF protocol audit log support.