Metrics Get Edge Firewall Url Reputation Metrics

Metrics Get Edge Firewall Url Reputation Metrics

Gets URL reputation summaries for the edge over the specified time interval by the specified dimension, e.g. domainName. On success, this method returns an array of aggregate data in which each entry corresponds to a single dimension.

Privileges required:

READ EDGE

VIEW_FIREWALL_LOGS undefined

Request
URI
POST
https://{api_host}/portal/rest/metrics/getEdgeFirewallUrlReputationMetrics
COPY
Request Body

Show optional properties

{
    "enterpriseId": 0,
    "edgeId": 0,
    "viewBy": "string"
}
{
    "enterpriseId": 0,
    "edgeId": 0,
    "interval": {
        "end": "string",
        "start": "string"
    },
    "viewBy": "string",
    "metrics": [
        "string"
    ],
    "sort": "string",
    "limit": 0
}
integer
enterpriseId
Required

enterpriseId

integer
edgeId
Required

edgeId

interval
Optional

interval

string
viewBy
Required

viewBy

Possible values are : domainName, sourceIp, urlRisk, action,
array of string
metrics
Optional

metrics

Possible values are : threatsCount, urlsBlockedCount, urlsMonitoredCount, urlsAllowedCount, urlsHighRiskCount, urlsMediumRiskCount, urlsLowRiskCount, urlsTrustworthyCount, urlsSuspiciousCount,
string
sort
Optional

sort

Possible values are : threatsCount, urlsBlockedCount, urlsMonitoredCount, urlsAllowedCount, urlsHighRiskCount, urlsMediumRiskCount, urlsLowRiskCount, urlsTrustworthyCount, urlsSuspiciousCount,
integer
limit
Optional

limit

Responses
200

Request was successfully processed

Returns Array of object of type(s) application/json
[
    {
        "name": "10.129.24.86",
        "urlsHighRiskCount": 54
    }
]

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"viewBy:"string","enterpriseId:"integer","edgeId:"integer"}' https://{api_host}/portal/rest/metrics/getEdgeFirewallUrlReputationMetrics