All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Update the slack dependent sdk from "github.com/bluele/slack" to "github.com/slack-go/slack"
- Fixed README
- Update to use plugin sdk v0.12: adds support for hostname function for use in template
- Update to use plugin sdk 0.11.0
- Mark --webhook-url argument as secret, so if set via SLACK_WEBHOOK_URL, value will not leak into usage message.
- Q1 '21 handler maintenance:
- Updated modules (go get -u && go mod tidy)
- Updated GitHub Actions: Added Lint action
- Updated build to Go 1.14
- Fix linter error by having template error go to stdout
- Change return from sendMessage to capture and embellish any error
- Output log message that message was sent to Slack
- Fix TestSendMessage to include template
- README updates
- Support for newline (\n) expansion in description template
- README updates
- Fixed README and CHANGELOG
- Custom output templates using the templating package
- Config options can now be overridden via annotations.
- Migrated from go dep to go modules.
- Migrated the build pipeline from Travis to Github Actions.
- Updated license.
- Upgraded to sensu-plugin-sdk.
- Updated the default icon URL.
- Environment variables prefixed with
SENSU_
are now deprecated and will be removed in a future release.
- Use SLACK_WEBHOOK_URL envvar for default value of slack_webhook_url. Use of envvar by default prevents leaking of sensitive credential into system process table via command argument. This is a backwards compatible change, and the --webhook-url argument can still be used as an override for testing purposes.
- Adds .bonsai.yml.
- Travis post-deploy script generates a sha512 for packages to be sensu asset compatible.
- Corrected binary name in help output
- Updated sensu-go version to GA RC SHA.
- Updated the goreleaser file so that the handler is packaged as a sensu compatible asset.
- Updated sensu-go version to beta-8 and fixed some breaking changes that were introduced (Entity.ID -> Entity.Name).
- Removed the vendor directory. Dependencies are still managed with Gopkg.toml.
Testing Asset goreleaser pipeline.
- More readme instructions
- Repo name
slack_handler
toslack-handler
- Slack handler
- /vendor
- goreleaser.yml
- travis.yml
- Gopkg.toml
- Gopkg.lock
- LICENSE
- README.md