rosetta-ce 1.6.8__py3-none-any.whl → 1.6.9__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 +21 -0
- {rosetta_ce-1.6.8.dist-info → rosetta_ce-1.6.9.dist-info}/METADATA +1 -1
- {rosetta_ce-1.6.8.dist-info → rosetta_ce-1.6.9.dist-info}/RECORD +6 -6
- {rosetta_ce-1.6.8.dist-info → rosetta_ce-1.6.9.dist-info}/LICENSE +0 -0
- {rosetta_ce-1.6.8.dist-info → rosetta_ce-1.6.9.dist-info}/WHEEL +0 -0
- {rosetta_ce-1.6.8.dist-info → rosetta_ce-1.6.9.dist-info}/top_level.txt +0 -0
rosetta/rfaker.py
CHANGED
|
@@ -319,6 +319,27 @@ class Events:
|
|
|
319
319
|
if field == "technique":
|
|
320
320
|
field_value = random.choice(observables.technique) if observables and observables.technique \
|
|
321
321
|
else random.choice(ATTACK_TECHNIQUES)
|
|
322
|
+
if field == "entry_type":
|
|
323
|
+
field_value = random.choice(observables.entry_type) if observables and observables.entry_type \
|
|
324
|
+
else faker.sentence(nb_words=2)
|
|
325
|
+
if field == "sensor":
|
|
326
|
+
field_value = random.choice(observables.sensor) if observables and observables.sensor \
|
|
327
|
+
else faker.sentence(nb_words=1)
|
|
328
|
+
if field == "event_id":
|
|
329
|
+
field_value = random.choice(observables.event_id) if observables and observables.event_id \
|
|
330
|
+
else faker.random_int(min=10, max=1073741824)
|
|
331
|
+
if field == "error_code":
|
|
332
|
+
field_value = random.choice(observables.error_code) if observables and observables.error_code \
|
|
333
|
+
else faker.random_int(min=1000, max=5000)
|
|
334
|
+
if field == "terms":
|
|
335
|
+
field_value = random.choice(observables.terms) if observables and observables.terms \
|
|
336
|
+
else faker.sentence(nb_words=10)
|
|
337
|
+
if field == "alert_types":
|
|
338
|
+
field_value = random.choice(observables.alert_types) if observables and observables.alert_types \
|
|
339
|
+
else faker.sentence(nb_words=1)
|
|
340
|
+
if field == "action_status":
|
|
341
|
+
field_value = random.choice(observables.action_status) if observables and observables.action_status \
|
|
342
|
+
else random.choice(ACTIONS)
|
|
322
343
|
if field == "severity":
|
|
323
344
|
field_value = random.choice(observables.severity) if observables and observables.severity \
|
|
324
345
|
else random.choice(SEVERITIES)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rosetta-ce
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.9
|
|
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,6 +1,6 @@
|
|
|
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=9rIuarWH9fCsO3n5pjmrBdHxxtBhLf-JuhdgzpFCbJk,48511
|
|
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=dxPzi5D00U8Fvo1B1u1bC5-kYqN3lCIpYwwroHHp-hw,4622
|
|
@@ -8,8 +8,8 @@ rosetta/constants/db.py,sha256=ZobruGzgijbbFHEnLGuwVwZTxLCBL-_vdmUDPVv3OAo,4708
|
|
|
8
8
|
rosetta/constants/sensors.py,sha256=ZxPWFrNqDFKRVn9ai-5vtvIiU4-3FAXQIRj7gFoBRPk,1936
|
|
9
9
|
rosetta/constants/sources.py,sha256=b3ynlKGw1gw7VBA4yCYkJ7aq4vVPfypqA8W_kuAZaBA,1658
|
|
10
10
|
rosetta/constants/systems.py,sha256=bdXUf93iKXMdxnjkBIiE1qC-QlyqVsUd5gVfFqHfddg,7431
|
|
11
|
-
rosetta_ce-1.6.
|
|
12
|
-
rosetta_ce-1.6.
|
|
13
|
-
rosetta_ce-1.6.
|
|
14
|
-
rosetta_ce-1.6.
|
|
15
|
-
rosetta_ce-1.6.
|
|
11
|
+
rosetta_ce-1.6.9.dist-info/LICENSE,sha256=jF5fCbmI1A-yyvPAEeQ5VHM094tRLlWsMyun-UlX-pQ,1070
|
|
12
|
+
rosetta_ce-1.6.9.dist-info/METADATA,sha256=I3PIo6uGDgovzCgx47x0VVTDT3kPvdJ_NDYaEFSzlMA,11321
|
|
13
|
+
rosetta_ce-1.6.9.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
14
|
+
rosetta_ce-1.6.9.dist-info/top_level.txt,sha256=HLxDc6BJxHZDzVIlOwpCGH0DqIf65OhZcHniRDaUUZc,8
|
|
15
|
+
rosetta_ce-1.6.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|