You can execute a test action to check if Slack is reachable or not.
Parameter |
Mandatory/Optional | Data Type |
Description |
---|---|---|---|
slackConnectionParam |
Specify the channel and webhookUri of your Slack account used to create the action. Example: { "channel": "Sample Channel", "webhookUri": "https://hooks.slack.com/services/T95RLRTSL
} |
API request
curl -k -X POST -u <username>:<password>
'https://<QualysBaseURL>/cloudview-api/rest/v1/actions/slack/test'
Request POST Data
"channel": "Sample Slack",
"webhookUri": "https://hooks.slack.com/services/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"
Response
"success": "true"