Custom Indicator
#
OverviewCustomIndicator is a new helper class which can be used to create a customized indicator.
#
CustomIndicator Class- The CustomIndicator class can get any custom name for the indicator.
- Unlike other indicators, the CustomIndicator can have any parameters. It can be passed by the data argument, which is a dictionary where the key is the parameter name and the value is the parameter's value.
- The CustomIndicator can have a custom context data prefix, which is passed by the prefix_str argument.
- Functions:
Description: Creates the CustomIndicator object.
Arguments:
argument Description type indicator_type The type name of the indicator. String value Value of the indicator. Any dbot_score If the custom indicator has a score, create and set a DBotScore object. DBotScore data A dictionary containing all the parameter names and their values. Dict(String,Any) context_prefix Used as the context path prefix. String Returns: None
- Description: Returns the context of a customized indicator.
- Arguments: None
- Returns: Dict(String,Any)
#
How To UseCreate a DBotScore object.
Create a dictionary containing the parameters needed for the customized indicator.
Create a CustomIndicator object with the parameters dictionary and the DBotScore object.
Return the result of the command
Follow the guides below to add your new indicator type to your XSOAR instance:
b. Create and map indicator fields.
c. Customize the layout for your indicator.
d. Create a regex in your indicator type, so the indicator will be enriched.