GithubHelp home page GithubHelp logo

Comments (3)

Ankirama avatar Ankirama commented on June 14, 2024 1

Hey,
I had some issues with slack too, but I could fix it after some debug!

Here what I did:

Firstly you will need to set your Slack webhook in settings / alerting (https://patrowlhears.domain.tld/#/settings): https://hooks.slack.com/services/XXX/XXX/XXX

Here the real issue: SLACK ALERTS ARE DISABLED BY DEFAULT 💥 You will need to enable them in the admin panel in Org settingss (https://patrowlhears.domain.ltd/admin/users/orgsettings/).

You must check Alerts slack enabled and your issues will be fixed :)

I will try to create a PR to fix this issue.

Have fun!

from patrowlhears.

robben-ar avatar robben-ar commented on June 14, 2024

I keep getting the same error sending an alert to Slack.
image

Try to send via web and console but it does not arrive, example:
curl 'http://192.168.1.20:8383/api/vulns/admin/slack-alert/PH-145340' -H "accept: application/json" -H "X-CSRFToken: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -H 'Authorization: Token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

or

http://192.168.1.20:8383/api/alerts/vuln/PH-165170/slack

  • Where do I declare the 'django.conf'?
  • Is this feature functional? And the email works?

Thanks.-

from patrowlhears.

robben-ar avatar robben-ar commented on June 14, 2024

Thanks for the response.
I enabled the SLACK ALERTS and it is working.

Regards.-

from patrowlhears.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.