Implements add the ability to suppress specific alerts

Implements #4942

Partially implemented alerts exclusion list

Added User Script exclusion list to settings

Implements add the ability to suppress specific alerts
Implements #4942
This commit is contained in:
Matteo Biscosi 2021-02-08 15:23:26 +01:00
parent e1984cb886
commit 769658268f
14 changed files with 474 additions and 22 deletions

View file

@ -9,15 +9,12 @@
</button>
</div>
<div class="modal-body">
<table class='table table-borderless' id='script-config-editor'>
</table>
<div id='script-description' class='alert alert-light' role='alert'>
</div>
<span class='invalid-feedback' id='apply-error'></span>
</div>
</div>
<div class="modal-footer">
<button id='btn-reset' title='Reset Default ntopng values' type='button'
class='btn btn-danger'>
@ -43,4 +40,8 @@
<option value='{{ severity.severity_id }}'>{{ i18n(severity.i18n_title) }}</option>
{% end %}
</select>
</template>
</template>
<template id="exclusion-list-template">
<textarea name="exclusion-list" id="exclusionlist-textarea" class="w-100 form-control" rows="2"></textarea>
<small>{{ i18n("scripts_list.exclusion_list") }}</small>
</template>