Skip to content
Permalink
Browse files

Add cloudtrail sqs queue name as a tag to each event

  • Loading branch information
pwnbus committed Feb 12, 2020
1 parent 1eb6a01 commit 87b108358730d45abe94e95c57f55bb72101b3e8
Showing with 1 addition and 0 deletions.
  1. +1 −0 mq/esworker_cloudtrail.py
@@ -62,6 +62,7 @@ def keyMapping(aDict):
returndict["category"] = "cloudtrail"
returndict["processid"] = str(os.getpid())
returndict["processname"] = sys.argv[0]
returndict["tags"] = [options.taskexchange]
returndict["severity"] = "INFO"
if "sourceIPAddress" in aDict and "eventName" in aDict and "eventSource" in aDict:
summary_str = "{0} performed {1} in {2}".format(

0 comments on commit 87b1083

Please sign in to comment.
You can’t perform that action at this time.