Skip to content

Add an asset to the register

POST
/v1/assets
curl --request POST \
--url https://api.varman.io/v1/assets \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "name": "Production database", "description": "Postgres 16 cluster", "type": "hardware", "location": "AWS eu-west-1", "confidentiality": "low", "integrity": "low", "availability": "low", "ownerMemberId": "mem_abc123", "reviewerMemberId": "mem_def456" }'

Records an asset with its type, location, confidentiality, integrity and availability ratings, owner and reviewer. CIA ratings default to medium.

X-Organization-Id
string
Media typeapplication/json
object
name
required

Name of the asset

string

Example

Production database
description

What the asset is and what it does

string

Example

Postgres 16 cluster
type

Kind of asset

string
Allowed values: hardware software cloud_resource network data_store other
location

Where it runs or sits

string

Example

AWS eu-west-1
confidentiality

Confidentiality rating

string
Allowed values: low medium high
integrity

Integrity rating

string
Allowed values: low medium high
availability

Availability rating

string
Allowed values: low medium high
ownerMemberId

Member ID of the accountable owner (null clears it)

object

Example

mem_abc123
reviewerMemberId

Member ID of the periodic reviewer (null clears it)

object

Example

mem_def456