| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <div class="box box-info"> |
| <div class="box-header with-border"> |
| <h3 class="box-title" id="policyId"> |
| {{alert.tags.policyId}} |
| <small>{{common.format.date(alert.timestamp)}}</small> |
| </h3> |
| </div><!-- /.box-header --> |
| |
| <div class="box-body"> |
| <a class="btn btn-primary pull-right" href="#/common/policyDetail/?policy={{alert.tags.policyId}}&site={{alert.tags.site}}&executor={{alert.tags.alertExecutorId}}">View Policy</a> |
| |
| <div class="inline-group"> |
| <dl><dt>Site</dt><dd>{{alert.tags.site}}</dd></dl> |
| <dl><dt>Data Source</dt><dd>{{alert.tags.dataSource}}</dd></dl> |
| </div> |
| <div class="inline-group"> |
| <dl><dt>Alert Time</dt><dd>{{common.format.date(alert.timestamp)}}</dd></dl> |
| <dl><dt>Message Time</dt><dd>{{common.format.date(alert.alertContext.properties.timestamp)}}</dd></dl> |
| </div> |
| <!--div class="inline-group"> |
| <dl><dt>Severity</dt><dd>{{alert.alertContext.properties.severity}}</dd></dl> |
| </div--> |
| <div class="inline-group"> |
| <dl><dt>Stream Name</dt><dd>{{alert.tags.sourceStreams}}</dd></dl> |
| </div> |
| <div class="inline-group"> |
| <dl><dt>Alert Source</dt><dd>{{alert.tags.alertSource}}</dd></dl> |
| </div> |
| <div class="inline-group"> |
| <dl><dt>User</dt><dd>{{alert.alertContext.properties.user}}</dd></dl> |
| <dl><dt>Host</dt><dd>{{alert.alertContext.properties.host}}</dd></dl> |
| </div> |
| <div class="inline-group"> |
| <dl><dt>Event</dt><dd>{{alert.alertContext.properties.alertEvent}}</dd></dl> |
| </div> |
| <div class="inline-group"> |
| <dl><dt>Message</dt><dd>{{alert.alertContext.properties.alertMessage}}</dd></dl> |
| </div> |
| </div><!-- /.box-body --> |
| |
| <div class="overlay" ng-hide="alertList._promise.$$state.status === 1;"> |
| <i class="fa fa-refresh fa-spin"></i> |
| </div> |
| </div> |