Port

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

Get a list of ports.

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

Returns a paginated list of ports.

https://www.halosecurity.com/user/security/firewall/ports/

Query Parameters

{
    "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"
            }
        }
    ]
}

Last updated