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
The compliance metric mapping feature is what makes this integration especially powerful. Instead of manually assessing compliance checks, you can link them to live Liongard metrics that update automatically with every inspection cycle.
The Liongard integration is currently in Beta. Core functionality is complete and available for all users. You will see a “Beta” badge on the Liongard card in the Integrations page.
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)
The Liongard integration maps environments to existing companies in MSPortal. Import your companies from your PSA integration first, or create them manually before setting up Liongard.
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
Access your Liongard Roar instance. Common instance names include region codes like
Check your browser’s address bar when logged into Liongard to find your instance name.
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 |
Create a New API Key
Click Create API Key or Generate New Key.Configure the following:
| Field | Recommended Value |
|---|---|
| Name | MSPortal Integration |
| Permissions | Read-only access |
Copy Your Credentials
After creating the key, you will receive two values:
| Credential | Description |
|---|---|
| Access Key ID | Your API key identifier |
| Access Key Secret | Your API key secret |
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
Enter your Liongard Roar instance name. You can enter either:
- 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
Fill in the following fields:
| Field | Description |
|---|---|
| Access Key ID | Your Liongard API key identifier |
| Access Key Secret | Your Liongard API key secret |
Your credentials are stored securely using encrypted vault storage. They are never exposed in logs or API responses.
Test Connection
Click Test Connection to verify your credentials. You’ll see a green “Connection successful” message when the test passes.If the connection fails:
- 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
After creating the integration, MSPortal begins syncing your environments from Liongard. This may take a few minutes depending on the number of environments.
If no environments appear, wait a few minutes and check back. The initial sync runs in the background.
Use Quick Match (Recommended)
Click Quick Match to automatically match Liongard environments to MSPortal companies based on name similarity.Quick Match uses a confidence threshold to find likely matches. Review the results and adjust any incorrect mappings.
Manual Mapping
For environments that weren’t automatically matched:
- 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
As environments sync, you will see the inspector types discovered in your Liongard instance. These represent the different integration connectors Liongard uses to audit your clients’ systems (e.g., Active Directory, Microsoft 365, Firewall inspectors).
Filter Environments
Use the filter dropdown to view:
- 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
The Configure step displays counts for each data type as they sync from Liongard:
| 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
If no data has synced yet, click Sync All Data to trigger an initial sync from your mapped environments. The sync runs in the background and may take several minutes.
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.For the full guide on creating compliance checks from metrics, custom rule evaluation, and how the auto-sync works with compliance runs, see Liongard Compliance Metrics.
Quick Start
Browse Metrics
Go to Settings > Compliance > Metrics to see all synced configuration audit data from Liongard. Use the Per Metric or Per Device tabs to find what you need.
Create a Compliance Check
Click any metric row, then click Create Compliance Check in the detail panel. Choose to use Liongard’s native status or define custom rules with thresholds.
Why Map Metrics to Compliance Checks?
Automated Evidence
Liongard metrics provide continuous, automated evidence for compliance checks. No more manual assessments for configuration-based requirements.
Custom Rules
Define threshold-based rules like “fail if password length is below 12” instead of relying on Liongard’s native pass/fail.
Per-Device Tracking
Each device gets its own compliance status based on its individual metric value, not a company-wide average.
Historical Snapshots
Completed compliance runs freeze as point-in-time snapshots. Start a new run to track ongoing changes.
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
If Liongard has data for this device, a Liongard tab appears in the detail panel. Click it to view the device’s configuration audit data.
The Liongard tab only appears for devices that Liongard has inspected. MSPortal automatically matches devices to Liongard systems by name, IP address, or MAC address.
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
On the Connect step, enter your new Roar instance name, Access Key ID, and Access Key Secret.
Troubleshooting
Connection test fails
Connection test fails
Causes:
- 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 new API credentials in Liongard if the current ones are expired
- Confirm your Liongard account has API access permissions
No environments appear in mapping step
No environments appear in mapping step
Causes:
- 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
Causes:
- 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
Causes:
- 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
Causes:
- 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
Always map your Liongard environments to companies before expecting data to flow. Only mapped environment data syncs to MSPortal.
Use Quick Match
Start with Quick Match for environment mapping, then manually adjust any incorrect matches. It saves significant time with large environment lists.
Prioritize Key Metrics
Focus your compliance metric mappings on high-value checks first, such as MFA status, backup verification, and firewall configuration metrics.
Review Regularly
Periodically review the Metrics page to map newly discovered metrics as Liongard adds inspectors or your clients’ environments change.
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