rosetta-ce 1.7.2__py3-none-any.whl → 1.7.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.

@@ -1,34 +1,34 @@
1
1
  OS_LIST = [
2
- "AIX 7.2",
3
- "HP-UX 11i v3",
4
- "Solaris 11",
5
- "FreeBSD 13.2",
6
- "OpenBSD 7.4",
7
- "NetBSD 10.0",
8
- "Ubuntu 22.04 LTS",
9
- "Red Hat Enterprise Linux 9",
10
- "CentOS 8",
11
- "Debian 12",
12
- "Fedora 38",
13
- "Arch Linux 2024.09",
14
- "Kali Linux 2024.1",
15
- "Alpine Linux 3.18",
16
- "SUSE Linux Enterprise Server 15 SP4",
17
- "Windows 10 Pro",
18
- "Windows 11 Home",
19
- "Windows Server 2019",
20
- "Windows Server 2022",
21
- "Windows 8.1",
22
- "Windows 7 SP1",
23
- "macOS Ventura 13",
24
- "macOS Monterey 12",
25
- "macOS Big Sur 11",
26
- "macOS Catalina 10.15",
27
- "macOS Mojave 10.14",
28
- "iOS 17",
29
- "iPadOS 17",
30
- "Android 14",
31
- "HarmonyOS 3.1"
2
+ "AIX_7.2",
3
+ "HP-UX_11i_v3",
4
+ "Solaris_11",
5
+ "FreeBSD_13.2",
6
+ "OpenBSD_7.4",
7
+ "NetBSD_10.0",
8
+ "Ubuntu_22.04_LTS",
9
+ "Red_Hat_Enterprise_Linux_9",
10
+ "CentOS_8",
11
+ "Debian_12",
12
+ "Fedora_38",
13
+ "Arch_Linux_2024.09",
14
+ "Kali_Linux_2024.1",
15
+ "Alpine_Linux_3.18",
16
+ "SUSE_Linux_Enterprise_Server_15_SP4",
17
+ "Windows_10_Pro",
18
+ "Windows_11_Home",
19
+ "Windows_Server_2019",
20
+ "Windows_Server_2022",
21
+ "Windows_8.1",
22
+ "Windows_7_SP1",
23
+ "macOS_Ventura_13",
24
+ "macOS_Monterey_12",
25
+ "macOS_Big_Sur_11",
26
+ "macOS_Catalina_10.15",
27
+ "macOS_Mojave_10.14",
28
+ "iOS_17",
29
+ "iPadOS_17",
30
+ "Android_14",
31
+ "HarmonyOS_3.1"
32
32
  ]
33
33
  UNIX_CMD = [
34
34
  "cat /etc/shadow",
rosetta/rfaker.py CHANGED
@@ -837,6 +837,7 @@ class Events:
837
837
  # Generate analyst list if not provided in observables
838
838
  incident_types = observables.incident_types if observables and observables.incident_types else INCIDENTS_TYPES
839
839
  analysts = observables.analysts if observables and observables.analysts else [faker.unique.first_name() for _ in range(10)]
840
+ severities = observables.severity if observables and observables.severity else [faker.random_int(min=1, max=5) for _ in range(10)]
840
841
 
841
842
  incident_type_cycle = itertools.cycle(incident_types)
842
843
  for i in range(count):
@@ -844,8 +845,8 @@ class Events:
844
845
  duration = random.randint(1, 5)
845
846
  incident_type = next(incident_type_cycle)
846
847
  analyst = random.choice(analysts)
847
- severity = Events._set_field('severity', observables) or faker.random_int(min=1, max=5)
848
- description = Events._set_field('terms', observables) or faker.sentence(nb_words=10)
848
+ severity = random.choice(severities)
849
+ description = Events._set_field('terms')
849
850
 
850
851
  # Add base fields
851
852
  incident = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rosetta-ce
3
- Version: 1.7.2
3
+ Version: 1.7.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,15 +1,15 @@
1
1
  rosetta/__init__.py,sha256=9rqZF7bpDMRN5H-rjNRUfzQAOIqyc21hTTZfYufTy04,92
2
2
  rosetta/rconverter.py,sha256=oPdWMtO6_aeQC8PqCl4nHKEpVb1kaBACSaNXsz-o00Q,3008
3
- rosetta/rfaker.py,sha256=bVG2DWhBUAyEnAIg8gKvbQZmr_V8SPhntZYR7tDXKRQ,38449
3
+ rosetta/rfaker.py,sha256=4O0xSEWKhdddGM6fF0XzWBbL19AERtDs55koWWnDkcw,38494
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
7
7
  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
- rosetta/constants/systems.py,sha256=_6_qf8PaQGgxh1btJqBP_BtprdvvmLwMLu2hF_DVGWk,7411
11
- rosetta_ce-1.7.2.dist-info/LICENSE,sha256=jF5fCbmI1A-yyvPAEeQ5VHM094tRLlWsMyun-UlX-pQ,1070
12
- rosetta_ce-1.7.2.dist-info/METADATA,sha256=DVta8_vaxdAkkA9tEaIsPBqw_3s0YQwmnd83u6rzqwY,11321
13
- rosetta_ce-1.7.2.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
14
- rosetta_ce-1.7.2.dist-info/top_level.txt,sha256=HLxDc6BJxHZDzVIlOwpCGH0DqIf65OhZcHniRDaUUZc,8
15
- rosetta_ce-1.7.2.dist-info/RECORD,,
10
+ rosetta/constants/systems.py,sha256=-O8Q5loAUKYex45tDFdFyo5XC7ym4-oJdlQ9dyDpLyE,7411
11
+ rosetta_ce-1.7.4.dist-info/LICENSE,sha256=jF5fCbmI1A-yyvPAEeQ5VHM094tRLlWsMyun-UlX-pQ,1070
12
+ rosetta_ce-1.7.4.dist-info/METADATA,sha256=v3rjzPb7xnkBmlZsTj1BXQOGp1Xy9-dnc_nXS3fiYZI,11321
13
+ rosetta_ce-1.7.4.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
14
+ rosetta_ce-1.7.4.dist-info/top_level.txt,sha256=HLxDc6BJxHZDzVIlOwpCGH0DqIf65OhZcHniRDaUUZc,8
15
+ rosetta_ce-1.7.4.dist-info/RECORD,,