diff --git a/license.MD b/license.MD new file mode 100644 index 0000000..d2db305 --- /dev/null +++ b/license.MD @@ -0,0 +1,23 @@ +MIT License + +Copyright (c) [2024] [Darius Klein] + +MIT license for Wazuh-notify + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/wazuh-notify-python/requirements.txt b/wazuh-notify-python/requirements.txt new file mode 100644 index 0000000..2153d28 --- /dev/null +++ b/wazuh-notify-python/requirements.txt @@ -0,0 +1,4 @@ +setuptools~=59.6.0 +requests~=2.25.1 +tomli~=2.0.1 +python-dotenv~=1.0.1 \ No newline at end of file diff --git a/wazuh-notify-python/setup.py b/wazuh-notify-python/setup.py new file mode 100644 index 0000000..4dcde1e --- /dev/null +++ b/wazuh-notify-python/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup +import github + +setup( + name='wazuh-notify', + version='1.0', + packages=[''], + url='https://github.com/KleinProjects/wazuh-notify.git', + license='MIT', + author='Darius Klein', + author_email='darius.klein@dariusklein.nl', + description='Wazuh notify' +) + diff --git a/wazuh-notify-test-event.json b/wazuh-notify-python/wazuh-notify-test-event.json similarity index 100% rename from wazuh-notify-test-event.json rename to wazuh-notify-python/wazuh-notify-test-event.json diff --git a/wazuh-notify-python/wazuh-notify.py b/wazuh-notify-python/wazuh-notify.py index cf15b01..0271c0c 100755 --- a/wazuh-notify-python/wazuh-notify.py +++ b/wazuh-notify-python/wazuh-notify.py @@ -10,7 +10,7 @@ import requests from requests import Response - +import github from wazuh_notify_module import *