Skip to content
Snippets Groups Projects
Commit 4aee6e18 authored by Chukwuemeka Michael Muonagor's avatar Chukwuemeka Michael Muonagor
Browse files

Upload New File

parent 3ceb9c11
No related branches found
No related tags found
No related merge requests found
import intent_manager
def execute_alert_box(alert):
print('alert box ready - waiting for security alerts')
class Converted_intent:
intent_type = ''
threat = ''
host = []
duration = 0
new_intent = Converted_intent()
new_intent.intent_type = alert.alert_type
new_intent.threat = alert.threat
new_intent.host = alert.host
new_intent.duration = str(alert.duration)
intent_manager.execute_intent_manager(new_intent)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment