ports/security/wazuh-manager/files/patch-tools-mitre_mitredb-py
Jose Alonso Cardenas Marquez d7fcd1c31b security/wazuh-manager: New port: Security tool to monitor and check logs and intrusions (server)
Wazuh is a free and open source platform used for threat prevention, detection,
and response. It is capable of protecting workloads across on-premises,
virtualized, containerized, and cloud-based environments.

Wazuh solution consists of an endpoint security agent, deployed to the
monitored systems, and a management server, which collects and analyzes data
gathered by the agents. Besides, Wazuh has been fully integrated with the
Elastic Stack, providing a search engine and data visualization tool that
allows users to navigate through their security alerts.

WWW: https://wazuh.com/
2022-07-31 15:20:14 -05:00

16 lines
663 B
Text

--- tools/mitre/mitredb.py 2022-07-26 14:50:02.401104000 -0500
+++ tools/mitre/mitredb.py 2022-07-26 15:25:13.375626000 -0500
@@ -763,13 +763,6 @@
# Parse enterprise-attack.json file:
parse_json(pathfile, session, database)
- # User and group permissions
- os.chmod(database, 0o660)
- uid = pwd.getpwnam("root").pw_uid
- gid = grp.getgrnam("wazuh").gr_gid
- os.chown(database, uid, gid)
-
-
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='This script installs mitre.db in a directory.')
parser.add_argument('--database', '-d', help='-d /your/directory/mitre.db (default: /var/ossec/var/db/mitre.db')