Skip to content

Commit

Permalink
chore: Add runtime incidents rulesets and alert notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
kooomix committed Aug 5, 2024
1 parent 9198030 commit 05dfbcc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests_scripts/runtime/alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down

0 comments on commit 05dfbcc

Please sign in to comment.