https://github.com/benjitrapp/automated-operator-log
https://github.com/benjitrapp/automated-operator-log
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/benjitrapp/automated-operator-log
- Owner: BenjiTrapp
- Created: 2024-03-09T21:05:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T08:51:49.000Z (over 2 years ago)
- Last Synced: 2025-04-13T00:57:25.515Z (about 1 year ago)
- Language: Python
- Size: 277 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Audit: audit.rules
Awesome Lists containing this project
README
# automated-operator-log
Lorem ipsum dolores ...
## Install as Service
1. Make sure that AuditD and Python3 is installed
2. Create the file `audit2json-daemon.service` with the content below:
```bash
[Unit]
Description=Audit2Json Converter Daemon
After=network.target
[Service]
Type=simple
User=Benji
WorkingDirectory=/path/to/your/script
ExecStart=/usr/bin/python3 /path/to/your/script/auditd_json_converter.py
Restart=on-failure
[Install]
WantedBy=multi-user.target
```
3. Adjust the path settings according to the location of your script
4. Now start the daemon with `systemctl start audit2json-daemon`.
5. One word of awareness: make sure that `/usr/bin/python3` fits and adjust it to your environment. In most of the caeses a "simple" python3 is enough :)