Skip to content

devhhu/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 

Repository files navigation

A lightweight, Dockerized environment to simulate some events against a webserver, collect the logs, and generate/transform these into structured JSON events using fluentd.

These events can be pushed to a data lake or a SIEM, but will come back to this at a later point - as the main objective here is getting comfortable with working with Docker, and thinking of different ways it can be utilised from a Security Operations point of view.

You can clone and run the below

make rebuild

This will automate the docker compose down, build and up, as i haven't added cronjobs or a proper pipeline in place.

Can open a seperate terminal to generate some logs for fluentd to collect/transform into JSON or can run the shell scripts from the adversary container

curl http://localhost:8080

Since the nginx logs are being tailed you can go into the below location in an adjacent window, to test

docker exec -it fluentd-log-collector bash 
--> cd /fluentd/output/nginx.log

About

exploring some docker use cases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published