custom-group-membership
custom-group-membership
Custom group membership definition
JSON Example
{
"includedResources": [
"string"
],
"excludedResources": [
"string"
],
"custom-group-properties": [
{
"name": "string",
"type": "string",
"inclusionValue": "string",
"exclusionValue": "string"
}
],
"rules": [
{
"resourceKindKey": {
"resourceKind": "string",
"adapterKind": "string"
},
"statConditionRules": [
{
"key": "string",
"stringValue": "string",
"doubleValue": "number",
"compareOperator": "string"
}
],
"propertyConditionRules": [
{
"key": "string",
"stringValue": "string",
"doubleValue": "number",
"compareOperator": "string"
}
],
"resourceNameConditionRules": [
{
"name": "string",
"compareOperator": "string"
}
],
"relationshipConditionRules": [
{
"relation": "string",
"name": "string",
"compareOperator": "string",
"travesalSpecId": "string"
}
],
"resourceTagConditionRules": [
{
"category": "string",
"compareOperator": "string",
"stringValue": "string"
}
]
}
]
}
array of
string
includedResources
Optional
Collection of resources to include in the given group
array of
string
excludedResources
Optional
Collection of resources to exclude from the given group. This property is useful when the group
membership is dynamic and you want to explicitly exclude certain set of resources even if they
are selected by the rule engine.
array of
custom-group-property
custom-group-properties
Optional
Collection of custom group properties