diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-08-13 11:07:24 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-08-13 11:07:35 +0300 |
commit | 057cbe33afd10a62caa12d5fe20c6102dd0bde84 (patch) | |
tree | 47677cbb815170e66b5f6a97d5ed29dc9ce7cd6a /src/libs/zbxaudit/audit.h | |
parent | 6713ef1c490710c7ecf6d09167d45c8eb9c8961f (diff) |
........S. [ZBXNEXT-6817] added various logic for discovery rules
Diffstat (limited to 'src/libs/zbxaudit/audit.h')
-rw-r--r-- | src/libs/zbxaudit/audit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/zbxaudit/audit.h b/src/libs/zbxaudit/audit.h index 2543ac6e88f..c2c56d21e8a 100644 --- a/src/libs/zbxaudit/audit.h +++ b/src/libs/zbxaudit/audit.h @@ -28,6 +28,7 @@ #define AUDIT_ACTION_EXECUTE 7 #define AUDIT_DETAILS_ACTION_ADD "add" +#define AUDIT_DETAILS_ACTION_DELETE "delete" #define AUDIT_DETAILS_ACTION_ATTACH "attach" #define AUDIT_DETAILS_ACTION_DETACH "detach" @@ -75,4 +76,5 @@ void zbx_audit_update_json_update_string(const zbx_uint64_t id, const char *key, void zbx_audit_update_json_update_uint64(const zbx_uint64_t id, const char *key, uint64_t value_old, uint64_t value_new); void zbx_audit_update_json_update_int(const zbx_uint64_t id, const char *key, int value_old, int value_new); +void zbx_audit_update_json_delete(const zbx_uint64_t id, const char *audit_op, const char *key); #endif /* ZABBIX_AUDIT_H */ |