Metrics Get Enterprise Firewall Malicious Ip Metrics

Metrics Get Enterprise Firewall Malicious Ip Metrics

Gets Firewall Malicious IP summaries for the enterprise over the specified time interval by the specified dimension, e.g. destIp, action, ipCategory, sourceIp and threatSourceGeoCountry. On success, this method returns an array of aggregate data in which each entry corresponds to a single dimension.

Privileges required:

READ ENTERPRISE

VIEW_FIREWALL_LOGS undefined

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

Show optional properties

{
    "viewBy": "string",
    "metrics": [
        {}
    ]
}
{
    "enterpriseId": 0,
    "interval": {
        "end": "string",
        "start": "string"
    },
    "viewBy": "string",
    "metrics": [
        "string"
    ],
    "sort": "string",
    "limit": 0,
    "with": [
        "string"
    ],
    "edgeLogicalIds": [
        "string"
    ]
}
integer
enterpriseId
Optional

enterpriseId

interval
Optional

interval

string
viewBy
Required

viewBy

Possible values are : destIp, action, ipCategory, sourceIp, threatSourceGeoCountry, edgeLogicalId,
array of string
metrics
Required

metrics

Possible values are : threatsCount, monitoredThreatsCount, blockedThreatsCount,
string
sort
Optional

sort

Possible values are : threatsCount, monitoredThreatsCount, blockedThreatsCount,
integer
limit
Optional

limit

array of string
with
Optional

with

array of string
edgeLogicalIds
Optional

edgeLogicalIds

Responses
200

Request was successfully processed

Returns Array of metrics_get_enterprise_firewall_malicious_result_item of type(s) application/json
[
    "metrics_get_enterprise_firewall_malicious_result_item Object"
]

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","metrics:"array"}' https://{api_host}/portal/rest/metrics/getEnterpriseFirewallMaliciousIpMetrics