assets

Get a single asset

Return one asset by id (404 if not found or not authorized).

Args: asset_id (int): Primary key of the asset. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope.

Returns: AssetDetailResponse: The requested asset.

get/v1/assets/{asset_id}

Request

  • Base URL
    https://api.ethiack.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

asset_idinteger required

Response

Successful Response

idinteger required
valuestring required
typestring required
tier'low' | 'medium' | 'high'

Tier (importance level) of an asset.

Stored as the lowercase token (low/medium/high) — the same value the public API uses, so no wire<->storage mapping is needed.

organization_idinteger required
privateboolean nullable
createdstring date-time nullable
ipstring nullable

The asset's resolved IP address, if one is known.

risk_scorestring

Highest actionable severity: high, medium or low.

servicesstring[]

Service names discovered on the asset, deduplicated.

portsinteger[]

Ports the asset's services listen on, deduplicated.

organization_namestring

Name of the organization that owns the asset.

tldboolean

Whether the asset's value is itself a domain the owning organization has proven, via an active verification.

n_findingsinteger

How many of the asset's findings are open or triaged.

Changes

No recorded changes to this operation across all 1 revision of this API.