incidentTrigger.js 224 B

1234567891011
  1. export function IncidentTrigger(params = {}) {
  2. return {
  3. alertRuleId: '4',
  4. alertThreshold: 70,
  5. dateCreated: '2019-09-24T18:07:47.714Z',
  6. id: '1',
  7. label: 'critical',
  8. actions: [],
  9. ...params,
  10. };
  11. }