Skip to content

feat: add NATS notification plugin#4486

Open
andreabravetti wants to merge 1 commit into
crowdsecurity:masterfrom
andreabravetti:feature/notification-nats-plugin
Open

feat: add NATS notification plugin#4486
andreabravetti wants to merge 1 commit into
crowdsecurity:masterfrom
andreabravetti:feature/notification-nats-plugin

Conversation

@andreabravetti
Copy link
Copy Markdown

@andreabravetti andreabravetti commented May 24, 2026

Introduce notification-nats, a native plugin that publishes CrowdSec alert notifications to a NATS subject.

  • main.go: go-plugin implementing the NotifierServer interface using the nats-io/nats.go client library with token/credentials auth support
  • nats.yaml: reference configuration with url, subject, and auth fields
  • go.mod / go.sum: add github.com/nats-io/nats.go dependency

@github-actions
Copy link
Copy Markdown

@andreabravetti: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@github-actions
Copy link
Copy Markdown

@andreabravetti: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@andreabravetti
Copy link
Copy Markdown
Author

/kind feature

@andreabravetti
Copy link
Copy Markdown
Author

Fixes issue #4485

Introduce `notification-nats`, a native plugin that publishes
CrowdSec alert notifications to a NATS subject.

- main.go: go-plugin implementing the NotifierServer interface using the
  nats-io/nats.go client library with token/credentials auth support
- nats.yaml: reference configuration with url, subject, and auth fields
- go.mod / go.sum: add github.com/nats-io/nats.go dependency
@andreabravetti andreabravetti force-pushed the feature/notification-nats-plugin branch from bab884f to d71fa34 Compare May 28, 2026 13:17
@andreabravetti
Copy link
Copy Markdown
Author

There was a typo in the commit message, fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant