From 05dfbcc6dacf8a4a2cc2bfd4b67255620471eefe Mon Sep 17 00:00:00 2001 From: kooomix Date: Mon, 5 Aug 2024 09:33:31 +0300 Subject: [PATCH] chore: Add runtime incidents rulesets and alert notifications --- tests_scripts/runtime/alerts.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests_scripts/runtime/alerts.py b/tests_scripts/runtime/alerts.py index 209a6715..b02d69e2 100644 --- a/tests_scripts/runtime/alerts.py +++ b/tests_scripts/runtime/alerts.py @@ -49,6 +49,16 @@ def __init__(self, test_obj: TestConfiguration = None, backend=None, test_driver self.test_policy_guids = [] def start(self): + """ + agenda: + 1. get runtime incidents rulesets + 2. enrich the new runtime policy with alert notifications + 3. create new runtime policy + 4. Install kubescape + 5. apply the deployment that will generate the incident + 6. wait for the runtime incidents to be generated + 7. verify messages were sent + """ assert self.backend is not None, f'the test {self.test_driver.test_name} must run with backend'