rosetta-ce 1.6.3__py3-none-any.whl → 1.6.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rosetta-ce might be problematic. Click here for more details.
- rosetta/rfaker.py +3 -3
- {rosetta_ce-1.6.3.dist-info → rosetta_ce-1.6.4.dist-info}/METADATA +1 -1
- {rosetta_ce-1.6.3.dist-info → rosetta_ce-1.6.4.dist-info}/RECORD +6 -6
- {rosetta_ce-1.6.3.dist-info → rosetta_ce-1.6.4.dist-info}/LICENSE +0 -0
- {rosetta_ce-1.6.3.dist-info → rosetta_ce-1.6.4.dist-info}/WHEEL +0 -0
- {rosetta_ce-1.6.3.dist-info → rosetta_ce-1.6.4.dist-info}/top_level.txt +0 -0
rosetta/rfaker.py
CHANGED
|
@@ -606,13 +606,13 @@ class Events:
|
|
|
606
606
|
for i in range(count):
|
|
607
607
|
datetime_iso += timedelta(seconds=1)
|
|
608
608
|
leef_message = f"LEEF:1.0|{vendor}|{product}|{version}|{event_id}|" \
|
|
609
|
-
f"severity={cls.set_field('severity', observables)}
|
|
609
|
+
f"severity={cls.set_field('severity', observables)}\tdevtime={datetime_iso}"
|
|
610
610
|
for field in required_fields.split(","):
|
|
611
|
-
leef_message += f"
|
|
611
|
+
leef_message += f"\t{field}={cls.set_field(field, observables)}"
|
|
612
612
|
if observables:
|
|
613
613
|
for observable, observable_value in vars(observables).items():
|
|
614
614
|
if observable_value and observable not in required_fields.split(","):
|
|
615
|
-
leef_message += f"
|
|
615
|
+
leef_message += f"\t{observable}={random.choice(observable_value)}"
|
|
616
616
|
leef_messages.append(leef_message)
|
|
617
617
|
return leef_messages
|
|
618
618
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rosetta-ce
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.4
|
|
4
4
|
Summary: Rosetta is a Python package that can be used to fake security logs and alerts for testing different detection and response use cases.
|
|
5
5
|
Home-page: https://github.com/ayman-m/rosetta
|
|
6
6
|
Author: Ayman Mahmoud
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
rosetta/__init__.py,sha256=9rqZF7bpDMRN5H-rjNRUfzQAOIqyc21hTTZfYufTy04,92
|
|
2
2
|
rosetta/rconverter.py,sha256=oPdWMtO6_aeQC8PqCl4nHKEpVb1kaBACSaNXsz-o00Q,3008
|
|
3
|
-
rosetta/rfaker.py,sha256=
|
|
3
|
+
rosetta/rfaker.py,sha256=zdFkdIxH4_TDfXSwXa9LwJpD2YQJnPCOz6f1_CIR-QA,45060
|
|
4
4
|
rosetta/rsender.py,sha256=Zfj9MVckO49iabxCQ19fkGKpKnzOXB1iHOTb9CgkzsE,10463
|
|
5
5
|
rosetta/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
rosetta/constants/attributes.py,sha256=ZWl1xHAAv0jh1oqyOCR9RjqbdaDsmBKSq59ame2HNgo,269
|
|
7
7
|
rosetta/constants/sensors.py,sha256=ZxPWFrNqDFKRVn9ai-5vtvIiU4-3FAXQIRj7gFoBRPk,1936
|
|
8
8
|
rosetta/constants/sources.py,sha256=b3ynlKGw1gw7VBA4yCYkJ7aq4vVPfypqA8W_kuAZaBA,1658
|
|
9
9
|
rosetta/constants/systems.py,sha256=dxFLs55Lg03rR-0T7bTFcKsdoXQuURFvGKFLO5IR_tM,6478
|
|
10
|
-
rosetta_ce-1.6.
|
|
11
|
-
rosetta_ce-1.6.
|
|
12
|
-
rosetta_ce-1.6.
|
|
13
|
-
rosetta_ce-1.6.
|
|
14
|
-
rosetta_ce-1.6.
|
|
10
|
+
rosetta_ce-1.6.4.dist-info/LICENSE,sha256=jF5fCbmI1A-yyvPAEeQ5VHM094tRLlWsMyun-UlX-pQ,1070
|
|
11
|
+
rosetta_ce-1.6.4.dist-info/METADATA,sha256=CoThCEVMfIlmNHEQXILOAgrkzIq3FbsDFjArw9m5Cak,11321
|
|
12
|
+
rosetta_ce-1.6.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
13
|
+
rosetta_ce-1.6.4.dist-info/top_level.txt,sha256=HLxDc6BJxHZDzVIlOwpCGH0DqIf65OhZcHniRDaUUZc,8
|
|
14
|
+
rosetta_ce-1.6.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|