Slack - Send Message via Webhook
- 01 Feb 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Slack - Send Message via Webhook
- Updated on 01 Feb 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Slack - Send Message posts a message on Slack.
See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.
Note:
- Not all asset categories are supported for all Enforcement Actions.
- See Actions supported for Activity Logs, Adapters Fetch History, and Asset Investigation modules.
- See Actions supported for Vulnerabilities.
- See Actions supported for Software.
General Settings
- Action name - The name of this Enforcement Action. The system sets a default name. You can change the name.
- Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.
Connection Settings
Click to view Connection Settings
- Incoming webhook URL (required, default: empty) - Specify the incoming webhook URL. For details, see Slack Incoming Webhooks.
- HTTPS proxy (optional, default: empty) - A proxy to use when connecting to the value supplied in Incoming webhook URL.
- If supplied, Axonius will utilize the proxy when connecting to the value supplied in Incoming webhook URL.
- If not supplied, Axonius will connect directly to the value supplied in Incoming webhook URL.
Action Settings
Click to view Action Settings
- Incident Description (required, default: empty) - Specify an incident description to be included in the Slack message.
- Include Results in Message - Select this option to include the results of the incident in the Slack message sent by this action.
- Enable Custom Blocks - Select this option to send custom blocks in the slack messages sent by this EC Action.
- Block Title - The title of the block sent in by this action.
- Block Text - The text of the block sent in by this action.
- Results display format (required, default: JSON) - Select the display format of the results in the Slack message: JSON or table.
- JSON format includes the details of the top 5 assets.
- Table format includes the details of the top number of assets as defined in Top Results Count. Table format is supported only for devices.
- Top Results Count (max 100) - Set the top number of results to be displayed in a table. The default value is 20.
API
https://api.slack.com/methods/chat.postMessage#channels
For more details about other Enforcement Actions available, see Action Library.
Was this article helpful?