import { Section, Text } from 'react-email'; import * as React from 'react'; import { content, paragraph } from '../css/styles'; import { EmailButton, MailBody } from '../partials/partials'; type Props = { destinationName: string; destinationType: string; lastError: string; failingSince: string; settingsLink: string; }; export const SiemDestinationDisabledEmail = ({ destinationName, destinationType, lastError, failingSince, settingsLink, }: Props) => { return (
Hi there, Your SIEM destination {destinationName} ( {destinationType}) has been failing since {failingSince} and was disabled after 24 hours of failed deliveries. Last error: {lastError} Your events are kept and delivery resumes from where it stopped when you re-enable it.
View destination
); }; export default SiemDestinationDisabledEmail;