GET
/
assets
List assets
curl --request GET \
  --url https://api.tigergate.dev/api/v1/compliance/assets \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "provider": "<string>",
      "external_id": "<string>",
      "has_scan_data": true,
      "last_scanned_at": "2023-11-07T05:31:56Z",
      "attributes": {},
      "links": {
        "ui": "<string>"
      }
    }
  ],
  "page": {
    "size": 123,
    "next_cursor": "<string>",
    "has_more": true
  },
  "meta": {
    "snapshot_at": "2023-11-07T05:31:56Z",
    "scope": {}
  }
}

Authorizations

Authorization
string
header
required

A Compliance API key: Authorization: Bearer tgcmp_....

Query Parameters

product
enum<string>
required

The product to read.

Available options:
code_security,
container_security,
cloud_security,
kspm,
dspm,
pentest,
endpoint,
infra,
runtime,
issues
asset_id
string

Comma-separated asset ids, up to 1000.

limit
integer
default:200

Page size. Default 200, maximum 1000; larger values are capped.

Required range: 1 <= x <= 1000
cursor
string

page.next_cursor from the previous page. Send the same other parameters with it.

Maximum string length: 4096

Response

A page of assets.

items
object[]
page
object
meta
object