Lansweeper
Integrate Lansweeper to retrieve complete IT asset inventory
The Lansweeper connector allows you to retrieve the complete inventory of your IT assets including hardware, software, users, and network equipment directly into OverSOC.
Objective
The Lansweeper connector retrieves the following information:
- Complete hardware inventory (servers, workstations, network equipment)
- Software inventory and licenses
- Active users and domain accounts
- Network equipment and configuration
Prerequisites
- Access to your Lansweeper instance
- Administrator or audit permissions
- Ability to generate API tokens
Information to Provide in OverSOC
| Field | Description |
|---|---|
| Authentication Type | Personal Access Token (PAT) or OAuth |
| Token/Client ID | Personal Access Token or OAuth Client ID |
| GraphQL Endpoint | https://api.lansweeper.com/api/v2/graphql |
Procedure
Option 1: Generate a Personal Access Token (PAT)
- Sign in to your Lansweeper instance.
- Navigate to Settings > Developer tools.
- Click Add new API client.
- Select Personal Access Token.
- Provide a token name (e.g., "OverSOC Integration").
- Click Generate.
- Copy the token immediately (it will not be retrievable later).
- Store the token securely for OverSOC configuration.
Option 2: Create an OAuth Client
- Sign in to your Lansweeper instance.
- Navigate to Settings > Developer tools.
- Click Add new API client.
- Select OAuth.
- Fill in the application details:
- Name: OverSOC Integration
- Callback URL: Your OverSOC instance callback URL
- Click Create.
- Download the credentials (Client ID and Client Secret).
- Store the credentials securely for OverSOC configuration.
Configure the Connector in OverSOC
- In OverSOC, go to Data Sources Settings > Sources.
- Select Lansweeper and click Configure.
- Fill in the required fields:
- Authentication Type: Choose "Personal Access Token" or "OAuth"
- Token (for PAT): Paste your Personal Access Token
- Client ID (for OAuth): Your OAuth Client ID
- Client Secret (for OAuth): Your OAuth Client Secret
- GraphQL Endpoint: https://api.lansweeper.com/api/v2/graphql
- Click Save Configuration.
Reference: Lansweeper API Documentation
Required Permissions
The API token must have the following permissions:
- Read access to device inventory (Device Inventory)
- Read access to software and applications
- Read access to users and accounts
- Read access to network equipment
- Read access to reports and status