OWASP/glue

Slack reporter sending message without attachment

plech-sec opened this issue · 1 comments

What ?
Slack reporter sending message without attachment.

Using command: sudo docker run --rm -i --mount type=bind,source="$(pwd)",target=/glue/wrk/ owasp-glue ruby bin/glue -f slack --slack-token xoxb-TOKEN --slack-channel owasp-glue-test -t Dynamic -T /glue/wrk/output.json --mapping-file zaproxy --finding-file-path /glue/wrk/glue.json -d

On Slack Channel message :

OWASP Glue test run completed - See attachment.

From console :

Loading scanner...
Logfile nil?
calling scan
Running scanner
Mounting ... /glue/wrk/output.json
Mounting target: /glue/wrk/output.json
Checking about mounting /glue/wrk/output.json with #Glue::DockerMounter:0x000000016617b8
In Docker mounter, target: /glue/wrk/output.json became: ut.json ... wondering if it matched .docker
Checking about mounting /glue/wrk/output.json with #Glue::FileSystemMounter:0x00000001661218
Checking about mounting /glue/wrk/output.json with #Glue::GitMounter:0x00000001660de0
Checking about mounting /glue/wrk/output.json with #Glue::URLMounter:0x00000001660b38
Processing target.../glue/wrk/output.json
Running tasks in stage: wait
Running tasks in stage: mount
Running tasks in stage: file
Running tasks in stage: code
code - Dynamic - #Set:0x000000016ee1b8
Running tasks in stage: live
Running tasks in stage: done
Starting Contrast Severity Filter
Minimum:
No minimum found, skipping filter.
Have 24 items pre ZAP filter.
Have 24 items post ZAP filter.
channel=CQRJCQLRH, message=bot_id=BQV5AC325, subtype=bot_message, text=OWASP Glue test run completed - See attachment., ts=1575303887.000200, type=message, username=bot, ok=true, ts=1575303887.000200
owasp-glue

Why is there no attachment in the message? Maybe the command is incorrect?

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.