XiriGoXiriGo Admin Docs

Audit & Security

Audit logs, admin user management, session monitoring, login history, and IP tracking for full platform accountability.

Audit & Security

The Audit module provides complete transparency into all administrative actions performed on the XiriGo platform. Every change made through the admin panel is recorded, along with who made it, when, and from where. This module also manages admin user accounts and monitors active sessions.

Audit Logs

The audit log is an immutable record of every action performed by admin users on the platform.

Log Entry Fields

FieldDescription
TimestampExact date and time of the action (UTC)
ActorAdmin user who performed the action (name and email)
ActionType of action performed (create, update, delete, login, export, etc.)
ModuleWhich module the action was performed in (vendors, orders, settings, etc.)
TargetThe specific entity affected (e.g., "Vendor: Acme Electronics", "Order: #12345")
DetailsSpecific changes made (before/after values for updates)
IP AddressIP address from which the action was performed
User AgentBrowser and device information

Filtering Audit Logs

FilterDescription
ActorFilter by specific admin user
Action typeFilter by action (create, update, delete, login, logout, export)
ModuleFilter by module (vendors, orders, finance, settings, etc.)
Date rangeFilter by time period
IP addressFilter by source IP
SearchFree-text search across target names and details

Example Audit Entries

TimestampActorActionModuleTargetDetails
2026-03-19 14:32:01[email protected]UpdateSettingscommission.default_rateChanged from 12% to 10%
2026-03-19 14:15:22[email protected]ApproveVendorsVendor: Malta CraftsStatus: pending → active
2026-03-19 13:48:05[email protected]RefundOrdersOrder: #ORD-8842Refund EUR 45.00 (return approved)
2026-03-19 12:30:00[email protected]LoginAuth-IP: 85.232.x.x, Browser: Chrome 122

Audit logs are retained for a minimum of 2 years and cannot be modified or deleted by any user, including super administrators. This ensures compliance with regulatory requirements.

Admin User Management

Manage the admin accounts that have access to the Admin Panel.

Admin User List

ColumnDescription
NameAdmin user's full name
EmailLogin email address
RoleAssigned role (Super Admin, Operations Manager, etc.)
StatusActive, inactive, locked
Last LoginMost recent login timestamp
CreatedAccount creation date

Creating an Admin User

Navigate to Audit > Admin Users and click Create Admin.

Provide:

  • Full name — Admin's display name
  • Email — Login email (must be unique)
  • Role — Select from available roles (see Roles & Permissions)
  • Temporary password — Set an initial password (the user must change it on first login)

The admin account is created and an invitation email is sent with login instructions.

Admin User Actions

ActionDescription
EditUpdate the admin's name, email, or role
Reset passwordGenerate a password reset link sent to the admin's email
DeactivateDisable the account (prevents login, preserves audit history)
ReactivateRe-enable a deactivated account
DeletePermanently remove the account (audit history is preserved under the user's name)
Force logoutInvalidate all active sessions for this user

You cannot deactivate or delete your own admin account. Another super administrator must perform this action.

Session Management

Monitor all active admin sessions on the platform:

Active Sessions

ColumnDescription
UserAdmin user name and email
Session StartedWhen the session was created (login time)
Last ActivityMost recent action performed in this session
IP AddressIP address of the session
DeviceBrowser and operating system
LocationApproximate geographic location (from IP)

Session Actions

ActionDescription
TerminateForce-end a specific session. The user is immediately logged out.
Terminate allEnd all active sessions for a specific user (useful if an account is compromised)

Session termination is instant. The affected user will see a "Session expired" message and will need to log in again.

Login History

Complete login history for all admin users:

ColumnDescription
UserAdmin user
TimestampLogin attempt date and time
StatusSuccess or failure
Failure ReasonIf failed: invalid password, account locked, account deactivated
IP AddressSource IP address
DeviceBrowser and OS
LocationApproximate location from IP geolocation

Login Alerts

The system generates alerts for suspicious login activity:

AlertTrigger
New IP addressLogin from an IP address not previously associated with the user
New deviceLogin from a browser/device not previously used
Multiple failures3+ consecutive failed login attempts
Account lockoutAccount locked after 5 failed attempts
Off-hours loginLogin outside of configured business hours
Concurrent sessionsSame user logged in from multiple locations simultaneously

IP Tracking

Track and analyze IP addresses used to access the admin panel:

FeatureDescription
IP whitelistOptionally restrict admin access to a list of approved IP addresses or ranges
IP blocklistBlock specific IP addresses from accessing the admin panel
Geographic restrictionsRestrict admin access to specific countries (default: Malta only)
VPN detectionFlag logins from known VPN/proxy IP addresses

Configuring IP Restrictions

View the current IP restriction configuration.

Toggle IP whitelisting on. Add approved IP addresses or CIDR ranges. Only whitelisted IPs will be able to access the admin panel.

Block specific IP addresses or ranges that have been identified as suspicious.

Select which countries are allowed to access the admin panel. Logins from non-allowed countries are blocked.

Restrictions take effect immediately for new login attempts. Existing sessions are not affected.

Be cautious when enabling IP whitelisting. If you lock yourself out by misconfiguring the whitelist, you will need direct server access to reset the restriction.

Review the login history and IP tracking data regularly (at least weekly) to identify unauthorized access attempts or anomalous patterns.

On this page