Configure Cyber Resilience
Select
Configures Cyber Resilience in the environment
- application/json
Request Body
- indexServer int32
Pseudo client id of the Index Server
- credentials int32[]
List of Credential ids to be analysed
- 200
- 400
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,INDEX_SERVER_NOT_EXIST
,INDEX_SERVER_INACCESSIBLE
,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING
,CREDENTIAL_UNSUPPORTED
,CREDENTIAL_INACCESSIBLE
,CYBER_RESILIENCE_ALREADY_CONFIGURED
,CYBER_RESILIENCE_NOT_CONFIGURED
,DELETING_UNCONFIGURED_CREDENTIAL
,ADDING_CONFIGURED_CREDENTIAL
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
,CREDENTIAL_INVALID
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,INDEX_SERVER_NOT_EXIST
,INDEX_SERVER_INACCESSIBLE
,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING
,CREDENTIAL_UNSUPPORTED
,CREDENTIAL_INACCESSIBLE
,CYBER_RESILIENCE_ALREADY_CONFIGURED
,CYBER_RESILIENCE_NOT_CONFIGURED
,DELETING_UNCONFIGURED_CREDENTIAL
,ADDING_CONFIGURED_CREDENTIAL
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
,CREDENTIAL_INVALID
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,INDEX_SERVER_NOT_EXIST
,INDEX_SERVER_INACCESSIBLE
,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING
,CREDENTIAL_UNSUPPORTED
,CREDENTIAL_INACCESSIBLE
,CYBER_RESILIENCE_ALREADY_CONFIGURED
,CYBER_RESILIENCE_NOT_CONFIGURED
,DELETING_UNCONFIGURED_CREDENTIAL
,ADDING_CONFIGURED_CREDENTIAL
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
,CREDENTIAL_INVALID
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,INDEX_SERVER_NOT_EXIST
,INDEX_SERVER_INACCESSIBLE
,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING
,CREDENTIAL_UNSUPPORTED
,CREDENTIAL_INACCESSIBLE
,CYBER_RESILIENCE_ALREADY_CONFIGURED
,CYBER_RESILIENCE_NOT_CONFIGURED
,DELETING_UNCONFIGURED_CREDENTIAL
,ADDING_CONFIGURED_CREDENTIAL
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
,CREDENTIAL_INVALID
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
POST /v4/cyberresilience
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"indexServer": 0,
"credentials": [
0
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"indexServer": 0,
"credentials": [
0
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"indexServer": 0,
"credentials": [
0
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"indexServer": 0,
"credentials": [
0
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"indexServer": 0,
"credentials": [
0
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"indexServer": 0,
"credentials": [
0
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"indexServer": 0,
"credentials": [
0
]
}'