group.alarms
Alarms group
Define a static group configuration. The member of the group are dynamic but the generation of it’s fields can only be changed using this file.
This group can be use to group the alarms by concern (Site, Type of hardware, …).
When this file is removed, the group will not be delete immediately.
it will be converted to a manually create group.
the group will follow the default configuration if it is empty.
type |
object |
||
properties |
|||
|
Define the behavior of the action for the group. If not all action are defined or left empty, the default define on module.alarms will be used to generate the field. |
||
type |
array |
||
items |
|||
|
Define the behavior of the field generation for the group. If not all field are defined or left empty, the default define on module.alarms will be used to generate the field. |
||
type |
array |
||
items |
|||
|
Name of the playbook that generated this file. If present, the file is managed by the Composer and may be overwritten on regeneration. Used for selective clean. Do not edit or set manually. |
||
type |
string |
||
|
The id of the alarm module to attach this group to |
||
type |
string |
||
|
The name of the group. It will also be used as the serial for the alarm representing this group. The name must not start with ‘$’ or contain ‘.’. |
||
type |
string |
||
pattern |
^[^$][^.]{1,256}$ |
||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
Define the behavior of the field generation for the group. If not all field are defined or left empty, the default define on module.alarms will be used to generate the field. Default value is [true] |
||
type |
boolean |
||
default |
True |
||
additionalProperties |
False |
||
ActionGroupConfiguration
Link an action and the actionBehavior wanted for the group where this is define.
type |
object |
|
properties |
||
|
The action on which you want to define the behaviour for this group. The action must be unique per group configuration. |
|
type |
string |
|
enum |
ACKNOWLEDGE, LOCK_SEVERITY, TAG, EDIT_SUMMARY, EDIT_LOCATION, EDIT_SOURCE, EDIT_HIDE_UNTIL, EDIT_FORCE_HIDE, EDIT_ADDITIONAL_DATA, ESCALATE, JOURNAL, ARCHIVE |
|
|
Define how the action will behave when executed on the group.
When a action is executed on the children of the group, if a children is also a group, the action will be done as define on it’s configuration. |
|
type |
string |
|
enum |
ON_NOBODY, ON_CHILDREN, ON_ITSELF, ON_BOTH |
|
additionalProperties |
False |
|
FieldGroupConfiguration
type |
object |
|
properties |
||
|
The generator to use to create the content of this field on the group. |
|
oneOf |
||
|
The name of the field to generate. The name must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
INITIAL
type |
object |
|
properties |
||
|
type |
string |
enum |
INITIAL |
|
default |
INITIAL |
|
|
The value to set initially on the group. |
|
additionalProperties |
False |
|
MAXIMUM
type |
object |
|
properties |
||
|
type |
string |
enum |
MAXIMUM |
|
default |
MAXIMUM |
|
|
The name of the children field to extract from the children where this field is the greater. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
MINIMUM
type |
object |
|
properties |
||
|
type |
string |
enum |
MINIMUM |
|
default |
MINIMUM |
|
|
The name of the children field to extract from the children where this field is the smaller. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
SUM
type |
object |
|
properties |
||
|
type |
string |
enum |
SUM |
|
default |
SUM |
|
|
The name of the children field on which the SUM will be apply. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
AND
type |
object |
|
properties |
||
|
type |
string |
enum |
AND |
|
default |
AND |
|
|
The name of the children field on which the AND logic will be apply. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
OR
type |
object |
|
properties |
||
|
type |
string |
enum |
OR |
|
default |
OR |
|
|
The name of the children field on which the OR will be apply. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
FROM_MAX_SEVERITY
type |
object |
|
properties |
||
|
type |
string |
enum |
FROM_MAX_SEVERITY |
|
default |
FROM_MAX_SEVERITY |
|
|
The name of the children field to extract from the alarm with the highest severity of the group. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
FROM_MIN_SEVERITY
type |
object |
|
properties |
||
|
type |
string |
enum |
FROM_MIN_SEVERITY |
|
default |
FROM_MIN_SEVERITY |
|
|
The name of the children field to extract from the alarm with the lowest severity of the group. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
FROM_LATEST
type |
object |
|
properties |
||
|
type |
string |
enum |
FROM_LATEST |
|
default |
FROM_LATEST |
|
|
The name of the children field to extract from the most recent alarm of the group. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
FROM_OLDEST
type |
object |
|
properties |
||
|
type |
string |
enum |
FROM_OLDEST |
|
default |
FROM_OLDEST |
|
|
The name of the children field to extract from the oldest alarm of the group. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
CONCATENATE
type |
object |
|
properties |
||
|
type |
string |
enum |
CONCATENATE |
|
default |
CONCATENATE |
|
|
The name of the children field on which the CONCATENATE logic will be apply. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
|
An optional prefix to start the generated string. For example, the prefix “Test: “ will give the following result on the group “Test: Summary 1, Summary 2, Summary 3” |
|
type |
string |
|
additionalProperties |
False |
|
MERGE_ARRAY
type |
object |
|
properties |
||
|
type |
string |
enum |
MERGE_ARRAY |
|
default |
MERGE_ARRAY |
|
|
The name of the children field to merge together. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|
MERGE_OBJECT
type |
object |
|
properties |
||
|
type |
string |
enum |
MERGE_OBJECT |
|
default |
MERGE_OBJECT |
|
|
The name of the children field to merge together. The fieldToExtract must not start with ‘$’ or contain ‘.’. |
|
type |
string |
|
pattern |
^[^$][^.]{1,256}$ |
|
additionalProperties |
False |
|