Feature request: Slack "block" formatting
See original GitHub issueSlack is moving toward a JSON “block” approach for formatting messages. More information can be found here: https://api.slack.com/messaging/composing/layouts
Could this formatting be integrated into the backend logging.yaml setup?
To give you an idea of what it looks like in action, I pasted an example layout below that I created on: https://api.slack.com/tools/block-kit-builder
[ { "type": "section", "text": { "type": "mrkdwn", "text": "*ARTEMIS has detected a configured prefix (8.23.153.0/24) being hijacked*" } }, { "type": "divider" }, { "type": "section", "text": { "type": "mrkdwn", "text": "Hijacked prefix: 8.23.153.0/24\nHijacking AS: 46435\nTime Started: 2019-08-19 12:43:54\ntype: E|0|-|-\nURL: https://artemis.exampledomain.com/main/hijack?key=1bbbaffff5a7bc3b2c56e69c7bf7790b16" } } ]
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
Hey, thanks for sharing information about the slack’s layout. I will add this feature for the next milestone and if anyone is interested contributing the changes through a PR it’s welcome.
Closing since this is sth custom done on the user’s side (slack bots, formatting apps, etc.). Could re-open if a new formatting tool that can be integrated into ARTEMIS is suggested by the user base.