Categorygithub.com/TKMAX777/SlackAuthNotifier
modulepackage
0.0.0-20220503085345-2ba9a9de1d49
Repository: https://github.com/tkmax777/slackauthnotifier.git
Documentation: pkg.go.dev

# README

Slack Auth Notifier





This repository has been transferred under kmc-jp.

kmc-jp/SlackAuthNotifier





About

This program monitors /var/log/auth.log to post a history of login attempts to Slack.

Install

go install github.com/TKMAX777/SlackAuthNotifier@latest

Usage

Specify the following environment variables

# Notification channel for successful login
SLACK_ACCEPTED_CHANNELS=C*******, C*******

# Notification channel for failed login attempts
SLACK_CAUTION_CHANNELS=C*******, C*******

# Other information channels
SLACK_OTHER_CHANNELS=C*******

# Specify whether to post root login attempt history to caution channels
ROOT_NOTIFY=no

SLACK_TOKEN=xoxb-*****
SLACK_ICON_EMOJI=:key:

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author