Skip to main content

Generate Decision Tree of a query/rule with AI

N
Written by Nataliia Pukaliak

Use AI to generate a decision tree of a query/rule logic that explains how it works step by step, with all the embeddings, branches, and other intricate logic.

To generate a decision tree:

  1. Open Prime Architect and go to the Agentic Threat Research mode.

  2. Click Code Editor in the upper right corner and paste your rule/query or select a rule from the platform. For this, select the plus icon (+) in the chat input field and select Add Detections.

    To find a detection:

    • Type a search term in the search bar

    • Select the repo to search

    • Apply the filters if needed

    • Select a detection (once selected, it will be automatically added to the Code Editor)

    Tip: To remove all content from the editor, click the Clear Editor button.

  3. Select the Analyze button.

  4. Select the Decision Tree tool from the agentic AI tools options.

  5. Click the Enter icon to proceed.

  6. Prime Architect will detect rule’s platform (language) automatically. Ensure the detected platform is correct or change it in the platform dropdown and select Confirm.

  7. View the generated decision tree in the chat panel on the left.

Next Steps


Once the decision tree has been generated, you can:

Did this answer your question?