aws-network-firewall-alert-slack is a lambda that trigger slack notification when network fire rule detected a block ip.
# Linux
env GOOS=linux CGO_ENABLED=0 go build main.go -o build/main
cd build
zip function.zip main
CHANNEL: Slack channel name
KMS_ARN: KMS ARN of KMS that is used to encrypt CHANNEL, USERNAME and WEBHOOKURL
USERNAME: Slack username (can be any name)
WEBHOOKURL: Slack web hook url
Note:
CHANNEL, USERNAME and WEBHOOKURL have to be encrypted.
KMS_ARN should not be encrypted