Skip to main content

Overview

Xloud Platform generates structured audit logs for all API calls, authentication events, and administrative operations. Logs follow the CADF (Cloud Audit Data Federation) standard. You can ship them to external SIEM systems, log aggregation pipelines, or retain them locally with configurable retention policies. This page covers audit log configuration, aggregation, and framework-by-framework compliance mapping.
Prerequisites
  • Administrator role in Xloud Identity
  • For log aggregation: XIMP (Infrastructure Monitoring) enabled with the centralized logging add-on
  • For compliance reports: access to the audit log pipeline or SIEM tool receiving Xloud events

Audit Logging

CADF Event Structure

Every platform event produces a CADF-formatted audit record:
Example CADF audit event

Enable Audit Middleware

Audit middleware is enabled per service. By default, all Xloud API services have audit middleware active. To verify:
Check audit middleware status
To enable or reconfigure audit middleware explicitly:
/etc/xavs/globals.d/_60_audit.yml

Log Aggregation and Retention

Enable central logging

In XDeploy, navigate to Configuration → Global Settings and enable Central Logging. This activates Fluentd on all nodes and deploys OpenSearch as the log aggregation backend.

Configure retention policy

Navigate to XIMP → Log Management → Index Policies. Set the retention period:
Some compliance frameworks require specific minimum retention periods. PCI-DSS requires 1 year with 3 months immediately available. HIPAA requires 6 years for audit logs. Configure retention before collecting audit data.

Configure SIEM forwarding

To forward audit events to an external SIEM:Navigate to XIMP → Integrations → Log Forwarding and configure the SIEM endpoint, authentication, and event filter.
Events appear in the SIEM within the configured polling interval (typically 30–60 seconds).

Compliance Framework Mapping

The following table maps Xloud platform controls to requirements in major compliance frameworks.

Security Scanning and Vulnerability Management

Schedule regular vulnerability scans

Integrate Xloud with your vulnerability scanning tool (Wazuh, OpenVAS, Qualys, or similar). Scan all compute nodes and control plane hosts at minimum monthly.
Run Lynis system audit

Review and triage findings

Prioritize findings by CVSS score:

Patch and re-scan

Apply patches via the standard XOS update process and re-scan to confirm remediation.
Apply security updates on all nodes
Re-scan confirms the vulnerability is resolved. Update the compliance tracking document with the remediation date.

Change Tracking

All infrastructure changes made through XDeploy, xavs-ansible, and the Xloud API are recorded with timestamps, user identity, and the before/after state.
View recent deployment history
For platform API changes, query the audit log:
Filter audit events for a specific user

Incident Response

Immediate actions:
  1. Revoke the compromised credential or token immediately:
  2. Review audit logs for the compromised account in the 30 days prior to detection.
  3. Identify all resources created or modified with the compromised credential.
  4. Rotate any application credentials created by the affected account.
  5. File an incident report with exact timeline, affected resources, and remediation actions taken.
Investigation steps:
  1. Identify the source IP and token from the audit log.
  2. Check whether the token is still valid:
  3. Revoke the token if it remains active.
  4. Review HAProxy access logs for all requests from the source IP.
  5. Determine whether a firewall block is warranted at the network perimeter.
Immediate actions:
  1. Identify all volumes and objects using the compromised key.
  2. Snapshot all affected volumes immediately.
  3. Create new encrypted volumes with a fresh key, copy data, and delete old volumes.
  4. Delete the compromised key from Xloud Key Management after verifying all data has been migrated.
  5. Document the scope of exposure and notify relevant parties per your incident response policy.

Next Steps

Hardening Guide

Pre-deployment hardening checklist to meet baseline compliance requirements

Infrastructure Security

TLS configuration for SOC 2 and PCI-DSS encryption-in-transit controls

Data Security

Volume and object encryption for data-at-rest compliance requirements

Monitoring (XIMP)

Log aggregation, alerting, and security event dashboards