All pages
Powered by GitBook
1 of 1

Loading...

Save a query

Sample Request:

curl -X 'POST' \
"$BASE_URL/api/v1/assessments/queries" \
-H "authorization: Bearer $VEZA_TOKEN" \
--data-raw '{
  "query_type": "SOURCE_TO_DESTINATION",
  "source_node_types": {
    "nodes": [
      {
        "node_type": "OktaUser",
        "tags": [],
        "conditions": [],
        "condition_expression": null,
        "node_id": "",
        "excluded_tags": [],
        "count_conditions": [],
        "direct_relationship_only": false,
        "node_type_grouping_constraint": null
      }
    ],
    "nodes_operator": "AND"
  },
  "destination_node_types": null,
  "required_intermediate_node_types": null,
  "avoided_intermediate_node_types": null,
  "raw_permissions": null,
  "effective_permissions": null,
  "customized_variables": [],
  "no_relation": false,
  "snapshot_id": "0",
  "access_filter": null,
  "node_relationship_type": "EFFECTIVE_ACCESS",
  "relates_to_exp": {
    "specs": [
      {
        "node_types": {
          "nodes": [
            {
              "node_type": "SnowflakeRole",
              "tags": [],
              "conditions": [],
              "condition_expression": {
                "specs": [
                  {
                    "fn": "EQ",
                    "property": "id",
                    "value": "dn44266.us-east-2.aws.snowflakecomputing.com/role/BILLING",
                    "not": false,
                    "value_property_name": "",
                    "value_property_from_other_node": false
                  }
                ],
                "child_expressions": [],
                "operator": "AND",
                "not": false
              },
              "node_id": "",
              "excluded_tags": [],
              "count_conditions": [],
              "direct_relationship_only": false,
              "node_type_grouping_constraint": null
            }
          ],
          "nodes_operator": "AND"
        },
        "required_intermediate_node_types": null,
        "avoided_intermediate_node_types": null,
        "raw_permissions": null,
        "effective_permissions": {
          "values": [],
          "operator": "OR"
        },
        "no_relation": false,
        "direction": "ANY_DIRECTION"
      }
    ],
    "child_expressions": [
      {
        "specs": [
          {
            "node_types": {
              "nodes": [
                {
                  "node_type": "SnowflakeRole",
                  "tags": [],
                  "conditions": [],
                  "condition_expression": {
                    "specs": [
                      {
                        "fn": "EQ",
                        "property": "id",
                        "value": "dn44266.us-east-2.aws.snowflakecomputing.com/role/AUDITOR",
                        "not": false,
                        "value_property_name": "",
                        "value_property_from_other_node": false
                      }
                    ],
                    "child_expressions": [],
                    "operator": "AND",
                    "not": false
                  },
                  "node_id": "",
                  "excluded_tags": [],
                  "count_conditions": [],
                  "direct_relationship_only": false,
                  "node_type_grouping_constraint": null
                }
              ],
              "nodes_operator": "AND"
            },
            "required_intermediate_node_types": null,
            "avoided_intermediate_node_types": null,
            "raw_permissions": null,
            "effective_permissions": {
              "values": [],
              "operator": "OR"
            },
            "no_relation": false,
            "direction": "ANY_DIRECTION"
          },
          {
            "node_types": {
              "nodes": [
                {
                  "node_type": "SnowflakeRole",
                  "tags": [],
                  "conditions": [],
                  "condition_expression": {
                    "specs": [
                      {
                        "fn": "EQ",
                        "property": "id",
                        "value": "dn44266.us-east-2.aws.snowflakecomputing.com/role/ROLE_A",
                        "not": false,
                        "value_property_name": "",
                        "value_property_from_other_node": false
                      }
                    ],
                    "child_expressions": [],
                    "operator": "AND",
                    "not": false
                  },
                  "node_id": "",
                  "excluded_tags": [],
                  "count_conditions": [],
                  "direct_relationship_only": false,
                  "node_type_grouping_constraint": null
                }
              ],
              "nodes_operator": "AND"
            },
            "required_intermediate_node_types": null,
            "avoided_intermediate_node_types": null,
            "raw_permissions": null,
            "effective_permissions": {
              "values": [],
              "operator": "OR"
            },
            "no_relation": false,
            "direction": "ANY_DIRECTION"
          }
        ],
        "child_expressions": [],
        "operator": "OR",
        "not": false,
        "and_op_type": "INFERRED"
      }
    ],
    "operator": "AND",
    "not": false,
    "and_op_type": "SOURCE_INTERSECT"
  },
  "path_summary_node_types": null,
  "all_entity_condition": null,
  "page_size": "0",
  "page_token": "",
  "variables": [],
  "name": "Okta Users to Snowflake Roles",
  "description": "SoD",
  "risk_level": "CRITICAL",
  "labels": [
    "another_new_label"
  ],
  "visibility": "PRIVATE"
}'

