GET
/
scan-activity
List scan activity
curl --request GET \
  --url https://api.tigergate.dev/api/v1/compliance/scan-activity \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "asset": {
        "id": "<string>",
        "type": "<string>",
        "name": "<string>"
      },
      "last_scan": {
        "status": "<string>",
        "started_at": "2023-11-07T05:31:56Z",
        "completed_at": "2023-11-07T05:31:56Z"
      },
      "last_successful_scan_at": "2023-11-07T05:31:56Z",
      "has_scan_data": true
    }
  ],
  "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 scan activity.

items
object[]
page
object
meta
object