virtual void cannot_visit(const Tools::IVisitable &visitable) override
Called when no "hardcoded" audit type match, this method will delegate to runtime-registered serializ...
This is the header file for a generated source file, GitSHA1.cpp.
Interface to audit object that take care of tracking user/group membership change.
Interface that describes an Audit object for group related event.
static std::string type_name(const Audit::IAuditEntry &in)
Returns the "type-name" of the audit entry.
Audit interface to Schedule related events.
Base interface to Audit object.
Interface that describes an Audit object for zone related event.
json result_
Store the result here because we can't return from the visit() method.
A serializer that handle any type of Audit event and will try to perform deep serialization.
A SecurityContext is used to query permission while doing an operation.
const SecurityContext & security_context_
Reference to the security context.
Interface for update-related event.
An audit entry dedicated to tracing API call.
static json serialize(const Audit::IAuditEntry &in, const SecurityContext &sc)
Perform deep serialization of the AuditEntry in.
HelperSerialize(const SecurityContext &sc)
virtual void visit(const Audit::IUserEvent &t) override
Interface that describes an Audit object for door related event.
Audit interface to Credential related events.
Interface that describes an Audit object when a user-related event happens.
Non static helper that can visit a core audit object.