Filter Operators

Default filter and Custom filter operator and its descriptions

Default Operators

FILTER REGULATIONS:

  • Match

    • Search field with k (key) MUST be list of dict

    • Only offers dict type in value

    • Case-sensitive in value

    • Full-match only

Sample Input

{
    "domain_id": "{domain_id}",
    "query": {
        "filter": [
            {
                "k": "data.disk.core",
                "v": 4,
                "o": "gte"
            },
            {
                "k": "tags.spaceone:plugin_name",
                "v": "aws-health",
                "o": "eq"
            },
            {
                "k": "data.softwares", 
                "v": { "version": "1.0.0", "name": "mysql" }, 
                "o": "match"
             }
        ]
    }
}

Last updated