In this project, I have built an API that presents data from the file assets/alerts.json
through a series of endpoints.
You can access the API endpoints with this baseURL https://wazuh-technical-api.herokuapp.com/
These instructions are meant to be followed in a linux CLI
git clone https://github.com/mpRegalado/wazuhTechnicalAPI
cd wazuhTechnicalAPI
sudo pip3 install virtualenv
virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
All done! You can run the api by running
FLASK_APP=app flask run
The endpoints should be available at http://127.0.0.1:5000
Or you may run the unit tests with
pytest -v