Skip to content

Configuration Guide

Christoph Dittmann edited this page Jul 19, 2015 · 5 revisions

Introduction

The Risk Manager-App's main purpose is to extend Splunk's core functionality with risk scoring.

Risk Manager core concepts

Risk Manager is built on top of Splunk's core alerting functionality, utilizing its main functionality. Risk Manager will analyze the search results of an alert and look for risk object, defined by the user. If a risk object has been found, the risk_object's name will be stored together with a risk score inside a KV store collection.

Risk Settings

To define, which risk event should apply risk object scoring within Risk Manager , select the item Risk Settings under the Settings menu.

Risk Settings

Alert

The name of the alert, that searches for risk events

Risk Object

The object under risk

Risk Score

A numerical value that represents a relative risk. Can be positive/negative

Contributing Data

Data that has contributed/caused the risk event

Configure Alerts

For alerts to be managed by Risk Manager a few per-requisites have to be fulfilled.

The scheduled alert has to run a scripted alert script risk_handler.py. Enable "Run a script" under the Splunk Saved Searches configuration page, and add the script name into the text field.

The alert has to be run by a user with the risk_manager role. This is needed for the risk_handler.py script to be able to ingest alert metadata into the index risks.

Note! If a alert returns more than one risk_object (e.g. rows) select per-result alerting, otherwise only the first risk object will be scored.

Configure Risk Settings

By default, the table shows all alerts that are managed by Risk Manager (indicated by the _key column). Depending on the App context drop-down selection, alerts that are readable by the logged in user's role, are displayed. Unmanaged alerts do not yet have a _key set.

Risk Settings Screenshot

To configure an unmanaged alert to be managed, the App context where the alert resides in needs to be selected. All alerts in the app context will be displayed in the table. If there are alerts that, are superfluous, they can be deleted by right-clicking on the table and selecting Remove row.

To store the new incident configuration, Save settings has to be selected. Before or after saving, further customization of the incident can be applied.

Risk Object

Enter a field name, containing the risk object

Risk Score

Enter a numerical value that will be added to the risk object's score

Collect Contributing Data

Select, if data that has contributed/caused the risk event, should be stored in the KV store