Slack - Send Message via Webhook
- 22 Dec 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
Slack - Send Message via Webhook
- Updated on 22 Dec 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Slack - Send Message via Webhook posts a message on Slack using the webhook for Assets returned by the selected query or assets selected on the relevant asset page.
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.
Required Fields
These fields must be configured to run the Enforcement Set.
- 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.
- Incoming webhook URL - Specify the incoming webhook URL. For details, see Slack Incoming Webhooks.
- Incident Description - Specify an incident description to be included in the Slack message.
Additional Fields
These fields are optional.
- Incident Title - Enter a title for the message.
- Include Results in Message - Select this option to include the results of the incident in the Slack message sent by this action.
- Add 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 (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) (default: 20) - Set the top number of results to be displayed in a table.
- Verify SSL (optional) - Select whether to verify the SSL certificate of the server against the CA database inside of Axonius. For more details, see SSL Trust & CA Settings.
- HTTPS Proxy (optional) - Connect the adapter to a proxy instead of directly connecting it to the domain.
API
Axonius uses the Slack Channels API.
Required Permissions
The stored credentials, or those provided in Connection and Credentials, must have have the following permissions:
Bot tokens: chat:write
User tokens: chat:write, chat: write:user, chat:write:bot
For more details about other Enforcement Actions available, see Action Library.
Was this article helpful?