mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
updates with json dumps
This commit is contained in:
+1
-1
@@ -709,7 +709,7 @@ def write_use_case_lib_conf(stories, detections, investigations, baselines, OUTP
|
||||
output_file.write("confidence = {0}\n".format(detection['confidence']))
|
||||
output_file.write("explanation = {0}\n".format(detection['eli5']))
|
||||
output_file.write("how_to_implement = {0}\n".format(detection['how_to_implement']))
|
||||
output_file.write("annotations = {0}\n".format(detection['mappings']))
|
||||
output_file.write("annotations = {0}\n".format(json.dumps(detection['mappings'])))
|
||||
output_file.write("known_false_positives = {0}\n".format(detection['known_false_positives']))
|
||||
output_file.write("providing_technologies = {0}\n".format(json.dumps(detection['providing_technologies'])))
|
||||
output_file.write("\n")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############
|
||||
# Automatically generated by generator.py in splunk/security-content
|
||||
# On Date: 2019-04-22T22:51:31 UTC
|
||||
# On Date: 2019-04-22T23:02:58 UTC
|
||||
# Author: Splunk Security Research
|
||||
# Contact: research@splunk.com
|
||||
#############
|
||||
|
||||
+157
-157
File diff suppressed because it is too large
Load Diff
+344
-344
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user