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 stringrequired
Possible values: Value must match regular expression ^https://hooks.slack.com/services/(?:.*)$
notify_scan_started booleanrequired
notify_scan_completed booleanrequired
notify_high_findings booleanrequired
notify_medium_findings booleanrequired
notify_low_findings booleanrequired
notify_finding_fixed booleanrequired
notify_login_failed booleanrequired
Default value: false
notify_retest_completed booleanrequired
Body
webhook_url stringrequired
Possible values: Value must match regular expression ^https://hooks.slack.com/services/(?:.*)$
notify_scan_started booleanrequired
notify_scan_completed booleanrequired
notify_high_findings booleanrequired
notify_medium_findings booleanrequired
notify_low_findings booleanrequired
notify_finding_fixed booleanrequired
notify_login_failed booleanrequired
Default value: false
notify_retest_completed booleanrequired
Body
webhook_url stringrequired
Possible values: Value must match regular expression ^https://hooks.slack.com/services/(?:.*)$
notify_scan_started booleanrequired
notify_scan_completed booleanrequired
notify_high_findings booleanrequired
notify_medium_findings booleanrequired
notify_low_findings booleanrequired
notify_finding_fixed booleanrequired
notify_login_failed booleanrequired
Default value: false
notify_retest_completed booleanrequired
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
webhook_url stringrequired
Possible values: Value must match regular expression ^https://hooks.slack.com/services/(?:.*)$
notify_scan_started booleanrequired
notify_scan_completed booleanrequired
notify_high_findings booleanrequired
notify_medium_findings booleanrequired
notify_low_findings booleanrequired
notify_finding_fixed booleanrequired
notify_login_failed booleanrequired
Default value: false
notify_retest_completed booleanrequired
{
"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[]required
non_field_errors string[]required
{
"<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 stringrequired
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
{
"detail": "You do not have permission to perform this action."
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
{
"detail": "Unexpected error while handling your request."
}
Loading...