Skip to content

Commit

Permalink
🎉 PyPi release
Browse files Browse the repository at this point in the history
  • Loading branch information
quirinziessler committed Jan 18, 2024
1 parent 4c756bc commit 45a5b5e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.env
__pycache__
__pycache__
wazuh_findings_exporter.egg-info
dist/wazuh_findings_exporter-1.0.tar.gz
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# wazuh-findings-exporter
# wazuh_findings_exporter

A simple python script which exports findings of a client group from wazuh and adds the agent-ip as well as hostname to every finding for better further processing.

The script may not be perfect, so feel free to provide PRs and help to improve it.

```
from wazuh_findings_exporter import Wazuh_Importer
## Usage

from wazuh_findings_exporter import Wazuh_Importer

Wazuh = Wazuh_Importer(BASE_URL=None, BASE_URL=None, BASE_URL=None)
Wazuh = Wazuh_Importer(BASE_URL=None, BASE_URL=None, BASE_URL=None)

Wazuh.get_findings(group="Clients_AAAA", filedestination="")
```
Wazuh.get_findings(group="Clients_AAAA", filedestination="")
3 changes: 3 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python setup.py sdist
pip install twine
twine upload dist/*
10 changes: 8 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
[metadata]
long_description = file: README.md
license = MIT
version = 1
version = 1.1
long_description = file: README.md
long_description_content_type = text/markdown

[options]
install_requires =
requests
urllib3
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
setup(
name = 'wazuh_findings_exporter',
packages = ['wazuh_findings_exporter'],
version = '1.0',
version = '1.1',
license='MIT',
description = 'Simple script that exports Wazuh Vulnerabilities by Agent groups',
author = 'Quirin Hardy Zießler',
Expand All @@ -15,10 +15,8 @@
'requests',
],
classifiers=[
'5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand Down

0 comments on commit 45a5b5e

Please sign in to comment.