Skip to content

Commit

Permalink
wai_detection: changed Description and move variable info into Note
Browse files Browse the repository at this point in the history
  • Loading branch information
cejkato2 committed Feb 7, 2019
1 parent c5d60ac commit 2f0a780
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion waintrusion_detector/waintrusion_detector2idea.py
Expand Up @@ -80,7 +80,8 @@ def convert_to_idea(rec, opts=None):
setAddr(idea["Target"][0], rec.DST_IP)
setAddr(idea["Source"][0], rec.SRC_IP)

idea['Description'] = "Detection Rule: " + str(rec.WAI_RULE) + ", HTTP request Field: " + str(rec.WAI_MALICIOUS_FIELD) + ", HTTP request field contained value: " + str(rec.WAI_MALICIOUS_VALUE)
idea['Description'] = "HTTP traffic containing suspicious data that looks like vulnerability test."
idea['Note'] = "Detection Rule: " + str(rec.WAI_RULE) + ", HTTP request Field: " + str(rec.WAI_MALICIOUS_FIELD) + ", HTTP request field contained value: " + str(rec.WAI_MALICIOUS_VALUE)
return idea

# Run the module
Expand Down

0 comments on commit 2f0a780

Please sign in to comment.