Create a topology record
Add a boundary, component, flow, control or threat the map is missing. The body is keyed on recordType. References to other records are record ids, and each must exist and not be excluded, or the request is refused with 422 and error: "unknown_reference".
The record is stored as asserted, attributed to the user or API key that made the request, and testing takes it into account from the next pentest.
Requires the inventory:add API key scope.
Authentication
A workspace API key, sent as Authorization: Bearer.
A workspace API key, sent as x-api-key.
Request
Response
A record of the map. Beyond these fields it carries those of its recordType: name, kind and, depending on the type, boundary, exposure, endpoints, tech, from, to, label, appliesTo, gaps, component, title, severity and so on. References to other records are record ids.