Returns the compliance scan of cluster, if driverType is provided then specific status of driverType will be returned
GEThttps://api.spectrocloud.com/v1/spectroclusters/:uid/features/complianceScan
Returns the compliance scan of cluster, if driverType is provided then specific status of driverType will be returned
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
metadata
object
spec
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-03T13:23:53.988Z",
"deletionTimestamp": "2024-07-03T13:23:53.988Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:53.988Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"driverSpec": {}
}
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/spectroclusters/:uid/features/complianceScan' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'