post https://api.armosec.io/api/v1/uniqueValues/posture/resources
Query params
customerGUID - required
Gloabl filters (cluster, namespace)
Request object
Standart request body for unique values APIs
Request object example
Get all available resourceKind values
{
"fields": {
"resourceKind": ""
}
}
Response object
Standart response body for unique values APIs.
There is no gurentee there will be any value in the "fields" or in "fieldsCount"
Response object example
{
"fields": {
"resourceKind": [
"Pod",
"Deployment"
]
},
"fieldsCount": {
"resourceKind": [
{
"key": "Pod",
"count": 144
},
{
"key": "Deployment",
"count": 55
}
]
}
}
Status enumuration
{
"unknown": 0,
"passed": 1,
"warning": 2,
"failed": 3,
"skipped": 4
}
terminology
"affected resources" - #failed resources + #warning resources