Audit Logging User Guide
Version: 1.0
Last Updated: 2026-02-02
This guide provides comprehensive information about audit logging, activity monitoring, and security investigation workflows in the Vista Platform.
Table of Contents
- Overview
- Understanding Event Types
- Event Categories
- Compliance Tagging System
- Activity Log Management
- Security Investigation Workflows
- Compliance Reporting Workflows
- Best Practices
Overview
The audit logging system captures every action performed in the platform, providing:
- Complete Audit Trail: Every action logged with full context
- Compliance Support: Automatic tagging for compliance frameworks
- Security Monitoring: Real-time detection of suspicious activity
- Troubleshooting: Detailed logs for debugging issues
What is Logged
Every logged event includes:
- Who: User ID, email, and user type (tenant/platform/service)
- What: Event type, action, and resource affected
- When: Precise timestamp
- Where: IP address and user agent
- How: Success/failure status and error details
- Why: Request ID for tracing through system
- Context: Old values, new values, and changed fields
Understanding Event Types
Event types follow a consistent naming pattern: {resource}.{action}
Common Event Types
Asset Events
asset.created: New asset addedasset.updated: Asset modifiedasset.deleted: Asset removedasset.discovered: Asset found by discoveryasset.approved: Discovery approval granted
User Events
user.login: Successful authenticationuser.login.failed: Authentication failureuser.logout: User logged outuser.created: New user addeduser.updated: User modifieduser.deleted: User removeduser.password.changed: Password updateduser.mfa.enabled: MFA activateduser.mfa.disabled: MFA deactivated
Compliance Events
compliance.assessment.created: New assessment startedcompliance.assessment.completed: Assessment finishedcompliance.finding.created: New finding detectedcompliance.finding.resolved: Finding addressedcompliance.finding.suppressed: Finding suppressedcompliance.control.passed: Control validation succeededcompliance.control.failed: Control validation failed
System Events
system.config.updated: System configuration changedsystem.integration.created: Integration addedsystem.integration.deleted: Integration removedsystem.backup.completed: Backup successfulsystem.backup.failed: Backup failed
Discovery Events
discovery.job.started: Discovery scan begandiscovery.job.completed: Discovery scan finisheddiscovery.job.failed: Discovery scan faileddevice.interrogated: Device scannedcloud.sync.completed: Cloud sync finished
Event Categories
Events are grouped into logical categories for easier filtering and analysis.
Security
Events related to authentication, authorization, and security:
- Login attempts (success/failure)
- Password changes
- MFA changes
- Permission changes
- API key operations
- SSO events
Asset
Events related to asset lifecycle:
- Asset CRUD operations
- Asset discovery
- Asset classification changes
- Certificate operations
- Key management
Compliance
Events related to compliance and risk:
- Assessment operations
- Finding lifecycle
- Control evaluations
- Report generation
- Framework changes
System
Platform-level events:
- Configuration changes
- Integration management
- Backup operations
- Service health events
- Performance events
User
User management events:
- User lifecycle
- Role assignments
- Profile updates
- Preference changes
Compliance Tagging System
Events are automatically tagged with relevant compliance frameworks to simplify compliance reporting.
Supported Frameworks
SOC2 (soc2)
- User authentication events
- Access control changes
- System configuration changes
- Backup and recovery events
- Security monitoring events
ISO 27001 (iso27001)
- Information security events
- Asset management events
- Access control events
- Incident management events
- Audit trail events
GDPR (gdpr)
- Personal data access
- Data modification events
- Data deletion events
- Consent management
- Data export events
HIPAA (hipaa)
- PHI access events
- Security events
- Configuration changes
- User management
- Audit logging
PCI DSS (pci_dss)
- Card data access
- Security events
- Network configuration
- Access control
- Audit mechanisms
Using Compliance Tags
Filtering by Framework
- Navigate to Activity Logs
- Click Advanced Query
- Select compliance tags
- Choose frameworks: soc2, iso27001, gdpr, hipaa, pci_dss
- Run query
Generating Compliance Reports
- Use scheduled reports feature
- Select framework
- All tagged events included automatically
- Generate on-demand or scheduled
Activity Log Management
Viewing Logs
Basic Viewing
- Navigate to Settings → Activity Logs
- Logs displayed in reverse chronological order
- Use date range filter to focus on specific period
- Default: Last 7 days
Filtering Logs
- Date Range: Select preset or custom range
- Event Type: Pick specific event types
- Event Category: Filter by category
- Status: Success or failure only
- Search: Free-text search across all fields
Advanced Filtering
- Click Advanced Query button
- Add multiple filter conditions
- Combine with AND/OR logic
- Save query for reuse
- Export filtered results
Searching Logs
Quick Search Use the search box for simple queries:
- User email:
john@example.com - Resource ID:
asset-12345 - Event type:
asset.created - IP address:
192.168.1.1
Advanced Search Build complex queries with multiple criteria:
- Event types: Select multiple types
- Users: Filter by specific users
- Resources: Filter by resource type or ID
- Compliance: Filter by compliance tags
- Date ranges: Precise time windows
Exporting Logs
CSV Export
- Apply desired filters
- Click Export → CSV
- Opens in spreadsheet software
- Good for manual analysis
- Contains all visible columns
JSON Export
- Apply desired filters
- Click Export → JSON
- Machine-readable format
- Good for programmatic processing
- Includes all metadata
Export Tips
- Export filters are applied
- Large exports may take time
- Maximum 10,000 events per export
- Use date ranges to limit size
- Schedule reports for regular exports
Security Investigation Workflows
Investigating Failed Logins
Scenario: Multiple failed login attempts detected
Initial Investigation
- Navigate to Activity Logs
- Filter by event type:
user.login.failed - Set date range to recent period
- Look for patterns (same user, same IP, time clustering)
Identify Affected Accounts
- Note user emails with failures
- Check if multiple users affected (broader attack)
- Check if single user (credential issue)
Check for Success After Failures
- After identifying time window, search for
user.login - Check if successful login follows failures
- Potential compromise if login succeeds after many failures
- After identifying time window, search for
Correlate with Other Events
- Search for user activity after successful login
- Look for unusual actions (bulk deletions, config changes)
- Check IP address changes
Take Action
- Reset compromised passwords
- Enable/require MFA
- Block suspicious IP addresses
- Create alert rule to prevent future incidents
Investigating Unauthorized Access
Scenario: Suspected unauthorized resource access
Resource Audit Trail
- Navigate to the resource
- Click View Audit Trail
- Review all access and modifications
- Note users who accessed resource
User Activity Review
- For each suspicious user:
- View user activity timeline
- Check authentication events
- Review all actions in time window
Pattern Analysis
- Look for unusual access patterns
- Check access times (after hours?)
- Review IP addresses (unusual locations?)
- Check user agent (automated tools?)
Correlation
- Did user access other sensitive resources?
- Were changes made after access?
- Are compliance tags affected?
Response
- Revoke access if unauthorized
- Document findings
- Update access controls
- Create alert rule for similar patterns
Investigating Data Modifications
Scenario: Unexpected data changes detected
Initial Review
- Navigate to Activity Logs
- Filter by event type:
*.updatedor*.deleted - Focus on relevant resource types
- Identify when changes occurred
Change Details
- Click on log entry
- Review changed_fields
- Compare old_values vs new_values
- Check who made changes
Context Gathering
- View user activity timeline
- Check what led to changes
- Review surrounding actions
- Check if part of normal workflow
Impact Assessment
- What data was affected?
- Are compliance requirements impacted?
- Do changes violate policies?
- Were proper approvals obtained?
Remediation
- Revert changes if unauthorized
- Contact user if unclear
- Update approval workflows
- Add safeguards to prevent recurrence
Compliance Reporting Workflows
SOC2 Audit Preparation
Define Scope
- Determine audit period (typically 12 months)
- Identify relevant event types
- List specific compliance requirements
Generate Activity Report
- Navigate to Activity Logs
- Click Advanced Query
- Select compliance tag:
soc2 - Set date range to audit period
- Export as CSV or JSON
Evidence Collection
- Filter for access control events
- Export user authentication logs
- Collect configuration change logs
- Gather backup and recovery events
Analysis
- Review for anomalies
- Document any incidents
- Verify controls functioning
- Prepare explanations for auditors
Automated Reporting
- Set up scheduled report for SOC2
- Configure monthly generation
- Deliver to compliance team
- Maintain historical reports
GDPR Compliance Reporting
Data Access Logging
- Filter for events with
gdprtag - Focus on personal data access
- Export user data access logs
- Document access purposes
- Filter for events with
Data Subject Requests
- Search for specific user activity
- Generate user activity timeline
- Export complete user history
- Include all personal data access
Data Retention
- Configure retention policies
- Set GDPR-compliant periods (730 days)
- Document retention decisions
- Implement automated deletion
Regular Reporting
- Schedule monthly GDPR reports
- Review data access patterns
- Monitor for unauthorized access
- Report to Data Protection Officer
HIPAA Audit Trail
Required Events
- All PHI access events
- User authentication
- Configuration changes
- Security incidents
- System access
Retention Requirements
- Configure 7-year retention (2555 days)
- Use HIPAA retention policy template
- Ensure logs tamper-proof
- Maintain backup copies
Audit Trail Review
- Filter by
hipaacompliance tag - Review monthly
- Document review completion
- Report exceptions
- Filter by
Incident Response
- Create alert rules for suspicious PHI access
- Document all security incidents
- Generate incident reports
- Maintain incident log
Best Practices
Regular Monitoring
Daily
- Review Alerts Dashboard
- Check for failed authentication attempts
- Monitor critical resource changes
Weekly
- Review activity log summary
- Check compliance gaps
- Analyze access patterns
- Update alert rules as needed
Monthly
- Generate compliance reports
- Review retention policies
- Audit SIEM integration health
- Update notification rules
Alert Configuration
Start Simple
- Begin with critical events only
- Add rules gradually
- Test each rule thoroughly
- Adjust cooldown periods based on frequency
Reduce Noise
- Set appropriate thresholds
- Use cooldown periods effectively
- Combine similar alerts
- Filter out expected events
Tune Continuously
- Review triggered alerts weekly
- Disable rules that fire too often
- Add rules for new threats
- Update actions as team changes
Security Investigation
Be Thorough
- Don't stop at first finding
- Correlate multiple data points
- Check for related activity
- Document all findings
Act Quickly
- Investigate alerts within 24 hours
- Respond to security events immediately
- Document response actions
- Follow up on remediation
Learn and Improve
- Review past incidents
- Update alert rules
- Improve detection capability
- Share lessons learned
Compliance Management
Proactive Approach
- Review compliance tags quarterly
- Update retention policies annually
- Test report generation regularly
- Maintain audit readiness
Documentation
- Document all compliance processes
- Maintain evidence files
- Keep audit reports organized
- Version control policies
Automation
- Use scheduled reports
- Set up automatic exports
- Configure retention policies
- Automate evidence collection
Last Updated: 2026-02-02