Skip to content

Commit f67cc4b

Browse files
mjabascal10osmonteroJocLRojas
committed
Bugfix/10.6.2/update sophos integration guide (#1059)
* feat: add compliance reports * fix: update sophos guide * chore: update version and changelog * fix: update sophos guide * fix: update sophos guide * Enhance log alert message with key details. Include the specific blocklisted key in the alert message to provide clearer context and improve debugging efficiency. This update ensures more actionable and informative alerts. * Update how events are retrieved using the Sophos-Central API. * fix: update sophos guide * fix: update sophos guide * chore: clean up unused imports * fix: update sophos guide * fix: update sophos guide * fix: update sophos guide --------- Co-authored-by: Osmany Montero <[email protected]> Co-authored-by: JocLRojas <[email protected]>
1 parent 09b3f32 commit f67cc4b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

frontend/src/app/data-management/alert-management/alert-view/alert-view.component.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import {HttpResponse} from '@angular/common/http';
22
import {Component, HostListener, OnDestroy, OnInit} from '@angular/core';
33
import {ActivatedRoute, Router} from '@angular/router';
4+
import { Component, OnDestroy, OnInit} from '@angular/core';
5+
import {ActivatedRoute, Router} from '@angular/router';
46
import {NgbModal} from '@ng-bootstrap/ng-bootstrap';
57
import {TranslateService} from '@ngx-translate/core';
68
import {ResizeEvent} from 'angular-resizable-element';
@@ -56,6 +58,10 @@ import {EventDataTypeEnum} from '../shared/enums/event-data-type.enum';
5658
import {AlertTagService} from '../shared/services/alert-tag.service';
5759
import {OPEN_ALERTS_KEY, OpenAlertsService} from '../shared/services/open-alerts.service';
5860
import {getCurrentAlertStatus, getStatusName} from '../shared/util/alert-util-function';
61+
import {CheckEmailConfigService, ParamShortType} from '../../../shared/services/util/check-email-config.service';
62+
import {Subject} from 'rxjs';
63+
import {takeUntil} from 'rxjs/operators';
64+
import {ElasticDataTypesEnum} from '../../../shared/enums/elastic-data-types.enum';
5965

6066
@Component({
6167
selector: 'app-alert-view',
@@ -85,7 +91,7 @@ export class AlertViewComponent implements OnInit, OnDestroy {
8591
itemsPerPage = ITEMS_PER_PAGE;
8692
// By default all alert will contain all except alerts in review
8793
filters: ElasticFilterType[] = [
88-
/*{field: ALERT_STATUS_FIELD_AUTO, operator: ElasticOperatorsEnum.IS_NOT, value: AUTOMATIC_REVIEW},*/
94+
{field: ALERT_STATUS_FIELD_AUTO, operator: ElasticOperatorsEnum.IS_NOT, value: AUTOMATIC_REVIEW},
8995
{field: ALERT_TAGS_FIELD, operator: ElasticOperatorsEnum.IS_NOT, value: FALSE_POSITIVE_OBJECT.tagName},
9096
{field: ALERT_TIMESTAMP_FIELD, operator: ElasticOperatorsEnum.IS_BETWEEN, value: ['now-7d', 'now']}
9197
];
@@ -454,7 +460,6 @@ export class AlertViewComponent implements OnInit, OnDestroy {
454460

455461
viewDetailAlert(alert: any, td: UtmFieldType) {
456462
if (td.field !== ALERT_STATUS_FIELD) {
457-
console.log('ALERT:', alert);
458463
this.alertDetail = alert;
459464
this.viewAlertDetail = true;
460465
}

0 commit comments

Comments
 (0)