LogoLogo
DocsSupportDashboard
  • Introduction
    • Data Types
    • Target Filtering
    • Scan Selection
    • Pagination & Sorting
    • Permissions
    • Appendix
  • Authentication
  • Webhooks
  • Events
  • Appendix
    • Targets Filter
    • Date Match
    • IP Range
  • Endpoints
    • Discovery
    • Target
    • Scan
    • Issue
    • Tag
    • Port
    • DNS
    • HTTP
    • Whois
    • Technology
    • Website
    • Acknowledged
    • Event
    • Dark Web
    • Integration
    • PCI
    • Report
    • User
    • Account
    • Security
    • File
    • Work
Powered by GitBook

© 2024 Halo Security

On this page

Was this helpful?

  1. Endpoints

Port

The Port endpoint allows you to get a list of port records.

PreviousTagNextDNS

Last updated 1 year ago

Was this helpful?

Get a list of ports.

GET https://api.halosecurity.com/api/v1/port/list.json

Returns a paginated list of ports.

Query Parameters

Name
Type
Description

state

String

Filter by state

service

String

Filter by service

protocol

String

Filter by protocol

port

Integer

Filter by port

risk

Integer

Filter by risk

{
    "list": [
        {
            "port": {
                "state_reason": "conn-refused",
                "target_name": "",
                "monitor_state": 1,
                "target_id": 1,
                "target": "www.example.com",
                "protocol": "tcp",
                "port": 22,
                "service": "ssh",
                "scope": 0,
                "service_method": "table",
                "risk": "none",
                "scan_id": "id1",
                "state": "closed",
                "risk_reason": "Closed",
                "key": "f44b7be5081eafde96b5c522970830c1",
                "service_confidence": 3
            },
            "target": {
                "target_name": "",
                "target_id": 1,
                "target": "www.example.com"
            }
        }
    ]
}
https://www.halosecurity.com/user/security/firewall/ports/