assets:read, which every role
holds and which can be granted to an API key.
Search by Package URL
In the dashboard, open a finding and, under Where else, follow the link to every asset with that package. It opens the Where is this package? page (/components on your workspace’s address) with the Package URL filled in.
You can also enter a Package URL there yourself. Each matching installation is
listed with the asset it is on and whether it is a direct or a transitive
dependency.
Over the API:
Narrow the search with these parameters:
Each component carries
purl, ecosystem, name, version, direct,
licenses, and first_seen_at and last_seen_at. Two fields tell
installations of the same package apart: location_path, where it is
installed, and layer, the container image layer it is in. The same package
vendored in two places is two components, because each is remediated
separately.
See what pulls a component in
A vulnerable package is rarely something you depend on directly. Reading one component returns it with its immediate dependents:dependents, total, the depth that was walked and
max_depth, the deepest this service goes (10). Each dependent carries its
own depth (1 is a direct dependent) and is reported once, at its shortest
distance, so “you require this directly” and “something
several levels down does” stay distinguishable.
A depth above the maximum is clamped, not refused. A depth below 1, or one
that is not an integer, is 400.
Read one asset’s full inventory
components and the asset’s edges. The
components are paginated; the edges are not. A page of edges would be a
subgraph with arbitrary boundaries, and a dependency chain reconstructed from
it would look complete when it was not.
An asset that does not exist, or is not yours, is 404. You never get 200
with an empty inventory for an asset you cannot see.
Walk the asset graph
Components answer “which package”. The asset graph answers “which things”: how one asset relates to others in your estate. A relationship reads parent relationship child, and the relationship is one ofcontains, runs,
builds, describes or deployed_to.
For the assets directly next to one:
direction is required and has no default, because the two answer different
questions. depth defaults to 2 and is clamped to the service maximum of 6.
The response reports the depth actually walked, so you can tell a graph that
ended from a walk that was cut short, and lists each node once at its
shallowest arrival.
The graph contains only relationships that have been recorded for your
estate. An asset with none returns empty
parents and children; that is a
statement about what has been recorded, not proof the asset runs nowhere.When the answer is 501
A deployment that does not store a software inventory, or an asset graph, answers501 on these endpoints instead of returning an empty result. An
empty list always means “nothing matched”, never “not available here”.