v1

latestSwagger 2.02026-07-17172265595.1 KB
benchmarks_assignment

Create benchmark assignment

Creating a benchmark assignment for a connection.

post/compliance/api/v1/assignments/{benchmark_id}/connection

Path parameters

benchmark_idstring required

Benchmark ID

Query parameters

auto_assignboolean

Auto enable benchmark for connections

integrationIdstring[]

Connection ID or 'all' for everything

connectionGroupstring[]

Connection group

resourceCollectionstring[]

Resource collection

Response

OK

assignedAtstring

Unix timestamp

benchmarkIdstring

Benchmark ID

connectionIdstring

Connection ID

resourceCollectionIdstring

Resource Collection ID

Example response

[
  {
    "benchmarkId": "azure_cis_v140",
    "connectionId": "8e0f8e7a-1b1c-4e6f-b7e4-9c6af9d2b1c8",
    "resourceCollectionId": "example-rc"
  }
]