Sample response:

A successful response returns the saved query id, and full query specification in a value object:

{"id":"c169c41c-2650-4f39-8930-f198f70f892b","value":{"id":"c169c41c-2650-4f39-8930-f198f70f892b","name":"Okta Users to Snowflake Roles","description":"SoD","result_type":"NUMBER","query_type":"SOURCE_TO_DESTINATION","raw_permissions":{"values":[],"operator":"AND"},"effective_permissions":{"values":[],"operator":"AND"},"variables":[],"source_node_types":{"nodes":[{"node_type":"OktaUser","tags":[],"conditions":[],"condition_expression":null,"node_id":"","excluded_tags":[],"count_conditions":[],"direct_relationship_only":false,"node_type_grouping_constraint":null}],"nodes_operator":"AND"},"required_intermediate_node_types":{"nodes":[],"nodes_operator":"AND"},"avoided_intermediate_node_types":{"nodes":[],"nodes_operator":"AND"},"destination_node_types":{"nodes":[],"nodes_operator":"AND"},"no_relation":false,"access_filter":null,"created_by":"e3ac5e6a-1946-4688-82a7-8a607133a1c8","visibility":"PRIVATE","owners":["e3ac5e6a-1946-4688-82a7-8a607133a1c8"],"node_relationship_type":"EFFECTIVE_ACCESS","integration_types":["okta","snowflake"],"labels":["another_new_label"],"created_at":"2023-07-29T19:28:30.908762576Z","updated_at":"2023-07-29T19:28:30.908762576Z","source_type":"OktaUser","destination_types":["SnowflakeRole"],"relates_to_exp":{"specs":[{"node_types":{"nodes":[{"node_type":"SnowflakeRole","tags":[],"conditions":[],"condition_expression":{"specs":[{"fn":"EQ","property":"id","value":"dn44266.us-east-2.aws.snowflakecomputing.com/role/BILLING","not":false,"value_property_name":"","value_property_from_other_node":false}],"child_expressions":[],"operator":"AND","not":false},"node_id":"","excluded_tags":[],"count_conditions":[],"direct_relationship_only":false,"node_type_grouping_constraint":null}],"nodes_operator":"AND"},"required_intermediate_node_types":null,"avoided_intermediate_node_types":null,"raw_permissions":null,"effective_permissions":{"values":[],"operator":"OR"},"no_relation":false,"direction":"ANY_DIRECTION"}],"child_expressions":[{"specs":[{"node_types":{"nodes":[{"node_type":"SnowflakeRole","tags":[],"conditions":[],"condition_expression":{"specs":[{"fn":"EQ","property":"id","value":"dn44266.us-east-2.aws.snowflakecomputing.com/role/AUDITOR","not":false,"value_property_name":"","value_property_from_other_node":false}],"child_expressions":[],"operator":"AND","not":false},"node_id":"","excluded_tags":[],"count_conditions":[],"direct_relationship_only":false,"node_type_grouping_constraint":null}],"nodes_operator":"AND"},"required_intermediate_node_types":null,"avoided_intermediate_node_types":null,"raw_permissions":null,"effective_permissions":{"values":[],"operator":"OR"},"no_relation":false,"direction":"ANY_DIRECTION"},{"node_types":{"nodes":[{"node_type":"SnowflakeRole","tags":[],"conditions":[],"condition_expression":{"specs":[{"fn":"EQ","property":"id","value":"dn44266.us-east-2.aws.snowflakecomputing.com/role/ROLE_A","not":false,"value_property_name":"","value_property_from_other_node":false}],"child_expressions":[],"operator":"AND","not":false},"node_id":"","excluded_tags":[],"count_conditions":[],"direct_relationship_only":false,"node_type_grouping_constraint":null}],"nodes_operator":"AND"},"required_intermediate_node_types":null,"avoided_intermediate_node_types":null,"raw_permissions":null,"effective_permissions":{"values":[],"operator":"OR"},"no_relation":false,"direction":"ANY_DIRECTION"}],"child_expressions":[],"operator":"OR","not":false,"and_op_type":"INFERRED"}],"operator":"AND","not":false,"and_op_type":"SOURCE_INTERSECT"},"all_entity_condition":{"specs":[],"child_expressions":[],"operator":"AND","not":false},"risk_level":"CRITICAL","risk_suppressed_constraints":null,"analysis_type":"UNSET","result":0,"result_evaluated_at":null,"result_evaluated":false}}

