3.1.19.2.4. waf_tools.diag_array_config_validate.DiagArrayEntry
- class waf_tools.diag_array_config_validate.DiagArrayEntry(event: str, description: str, sensitivity: Literal[1, 3, 5, 10, 20, 50, 100, 500], severity: Literal['FATAL_ERROR', 'WARNING', 'INFO'], delay: Literal[-1, 0, 100, 200, 1000, 2000], enabled: bool, callback: str)
Bases:
objectSingle entry in the diagnostic array configuration.
Represents one row of the generated
diag_diagnosisIdConfigurationarray, i.e. one diagnostic event including its evaluation parameters.- event
Diagnosis ID, must match the corresponding
DIAG_ID_eentry.- Type:
str
- description
Description used in the documentation.
- Type:
str
- sensitivity
Number of occurrences before the event is reported.
- Type:
Literal[1, 3, 5, 10, 20, 50, 100, 500]
- severity
Severity class (
FATAL_ERROR,WARNING,INFO).- Type:
Literal[‘FATAL_ERROR’, ‘WARNING’, ‘INFO’]
- delay
Delay before the error reaction is triggered (
0: no delay,-1: discard).- Type:
Literal[-1, 0, 100, 200, 1000, 2000]
- enabled
Whether the evaluation of this event is enabled.
- Type:
bool
- callback
Name of the C callback function handling the event.
- Type:
str