Update Benchmark Set

PUT {{cb_url}}/compliance/assessment/api/v1/orgs/{{cb_org_key}}/benchmark_sets/{{cb_benchmark_set_id}}

Update a benchmark set

RBAC Permissions Required

Permission (.notation name)Operation(s)
complianceAssessment.dataUPDATE

Request Body

{
    "id": "<string>",
    "name": "<string>",
    "version": "<string>",
    "os_family": "<string>",
    "enabled": <boolean>,
    "type": "<string>",
    "supported_os_info": [
        {
            "os_metadata_id": "<string>",
            "os_type": "<string>",
            "os_name": "<string>",
            "cis_version": "<string>",
        }
    ],
    "created_by": "<string>",
    "updated_by": "<string>",
    "create_time": "<string>",
    "update_time": "<string>"
}

See Documentation

Request Body

{"enabled"=>false, "update_time"=>"2023-04-05T23:55:04.684577Z", "name"=>"Demonstration Set Update", "created_by"=>"anonymous", "create_time"=>"2023-04-05T23:55:04.684577Z", "version"=>"1.0.0.4", "supported_os_info"=>[{"os_metadata_id"=>"1", "os_type"=>"WINDOWS", "os_name"=>"Windows Server 2012 x64", "cis_version"=>"2.3.0"}, {"os_metadata_id"=>"2", "os_type"=>"WINDOWS", "os_name"=>"Windows Server 2012 R2 x64", "cis_version"=>"2.5.0"}], "type"=>"Custom", "id"=>"251cc749-47d5-420d-9465-00a35a7024aa", "updated_by"=>nil, "os_family"=>"WINDOWS_SERVER"}