CreateAssessmentQuery saves a new query with the specified conditions. See for all available constraints and options. To run a query without saving it, see the query spec operations.

Query Parameters
post
Authorizations
Body
namestringOptional
descriptionstringOptional
query_typestring · enumOptionalDefault: SYSTEM_CREATEDPossible values:
no_relationbooleanOptional
violationbooleanOptional
visibilitystring · enumOptionalDefault: PUBLICPossible values:
node_relationship_typestring · enumOptionalDefault: EFFECTIVE_ACCESSPossible values:
labelsstring[]Optional
risk_levelstring · enumOptionalDefault: NONEPossible values:
analysis_typestring · enumOptionalDefault: UNSETPossible values:
Responses
200
A successful response.
application/json
401
Authorization information is missing or invalid.
403
Returned when the user does not have permission to access the resource.
application/json
404
Returned when the resource does not exist.
500
Server error
502
Returned when the service is temporarily unavailable.
503
Returned when the resource is temporarily unavailable.
post
POST /api/v1/assessments/queries HTTP/1.1
Host: 
Bearer: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10869

{
  "name": "text",
  "description": "text",
  "query_type": "SYSTEM_CREATED",
  "raw_permissions": {
    "values": [
      "text"
    ],
    "operator": "AND"
  },
  "effective_permissions": {
    "values": [
      "METADATA_WRITE"
    ],
    "operator": "AND"
  },
  "source_node_types": {
    "nodes": [
      {
        "node_type": "text",
        "tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "conditions": [
          {
            "fn": "EQ",
            "property": "text",
            "value": null,
            "not": true,
            "value_property_name": "text",
            "value_property_from_other_node": true
          }
        ],
        "condition_expression": {
          "specs": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "child_expressions": [
            "[Circular Reference]"
          ],
          "operator": "AND",
          "not": true
        },
        "node_id": "text",
        "excluded_tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "count_conditions": [
          {
            "fn": "EQ",
            "value": "text",
            "value_as": "COUNT"
          }
        ],
        "direct_relationship_only": true,
        "node_type_grouping_constraint": {
          "node_types": [
            "text"
          ],
          "constraint_type": "EXCLUDE"
        },
        "properties_to_get": [
          "text"
        ]
      }
    ],
    "nodes_operator": "AND"
  },
  "required_intermediate_node_types": {
    "nodes": [
      {
        "node_type": "text",
        "tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "conditions": [
          {
            "fn": "EQ",
            "property": "text",
            "value": null,
            "not": true,
            "value_property_name": "text",
            "value_property_from_other_node": true
          }
        ],
        "condition_expression": {
          "specs": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "child_expressions": [
            "[Circular Reference]"
          ],
          "operator": "AND",
          "not": true
        },
        "node_id": "text",
        "excluded_tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "count_conditions": [
          {
            "fn": "EQ",
            "value": "text",
            "value_as": "COUNT"
          }
        ],
        "direct_relationship_only": true,
        "node_type_grouping_constraint": {
          "node_types": [
            "text"
          ],
          "constraint_type": "EXCLUDE"
        },
        "properties_to_get": [
          "text"
        ]
      }
    ],
    "nodes_operator": "AND"
  },
  "avoided_intermediate_node_types": {
    "nodes": [
      {
        "node_type": "text",
        "tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "conditions": [
          {
            "fn": "EQ",
            "property": "text",
            "value": null,
            "not": true,
            "value_property_name": "text",
            "value_property_from_other_node": true
          }
        ],
        "condition_expression": {
          "specs": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "child_expressions": [
            "[Circular Reference]"
          ],
          "operator": "AND",
          "not": true
        },
        "node_id": "text",
        "excluded_tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "count_conditions": [
          {
            "fn": "EQ",
            "value": "text",
            "value_as": "COUNT"
          }
        ],
        "direct_relationship_only": true,
        "node_type_grouping_constraint": {
          "node_types": [
            "text"
          ],
          "constraint_type": "EXCLUDE"
        },
        "properties_to_get": [
          "text"
        ]
      }
    ],
    "nodes_operator": "AND"
  },
  "destination_node_types": {
    "nodes": [
      {
        "node_type": "text",
        "tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "conditions": [
          {
            "fn": "EQ",
            "property": "text",
            "value": null,
            "not": true,
            "value_property_name": "text",
            "value_property_from_other_node": true
          }
        ],
        "condition_expression": {
          "specs": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "child_expressions": [
            "[Circular Reference]"
          ],
          "operator": "AND",
          "not": true
        },
        "node_id": "text",
        "excluded_tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "count_conditions": [
          {
            "fn": "EQ",
            "value": "text",
            "value_as": "COUNT"
          }
        ],
        "direct_relationship_only": true,
        "node_type_grouping_constraint": {
          "node_types": [
            "text"
          ],
          "constraint_type": "EXCLUDE"
        },
        "properties_to_get": [
          "text"
        ]
      }
    ],
    "nodes_operator": "AND"
  },
  "no_relation": true,
  "violation": true,
  "visibility": "PUBLIC",
  "node_relationship_type": "EFFECTIVE_ACCESS",
  "labels": [
    "text"
  ],
  "relates_to_exp": {
    "specs": [
      {
        "node_types": {
          "nodes": [
            {
              "node_type": "text",
              "tags": [
                {
                  "key": "text",
                  "value": "text"
                }
              ],
              "conditions": [
                {
                  "fn": "EQ",
                  "property": "text",
                  "value": null,
                  "not": true,
                  "value_property_name": "text",
                  "value_property_from_other_node": true
                }
              ],
              "condition_expression": {
                "specs": [
                  {
                    "fn": "EQ",
                    "property": "text",
                    "value": null,
                    "not": true,
                    "value_property_name": "text",
                    "value_property_from_other_node": true
                  }
                ],
                "child_expressions": [
                  "[Circular Reference]"
                ],
                "operator": "AND",
                "not": true
              },
              "node_id": "text",
              "excluded_tags": [
                {
                  "key": "text",
                  "value": "text"
                }
              ],
              "count_conditions": [
                {
                  "fn": "EQ",
                  "value": "text",
                  "value_as": "COUNT"
                }
              ],
              "direct_relationship_only": true,
              "node_type_grouping_constraint": {
                "node_types": [
                  "text"
                ],
                "constraint_type": "EXCLUDE"
              },
              "properties_to_get": [
                "text"
              ]
            }
          ],
          "nodes_operator": "AND"
        },
        "required_intermediate_node_types": {
          "nodes": [
            {
              "node_type": "text",
              "tags": [
                {
                  "key": "text",
                  "value": "text"
                }
              ],
              "conditions": [
                {
                  "fn": "EQ",
                  "property": "text",
                  "value": null,
                  "not": true,
                  "value_property_name": "text",
                  "value_property_from_other_node": true
                }
              ],
              "condition_expression": {
                "specs": [
                  {
                    "fn": "EQ",
                    "property": "text",
                    "value": null,
                    "not": true,
                    "value_property_name": "text",
                    "value_property_from_other_node": true
                  }
                ],
                "child_expressions": [
                  "[Circular Reference]"
                ],
                "operator": "AND",
                "not": true
              },
              "node_id": "text",
              "excluded_tags": [
                {
                  "key": "text",
                  "value": "text"
                }
              ],
              "count_conditions": [
                {
                  "fn": "EQ",
                  "value": "text",
                  "value_as": "COUNT"
                }
              ],
              "direct_relationship_only": true,
              "node_type_grouping_constraint": {
                "node_types": [
                  "text"
                ],
                "constraint_type": "EXCLUDE"
              },
              "properties_to_get": [
                "text"
              ]
            }
          ],
          "nodes_operator": "AND"
        },
        "avoided_intermediate_node_types": {
          "nodes": [
            {
              "node_type": "text",
              "tags": [
                {
                  "key": "text",
                  "value": "text"
                }
              ],
              "conditions": [
                {
                  "fn": "EQ",
                  "property": "text",
                  "value": null,
                  "not": true,
                  "value_property_name": "text",
                  "value_property_from_other_node": true
                }
              ],
              "condition_expression": {
                "specs": [
                  {
                    "fn": "EQ",
                    "property": "text",
                    "value": null,
                    "not": true,
                    "value_property_name": "text",
                    "value_property_from_other_node": true
                  }
                ],
                "child_expressions": [
                  "[Circular Reference]"
                ],
                "operator": "AND",
                "not": true
              },
              "node_id": "text",
              "excluded_tags": [
                {
                  "key": "text",
                  "value": "text"
                }
              ],
              "count_conditions": [
                {
                  "fn": "EQ",
                  "value": "text",
                  "value_as": "COUNT"
                }
              ],
              "direct_relationship_only": true,
              "node_type_grouping_constraint": {
                "node_types": [
                  "text"
                ],
                "constraint_type": "EXCLUDE"
              },
              "properties_to_get": [
                "text"
              ]
            }
          ],
          "nodes_operator": "AND"
        },
        "raw_permissions": {
          "values": [
            "text"
          ],
          "operator": "AND"
        },
        "effective_permissions": {
          "values": [
            "METADATA_WRITE"
          ],
          "operator": "AND"
        },
        "no_relation": true,
        "direction": "ANY_DIRECTION"
      }
    ],
    "child_expressions": [
      {
        "specs": [
          {
            "node_types": {
              "nodes": [
                {
                  "node_type": "text",
                  "tags": [
                    {
                      "key": "text",
                      "value": "text"
                    }
                  ],
                  "conditions": [
                    {
                      "fn": "EQ",
                      "property": "text",
                      "value": null,
                      "not": true,
                      "value_property_name": "text",
                      "value_property_from_other_node": true
                    }
                  ],
                  "condition_expression": {
                    "specs": [
                      {
                        "fn": "EQ",
                        "property": "text",
                        "value": null,
                        "not": true,
                        "value_property_name": "text",
                        "value_property_from_other_node": true
                      }
                    ],
                    "child_expressions": [
                      "[Circular Reference]"
                    ],
                    "operator": "AND",
                    "not": true
                  },
                  "node_id": "text",
                  "excluded_tags": [
                    {
                      "key": "text",
                      "value": "text"
                    }
                  ],
                  "count_conditions": [
                    {
                      "fn": "EQ",
                      "value": "text",
                      "value_as": "COUNT"
                    }
                  ],
                  "direct_relationship_only": true,
                  "node_type_grouping_constraint": {
                    "node_types": [
                      "text"
                    ],
                    "constraint_type": "EXCLUDE"
                  },
                  "properties_to_get": [
                    "text"
                  ]
                }
              ],
              "nodes_operator": "AND"
            },
            "required_intermediate_node_types": {
              "nodes": [
                {
                  "node_type": "text",
                  "tags": [
                    {
                      "key": "text",
                      "value": "text"
                    }
                  ],
                  "conditions": [
                    {
                      "fn": "EQ",
                      "property": "text",
                      "value": null,
                      "not": true,
                      "value_property_name": "text",
                      "value_property_from_other_node": true
                    }
                  ],
                  "condition_expression": {
                    "specs": [
                      {
                        "fn": "EQ",
                        "property": "text",
                        "value": null,
                        "not": true,
                        "value_property_name": "text",
                        "value_property_from_other_node": true
                      }
                    ],
                    "child_expressions": [
                      "[Circular Reference]"
                    ],
                    "operator": "AND",
                    "not": true
                  },
                  "node_id": "text",
                  "excluded_tags": [
                    {
                      "key": "text",
                      "value": "text"
                    }
                  ],
                  "count_conditions": [
                    {
                      "fn": "EQ",
                      "value": "text",
                      "value_as": "COUNT"
                    }
                  ],
                  "direct_relationship_only": true,
                  "node_type_grouping_constraint": {
                    "node_types": [
                      "text"
                    ],
                    "constraint_type": "EXCLUDE"
                  },
                  "properties_to_get": [
                    "text"
                  ]
                }
              ],
              "nodes_operator": "AND"
            },
            "avoided_intermediate_node_types": {
              "nodes": [
                {
                  "node_type": "text",
                  "tags": [
                    {
                      "key": "text",
                      "value": "text"
                    }
                  ],
                  "conditions": [
                    {
                      "fn": "EQ",
                      "property": "text",
                      "value": null,
                      "not": true,
                      "value_property_name": "text",
                      "value_property_from_other_node": true
                    }
                  ],
                  "condition_expression": {
                    "specs": [
                      {
                        "fn": "EQ",
                        "property": "text",
                        "value": null,
                        "not": true,
                        "value_property_name": "text",
                        "value_property_from_other_node": true
                      }
                    ],
                    "child_expressions": [
                      "[Circular Reference]"
                    ],
                    "operator": "AND",
                    "not": true
                  },
                  "node_id": "text",
                  "excluded_tags": [
                    {
                      "key": "text",
                      "value": "text"
                    }
                  ],
                  "count_conditions": [
                    {
                      "fn": "EQ",
                      "value": "text",
                      "value_as": "COUNT"
                    }
                  ],
                  "direct_relationship_only": true,
                  "node_type_grouping_constraint": {
                    "node_types": [
                      "text"
                    ],
                    "constraint_type": "EXCLUDE"
                  },
                  "properties_to_get": [
                    "text"
                  ]
                }
              ],
              "nodes_operator": "AND"
            },
            "raw_permissions": {
              "values": [
                "text"
              ],
              "operator": "AND"
            },
            "effective_permissions": {
              "values": [
                "METADATA_WRITE"
              ],
              "operator": "AND"
            },
            "no_relation": true,
            "direction": "ANY_DIRECTION"
          }
        ],
        "child_expressions": [
          {
            "specs": "[Circular Reference]",
            "child_expressions": "[Circular Reference]",
            "operator": "AND",
            "not": true,
            "and_op_type": "INFERRED"
          }
        ],
        "operator": "AND",
        "not": true,
        "and_op_type": "INFERRED"
      }
    ],
    "operator": "AND",
    "not": true,
    "and_op_type": "INFERRED"
  },
  "all_entity_condition": {
    "specs": [
      {
        "fn": "EQ",
        "property": "text",
        "value": null,
        "not": true,
        "value_property_name": "text",
        "value_property_from_other_node": true
      }
    ],
    "child_expressions": [
      {
        "specs": [
          {
            "fn": "EQ",
            "property": "text",
            "value": null,
            "not": true,
            "value_property_name": "text",
            "value_property_from_other_node": true
          }
        ],
        "child_expressions": [
          {
            "specs": [
              {
                "fn": "EQ",
                "property": "text",
                "value": null,
                "not": true,
                "value_property_name": "text",
                "value_property_from_other_node": true
              }
            ],
            "child_expressions": "[Circular Reference]",
            "operator": "AND",
            "not": true
          }
        ],
        "operator": "AND",
        "not": true
      }
    ],
    "operator": "AND",
    "not": true
  },
  "path_summary_node_types": {
    "nodes": [
      {
        "node_type": "text",
        "tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "conditions": [
          {
            "fn": "EQ",
            "property": "text",
            "value": null,
            "not": true,
            "value_property_name": "text",
            "value_property_from_other_node": true
          }
        ],
        "condition_expression": {
          "specs": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "child_expressions": [
            "[Circular Reference]"
          ],
          "operator": "AND",
          "not": true
        },
        "node_id": "text",
        "excluded_tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "count_conditions": [
          {
            "fn": "EQ",
            "value": "text",
            "value_as": "COUNT"
          }
        ],
        "direct_relationship_only": true,
        "node_type_grouping_constraint": {
          "node_types": [
            "text"
          ],
          "constraint_type": "EXCLUDE"
        },
        "properties_to_get": [
          "text"
        ]
      }
    ],
    "nodes_operator": "AND"
  },
  "path_summary_count_conditions": {
    "conditions": [
      {
        "fn": "EQ",
        "value": "text",
        "value_as": "COUNT"
      }
    ]
  },
  "risk_level": "NONE",
  "risk_suppressed_constraints": {
    "nodes": [
      {
        "node_type": "text",
        "tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "conditions": [
          {
            "fn": "EQ",
            "property": "text",
            "value": null,
            "not": true,
            "value_property_name": "text",
            "value_property_from_other_node": true
          }
        ],
        "condition_expression": {
          "specs": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "child_expressions": [
            "[Circular Reference]"
          ],
          "operator": "AND",
          "not": true
        },
        "node_id": "text",
        "excluded_tags": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "count_conditions": [
          {
            "fn": "EQ",
            "value": "text",
            "value_as": "COUNT"
          }
        ],
        "direct_relationship_only": true,
        "node_type_grouping_constraint": {
          "node_types": [
            "text"
          ],
          "constraint_type": "EXCLUDE"
        },
        "properties_to_get": [
          "text"
        ]
      }
    ]
  },
  "analysis_type": "UNSET"
}
{
  "id": "text",
  "value": {
    "id": "text",
    "name": "text",
    "description": "text",
    "result_type": "NUMBER",
    "query_type": "SYSTEM_CREATED",
    "raw_permissions": {
      "values": [
        "text"
      ],
      "operator": "AND"
    },
    "effective_permissions": {
      "values": [
        "METADATA_WRITE"
      ],
      "operator": "AND"
    },
    "variables": [
      "text"
    ],
    "source_node_types": {
      "nodes": [
        {
          "node_type": "text",
          "tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "conditions": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "condition_expression": {
            "specs": [
              {
                "fn": "EQ",
                "property": "text",
                "value": null,
                "not": true,
                "value_property_name": "text",
                "value_property_from_other_node": true
              }
            ],
            "child_expressions": "[Circular Reference]",
            "operator": "AND",
            "not": true
          },
          "node_id": "text",
          "excluded_tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "count_conditions": [
            {
              "fn": "EQ",
              "value": "text",
              "value_as": "COUNT"
            }
          ],
          "direct_relationship_only": true,
          "node_type_grouping_constraint": {
            "node_types": [
              "text"
            ],
            "constraint_type": "EXCLUDE"
          },
          "properties_to_get": [
            "text"
          ]
        }
      ],
      "nodes_operator": "AND"
    },
    "required_intermediate_node_types": {
      "nodes": [
        {
          "node_type": "text",
          "tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "conditions": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "condition_expression": {
            "specs": [
              {
                "fn": "EQ",
                "property": "text",
                "value": null,
                "not": true,
                "value_property_name": "text",
                "value_property_from_other_node": true
              }
            ],
            "child_expressions": "[Circular Reference]",
            "operator": "AND",
            "not": true
          },
          "node_id": "text",
          "excluded_tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "count_conditions": [
            {
              "fn": "EQ",
              "value": "text",
              "value_as": "COUNT"
            }
          ],
          "direct_relationship_only": true,
          "node_type_grouping_constraint": {
            "node_types": [
              "text"
            ],
            "constraint_type": "EXCLUDE"
          },
          "properties_to_get": [
            "text"
          ]
        }
      ],
      "nodes_operator": "AND"
    },
    "avoided_intermediate_node_types": {
      "nodes": [
        {
          "node_type": "text",
          "tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "conditions": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "condition_expression": {
            "specs": [
              {
                "fn": "EQ",
                "property": "text",
                "value": null,
                "not": true,
                "value_property_name": "text",
                "value_property_from_other_node": true
              }
            ],
            "child_expressions": "[Circular Reference]",
            "operator": "AND",
            "not": true
          },
          "node_id": "text",
          "excluded_tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "count_conditions": [
            {
              "fn": "EQ",
              "value": "text",
              "value_as": "COUNT"
            }
          ],
          "direct_relationship_only": true,
          "node_type_grouping_constraint": {
            "node_types": [
              "text"
            ],
            "constraint_type": "EXCLUDE"
          },
          "properties_to_get": [
            "text"
          ]
        }
      ],
      "nodes_operator": "AND"
    },
    "destination_node_types": {
      "nodes": [
        {
          "node_type": "text",
          "tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "conditions": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "condition_expression": {
            "specs": [
              {
                "fn": "EQ",
                "property": "text",
                "value": null,
                "not": true,
                "value_property_name": "text",
                "value_property_from_other_node": true
              }
            ],
            "child_expressions": "[Circular Reference]",
            "operator": "AND",
            "not": true
          },
          "node_id": "text",
          "excluded_tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "count_conditions": [
            {
              "fn": "EQ",
              "value": "text",
              "value_as": "COUNT"
            }
          ],
          "direct_relationship_only": true,
          "node_type_grouping_constraint": {
            "node_types": [
              "text"
            ],
            "constraint_type": "EXCLUDE"
          },
          "properties_to_get": [
            "text"
          ]
        }
      ],
      "nodes_operator": "AND"
    },
    "no_relation": true,
    "created_by": "text",
    "visibility": "PUBLIC",
    "owners": [
      "text"
    ],
    "node_relationship_type": "EFFECTIVE_ACCESS",
    "integration_types": [
      "text"
    ],
    "labels": [
      "text"
    ],
    "created_at": "2025-05-09T11:52:30.079Z",
    "updated_at": "2025-05-09T11:52:30.079Z",
    "source_type": "text",
    "destination_types": [
      "text"
    ],
    "relates_to_exp": {
      "specs": [
        {
          "node_types": {
            "nodes": "[Circular Reference]",
            "nodes_operator": "AND"
          },
          "required_intermediate_node_types": {
            "nodes": "[Circular Reference]",
            "nodes_operator": "AND"
          },
          "avoided_intermediate_node_types": {
            "nodes": "[Circular Reference]",
            "nodes_operator": "AND"
          },
          "raw_permissions": {
            "values": [
              "text"
            ],
            "operator": "AND"
          },
          "effective_permissions": {
            "values": [
              "METADATA_WRITE"
            ],
            "operator": "AND"
          },
          "no_relation": true,
          "direction": "ANY_DIRECTION"
        }
      ],
      "child_expressions": [
        {
          "specs": [
            {
              "node_types": {
                "nodes": "[Circular Reference]",
                "nodes_operator": "AND"
              },
              "required_intermediate_node_types": {
                "nodes": "[Circular Reference]",
                "nodes_operator": "AND"
              },
              "avoided_intermediate_node_types": {
                "nodes": "[Circular Reference]",
                "nodes_operator": "AND"
              },
              "raw_permissions": {
                "values": [
                  "text"
                ],
                "operator": "AND"
              },
              "effective_permissions": {
                "values": [
                  "METADATA_WRITE"
                ],
                "operator": "AND"
              },
              "no_relation": true,
              "direction": "ANY_DIRECTION"
            }
          ],
          "child_expressions": [
            "[Circular Reference]"
          ],
          "operator": "AND",
          "not": true,
          "and_op_type": "INFERRED"
        }
      ],
      "operator": "AND",
      "not": true,
      "and_op_type": "INFERRED"
    },
    "all_entity_condition": {
      "specs": [
        {
          "fn": "EQ",
          "property": "text",
          "value": null,
          "not": true,
          "value_property_name": "text",
          "value_property_from_other_node": true
        }
      ],
      "child_expressions": [
        {
          "specs": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "child_expressions": [
            "[Circular Reference]"
          ],
          "operator": "AND",
          "not": true
        }
      ],
      "operator": "AND",
      "not": true
    },
    "path_summary_node_types": {
      "nodes": [
        {
          "node_type": "text",
          "tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "conditions": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "condition_expression": {
            "specs": [
              {
                "fn": "EQ",
                "property": "text",
                "value": null,
                "not": true,
                "value_property_name": "text",
                "value_property_from_other_node": true
              }
            ],
            "child_expressions": "[Circular Reference]",
            "operator": "AND",
            "not": true
          },
          "node_id": "text",
          "excluded_tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "count_conditions": [
            {
              "fn": "EQ",
              "value": "text",
              "value_as": "COUNT"
            }
          ],
          "direct_relationship_only": true,
          "node_type_grouping_constraint": {
            "node_types": [
              "text"
            ],
            "constraint_type": "EXCLUDE"
          },
          "properties_to_get": [
            "text"
          ]
        }
      ],
      "nodes_operator": "AND"
    },
    "path_summary_count_conditions": {
      "conditions": [
        {
          "fn": "EQ",
          "value": "text",
          "value_as": "COUNT"
        }
      ]
    },
    "risk_level": "NONE",
    "risk_suppressed_constraints": {
      "nodes": [
        {
          "node_type": "text",
          "tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "conditions": [
            {
              "fn": "EQ",
              "property": "text",
              "value": null,
              "not": true,
              "value_property_name": "text",
              "value_property_from_other_node": true
            }
          ],
          "condition_expression": {
            "specs": [
              {
                "fn": "EQ",
                "property": "text",
                "value": null,
                "not": true,
                "value_property_name": "text",
                "value_property_from_other_node": true
              }
            ],
            "child_expressions": "[Circular Reference]",
            "operator": "AND",
            "not": true
          },
          "node_id": "text",
          "excluded_tags": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "count_conditions": [
            {
              "fn": "EQ",
              "value": "text",
              "value_as": "COUNT"
            }
          ],
          "direct_relationship_only": true,
          "node_type_grouping_constraint": {
            "node_types": [
              "text"
            ],
            "constraint_type": "EXCLUDE"
          },
          "properties_to_get": [
            "text"
          ]
        }
      ]
    },
    "analysis_type": "UNSET",
    "result": 1,
    "result_evaluated_at": "2025-05-09T11:52:30.079Z",
    "result_evaluated": true
  }
}