v1
latestSwagger 2.02026-07-17172265595.1 KBbenchmarks_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
Example response
[
{
"benchmarkId": "azure_cis_v140",
"connectionId": "8e0f8e7a-1b1c-4e6f-b7e4-9c6af9d2b1c8",
"resourceCollectionId": "example-rc"
}
]