Skip to content

No Notification in Slack #21

@sharmaharjeet92

Description

@sharmaharjeet92

Hi Team,

While Running it via Docker command:

sudo docker run -ti -v $(pwd)/config.toml:/usr/src/app/config.toml --rm -e GITHUB_WATCHER_TOKEN=XXXXXXXXXXXXXXXXXXX -p 5000:5000 duolabs/secret-bridge webhook

INFO:werkzeug: * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) INFO:root:Cloning repository sharmaharjeet/test1 into /tmp/tmpxrt3cqtjtest1 INFO:root:Establishing baseline for sharmaharjeet/test1 INFO:GitSecrets:instantiating git-secrets INFO:root:Pulling latest copy of sharmaharjeet/test1 INFO:root:PushEvent None included commit XXXXXXXXXXXXXXXXXXXXX which modified file t INFO:DetectSecrets:instantiating detect-secrets on patch contents modifying t INFO:GitSecrets:instantiating git-secrets INFO:werkzeug:140.82.115.250 - - [30/Apr/2020 09:50:39] "POST /webhook HTTP/1.1" 204 - INFO:root:Pulling latest copy of sharmaharjeet/test1 INFO:root:PushEvent None included commit XXXXXXXXXXXXXXXXXXXXX which modified file t INFO:DetectSecrets:instantiating detect-secrets on patch contents modifying t INFO:GitSecrets:instantiating git-secrets

I have configured the Slack Webhook Correctly in the config.toml

==============
config.toml

detectors = [
"detect-secrets",
"git-secrets",
"trufflehog"
]

[auth]
access_token='env'

[monitors]
organizations = ["XXXXX"]
users = ["XXXXXXX"]
repos = []

[webhook]
secret="XXXXXXXX"
host="0.0.0.0"

[notifiers.console]

[notifiers.slack_webhook]
webhook_url='https://hooks.slack.com/services/XXXXXXXXXX/XXXXXXXXXX'

Any idea what could be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions