Skip to content

Commit

Permalink
Fix rule name
Browse files Browse the repository at this point in the history
  • Loading branch information
fkanout committed Oct 2, 2023
1 parent e4ebdf8 commit 3ed84cb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const buildMetricThresholdAlert = (
alertOnGroupDisappear: true,
},
'kibana.alert.evaluation.values': [2500, 5],
'kibana.alert.rule.category': 'Custom Custom threshold (Technical Preview)',
'kibana.alert.rule.category': 'Custom threshold (Technical Preview)',
'kibana.alert.rule.consumer': 'alerts',
'kibana.alert.rule.execution.uuid': '62dd07ef-ead9-4b1f-a415-7c83d03925f7',
'kibana.alert.rule.name': 'One condition',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom Custom threshold (Technical Preview)'
'Custom threshold (Technical Preview)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom Custom threshold (Technical Preview)'
'Custom threshold (Technical Preview)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom Custom threshold (Technical Preview)'
'Custom threshold (Technical Preview)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down

0 comments on commit 3ed84cb

Please sign in to comment.