Name the application of traffic to a given host, protocol and port
A custom application entry maps traffic to a host address, IP protocol and port onto an application name of your choice. Flows matching an entry are recorded with that application name instead of the detected one. Entries are stored on the device and pushed to the traffic analysis service whenever they change.
Data (CUSTOM_APPLICATION object):
{
"id": 1,
"host": {
"host_type": "ip",
"host_value": "192.0.2.10"
},
"protocol": 6,
"port": 9000,
"application": "clickhouse"
}id - unsigned integer assigned by the device; used to address the entry; ignored in POSThost - the host the traffic belongs to
host_type - always iphost_value - IPv4 or IPv6 addressprotocol - IP protocol number, for example 6 for TCP or 17 for UDPport - TCP or UDP portapplication - the application name to recordAll fields except id are mandatory when adding an entry. The combination of host, protocol and port must be unique.
/api/cmm/applicationsGETviewerCUSTOM_APPLICATION objects in data/api/cmm/applications/{id}GETviewerCUSTOM_APPLICATION object in data{"message": "Failed to fetch custom application entry with id = <id>: entry is not found", "data": null}/api/cmm/applicationsPOSToperatorCUSTOM_APPLICATION objects without idid in dataFailed to add new custom application entries: invalid format of payload when the body is not an array, a mandatory field is missing or host_type is not ipFailed to add new custom application entries: some entries are not unique when two entries of the request are equalFailed to add new custom application entries: entry already exists: [...] when an entry with the same host, protocol and port is stored already/api/cmm/applicationsPUToperatorid and the fields to change; fields that are omitted keep their valuedata. An entry whose values did not change is neither updated nor returned, so the array may be empty.Failed to update custom application entries: entry with id = <id> does not existFailed to update custom application entries: entry with id = <id> is duplicated by another entry with the same id in the request... becomes non-unique after the modification when the change would create two equal entries/api/cmm/applications/{id}DELETEoperator{"message": "The custom application entry with id = <id> has been removed successfully", "data": null}{"message": "Failed to remove custom application entry with id = <id>: entry is not found", "data": null}/api/cmm/applicationsDELETEoperator{"message": "Successfully removed all custom application entries", "data": null}; succeeds also when the list is empty