Add user actions (#1646)
* Add user actions Add user actions Remove dot character version change * update connector description
This commit is contained in:
Родитель
eb830e5abc
Коммит
6e6032fd3f
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"version": "1.0",
|
||||
"version": "2.0",
|
||||
"title": "CyberProof",
|
||||
"description": "CyberProof CDC is a next generation incident management and response platform for building Security Operations Centers (SOCs). The platform is a key component of advanced security operations centers - supporting SOC management, orchestration, and incident response. Connect to CyberProof CDC to manage your incidents and communicate with analysts, and automate incident response activities.",
|
||||
"description": "CDC is a next generation incident management and response platform offered by CyberProof, for building Security Operations Centers (SOCs). The platform is a key component of advanced security operations centers - supporting SOC management, orchestration, and incident response. The Connector interacts with CDC, offering a wide range of incident response automation activities including Alert and Incident creation, parsing and manipulation, as well as observable enrichment.",
|
||||
"contact": {
|
||||
"name": "CyberProof Support",
|
||||
"url": "https://go.cyberproof.com/contact-us",
|
||||
|
@ -349,6 +349,116 @@
|
|||
},
|
||||
"x-ms-trigger": "single"
|
||||
}
|
||||
},
|
||||
"/api/v1/webhooks/user/actions/azure-logic-apps": {
|
||||
"get": {
|
||||
"description": "CyberProof Webhooks User Actions List.",
|
||||
"summary": "CyberProof Webhooks User Actions List",
|
||||
"operationId": "CPGetWebhooksActions",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "List of Webhooks Actions",
|
||||
"schema": {}
|
||||
}
|
||||
},
|
||||
"x-ms-visibility": "internal"
|
||||
}
|
||||
},
|
||||
"/api/v1/webhooks/user-action": {
|
||||
"x-ms-notification-content": {
|
||||
"description": "Webhook user action content",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"x-ms-dynamic-schema": {
|
||||
"operationId": "CPGetActionOutputSchema",
|
||||
"parameters": {
|
||||
"action_ref": {
|
||||
"parameter": "action"
|
||||
}
|
||||
},
|
||||
"value-path": "output"
|
||||
},
|
||||
"x-ms-dynamic-properties": {
|
||||
"operationId": "CPGetActionOutputSchema",
|
||||
"parameters": {
|
||||
"action_ref": {
|
||||
"parameterReference": "actionReq/action"
|
||||
}
|
||||
},
|
||||
"itemValuePath": "output"
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"description": "CyberProof User Action.",
|
||||
"summary": "CyberProof User Action",
|
||||
"operationId": "CPCreateWebhookExecution",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "body",
|
||||
"name": "actionReq",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"parameters",
|
||||
"url"
|
||||
],
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The callback URL.",
|
||||
"x-ms-url-encoding": "single",
|
||||
"x-ms-summary": "Url",
|
||||
"x-ms-visibility": "internal",
|
||||
"x-ms-notification-url": true,
|
||||
"title": "Url"
|
||||
},
|
||||
"action": {
|
||||
"type": "string",
|
||||
"description": "select action",
|
||||
"x-ms-url-encoding": "single",
|
||||
"x-ms-summary": "Select Action",
|
||||
"x-ms-dynamic-values": {
|
||||
"operationId": "CPGetWebhooksActions",
|
||||
"value-path": "ref",
|
||||
"value-title": "path"
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"description": "parameters description",
|
||||
"type": "object",
|
||||
"x-ms-dynamic-schema": {
|
||||
"operationId": "CPGetActionSchema",
|
||||
"parameters": {
|
||||
"action_ref": {
|
||||
"parameter": "action"
|
||||
}
|
||||
},
|
||||
"value-path": "items"
|
||||
},
|
||||
"x-ms-dynamic-properties": {
|
||||
"operationId": "CPGetActionSchema",
|
||||
"parameters": {
|
||||
"action_ref": {
|
||||
"parameterReference": "actionReq/action"
|
||||
}
|
||||
},
|
||||
"itemValuePath": "items"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "Webhook user action was triggered successfully",
|
||||
"schema": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-connector-metadata": [
|
||||
|
|
Загрузка…
Ссылка в новой задаче