Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages of reportSlack always uses default color #626

Closed
a16 opened this issue Aug 12, 2021 · 2 comments
Closed

messages of reportSlack always uses default color #626

a16 opened this issue Aug 12, 2021 · 2 comments
Labels
bug Something isn't working next release Implemented but will be released with the next release

Comments

@a16
Copy link

a16 commented Aug 12, 2021

Describe the bug
It doesn't work params.colors in reportSlack.

Provide an example
I'm using the following config.

reports:
  - file: reportSlack
    channels:
      - hijack
      - newprefix
      - visibility
      - path
      - misconfiguration
      - rpki
    params:
      showPaths: 0 # Amount of AS_PATHs to report in the alert
      colors:
        hijack: '#d60b1c'
        newprefix: '#fa9548'
        visibility: '#fad648'
        path: '#42cbf5'
        rpki: '#d892f0'
      hooks:
        default: **webhook url**

Then I got this. all events are blue(default color).
スクリーンショット 2021-08-12 16 38 08

Am I wrong?

Are you using the binary or the source code?
I'm using binary code (v1.28.2)

@a16 a16 added the bug Something isn't working label Aug 12, 2021
@massimocandela
Copy link
Member

Hi @a16,

This was reported and fixed in the PR: #622
It will go out with the next release. Thanks for reporting anyway!

@massimocandela massimocandela added the next release Implemented but will be released with the next release label Aug 12, 2021
@massimocandela
Copy link
Member

released in v1.28.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next release Implemented but will be released with the next release
Projects
None yet
Development

No branches or pull requests

2 participants