HackerOne icon

HackerOne

Manage your HackerOne bug bounty program via API

Actions113

Asset → List Ports

AI-generated

Summary

Retrieve a list of ports associated with a specific asset by its Asset ID, with options to limit the number of results or return all ports.

Inputs

  • Asset ID (required) — The unique identifier of the asset whose ports you want to list.
  • Return All — Set to true to return all ports for the asset without limitation.
  • Limit — The maximum number of ports to return when 'Return All' is false. Valid values are between 1 and 100, defaulting to 25.

Output shape

A list of port objects associated with the specified asset.

When 'Return All' is true, all ports for the asset are returned regardless of count. When false, the result is limited to the 'Limit' parameter. Pagination handling is managed internally by the node.

Links

Discussion