Edit the Incident Rules Export ZIP FileEdit the Incident Rules Export ZIP File
This procedure is optional and is for advanced users. When exporting incident rules from the Respond Incident Rules view, the exported incident rules file is a ZIP file in the format <random ID>-incident_rules_export.json.zip, which contains two mandatory JSON files:
- aggregation_rule_schema.json contains the incident rule schema.
- <random ID>-incident_rules_export.json contains the incident rules.
You can import this ZIP file on another NetWitness Server on the same release version.
There may be situations when you need to edit the these files before you import them to another NetWitness Server.
To edit the incident rules export files:
- Follow the Incident Rule Export Files Editing Guidelines below to edit the export files.
- Before importing, verify that the ZIP file does not contain additional files or folders. The ZIP file should contain only the mandatory aggregation_rule_schema.json and <random ID>-incident_rules_export.json files to go through the import. Any files other than these two cause the import to fail.
For example, when compressing files on a Mac, it adds a temp folder __MACOSX that needs to be excluded while zipping the file.
Note: You cannot export Advanced rules.
Incident Rule Export Files Editing GuidelinesIncident Rule Export Files Editing Guidelines
Ensure that the following fields have at least one value. Removing a value or having an empty value for the following fields results in abnormal behavior.
Field |
Possible Values | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
name | A-Z a-z 0-9 " !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~" | ||||||||||
groupByFields | A Minimum of 1 or a Maximum of 2 group_by keys should be present in aggregation_rule_schema.json. | ||||||||||
timeWindow |
A String value in the following accepted formats:
Days – Min:1d Max: 24d
|
||||||||||
action |
Should be one of following values:
GROUP_INTO_INCIDENT |
||||||||||
incidentScoringOptions | Should be one of the following string values: average: Average of Risk Score across all of the Alerts high: Highest Risk Score available across all of the Alerts count: Number of Alerts in the time window |
||||||||||
priorityScale | Condition: LOW < MEDIUM < HIGH < CRITICAL | ||||||||||
|
|
||||||||||
uiFilterConditions | Sample UI Conditions Filter Structure | ||||||||||
|
|||||||||||
incidentCreationOptions | ruleSummary: String
categories: JSON array assignee: JSON |