{"id":20849784,"url":"https://github.com/ulfox/sysaudit","last_synced_at":"2025-03-12T12:18:30.507Z","repository":{"id":113580183,"uuid":"361158139","full_name":"ulfox/sysaudit","owner":"ulfox","description":"Journal System Audits","archived":false,"fork":false,"pushed_at":"2021-05-02T11:08:47.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T23:07:04.319Z","etag":null,"topics":["audit","go","golang","journald","slack-webhook"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ulfox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audit/sshd.go","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-24T12:37:47.000Z","updated_at":"2022-09-13T15:01:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"329b3b1e-186e-4b7b-86d7-eb49017eb6e7","html_url":"https://github.com/ulfox/sysaudit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulfox%2Fsysaudit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulfox%2Fsysaudit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulfox%2Fsysaudit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulfox%2Fsysaudit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ulfox","download_url":"https://codeload.github.com/ulfox/sysaudit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243213981,"owners_count":20254902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audit","go","golang","journald","slack-webhook"],"created_at":"2024-11-18T03:06:44.201Z","updated_at":"2025-03-12T12:18:30.473Z","avatar_url":"https://github.com/ulfox.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sysaudit\n\nJournal System Audits\n\n## Info\n\nThis package implements the logic for capturing systemd events and sending them to slack.\n\nCurrently the audit is implemented for the sshd daemon only but the logic to extend it for \nadditional units or events is the same.\n\n## Installation\n\nFirst in `main.go` at line 19 update the slack webhook url to your webhook.\n\nThen build\n\n```bash\n\n    go build -o sys-audit main.go\n\n```\n\nAnd install under `/usr/local/bin`\n\n```bash\n\n    sudo install -m 0755 sys-audit /usr/local/bin/sys-audit\n\n```\n\nCopy the `sys-audit.service` under `/etc/systemd/system`\n\n```bash\n\n    cp sys-audit.service /etc/systemd/system/sys-audit.service\n\n```\n\nDo a daemon reload\n\n```bash\n\n    systemct daemon-reload\n\n```\n\nEnable the systemd unit\n\n```bash\n\n    systemctl enable --now sys-audit.service\n\n```\n\nThat's it, now anytime a sshd event is logged into your system it will be also forwarded \nto your slack channel.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulfox%2Fsysaudit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulfox%2Fsysaudit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulfox%2Fsysaudit/lists"}