- Clone this repository
git clone https://github.com/runZeroInc/runzero-custom-integrations.git
- Superuser access to the Custom Integrations configuration in runZero
License Manager Instance URL - The domain or IP of the Snow Atlas web server (defined within the starlark script as SNOW_BASE_URL)
Snow customer ID - Numeric customer ID for asset retrieval. Found in https://<snow license manager URL>/api/customers/ API endpoint. (defined within the starlark script as SNOW_CUSTOMER_ID)
username - username for API basic auth (configured in Credentials section of runZero)
password - password for API basic auth (configured in Credentials section of runZero)
NA
- Determine the proper Snow License Manager URL:
- Identify the url for your Snow License Manager instance.
- Assign the URL to
SNOW_BASE_URLwithin the starlark script - Identify the Customer ID to use for asset retrieval
- Assign the Customer ID to
SNOW_CUSTOMER_IDwithin the starlark script (multiple scripts can be created to import from different Customer IDs)
- Create a valid username:password login to be used to authenticate to the API endpoints
- Copy the username; this will be used as the value for
access_keywhen creating the Custom Integration credentials in the runZero console (see below) - Copy the password; this will be used as the value for
access_secretwhen creating the Custom Integration credentials in the runZero console (see below)
- Copy the username; this will be used as the value for
- (OPTIONAL) - make any neccessary changes to the script to align with your environment.
- Modify API calls as needed to filter assets
- Modify datapoints uploaded to runZero as needed
- Create the Credential for the Custom Integration
- Select the type
Custom Integration Script Secrets - Both
access_keyandaccess_secretare required access_keycorresponds to the username for the Snow License Manager credentialsaccess_secretcorresponds to the password for the Snow License Manager credentials
- Select the type
- Create the Custom Integration
- Add a Name and Icon
- Toggle
Enable custom integration scriptto input your finalized script - Click
Validateto ensure it has valide syntax - Click
Saveto create the Custom Integration
- Create the Custom Integration task
- Select the Credential and Custom Integration created in steps 2 and 3
- Update the task schedule to recur at the desired timeframes
- Select the Explorer you'd like the Custom Integration to run from
- Click
Saveto kick off the first task
- You will see the task kick off on the tasks page like any other integration
- The task will update the existing assets with the data pulled from the Custom Integration source
- The task will create new assets for when there are no existing assets that meet merge criteria (hostname, MAC, etc)
- You can search for assets enriched by this custom integration with the runZero search
custom_integration:<INSERT_NAME_HERE>