Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Slack is a cloud-based communication platform that enables real-time messaging, archiving, and search for modern teams.

logo rgb_sign dark (3).pngImage Added To see how Cloudaware seamlessly integrates with Slack in action, request a demo.

Table of Contents
stylenone

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.

...

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
test
Code Block
test
Code Block
sObject.Name
Code Block
‘the name of this field in your org’
Code Block
‘sObject.Name ’
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
‘good’
Code Block
good
Code Block
sObject.colour_c
Code Block
‘the name of this field in your org’
Code Block
sObject.CA10_severity_c== “High”? ‘danger’ : ‘good’ 
Code Block
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). 

...

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
test
Code Block
test
Code Block
sObject.Name
Code Block
‘the name of this field in your org’
Code Block
‘sObject.Name ’
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
‘good’
Code Block
good
Code Block
sObject.colour_c
Code Block
‘the name of this field in your org’
Code Block
sObject.CA10_severity_c == “High”? ‘danger’ : ‘good’ 
Code Block
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

...