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

Delete put_whatif.py

parent 79925dc9
No related branches found
No related tags found
No related merge requests found
import requests
import sys
#IP address of the machine on which the IBI is running
host = sys.argv[1]
#api_url = "http://192.168.56.1:7780/workflows"
api_url = "http://" + host + ":7777/whatif_receives"
whatif_reply = {
"command":"",
"intent_type":"",
"threat":"",
"host":[],
"action":"",
"time_frame":"",
"what_if_response": "ok"
}
response = requests.put(api_url, json=whatif_reply)
#print(response.json())
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