-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c756bc
commit 45a5b5e
Showing
5 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
python setup.py sdist | ||
pip install twine | ||
twine upload dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters