Skip to content

Conversation

FeDaas
Copy link
Collaborator

@FeDaas FeDaas commented Jun 2, 2025

The create_container() fucntion in src/docker_env.py now additionaly features:

  • a volume bind from /var/log/commands.log:var/log/commands.log
  • an environment variable ENV_CONTAINER_NAME=container_name
  • command restarting rsyslog

This allows the CTF-Watcher to display the used bash commands in its Grafana visualisation.
Restarting ryslogs enables CTF-Watcher to continue supervising the container even after it is restarted.

This matches the CTF-Watchers requirements for improved supervising as described by its documentation:
https://github.com/EMCL-Research-ITSecLab/ctf-watcher/tree/main/WazuhAgent

…s and container name enviroment variable for command logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant