{
  "id": "VaronisSaaS",
  "title": "[Deprecated] Varonis SaaS",
  "publisher": "Varonis",
  "descriptionMarkdown": "Varonis SaaS provides the capability to ingest [Varonis Alerts](https://www.varonis.com/products/datalert) into Microsoft Sentinel.\n\nVaronis prioritizes deep data visibility, classification capabilities, and automated remediation for data access. Varonis builds a single prioritized view of risk for your data, so you can proactively and systematically eliminate risk from insider threats and cyberattacks.",
  "graphQueries": [
    {
      "baseQuery": "VaronisAlerts_CL",
      "legend": "Varonis alerts",
      "metricName": "Total data recieved"
    },
    {
      "baseQuery": "VaronisAlerts_CL\n| where AlertSeverity_s == \"High\"",
      "legend": "High severity alerts",
      "metricName": "High severity alerts"
    },
    {
      "baseQuery": "VaronisAlerts_CL\n| where AlertSeverity_s == \"Medium\"",
      "legend": "Medium severity alerts",
      "metricName": "Medium severity alerts"
    },
    {
      "baseQuery": "VaronisAlerts_CL\n| where AlertSeverity_s == \"Low\"",
      "legend": "Low severity alerts",
      "metricName": "Low severity alerts"
    },
    {
      "baseQuery": "VaronisAlerts_CL\n| where AlertSeverity_s == \"Informational\"",
      "legend": "Informational severity alerts",
      "metricName": "Informational severity alerts"
    }
  ],
  "sampleQueries": [
    {
      "description": "List all Varonis Alerts",
      "query": "VaronisAlerts_CL\n| sort by TimeGenerated desc"
    },
    {
      "description": "List high severity Varonis Alerts",
      "query": "VaronisAlerts_CL\n| where AlertSeverity_s == \"High\"\n| sort by TimeGenerated desc"
    }
  ],
  "dataTypes": [
    {
      "lastDataReceivedQuery": "VaronisAlerts_CL\n| summarize Time = max(TimeGenerated)\n| where isnotempty(Time)",
      "name": "VaronisAlerts_CL"
    }
  ],
  "connectivityCriterias": [
    {
      "type": "IsConnectedQuery",
      "value": [
        "VaronisAlerts_CL\n| summarize LastLogReceived = max(TimeGenerated)\n| project IsConnected = LastLogReceived > ago(3d)"
      ]
    }
  ],
  "availability": {
    "status": 1,
    "isPreview": true
  },
  "permissions": {
    "resourceProvider": [
      {
        "provider": "Microsoft.OperationalInsights/workspaces",
        "permissionsDisplayText": "read and write permissions are required.",
        "providerDisplayName": "Workspace",
        "scope": "Workspace",
        "requiredPermissions": {
            "write": true,
            "read": true,
            "delete": true
        }
      },
      {
          "provider": "Microsoft.OperationalInsights/workspaces/sharedKeys",
          "permissionsDisplayText": "read permissions to shared keys for the workspace are required. [See the documentation to learn more about workspace keys](https://docs.microsoft.com/azure/azure-monitor/platform/agent-windows#obtain-workspace-id-and-key).",
          "providerDisplayName": "Keys",
          "scope": "Workspace",
          "requiredPermissions": {
              "action": true
          }
      }
    ],
    "customs": [
      {
        "name": "Microsoft.Web/sites permissions",
        "description": "Read and write permissions to Azure Functions to create a Function App is required. [See the documentation to learn more about Azure Functions](https://docs.microsoft.com/azure/azure-functions/)."
      }
    ]
  },
  "instructionSteps": [
    {
      "title": "",
      "description": ">**NOTE:** This connector uses Azure Functions to connect to Varonis DatAlert service to pull alerts into Microsoft Sentinel. This might result in additional data ingestion costs. See the [Azure Functions pricing page](https://azure.microsoft.com/pricing/details/functions/) for details."
    },
    {
      "title": "",
      "description": "**For Azure function and related services installation use:**\n\n [![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2FAzure-Sentinel%2Fmaster%2FSolutions%2FVaronisSaaS%2FData%2520Connectors%2Fazuredeploy.json)"
    },
    {
      "title": "",
      "description": "STEP 1 - Obtain the Varonis DatAlert Endpoint API credentials.\n\n To generate the Client ID and API key:\n 1. Launch the Varonis Web Interface.\n 2. Navigate to Configuration -> API Keys. The API Keys page is displayed.\n 3. Click Create API Key. The Add New API Key settings are displayed on the right.\n 4. Fill in the name and description.\n 5. Click the Generate Key button.\n 6. Copy the API key secret and  save it in a handy location. You won't be able to copy it again.\n\nFor additional information, please check: [Varonis Documentation](https://help.varonis.com/s/document-item?bundleId=ami1661784208197&topicId=emp1703144742927.html&_LANG=enus)"
    },
    {
      "title": "",
      "description": "STEP 2 - Deploy the connector and the associated Azure Function.",
      "instructions": [
        {
          "parameters": {
            "fillWith": [
              "WorkspaceName"
            ],
            "label": "Workspace Name"
          },
          "type": "CopyableLabel"
        }
      ]
    },
    {
      "title": "",
      "description": "Use this method for automated deployment of the data connector using an ARM Template.\n\n1. Click the Deploy to Azure button. \n\n\t[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2FAzure-Sentinel%2Fmaster%2FSolutions%2FVaronisSaaS%2FData%2520Connectors%2Fazuredeploy.json)\n2. Select the preferred Subscription, Resource Group, Region, Storage Account Type.\n3. Enter Log Analytics Workspace Name, Varonis FQDN, Varonis SaaS API Key.\n4. Click Review + Create, Create."
    }
  ]
}