Contents
...
Info |
---|
Slack is a cloud-based communication platform that enables real-time messaging, archiving, and search for modern teams. |
Image Added To see how Cloudaware seamlessly integrates with Slack in action, request a demo.
Getting Started
Cloudaware supports two types of Slack integration:
1) Slack Cloudaware Application
2) Slack Webhook URL
Possible use cases:
30-Day spending exceeds certain amount
IDS detects an attack against an instance
Server health deteriorates
Incident management
Slack Cloudaware Application
Use case: You would like to be notified about any high and critical vulnerability detected.
...
7. The green light in 'Status' means that Slack Cloudaware Application has been created successfully. If there is a red light, please contact support@cloudaware.com
...
Configuring Slack Notifications
...
Object Name, Message, Color, Url Base are expression fields. The data type of the value returned depends on the elements used in the expression. Here are sample outputs:
Expression | Output |
---|
| |
| Code Block |
---|
‘the name of this field in your org’ |
|
Code Block |
---|
‘sObject.Name ’ |
| |
Code Block |
---|
‘Hey, ‘+sObject.Name ’ |
| Code Block |
---|
Hey, ‘the name of this field in your org’ |
|
Code Block |
---|
Hey, +sObject.Name |
| Code Block |
---|
Hey, +sObject.Name |
|
| |
Code Block |
---|
sObject.colour_c |
| Code Block |
---|
‘the name of this field in your org’ |
|
Code Block |
---|
sObject.CA10_severity_c== “High”? ‘danger’ : ‘good’ |
| |
3. Copy and save the URL as it is required for further configuration in Cloudaware (see Configuring CloudAware Workflow To Invoke Slack Action).
Incoming Slack Webhook URL
Use case: You would like to get the notification in Slack channel when package upgrade is requested by your customer (custom object: CloudAware Upgradable package).
...
3. Copy the Webhook URL and save it for later use
...
Adding Slack Webhook To Cloudaware
...
Object Name, Message, Color, Url Base are expression fields. The data type of the value returned depends on the elements used in the expression. Here are sample outputs:
Expression | Output |
---|
| |
| Code Block |
---|
‘the name of this field in your org’ |
|
Code Block |
---|
‘sObject.Name ’ |
| |
Code Block |
---|
‘Hey, ‘+sObject.Name ’ |
| Code Block |
---|
Hey, ‘the name of this field in your org’ |
|
Code Block |
---|
Hey, +sObject.Name |
| Code Block |
---|
Hey, +sObject.Name |
|
| |
Code Block |
---|
sObject.colour_c |
| Code Block |
---|
‘the name of this field in your org’ |
|
Code Block |
---|
sObject.CA10_severity_c == “High”? ‘danger’ : ‘good’ |
| |
You can apply standard Slack formatting in the field Message. In our use case we apply bold message format by adding * before the text of the message.
...
5. Copy and save the URL as it is required for further configuration in Cloudaware (see Configuring Cloudaware Workflow To Invoke Slack Action)
Configuring Cloudaware Workflow To Invoke Slack Action
Anchor |
---|
| Slack-To-Invoke-Action |
---|
| Slack-To-Invoke-Action |
---|
|
1. In your Cloudaware account click
Setup in the main menu
...