@@ -231,6 +231,20 @@ export default {
231
231
<div class="list-group-item"><b-form-checkbox value="USER_DELETED">USER_DELETED</b-form-checkbox></div>
232
232
</b-form-checkbox-group>
233
233
</div>
234
+ <div style="text-align:left">
235
+ <b-form-group id="fieldset-7" :label="this.$t('Trigger notification on severities')" label-for="input-7">
236
+ <div class="list-group" v-if="this.scope === 'PORTFOLIO'">
237
+ <b-form-checkbox-group id="checkbox-group-severities" v-model="notifySeverities">
238
+ <div class="list-group-item"><b-form-checkbox value="LOW">LOW_SEVERITY</b-form-checkbox></div>
239
+ <div class="list-group-item"><b-form-checkbox value="MEDIUM">MEDIUM_SEVERITY</b-form-checkbox></div>
240
+ <div class="list-group-item"><b-form-checkbox value="HIGH">HIGH_SEVERITY</b-form-checkbox></div>
241
+ <div class="list-group-item"><b-form-checkbox value="CRITICAL">CRITICAL_SEVERITY</b-form-checkbox></div>
242
+ <div class="list-group-item"><b-form-checkbox value="INFO">INFO_SEVERITY</b-form-checkbox></div>
243
+ <div class="list-group-item"><b-form-checkbox value="UNASSIGNED">UNASSIGNED_SEVERITY</b-form-checkbox></div>
244
+ </b-form-checkbox-group>
245
+ </div>
246
+ </b-form-group>
247
+ </div>
234
248
</b-form-group>
235
249
<p v-show="isScheduled && (notifyOn.includes('NEW_POLICY_VIOLATIONS_SUMMARY') || notifyOn.includes('NEW_VULNERABILITIES_SUMMARY'))" class="font-sm text-warning">
236
250
<span class="fa fa-warning"></span> {{ $t('admin.alert_schedule_summary_warning') }}
@@ -280,6 +294,7 @@ export default {
280
294
jiraTicketType: this .parseJiraTicketType (row),
281
295
scope: row .scope ,
282
296
notifyOn: row .notifyOn ,
297
+ notifySeverities: row .notifySeverities ,
283
298
projects: row .projects ,
284
299
teams: row .teams ,
285
300
scheduleLastTriggeredAt: common .formatTimestamp (
@@ -407,6 +422,7 @@ export default {
407
422
tokenHeader: this .tokenHeader ,
408
423
}),
409
424
notifyOn: this .notifyOn ,
425
+ notifySeverities: this .notifySeverities ,
410
426
tags: this .tags .map ((tag ) => {
411
427
return { name: tag .text };
412
428
}),
0 commit comments