Create cluster compliance scan
POST/v1/spectroclusters/:uid/features/complianceScan
Create cluster compliance scan
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
kubeBench
Cluster compliance scan schedule config for kube bench driver
schedule
Cluster feature schedule
scheduledRunTimestring
kubeHunter
Cluster compliance scan schedule config for kube hunter driver
schedule
Cluster feature schedule
scheduledRunTimestring
sonobuoy
Cluster compliance scan schedule config for sonobuoy driver
schedule
Cluster feature schedule
scheduledRunTimestring
Responses
- 201
Created successfully
Response Headers
AuditUid
string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
uidstringrequired
{
"uid": "string"
}
Loading...