Commit e797bfc8 authored by nimrod's avatar nimrod
Browse files

Add check for mta-sts.shore.co.il.

parent ec24d200
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ locals {
    "nextcloud",
    "notify",
    "autoconfig",
    "mta-sta",
  ]
  function_names = [for name in local.functions : "${local.function_name_prefix}-${replace(name, "_", "")}"]
}

src/mta-sts.py

0 → 100644
+14 −0
Original line number Diff line number Diff line
# pylint: disable=invalid-name
from utils import check_urls


def handler(event, context):  # pylint: disable=unused-argument
    """Lambda event handler."""
    checks = [
        {"url": "https://mta-sts.shore.co.il/.well-known/mta-sts.txt"},
    ]
    check_urls(checks)


if __name__ == "__main__":
    handler("event", "context")