Leosac
0.8.0
Open Source Access Control
|
The Audit namespace provides classes and facilities to keep track of what's happening on the Leosac deamon. More...
Namespaces | |
Serializer | |
Classes | |
class | AccessPointEvent |
Provides an implementation of IAccessPointEvent. More... | |
class | AuditEntry |
Implementation of IAuditEntry, backed by ODB. More... | |
struct | AuditEntryCount |
class | AuditTracker |
Implementation of IAuditTracker, backed by ODB. More... | |
class | CredentialEvent |
Provides an implementation of ICredentialEvent. More... | |
class | DoorEvent |
Provides an implementation of IDoorEvent. More... | |
class | Factory |
Provide static methods to instanciate various Audit objects. More... | |
class | GroupEvent |
Provides an implementation of IGroupEvent. More... | |
class | IAccessPointEvent |
Interface that describes an Audit object for AccessPoint related event. More... | |
class | IAuditEntry |
Base interface to Audit object. More... | |
class | IAuditTracker |
The AuditTracker class provides the ability to "track" the audit log and acknowledge its entries. More... | |
class | ICredentialEvent |
Audit interface to Credential related events. More... | |
class | IDoorEvent |
Interface that describes an Audit object for door related event. More... | |
class | IGroupEvent |
Interface that describes an Audit object for group related event. More... | |
class | IScheduleEvent |
Audit interface to Schedule related events. More... | |
class | IUpdateEvent |
Interface for update-related event. More... | |
class | IUserEvent |
Interface that describes an Audit object when a user-related event happens. More... | |
class | IUserGroupMembershipEvent |
Interface to audit object that take care of tracking user/group membership change. More... | |
class | IWSAPICall |
An audit entry dedicated to tracing API call. More... | |
class | IZoneEvent |
Interface that describes an Audit object for zone related event. More... | |
class | ScheduleEvent |
Provides an implementation of IScheduleEvent. More... | |
class | UpdateEvent |
Provides an implementation of IUpdateEvent. More... | |
class | UserEvent |
Provides an implementation of IUserEvent. More... | |
class | UserGroupMembershipEvent |
Provides an implementation of IUserGroupMembershipEvent. More... | |
class | WSAPICall |
Provides the implementation of IWSAPICall. More... | |
class | ZoneEvent |
Provides an implementation of IZoneEvent. More... | |
Typedefs | |
using | AuditEntryId = unsigned long |
using | IAuditEntryPtr = std::shared_ptr< IAuditEntry > |
using | IAuditTrackerPtr = std::shared_ptr< IAuditTracker > |
using | IUserEventPtr = std::shared_ptr< IUserEvent > |
using | IGroupEventPtr = std::shared_ptr< IGroupEvent > |
using | IWSAPICallPtr = std::shared_ptr< IWSAPICall > |
using | IUserGroupMembershipEventPtr = std::shared_ptr< IUserGroupMembershipEvent > |
using | ICredentialEventPtr = std::shared_ptr< ICredentialEvent > |
using | IScheduleEventPtr = std::shared_ptr< IScheduleEvent > |
using | IDoorEventPtr = std::shared_ptr< IDoorEvent > |
using | IAccessPointEventPtr = std::shared_ptr< IAccessPointEvent > |
using | IUpdateEventPtr = std::shared_ptr< IUpdateEvent > |
using | IZoneEventPtr = std::shared_ptr< IZoneEvent > |
using | AuditEntryLPtr = odb::lazy_shared_ptr< AuditEntry > |
using | AuditEntryPtr = std::shared_ptr< AuditEntry > |
using | AuditEntryWPtr = std::weak_ptr< AuditEntry > |
using | AuditTrackerPtr = std::shared_ptr< AuditTracker > |
using | AuditTrackerWPtr = std::weak_ptr< AuditTracker > |
using | WSAPICallUPtr = std::unique_ptr< WSAPICall > |
using | WSAPICallPtr = std::shared_ptr< WSAPICall > |
using | UserEventPtr = std::shared_ptr< UserEvent > |
using | GroupEventPtr = std::shared_ptr< GroupEvent > |
using | UserGroupMembershipEventPtr = std::shared_ptr< UserGroupMembershipEvent > |
using | CredentialEventPtr = std::shared_ptr< CredentialEvent > |
using | ScheduleEventPtr = std::shared_ptr< ScheduleEvent > |
using | DoorEventPtr = std::shared_ptr< DoorEvent > |
using | AccessPointEventPtr = std::shared_ptr< AccessPointEvent > |
using | UpdateEventPtr = std::shared_ptr< UpdateEvent > |
using | ZoneEventPtr = std::shared_ptr< ZoneEvent > |
using | EventMask = FlagSet< EventType > |
The Audit namespace provides classes and facilities to keep track of what's happening on the Leosac deamon.
Through this collection of classes, Leosac is able to keep an Audit Trail of what has happened. This can be rather useful, either to generate differential update wrt configuration, or simply from a security point of view.
The audit classes cannot be instanciated manually. The static methods of Audit::Factory must be used instead. The factory ensure that certains step are taken before handling you back a instance of an audit object.
About the audit objects lifecycle:
finalized()
will return false.finalize()
. This will update the object state in the database. It is YOUR responsiblity to commit the transaction in which the call to finalize()
happened. using Leosac::Audit::AccessPointEventPtr = typedef std::shared_ptr<AccessPointEvent> |
Definition at line 111 of file AuditFwd.hpp.
using Leosac::Audit::AuditEntryId = typedef unsigned long |
Definition at line 31 of file AuditFwd.hpp.
using Leosac::Audit::AuditEntryLPtr = typedef odb::lazy_shared_ptr<AuditEntry> |
Definition at line 80 of file AuditFwd.hpp.
using Leosac::Audit::AuditEntryPtr = typedef std::shared_ptr<AuditEntry> |
Definition at line 81 of file AuditFwd.hpp.
using Leosac::Audit::AuditEntryWPtr = typedef std::weak_ptr<AuditEntry> |
Definition at line 82 of file AuditFwd.hpp.
using Leosac::Audit::AuditTrackerPtr = typedef std::shared_ptr<AuditTracker> |
Definition at line 85 of file AuditFwd.hpp.
using Leosac::Audit::AuditTrackerWPtr = typedef std::weak_ptr<AuditTracker> |
Definition at line 86 of file AuditFwd.hpp.
using Leosac::Audit::CredentialEventPtr = typedef std::shared_ptr<CredentialEvent> |
Definition at line 102 of file AuditFwd.hpp.
using Leosac::Audit::DoorEventPtr = typedef std::shared_ptr<DoorEvent> |
Definition at line 108 of file AuditFwd.hpp.
using Leosac::Audit::EventMask = typedef FlagSet<EventType> |
Definition at line 179 of file AuditFwd.hpp.
using Leosac::Audit::GroupEventPtr = typedef std::shared_ptr<GroupEvent> |
Definition at line 96 of file AuditFwd.hpp.
using Leosac::Audit::IAccessPointEventPtr = typedef std::shared_ptr<IAccessPointEvent> |
Definition at line 67 of file AuditFwd.hpp.
using Leosac::Audit::IAuditEntryPtr = typedef std::shared_ptr<IAuditEntry> |
Definition at line 40 of file AuditFwd.hpp.
using Leosac::Audit::IAuditTrackerPtr = typedef std::shared_ptr<IAuditTracker> |
Definition at line 43 of file AuditFwd.hpp.
using Leosac::Audit::ICredentialEventPtr = typedef std::shared_ptr<ICredentialEvent> |
Definition at line 58 of file AuditFwd.hpp.
using Leosac::Audit::IDoorEventPtr = typedef std::shared_ptr<IDoorEvent> |
Definition at line 64 of file AuditFwd.hpp.
using Leosac::Audit::IGroupEventPtr = typedef std::shared_ptr<IGroupEvent> |
Definition at line 49 of file AuditFwd.hpp.
using Leosac::Audit::IScheduleEventPtr = typedef std::shared_ptr<IScheduleEvent> |
Definition at line 61 of file AuditFwd.hpp.
using Leosac::Audit::IUpdateEventPtr = typedef std::shared_ptr<IUpdateEvent> |
Definition at line 70 of file AuditFwd.hpp.
using Leosac::Audit::IUserEventPtr = typedef std::shared_ptr<IUserEvent> |
Definition at line 46 of file AuditFwd.hpp.
using Leosac::Audit::IUserGroupMembershipEventPtr = typedef std::shared_ptr<IUserGroupMembershipEvent> |
Definition at line 55 of file AuditFwd.hpp.
using Leosac::Audit::IWSAPICallPtr = typedef std::shared_ptr<IWSAPICall> |
Definition at line 52 of file AuditFwd.hpp.
using Leosac::Audit::IZoneEventPtr = typedef std::shared_ptr<IZoneEvent> |
Definition at line 73 of file AuditFwd.hpp.
using Leosac::Audit::ScheduleEventPtr = typedef std::shared_ptr<ScheduleEvent> |
Definition at line 105 of file AuditFwd.hpp.
using Leosac::Audit::UpdateEventPtr = typedef std::shared_ptr<UpdateEvent> |
Definition at line 114 of file AuditFwd.hpp.
using Leosac::Audit::UserEventPtr = typedef std::shared_ptr<UserEvent> |
Definition at line 93 of file AuditFwd.hpp.
using Leosac::Audit::UserGroupMembershipEventPtr = typedef std::shared_ptr<UserGroupMembershipEvent> |
Definition at line 99 of file AuditFwd.hpp.
using Leosac::Audit::WSAPICallPtr = typedef std::shared_ptr<WSAPICall> |
Definition at line 90 of file AuditFwd.hpp.
using Leosac::Audit::WSAPICallUPtr = typedef std::unique_ptr<WSAPICall> |
Definition at line 89 of file AuditFwd.hpp.
using Leosac::Audit::ZoneEventPtr = typedef std::shared_ptr<ZoneEvent> |
Definition at line 117 of file AuditFwd.hpp.
|
strong |
Definition at line 119 of file AuditFwd.hpp.