- Mark IGNORE on FreeBSD 12-aarch64 - Use makepatch to generate patch files - Fix typo at wazuh-agent and wazuh-manager pkg-message files [1] - Fix some linking issues when devel/libsysinfo is installed (using ports). wazuh-manager compile/install a library with the same name like libsysinfo and it is used by syscollector feature. - wazuh-dashboard use opensearch-dashboards 2.7.0 - Some other modifications ChangeLog at: https://github.com/wazuh/wazuh/releases PR: 271376 Reported by: lambert _ at _ sanesecurityguy.com [1]
16 lines
645 B
Python
16 lines
645 B
Python
--- tools/mitre/mitredb.py.orig 2023-05-24 19:23:05 UTC
|
|
+++ tools/mitre/mitredb.py
|
|
@@ -766,13 +766,6 @@ def main(database=None):
|
|
# 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')
|