Copy PUT /api/v1/assessments/queries/{id} HTTP/1.1
Host: your-tenant.vezacloud.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 13278
{
"access_filter": {
"anomaly_detection_history_days": "text",
"engagement_score": {
"op": 1,
"value": 1
},
"exclude_indirect_grantee": true,
"include_indirect_resource": true,
"include_secondary_grantee": true,
"last_used": {
"op": 1,
"relative_timevar_value": "text",
"target": 1,
"value": "2026-01-11T18:15:09.185Z"
},
"over_provisioned_score": {
"op": 1,
"value": 1
}
},
"all_entity_condition": {
"child_expressions": [
{
"child_expressions": [
{
"child_expressions": "[Circular Reference]",
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
},
"analysis_type": 1,
"avoided_intermediate_node_types": {
"nodes": [
{
"condition_expression": {
"child_expressions": [
{
"child_expressions": [
{
"child_expressions": "[Circular Reference]",
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
},
"count_condition_expression": {
"child_expressions": "[Circular Reference]",
"include_zero_count_results": true,
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"value": "text",
"value_as": 1
}
]
},
"direct_relationship_only": true,
"integration_types": [
"text"
],
"node_id": "text",
"node_type": "text",
"node_type_grouping_constraint": {
"constraint_type": 1,
"node_types": [
"text"
]
},
"properties_to_get": [
"text"
],
"tags_to_get": [
{
"key": "text",
"type": 1
}
]
}
],
"nodes_operator": 1
},
"description": "text",
"destination_node_types": {
"nodes": [
{
"condition_expression": {
"child_expressions": [
{
"child_expressions": [
{
"child_expressions": "[Circular Reference]",
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
},
"count_condition_expression": {
"child_expressions": "[Circular Reference]",
"include_zero_count_results": true,
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"value": "text",
"value_as": 1
}
]
},
"direct_relationship_only": true,
"integration_types": [
"text"
],
"node_id": "text",
"node_type": "text",
"node_type_grouping_constraint": {
"constraint_type": 1,
"node_types": [
"text"
]
},
"properties_to_get": [
"text"
],
"tags_to_get": [
{
"key": "text",
"type": 1
}
]
}
],
"nodes_operator": 1
},
"effective_permissions": {
"operator": 1,
"values": [
1
]
},
"id": "text",
"include_sub_permissions": true,
"labels": [
"text"
],
"name": "text",
"node_relationship_type": 1,
"optional": true,
"path_summary_count_conditions": {
"conditions": [
{
"fn": 1,
"value": "text",
"value_as": 1
}
]
},
"path_summary_node_types": {
"nodes": [
{
"condition_expression": {
"child_expressions": [
{
"child_expressions": [
{
"child_expressions": "[Circular Reference]",
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
},
"count_condition_expression": {
"child_expressions": "[Circular Reference]",
"include_zero_count_results": true,
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"value": "text",
"value_as": 1
}
]
},
"direct_relationship_only": true,
"integration_types": [
"text"
],
"node_id": "text",
"node_type": "text",
"node_type_grouping_constraint": {
"constraint_type": 1,
"node_types": [
"text"
]
},
"properties_to_get": [
"text"
],
"tags_to_get": [
{
"key": "text",
"type": 1
}
]
}
],
"nodes_operator": 1
},
"raw_permissions": {
"operator": 1,
"values": [
"text"
]
},
"relates_to_exp": {
"and_op_type": 1,
"child_expressions": [
{
"and_op_type": 1,
"child_expressions": [
"[Circular Reference]"
],
"not": true,
"operator": 1,
"specs": [
"[Circular Reference]"
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"avoided_intermediate_node_types": {
"nodes": "[Circular Reference]",
"nodes_operator": 1
},
"direction": 1,
"effective_permissions": {
"operator": 1,
"values": [
1
]
},
"no_relation": true,
"node_types": {
"nodes": "[Circular Reference]",
"nodes_operator": 1
},
"path_type": 1,
"raw_permissions": {
"operator": 1,
"values": [
"text"
]
},
"required_intermediate_node_types": {
"nodes": "[Circular Reference]",
"nodes_operator": 1
},
"unsupported_condition_mode": 1
}
]
},
"required_intermediate_node_types": {
"nodes": [
{
"condition_expression": {
"child_expressions": [
{
"child_expressions": [
{
"child_expressions": "[Circular Reference]",
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
},
"count_condition_expression": {
"child_expressions": "[Circular Reference]",
"include_zero_count_results": true,
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"value": "text",
"value_as": 1
}
]
},
"direct_relationship_only": true,
"integration_types": [
"text"
],
"node_id": "text",
"node_type": "text",
"node_type_grouping_constraint": {
"constraint_type": 1,
"node_types": [
"text"
]
},
"properties_to_get": [
"text"
],
"tags_to_get": [
{
"key": "text",
"type": 1
}
]
}
],
"nodes_operator": 1
},
"result_enrichment": {
"include_associated_risks": true,
"join_node_specs": [
{
"as": "text",
"node_spec": {
"condition_expression": {
"child_expressions": [
{
"child_expressions": [
{
"child_expressions": "[Circular Reference]",
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
},
"count_condition_expression": {
"child_expressions": "[Circular Reference]",
"include_zero_count_results": true,
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"value": "text",
"value_as": 1
}
]
},
"direct_relationship_only": true,
"integration_types": [
"text"
],
"node_id": "text",
"node_type": "text",
"node_type_grouping_constraint": {
"constraint_type": 1,
"node_types": [
"text"
]
},
"properties_to_get": [
"text"
],
"tags_to_get": [
{
"key": "text",
"type": 1
}
]
},
"with": "text"
}
],
"outlier_detection": {
"manager_centric_config": {
"grouping_properties": [
{
"joined_node_alias": "text",
"node_type": "text",
"property_name": "text",
"target": 1
}
],
"threshold": 1
},
"type": 1
},
"risks_filter": "text"
},
"risk_explanation": "text",
"risk_profiles": [
1
],
"risk_remediation": "text",
"save_mode": 1,
"source_node_types": {
"nodes": [
{
"condition_expression": {
"child_expressions": [
{
"child_expressions": [
{
"child_expressions": "[Circular Reference]",
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
},
"count_condition_expression": {
"child_expressions": "[Circular Reference]",
"include_zero_count_results": true,
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"value": "text",
"value_as": 1
}
]
},
"direct_relationship_only": true,
"integration_types": [
"text"
],
"node_id": "text",
"node_type": "text",
"node_type_grouping_constraint": {
"constraint_type": 1,
"node_types": [
"text"
]
},
"properties_to_get": [
"text"
],
"tags_to_get": [
{
"key": "text",
"type": 1
}
]
}
],
"nodes_operator": 1
},
"visibility": 1,
"vql_query": "text",
"waypoint_nodes": {
"nodes": [
{
"condition_expression": {
"child_expressions": [
{
"child_expressions": [
{
"child_expressions": "[Circular Reference]",
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
}
],
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"not": true,
"property": "text",
"source_property": "text",
"value": null,
"value_property_from_other_node": true,
"value_property_name": "text"
}
],
"tag_specs": [
{
"exclude": true,
"tag": {
"key": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": null
},
"type": "text",
"value": "text"
}
}
]
},
"count_condition_expression": {
"child_expressions": "[Circular Reference]",
"include_zero_count_results": true,
"not": true,
"operator": 1,
"specs": [
{
"fn": 1,
"value": "text",
"value_as": 1
}
]
},
"direct_relationship_only": true,
"integration_types": [
"text"
],
"node_id": "text",
"node_type": "text",
"node_type_grouping_constraint": {
"constraint_type": 1,
"node_types": [
"text"
]
},
"properties_to_get": [
"text"
],
"tags_to_get": [
{
"key": "text",
"type": 1
}
]
}
],
"nodes_operator": 1
}
}