Skip to content

Pilladian/infowatch-server

Repository files navigation

InfoWatch

An open source SIEM solution implemented in Go

GitHub go.mod Go version GitHub GitHub last commit GitHub issues GitHub Workflow Status GitHub Workflow Status

Installation

GoLang Build

# Clone the repository from Github
git clone https://github.com/Pilladian/infowatch-server.git

# Build the application
cd infowatch-server
go build -o iw-server

Docker

# Clone the repository from Github
git clone https://github.com/Pilladian/infowatch-server.git

# Build the docker image
cd infowatch-server
docker build -t infowatch:latest -f Dockerfile .

# Start the container
docker run --rm -p 8080:8080 -d infowatch:latest

Usage

# Create new project 823745 and store some data in it
curl http://localhost:8080/api/v1/push?pid=823745 -X POST -d '{"sender": "me", "message": "hello_its_me"}'

# Add data to project 823745
curl http://localhost:8080/api/v1/push?pid=823745 -X POST -d '{"sender": "you", "message": "hello_me_its_you"}'

# View data
curl http://localhost:8080/

Important Notes

"id", "Id", "iD" or "ID" are invalid keys for json data