Skip to content
Snippets Groups Projects
Commit bcf8db4e authored by nimrod's avatar nimrod
Browse files

Add checks for auth, elasticsearch and kibana.

parent a315bee7
Branches
No related tags found
No related merge requests found
Pipeline #1456 passed
......@@ -16,6 +16,9 @@ locals {
"ssh",
"smtp",
"imap",
"auth",
"elasticsearch",
"kibana",
]
function_names = [for name in local.functions : "${local.function_name_prefix}-${replace(name, "_", "")}"]
}
......
from utils import website_handler
URLS = [
{"url": "http://auth.shore.co.il/", "codes": [301]},
{"url": "https://auth.shore.co.il/", "codes": [403]},
]
handler = website_handler(URLS)
if __name__ == "__main__":
handler("event", "context")
from utils import website_handler
URLS = [
{"url": "http://elasticsearch.shore.co.il/", "codes": [301]},
{"url": "https://elasticsearch.shore.co.il/", "codes": [403]},
]
handler = website_handler(URLS)
if __name__ == "__main__":
handler("event", "context")
from utils import website_handler
URLS = [
{"url": "http://kibana.shore.co.il/", "codes": [301]},
{"url": "https://kibana.shore.co.il/", "codes": [302]},
]
handler = website_handler(URLS)
if __name__ == "__main__":
handler("event", "context")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment