Get Policy Logs

Get Policy Logs

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
Required
Constraints: default: 2147483647

maxResult

string of array
conditions
Optional

conditions


Responses
200

The request is successful

Returns sys-logs of type(s) application/json
"sys-logs Object"
array of object
logs
Optional

logs


401

The user is not authorized

Operation doesn't return any data structure

404

Can not find a policy with the specified ID or the user does not have 'read' access rights for that policy

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vco/api/policies/{id}/syslogs?maxResult=v