Skip to main content

Armis API Integration Source

armis-icon.png

Armis API is a device security platform that discover devices, tracks behavior, detects threats, and takes action to protect your business. The Source integration ingests alert and device data from the Armis platform.

Best Practice

Armis and Sumo Logic recommend using the Armis SIEM Integration, which pushes logs from Armis to a Sumo Logic HTTP source. There is a known limitation with the Armis API’s time query parameters, which can result in missing logs when using the Cloud-to-Cloud source. To avoid this, we advise using the Armis-side integration instead.

Data collected​

Polling IntervalData
5 minAlerts data
24 hoursDevice data

Setup​

Vendor configuration​

In this configuration, you will set up an Armis source account and configure it to be authorized and authenticated to use device logs and alerts from Armis API. To obtain an Armis auth token, follow the steps below:

  1. Log into the Armis application.
  2. Navigate to Settings > API Management on your Armis application.
    armis-settings.png
  3. Create a new API secret key if you haven't created one yet by clicking the Create button from the API Management page.
    create-api.png
  4. Click Show to view the secret key.
    show-secretkey.png
  5. A popup window will be displayed. Copy and paste the secret key to a folder location. Remember, you will need to enter this key while creating the Armis Cloud-to-Cloud Source.
    show-key.png

Source configuration​

When you create an Armis Source, you add it to a Hosted Collector. Before creating the Source, identify the Hosted Collector you want to use or create a new Hosted Collector. For instructions, see Configure a Hosted Collector.

To configure an Armis Source:

  1. Classic UI. In the main Sumo Logic menu, select Manage Data > Collection > Collection.
    New UI. In the Sumo Logic top menu select Configuration, and then under Data Collection select Collection. You can also click the Go To... menu at the top of the screen and select Collection.
  2. On the Collection page, click Add Source next to a Hosted Collector.
  3. Search for and select Armis.
  4. Enter a Name for the Source. The description is optional.
  5. (Optional) For Source Category, enter any string to tag the output collected from the Source. Category metadata is stored in a searchable field called _sourceCategory.
  6. (Optional) Fields. Click the +Add Field link to define the fields you want to associate. Each field needs a name (key) and value.
    • green check circle.png A green circle with a checkmark is shown when the field exists in the Fields table schema.
    • orange exclamation point.png An orange triangle with an exclamation point is shown when the field doesn't exist in the Fields table schema. In this case, an option to automatically add the nonexistent fields to the Fields table schema is provided. If a field is sent to Sumo Logic that does not exist in the Fields schema it is ignored (i.e., dropped).
  7. In Instance URL, enter the Armis hostname.
    info

    Armis Instance URL is the Armis hostname. For example, https://armis-instance.armis.com.

  8. In Secret Key, enter your API secret key that you have generated in Vendor configuration section.
  9. In Armis API selection. Choose the data sources from which you want to ingest data. The integration provides the option to you to select either one or both of the data sources.
    • If Alert API is selected, the integration will fetch alert data.
      • Permission Alert>Read must be provided to fetch alert data.
      • Data for an alert will be fetched every 5 minutes.
    • If Device API is selected, the integration will fetch device data.
      • Permission Device>Read must be provided to fetch device data.
      • Data for the device will be fetched every 24 hours.
    note

    This step is mandatory, ensure you select one data source.

  10. (Optional) In Processing Rules for Logs, configure any desired filters, such as allowlist, denylist, hash, or mask, as described in Create a Processing Rule.
  11. When you are finished configuring the Source, click Submit.

JSON configuration​

Sources can be configured using UTF-8 encoded JSON files with the Collector Management API. See how to use JSON to configure Sources for details.

ParameterTypeValueRequiredDescription
schemaRefJSON Object{"type":"Armis"}YesDefine the specific schema type.
sourceTypeString"Universal"YesType of source.
configJSON ObjectConfiguration objectYesSource type specific values.

Configuration Object​

ParameterTypeRequiredDefaultDescriptionExample
nameStringYesnullType a desired name of the source. The name must be unique per Collector. This value is assigned to the metadata field _source."mySource"
descriptionStringNonullType a description of the source."Testing source"
categoryStringNonullType a category of the source. This value is assigned to the metadata field _sourceCategory. See best practices for details."mySource/test"
fieldsJSON ObjectNonullJSON map of key-value fields (metadata) to apply to the Collector or Source. Use the boolean field _siemForward to enable forwarding to SIEM.{"_siemForward": false, "fieldA": "valueA"}
instanceUrlStringYesnullArmis Instance URL
apiSecretKeyStringYesnullArmis API secret key
apiTypeArrayYesYou may use either or both sources of data, that is, Alerts and devices.

JSON example​

{
"api.version": "v1",
"source": {
"config": {
"name": "armis",
"description": "description",
"category": "source_category",
"instanceURL": "http://armis-instance.armis.com",
"secretKey": "*********",
"apiType": [
"alertLogs",
"deviceLogs"
],
"fields": {
"_siemForward": false
}
},
"schemaRef": {
"type": "Armis"
},
"sourceType": "Universal"
}
}
Download example

Terraform example​

resource "sumologic_cloud_to_cloud_source" "armis_source" {
collector_id = sumologic_collector.collector.id
schema_ref = {
type = "Armis"
}
config = jsonencode({
"name": "armis",
"description": "description",
"category": "source_category",
"instanceURL": "http://armis-instance.armis.com",
"secretKey": "*********",
"apiType": [
"alertLogs",
"deviceLogs"
],
"fields": {
"_siemForward": false
}
})
}
resource "sumologic_collector" "collector" {
name = "my-collector"
description = "Just testing this"
}
Download example

FAQ​

info

Click here for more information about Cloud-to-Cloud sources.

Status
Legal
Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.