mirror of https://github.com/MISP/MISP
Merge pull request #2537 from RichieB2B/ncsc-nl/stix-conditions
Add Condition attribute to HTTP_Method STIX exportpull/2539/head
commit
4688df15ee
|
@ -280,6 +280,7 @@ def resolveHTTPObservable(indicator, attribute):
|
||||||
else:
|
else:
|
||||||
line = HTTPRequestLine()
|
line = HTTPRequestLine()
|
||||||
line.http_method = attribute["value"]
|
line.http_method = attribute["value"]
|
||||||
|
line.http_method.condition = "Equals"
|
||||||
client_request.http_request_line = line
|
client_request.http_request_line = line
|
||||||
request_response.http_client_request = client_request
|
request_response.http_client_request = client_request
|
||||||
new_object = HTTPSession()
|
new_object = HTTPSession()
|
||||||
|
|
Loading…
Reference in New Issue