Create SIEM Connector
Select
SaaS
Customer Managed
This API creates a new SIEM Connector. For more details click here
- application/json
Request Body
- opType integer required
Default value:
1
1 for create 2 for update
- connectorName string required
SIEM Connector Name
- connectorEntityType integer required
Possible values: [
1
,2
]1 for Syslog 2 for webhook
- connectorEntityId integer required
Id of the entity (webhook id or syslogserver id)
- enabled boolean required
Flag to enable or disable
connectorPolicy object[] required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "string",
"errorCode": 0
}
POST /logstreamingconnector
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/LogStreamingConnector' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"connectorName": "string",
"connectorEntityType": 1,
"connectorEntityId": 0,
"enabled": true,
"connectorPolicy": [
{
"enabled": true,
"dataType": "ALERTS",
"template": "string"
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/LogStreamingConnector' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"connectorName": "string",
"connectorEntityType": 1,
"connectorEntityId": 0,
"enabled": true,
"connectorPolicy": [
{
"enabled": true,
"dataType": "ALERTS",
"template": "string"
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/LogStreamingConnector' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"connectorName": "string",
"connectorEntityType": 1,
"connectorEntityId": 0,
"enabled": true,
"connectorPolicy": [
{
"enabled": true,
"dataType": "ALERTS",
"template": "string"
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/LogStreamingConnector' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"connectorName": "string",
"connectorEntityType": 1,
"connectorEntityId": 0,
"enabled": true,
"connectorPolicy": [
{
"enabled": true,
"dataType": "ALERTS",
"template": "string"
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/LogStreamingConnector' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"connectorName": "string",
"connectorEntityType": 1,
"connectorEntityId": 0,
"enabled": true,
"connectorPolicy": [
{
"enabled": true,
"dataType": "ALERTS",
"template": "string"
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/LogStreamingConnector' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"connectorName": "string",
"connectorEntityType": 1,
"connectorEntityId": 0,
"enabled": true,
"connectorPolicy": [
{
"enabled": true,
"dataType": "ALERTS",
"template": "string"
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/LogStreamingConnector' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"connectorName": "string",
"connectorEntityType": 1,
"connectorEntityId": 0,
"enabled": true,
"connectorPolicy": [
{
"enabled": true,
"dataType": "ALERTS",
"template": "string"
}
]
}'