Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Dmitriy2
Explorer

API. Service search by exact port match

I want to find a service by exact port match, for example, I expect to see "smtp" in the response to a request for port 25, and not all services containing port 25 (2525, 125, etc.) How do I do this?

Request example:
https://x.x.x.x/web_api/show-objects

{
    "filter""25",
    "type""service-tcp"
}

 

 

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

As far as I know, there isn't a way to do an "exact match" using the search option and you'll need to parse the results of the call to find the exact match (of which there could be multiple, actually).
Maybe @Omer_Kleinstern knows differently.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events