Skip to content

Commit 3a47e98

Browse files
committed
Rename some alert types
1 parent 878ab20 commit 3a47e98

13 files changed

Lines changed: 18 additions & 18 deletions

File tree

x-pack/legacy/plugins/siem/server/lib/detection_engine/notifications/rules_notification_alert_type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const rulesNotificationAlertType = ({
2020
logger: Logger;
2121
}): NotificationAlertTypeDefinition => ({
2222
id: NOTIFICATIONS_ID,
23-
name: 'SIEM Notifications',
23+
name: 'SIEM Notification',
2424
actionGroups: siemRuleActionGroups,
2525
defaultActionGroupId: 'default',
2626
validate: {

x-pack/legacy/plugins/siem/server/lib/detection_engine/signals/signal_rule_alert_type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const signalRulesAlertType = ({
4242
}): SignalRuleAlertTypeDefinition => {
4343
return {
4444
id: SIGNALS_ID,
45-
name: 'SIEM Signals',
45+
name: 'SIEM Signal',
4646
actionGroups: siemRuleActionGroups,
4747
defaultActionGroupId: 'default',
4848
validate: {

x-pack/legacy/plugins/uptime/public/lib/alert_types/__tests__/monitor_status.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ describe('monitor status alert type', () => {
173173
{{context.completeIdList}}",
174174
"iconClass": "uptimeApp",
175175
"id": "xpack.uptime.alerts.monitorStatus",
176-
"name": "Uptime Monitor Status",
176+
"name": "Uptime monitor status",
177177
"validate": [Function],
178178
}
179179
`);

x-pack/legacy/plugins/uptime/public/lib/alert_types/monitor_status.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const initMonitorStatusAlertType: AlertTypeInitializer = ({
6161
autocomplete,
6262
}): AlertTypeModel => ({
6363
id: 'xpack.uptime.alerts.monitorStatus',
64-
name: 'Uptime Monitor Status',
64+
name: 'Uptime monitor status',
6565
iconClass: 'uptimeApp',
6666
alertParamsExpression: params => {
6767
return <AlertMonitorStatus {...params} autocomplete={autocomplete} />;

x-pack/plugins/alerting_builtins/server/alert_types/index_threshold/alert_type.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('alertType', () => {
2020

2121
it('alert type creation structure is the expected value', async () => {
2222
expect(alertType.id).toBe('.index-threshold');
23-
expect(alertType.name).toBe('Index Threshold');
23+
expect(alertType.name).toBe('Index threshold');
2424
expect(alertType.actionGroups).toEqual([{ id: 'threshold met', name: 'Threshold Met' }]);
2525

2626
expect(alertType.actionVariables).toMatchInlineSnapshot(`

x-pack/plugins/alerting_builtins/server/alert_types/index_threshold/alert_type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function getAlertType(service: Service): AlertType {
2222
const { logger } = service;
2323

2424
const alertTypeName = i18n.translate('xpack.alertingBuiltins.indexThreshold.alertTypeTitle', {
25-
defaultMessage: 'Index Threshold',
25+
defaultMessage: 'Index threshold',
2626
});
2727

2828
const actionGroupName = i18n.translate(

x-pack/plugins/apm/common/alert_types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export enum AlertType {
1414
export const ALERT_TYPES_CONFIG = {
1515
[AlertType.ErrorRate]: {
1616
name: i18n.translate('xpack.apm.errorRateAlert.name', {
17-
defaultMessage: 'Error rate threshold'
17+
defaultMessage: 'Error rate'
1818
}),
1919
actionGroups: [
2020
{
@@ -28,7 +28,7 @@ export const ALERT_TYPES_CONFIG = {
2828
},
2929
[AlertType.TransactionDuration]: {
3030
name: i18n.translate('xpack.apm.transactionDurationAlert.name', {
31-
defaultMessage: 'Transaction duration threshold'
31+
defaultMessage: 'Transaction duration'
3232
}),
3333
actionGroups: [
3434
{

x-pack/plugins/infra/public/components/alerting/metrics/metric_threshold_alert_type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function getAlertType(): AlertTypeModel {
1515
return {
1616
id: METRIC_THRESHOLD_ALERT_TYPE_ID,
1717
name: i18n.translate('xpack.infra.metrics.alertFlyout.alertName', {
18-
defaultMessage: 'Alert Trigger',
18+
defaultMessage: 'Metric threshold',
1919
}),
2020
iconClass: 'bell',
2121
alertParamsExpression: Expressions,

x-pack/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_alert_type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function registerMetricThresholdAlertType(alertingPlugin: PluginSet
5151

5252
alertingPlugin.registerType({
5353
id: METRIC_THRESHOLD_ALERT_TYPE_ID,
54-
name: 'Metric Alert - Threshold',
54+
name: 'Metric threshold',
5555
validate: {
5656
params: schema.object({
5757
criteria: schema.arrayOf(schema.oneOf([countCriterion, nonCountCriterion])),

x-pack/plugins/triggers_actions_ui/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ AlertTypeModel:
6767
export function getAlertType(): AlertTypeModel {
6868
return {
6969
id: '.index-threshold',
70-
name: 'Index Threshold',
70+
name: 'Index threshold',
7171
iconClass: 'alert',
7272
alertParamsExpression: IndexThresholdAlertTypeExpression,
7373
validate: validateAlertType,

0 commit comments

Comments
 (0)