Overview
The Liongard integration syncs configuration audit data into MSPortal, allowing you to:- Import environments, systems, and inspectors from Liongard
- Sync configuration metrics and their current values across all clients
- Track security detections and anomalies
- View per-device Liongard data directly in the Device Detail panel with pass/fail/warning metrics and change history
- Map individual metrics to MSPortal compliance checks for automated audit evidence
Prerequisites
Before you begin, ensure you have:- Active Liongard account with API access
- MSPortal.ai account with integration management permissions
- Companies already set up in MSPortal (from your PSA integration or manually created)
Part 1: Generate API Credentials in Liongard
Before connecting to MSPortal.ai, you need to create API credentials in your Liongard instance.Log into Liongard
us1, us2, ca1, eu1, but your instance may also have a custom name (e.g., safari). Your instance name is the subdomain in your Liongard URL:| Example Instance | URL |
|---|---|
| us1 | https://us1.app.liongard.com |
| us2 | https://us2.app.liongard.com |
| ca1 | https://ca1.app.liongard.com |
| safari | https://safari.app.liongard.com |
Navigate to Account Settings
Create an Access Token
Required Information
Before proceeding to MSPortal, ensure you have the following:| Information | Description |
|---|---|
| Roar Instance Name | Your Liongard instance name (e.g., us1, safari) or full URL (e.g., https://us1.app.liongard.com) |
| Access Key ID | The API key identifier generated above |
| Access Key Secret | The API key secret generated above |
Part 2: MSPortal Setup Wizard
MSPortal.ai provides a guided 3-step wizard to connect and configure your Liongard integration.Starting the Wizard
Step 1: Connect
Enter your Liongard API credentials to establish the connection.Enter Instance URL
- Just the instance name (e.g.,
us1,ca1,safari) - The full URL (e.g.,
https://us1.app.liongard.com)
https://us1.app.liongard.com or safari in https://safari.app.liongard.com).Enter API Credentials
| Field | Description |
|---|---|
| Access Key ID | Your Liongard API key identifier |
| Access Key Secret | Your Liongard API key secret |
Test Connection
- Verify your Instance URL matches your Liongard region exactly
- Check that your Access Key ID and Access Key Secret are copied correctly without extra spaces
- Ensure the API key has not been revoked or expired
- Confirm your Liongard account has API access enabled
Step 2: Map Environments
Map Liongard environments to your MSPortal companies. This determines which audit data syncs to which company.Wait for Initial Sync
Use Quick Match (Recommended)
Manual Mapping
- Find the environment in the list
- Click the Select company dropdown in the “Mapped To” column
- Search for and select the correct MSPortal company
Review Inspector Types
Filter Environments
- All - Show all synced environments
- Mapped - Show only environments linked to companies
- Unmapped - Show environments that still need mapping
Step 3: Configure
Review and configure which data types to sync, and set up compliance metric mapping.Review Synced Data
| Data Type | Description |
|---|---|
| Environments | Customer environments mapped to companies |
| Inspectors | Integration connectors and their types |
| Systems | Monitored assets and infrastructure |
| Metrics | Configuration audit data points |
| Metric Values | Current metric readings with status |
| Detections | Security findings and anomalies |
Sync Data
Part 3: Map Metrics to Compliance Checks
This is the key feature of the Liongard integration. After the initial sync completes, you can map individual Liongard metrics to MSPortal compliance checks with custom evaluation rules, creating a direct link between automated configuration audits and your compliance reporting.Accessing the Metrics Page
Navigate to Settings > Compliance > Metrics. This dedicated tab shows all synced metrics from your Liongard instance with options to browse by metric or by device.Quick Start
Browse Metrics
Create a Compliance Check
Why Map Metrics to Compliance Checks?
Automated Evidence
Custom Rules
Per-Device Tracking
Historical Snapshots
What Gets Synced
| Data Type | Direction | Description |
|---|---|---|
| Environments | Liongard to MSPortal | Customer environments for company mapping |
| Inspectors | Liongard to MSPortal | Integration connectors and their types |
| Systems | Liongard to MSPortal | Monitored assets and infrastructure |
| Metrics | Liongard to MSPortal | Configuration audit data points |
| Metric Values | Liongard to MSPortal | Current metric readings with status |
| Detections | Liongard to MSPortal | Security findings and anomalies |
Part 4: Liongard Data on Devices
Once Liongard environments are mapped and data is synced, you can view Liongard configuration audit data directly on individual devices in the Devices module.Accessing the Liongard Tab
Select the Liongard Tab
What You See
The Liongard tab displays three main sections:Summary Cards
At the top, summary cards show the overall health of the device’s configuration metrics:- Passing - Number of metrics with a passing status (green)
- Failing - Number of metrics with a failing status (red)
- Warning - Number of metrics with a warning status (orange)
System Overview
Shows the Liongard system name, environment, inspector type, and when the device was last inspected.Configuration Metrics
Metrics are organized into two collapsible sections:| Section | Description |
|---|---|
| Security | Security-related metrics such as firewall status, encryption, MFA, and antivirus |
| Inspected Metrics | All other configuration metrics from the inspector |
Recent Changes
The Recent Changes section shows configuration change detections from Liongard. Each entry shows:- The change description and inspector name
- When the change was detected
- A diff view showing what was added (+) or removed (-) in the configuration
How Device Matching Works
MSPortal automatically matches your imported devices to Liongard systems using multiple strategies:- Direct link - If the device was previously matched, it uses the stored link
- Name match - Matches by device hostname or name within the same company
- IP/MAC fallback - If no name match is found, attempts to match by IP address or MAC address
Managing Your Integration
After setup, manage your integration from Settings > Integrations:| Action | Description |
|---|---|
| Configure | Re-open the setup wizard to modify settings, update credentials, or adjust environment mappings |
| Import Devices | Import Liongard systems into your MSPortal device inventory. Map inspector types to device types, enable auto-sync, and ignore categories you don’t need. See Import Devices. |
| Resync | Trigger a fresh sync of all data from Liongard |
| Delete | Available inside the Configure wizard — permanently removes the integration |
Re-running the Wizard
You can return to any step of the setup wizard at any time:- Go to Settings > Integrations
- Click Configure on the Liongard card
- Navigate between steps using the step indicators or Back/Next buttons
Updating API Credentials
If you need to update your Liongard API credentials:Enter New Credentials
Troubleshooting
Connection test fails
Connection test fails
- Incorrect Roar instance name, Access Key ID, or Access Key Secret
- API key has been revoked or expired
- Liongard account does not have API access enabled
- Verify your Roar instance name matches exactly what appears in your Liongard URL (e.g.,
us1,ca1, or your custom name) - Check that your Access Key ID and Access Key Secret are copied exactly, without extra spaces
- Generate a new access token in Liongard (Account Settings > Access Tokens) if the current one is expired
- Confirm your Liongard account has API access permissions
No environments appear in mapping step
No environments appear in mapping step
- Initial sync still in progress
- API key lacks read permissions
- Wait a few minutes for the background sync to complete
- Click Sync to trigger a manual sync
- Verify your API key has the necessary read permissions in Liongard
Metrics not appearing on the Metrics page
Metrics not appearing on the Metrics page
- Metrics sync not yet complete
- No environments have been mapped to companies
- Metrics data type not enabled
- Ensure at least one environment is mapped to a company
- Wait for the metrics sync to complete (this may take several minutes after initial setup)
- Verify that Metrics and Metric Values are enabled in the Configure step
Compliance checks not updating from mapped metrics
Compliance checks not updating from mapped metrics
- Metric is not properly mapped to a compliance check
- Metric values have not synced yet
- The compliance check was created after the last sync
- Navigate to the Metrics page and verify the mapping is in place
- Wait for the next sync cycle to update metric values
- Trigger a manual sync from the integration settings if needed
Missing data for some environments
Missing data for some environments
- Environment is not mapped to a company
- Inspectors are not configured for that environment in Liongard
- Map the environment to a company in the wizard’s Map step
- Verify that the environment has active inspectors configured in Liongard
Best Practices
Map Environments First
Use Quick Match
Prioritize Key Metrics
Review Regularly
Security and Privacy
- Credential Storage: Your Liongard API credentials are encrypted using vault storage and never exposed in logs or responses
- Data Isolation: All synced data is tenant-isolated and only visible to your organization
- Read-Only Access: MSPortal only requires read access to Liongard data; it never modifies your Liongard configuration
Related Resources
- Devices Module - Managing devices and viewing Liongard data in the device detail panel
- Liongard Compliance Metrics - Custom rules, per-device tracking, and auto-sync details
- Compliance Module - Manage compliance checks and assessments
- Import Companies - General company import guide
- Import Devices - Import Liongard systems as MSPortal devices
- Clear and Resync Integrations - Troubleshooting sync issues
- Cork Integration - Another security-focused integration