Get Logs

Get Logs

Retrieve logs Security Policy rules

Request
URI
GET
https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/logs
COPY
Path Parameters
string
enterpriseLogicalId
Required

Enterprise Logical ID

Query Parameters
number
start
Required

Query Interval Start Time

string
prevPageLink
Optional

previous page link

string
nextPageLink
Optional

next page link


Responses
200

CWS Logs

Returns loggingMonitoringResponse of type(s) application/json
{
    "data": [
        {
            "date": "2020-07-18T15:48:18.000Z",
            "userId": "[email protected]"
        }
    ]
}
array of object
data
Required

data


400

Invalid Input

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors


404

CWS Logs not found

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors


500

Internal Server Error

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors