From 2130029f904ba46b33c9cdca64cf544a6e879c74 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Thu, 17 Nov 2016 14:16:59 -0800 Subject: [PATCH] Adding new notification templates. (#511) --- .../lemur_email/templates/expiration.html | 4 +- .../plugins/lemur_email/templates/issued.html | 168 +++++++++++++++++ .../lemur_email/templates/rotation.html | 170 ++++++++++++++++++ 3 files changed, 340 insertions(+), 2 deletions(-) create mode 100644 lemur/plugins/lemur_email/templates/issued.html create mode 100644 lemur/plugins/lemur_email/templates/rotation.html diff --git a/lemur/plugins/lemur_email/templates/expiration.html b/lemur/plugins/lemur_email/templates/expiration.html index a9c4569c..969d229f 100644 --- a/lemur/plugins/lemur_email/templates/expiration.html +++ b/lemur/plugins/lemur_email/templates/expiration.html @@ -146,13 +146,13 @@ - diff --git a/lemur/plugins/lemur_email/templates/issued.html b/lemur/plugins/lemur_email/templates/issued.html new file mode 100644 index 00000000..fb414f73 --- /dev/null +++ b/lemur/plugins/lemur_email/templates/issued.html @@ -0,0 +1,168 @@ + + + + + + + + Lemur + + +
+
You received this mandatory email service announcement to update you about + You received this mandatory email announcement to update you about important changes to your TLS certificate.
-
© 2015 Lemur
+
© 2016 Lemur
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ Lemur +
+
+ + + + + + + + + + + + + + +
+ Your certificate(s) are being rotated! +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ Hi, +
+
Your certificate is ready. + + + {% for message in messages %} + + + + + + {% if not loop.last %} + + + + {% endif %} + {% endfor %} + +
+ {{ message.name }} +
+ + {{ message.body }} + +
+ +
{{ message.owner }} +
{{ message.not_after | time }} + Details +
+
+
+
Best,
Lemur +
+ + + + + + +
*All times are in UTC
+
+
+
+ + + + + + + + + +
You received this mandatory email announcement to update you about + important changes to your TLS certificate. +
+
© 2016 Lemur
+
+
+
+ diff --git a/lemur/plugins/lemur_email/templates/rotation.html b/lemur/plugins/lemur_email/templates/rotation.html new file mode 100644 index 00000000..ef9f2762 --- /dev/null +++ b/lemur/plugins/lemur_email/templates/rotation.html @@ -0,0 +1,170 @@ + + + + + + + + Lemur + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ Lemur +
+
+ + + + + + + + + + + + + + +
+ Your certificate(s) are being rotated! +
+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ Hi, +
+
This is a Lemur certificate rotation notice. This a purely informational notice. The following certificates will be rotated on any associated endpoints. + + + {% for message in messages %} + + + + + + {% if not loop.last %} + + + + {% endif %} + {% endfor %} + +
+ {{ message.name }} +
+ + {{ message.endpoints | length }} Endpoints +
{{ message.owner }} +
{{ message.not_after | time }} + Details +
+
+
+ If any of the above information looks incorrect, or if the endpoints mentioned are no longer in use please reach out to {{ security_email }}. +
+
Best,
Lemur +
+ + + + + + +
*All times are in UTC
+
+
+
+ + + + + + + + + +
You received this mandatory email announcement to update you about + important changes to your TLS certificate. +
+
© 2016 Lemur
+
+
+
+