Partial Update Slack Configuration
PATCH/targets/:id/integrations/slack/
Request
Path Parameters
id stringrequired
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
webhook_url string
Possible values: Value must match regular expression ^https://hooks.slack.com/services/(?:.*)$
notify_scan_started boolean
notify_scan_completed boolean
notify_high_findings boolean
notify_medium_findings boolean
notify_low_findings boolean
notify_finding_fixed boolean
notify_login_failed boolean
notify_retest_completed boolean
Body
webhook_url string
Possible values: Value must match regular expression ^https://hooks.slack.com/services/(?:.*)$
notify_scan_started boolean
notify_scan_completed boolean
notify_high_findings boolean
notify_medium_findings boolean
notify_low_findings boolean
notify_finding_fixed boolean
notify_login_failed boolean
notify_retest_completed boolean
Body
webhook_url string
Possible values: Value must match regular expression ^https://hooks.slack.com/services/(?:.*)$
notify_scan_started boolean
notify_scan_completed boolean
notify_high_findings boolean
notify_medium_findings boolean
notify_low_findings boolean
notify_finding_fixed boolean
notify_login_failed boolean
notify_retest_completed boolean
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
webhook_url string
Possible values: Value must match regular expression ^https://hooks.slack.com/services/(?:.*)$
notify_scan_started boolean
notify_scan_completed boolean
notify_high_findings boolean
notify_medium_findings boolean
notify_low_findings boolean
notify_finding_fixed boolean
notify_login_failed boolean
notify_retest_completed boolean
{
"webhook_url": "string",
"notify_scan_started": true,
"notify_scan_completed": true,
"notify_high_findings": true,
"notify_medium_findings": true,
"notify_low_findings": true,
"notify_finding_fixed": true,
"notify_login_failed": false,
"notify_retest_completed": true
}
- application/json
- Schema
- Example (from schema)
Schema
<field name> string[]
non_field_errors string[]
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "You do not have permission to perform this action."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Unexpected error while handling your request."
}
Loading...