Get Policy Logs
Policy information about each individual event that occurs when a policy is active. When a request is sent to this endpoint with "application/zip" as the desired response content type, this operation is equivalent to "Export all policy logs": Export all policy information about each individual event that occurs when a policy is active.
Request
URI
GET
https://{api_host}/vco/api/policies/{id}/syslogs
COPY
Path Parameters
string
id
Required
id
Query Parameters
integer
maxResult
Optional
Constraints:
default: 2147483647
maxResult
string of
array
conditions
Optional
conditions
Responses
200
The request is successful
Returns
WsSysLogsList
of type(s)
application/json
{
"logs": [
{
"severity": "string",
"userName": "string",
"origin": "string",
"short-description": "string",
"long-description": "string",
"time-stamp": "string",
"time-stamp-val": 0
}
]
}
array of
object
logs
Optional
logs
401
The user is not authorized
Returns
WsSysLogsList
of type(s)
application/json
"WsSysLogsList Object"
array of
object
logs
Optional
logs
404
Can not find a policy with the specified ID or the user does not have 'read' access rights for that policy
Returns
WsSysLogsList
of type(s)
application/json
"WsSysLogsList Object"
array of
object
logs
Optional
logs
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/vco/api/policies/{id}/syslogs
On This Page
Policy Service Operations
GET
Get Policy
PUT
Update Policy
DELETE
Delete Policy
GET
Get Policy State
PUT
Update Policy State
GET
Get Policy Template
PUT
Update Policy Template
DELETE
Delete Policy Template
GET
Get All Policies
POST
Create Policy
GET
Get All Policy Templates
POST
Create Policy Template
GET
Get Policy Logs
GET
Find Policy Template Usages
GET
Find Policy Template Dependencies
GET
Get Policies For State