rosetta-ce 1.2.9__tar.gz → 1.3.0__tar.gz
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-ce-1.2.9/rosetta_ce.egg-info → rosetta-ce-1.3.0}/PKG-INFO +1 -1
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta/rfaker.py +8 -2
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0/rosetta_ce.egg-info}/PKG-INFO +1 -1
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/setup.py +1 -1
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/LICENSE +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/README.md +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta/__init__.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta/constants/__init__.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta/constants/sensors.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta/constants/sources.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta/constants/systems.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta/rconverter.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta/rsender.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta_ce.egg-info/SOURCES.txt +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta_ce.egg-info/dependency_links.txt +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta_ce.egg-info/requires.txt +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/rosetta_ce.egg-info/top_level.txt +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/setup.cfg +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/tests/test_rconverter.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/tests/test_rfaker.py +0 -0
- {rosetta-ce-1.2.9 → rosetta-ce-1.3.0}/tests/test_rsender.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rosetta-ce
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
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
|
|
@@ -546,6 +546,7 @@ class Events:
|
|
|
546
546
|
|
|
547
547
|
@classmethod
|
|
548
548
|
def incidents(cls, count, fields: Optional[str] = None, timestamp: Optional[datetime] = None,
|
|
549
|
+
vendor: Optional[str] = None, product: Optional[str] = None, version: Optional[str] = None,
|
|
549
550
|
observables: Optional[Observables] = None) -> List[dict]:
|
|
550
551
|
"""
|
|
551
552
|
Generates a list of fake incident data.
|
|
@@ -555,6 +556,9 @@ class Events:
|
|
|
555
556
|
fields (str, optional): A comma-separated list of incident fields to include in the output. If None,
|
|
556
557
|
all fields will be included. Valid options are: 'id', 'duration', 'type', 'analyst', 'severity',
|
|
557
558
|
'description', 'events'.
|
|
559
|
+
vendor: Optional. The vendor.
|
|
560
|
+
product: Optional. The product.
|
|
561
|
+
version: Optional. The version.
|
|
558
562
|
timestamp: Optional. The starting timestamp for the syslog messages. If not provided, a random time during
|
|
559
563
|
observables: An observables object. If not provided, random objservable will be generated and used.
|
|
560
564
|
|
|
@@ -628,8 +632,10 @@ class Events:
|
|
|
628
632
|
if 'events' in field_list:
|
|
629
633
|
incident['events'] = [
|
|
630
634
|
{"event": cls.syslog(count=1, timestamp=timestamp, observables=observables)[0]},
|
|
631
|
-
{"event": cls.cef(count=1, timestamp=timestamp,
|
|
632
|
-
|
|
635
|
+
{"event": cls.cef(count=1, timestamp=timestamp, vendor=vendor, product=product,
|
|
636
|
+
version=version, observables=observables)[0]},
|
|
637
|
+
{"event": cls.leef(count=1, timestamp=timestamp, vendor=vendor, product=product,
|
|
638
|
+
version=version, observables=observables)[0]},
|
|
633
639
|
{"event": cls.winevent(count=1, timestamp=timestamp, observables=observables)[0]},
|
|
634
640
|
{"event": cls.json(count=1, timestamp=timestamp, observables=observables)[0]}
|
|
635
641
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rosetta-ce
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
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
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
|
5
5
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name="rosetta-ce",
|
|
8
|
-
version="1.
|
|
8
|
+
version="1.3.0",
|
|
9
9
|
author="Ayman Mahmoud",
|
|
10
10
|
author_email="content@ayman.online",
|
|
11
11
|
description="Rosetta is a Python package that can be used to fake security logs and alerts for testing different "
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|