IP Library › Granted Patent US 12,608,370
Granted Patent B2
US 12,608,370 · App. 18/651,037 · Granted Apr 21, 2026

System and method for natural language query processing utilizing language model techniques

Inventors: Alon Schindel (Tel Aviv, IL); Barak Sharoni (Tel Aviv, IL); Ami Luttwak (Binyamina, IL); Roy Reznik (Tel Aviv, IL); Yinon Costica (Tel Aviv, IL)
Assignee: Wiz, Inc.
G06F16/243G06F16/212G06F16/2455
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,608,370
App. No.
18/651,037
Granted
Apr 21, 2026
Kind
B2
Abstract

A system and method for generating a database query based on a natural language query improves database utilization is presented. The method includes receiving a natural language query directed to a security database, wherein the security database includes a representation of a computing environment; selecting a first database query from a plurality of database queries; generating a second database query based on the first database query adapted by the received natural language query; and executing the second database query on the security database.

Claims (66)

1 . A method for generating a database query based on a natural language query, comprising:

receiving a query including a natural language query directed to a security database, wherein the security database includes a representation of a computing environment;

determining a data schema utilized to represent an entity of the computing environment in the security database;

generating a prompt for a large language model (LLM) based on: the received query, and the determined data schema;

generating a database query by processing the generated prompt; and

executing the database query on the security database.

2 . The method of claim 1 , further comprising:

selecting a preselected database query from a plurality of preselected database queries; and;

generating the prompt further based on the preselected database query.

3 . The method of claim 2 , further comprising:

determining a match between the natural language query and the preselected database query; and

determining a match between the natural language query and another preselected database query.

4 . The method of claim 3 , further comprising:

selecting the preselected database query or the another preselected database query based on the determined match.

5 . The method of claim 1 , further comprising:

determining the data schema based on the natural language query.

6 . The method of claim 1 , further comprising:

initiating inspection of another entity of the computing environment in response to a result of executing the database query on the security database.

7 . The method of claim 6 , further comprising:

initiating a mitigation action based on a result of the inspection of the another entity.

8 . The method of claim 6 , further comprising:

initiating, based on a result of the inspection, any one of: a remediation action, a forensic finding, a mitigation action, and a combination thereof.

9 . The method of claim 1 , further comprising:

parsing the received natural language query to a textual input including a plurality of text elements;

mapping a first text element of the plurality of text elements to a predetermined keyword; and

replacing the first text element with the predetermined keyword; and

tokenizing the received query including the predetermined keyword.

10 . A non-transitory computer-readable medium storing a set of instructions for generating a database query based on a natural language query, the set of instructions comprising:

one or more instructions that, when executed by one or more processors of a device, cause the device to:

receive a query including a natural language query directed to a security database, wherein the security database includes a representation of a computing environment;

determine a data schema utilized to represent an entity of the computing environment in the security database;

generate a prompt for a large language model (LLM) based on:

the received query, and the determined data schema;

generate a database query by processing the generated prompt; and

execute the database query on the security database.

11 . A system for generating a database query based on a natural language query comprising:

a processing circuitry;

a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to:

receive a query including a natural language query directed to a security database, wherein the security database includes a representation of a computing environment;

determine a data schema utilized to represent an entity of the computing environment in the security database;

generate a prompt for a large language model (LLM) based on:

the received query, and the determined data schema;

generate a database query by processing the generated prompt; and

execute the database query on the security database.

12 . The system of claim 11 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

select a preselected database query from a plurality of preselected database queries; and

generate the prompt further based on the preselected database query.

13 . The system of claim 12 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

determine a match between the natural language query and the preselected database query; and

determine a match between the natural language query and another preselected database query.

14 . The system of claim 13 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

select the preselected database query or the another preselected database query based on the determined match.

15 . The system of claim 11 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

determine the data schema based on the natural language query.

16 . The system of claim 11 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

initiate inspection of another entity of the computing environment in response to a result of executing the database query on the security database.

17 . The system of claim 16 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

initiate a mitigation action based on a result of the inspection of the another entity.

18 . The system of claim 16 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

initiate, based on a result of the inspection, any one of:

a remediation action, a forensic find, a mitigation action, and a combination thereof.

19 . The system of claim 11 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

parse the received natural language query to a textual input including a plurality of text elements;

map a first text element of the plurality of text elements to a predetermined keyword; and

replace the first text element with the predetermined keyword; and

tokenize the received query including the predetermined keyword.

Continuity (2)
Continuation 18457054 · Aug 28, 2023
Related Publication 20250077509A1 · Mar 6, 2025
References Cited (134)
US 7657424B2 · Bennett · 2010 [cited by examiner]
US 7725307B2 · Bennett · 2010 [cited by applicant]
US 7937402B2 · Feng · 2011 [cited by examiner]
US 8146146B1 · Coviello et al. · 2012 [cited by applicant]
US 8645122B1 · Di Fabbrizio · 2014 [cited by examiner]
US 9141663B2 · Mavrov · 2015 [cited by examiner]
US 10127224B2 · Deleeuw · 2018 [cited by examiner]
US 10158677B1 · DiCorpo · 2018 [cited by examiner]
US 10263838B2 · Eda et al. · 2019 [cited by applicant]
US 10304444B2 · Mathias · 2019 [cited by examiner]
US 10417346B2 · Kim · 2019 [cited by examiner]
US 10678810B2 · Rehal · 2020 [cited by examiner]
US 10754877B2 · Kassko · 2020 [cited by examiner]
US 10789292B2 · Manor · 2020 [cited by examiner]
US 10922342B2 · Wang et al. · 2021 [cited by applicant]
US 10997968B2 · Wanas et al. · 2021 [cited by applicant]
US 11080607B1 · Demtchenko et al. · 2021 [cited by applicant]
US 11210268B2 · Albrecht et al. · 2021 [cited by applicant]
US 11301502B1 · Dijamco · 2022 [cited by examiner]
US 11303666B1 · Peters et al. · 2022 [cited by applicant]
US 11349871B2 · Moon · 2022 [cited by examiner]
US 11468054B2 · Chaudhuri · 2022 [cited by examiner]
US 11469963B2 · Forte et al. · 2022 [cited by applicant]
US 11516158B1 · Luzhnica · 2022 [cited by examiner]
US 11544282B1 · Chor et al. · 2023 [cited by applicant]
US 11544343B1 · Bhushan et al. · 2023 [cited by applicant]
US 11551421B1 · Bhushan et al. · 2023 [cited by applicant]
US 11563813B1 · Bhushan et al. · 2023 [cited by applicant]
US 11574429B1 · Tam et al. · 2023 [cited by applicant]
US 11579764B1 · Argroves et al. · 2023 [cited by applicant]
US 11593669B1 · Chhabra et al. · 2023 [cited by applicant]
US 11601324B1 · Fletcher et al. · 2023 [cited by applicant]
US 11604794B1 · Nallapati · 2023 [cited by examiner]
US 11604877B1 · Gallien et al. · 2023 [cited by applicant]
US 11620541B1 · Ghosh et al. · 2023 [cited by applicant]
US 11630695B1 · Aleti et al. · 2023 [cited by applicant]
US 11644940B1 · Chor et al. · 2023 [cited by applicant]
US 11651571B1 · Bhushan et al. · 2023 [cited by applicant]
US 11663109B1 · Deaderick et al. · 2023 [cited by applicant]
US 11663382B1 · Cascioli · 2023 [cited by applicant]
US 11676582B2 · Nowak-Przygodzki · 2023 [cited by examiner]
US 11704219B1 · Lerner et al. · 2023 [cited by applicant]
US 11714683B1 · Roberts et al. · 2023 [cited by applicant]
US 11720686B1 · Cross et al. · 2023 [cited by applicant]
US 11726750B1 · Arcadinho · 2023 [cited by examiner]
US 11727643B1 · Bhushan et al. · 2023 [cited by applicant]
US 11729074B1 · Mishra et al. · 2023 [cited by applicant]
US 11734886B1 · Bhushan et al. · 2023 [cited by applicant]
US 11741131B1 · Dwivedi et al. · 2023 [cited by applicant]
US 11755405B1 · Satish et al. · 2023 [cited by applicant]
US 11762869B1 · Werner · 2023 [cited by applicant]
US 11769017B1 · Gray · 2023 [cited by examiner]
US 11782917B2 · Chaudhuri · 2023 [cited by examiner]
US 11789940B2 · Jiao · 2023 [cited by examiner]
US 11809497B2 · Beringer et al. · 2023 [cited by applicant]
US 11860914B1 · Qadrud-Din · 2024 [cited by examiner]
US 11861320B1 · Gajek · 2024 [cited by examiner]
US 11861321B1 · O'Kelly · 2024 [cited by examiner]
US 11928569B1 · Douthit · 2024 [cited by examiner]
US 12001550B1 · Schindel et al. · 2024 [cited by applicant]
US 12282502B2 · Whitehead, Jr. · 2025 [cited by examiner]
US 20040117189A1 · Bennett · 2004 [cited by applicant]
US 20050131695A1 · Lucente · 2005 [cited by examiner]
US 20050172261A1 · Yuknewicz · 2005 [cited by examiner]
US 20080010259A1 · Feng · 2008 [cited by examiner]
US 20080091681A1 · Dwivedi et al. · 2008 [cited by applicant]
US 20100153412A1 · Mavrov · 2010 [cited by examiner]
US 20100262454A1 · Sommer et al. · 2010 [cited by applicant]
US 20100287220A1 · Aust · 2010 [cited by examiner]
US 20130018920A1 · Griffin · 2013 [cited by applicant]
US 20140095469A1 · Chen et al. · 2014 [cited by applicant]
US 20150026219A1 · Manor et al. · 2015 [cited by applicant]
US 20150213109A1 · Kassko · 2015 [cited by examiner]
US 20160117364A1 · Jahankhani · 2016 [cited by examiner]
US 20160179787A1 · Deleeuw · 2016 [cited by examiner]
US 20170212884A1 · Kim · 2017 [cited by examiner]
US 20170278514A1 · Mathias · 2017 [cited by examiner]
US 20180004870A1 · Ohayon et al. · 2018 [cited by applicant]
US 20180052824A1 · Ferrydiansyah · 2018 [cited by examiner]
US 20180062916A1 · Eda · 2018 [cited by examiner]
US 20180137401A1 · Kumar et al. · 2018 [cited by applicant]
US 20190222593A1 · Craig et al. · 2019 [cited by applicant]
US 20190377824A1 · Wang et al. · 2019 [cited by applicant]
US 20200244700A1 · Moon · 2020 [cited by examiner]
US 20200349919A1 · Wanas · 2020 [cited by examiner]
US 20200394190A1 · Chaudhuri · 2020 [cited by examiner]
US 20210049158A1 · Jiao · 2021 [cited by examiner]
US 20210173829A1 · Zeng · 2021 [cited by examiner]
US 20210182489A1 · Barkan · 2021 [cited by examiner]
US 20210209167A1 · Feng · 2021 [cited by examiner]
US 20210272554A1 · Robert Jose · 2021 [cited by examiner]
US 20220035802A1 · Penzo · 2022 [cited by examiner]
US 20220036153A1 · O'Malia · 2022 [cited by examiner]
US 20220229832A1 · Li · 2022 [cited by examiner]
US 20220300542A1 · Schwartz · 2022 [cited by examiner]
US 20220318507A1 · Barkan · 2022 [cited by examiner]
US 20220398583A1 · Crudele et al. · 2022 [cited by applicant]
US 20220414228A1 · DiFonzo et al. · 2022 [cited by applicant]
US 20230018809A1 · Deshmukh · 2023 [cited by applicant]
US 20230061234A1 · Calado et al. · 2023 [cited by applicant]
US 20230074406A1 · Baeuml · 2023 [cited by examiner]
US 20230078177A1 · Wang · 2023 [cited by examiner]
US 20230083512A1 · Newman · 2023 [cited by examiner]
US 20230085500A1 · Hong · 2023 [cited by applicant]
US 20230088034A1 · Salman · 2023 [cited by applicant]
US 20230112921A1 · Cai · 2023 [cited by examiner]
US 20230139000A1 · Apger et al. · 2023 [cited by applicant]
US 20230142344A1 · Nakar · 2023 [cited by applicant]
US 20230161821A1 · Beringer et al. · 2023 [cited by applicant]
US 20230164098A1 · Cai et al. · 2023 [cited by applicant]
US 20230177363A1 · Li · 2023 [cited by examiner]
US 20230222029A1 · Vutukuru et al. · 2023 [cited by applicant]
US 20230237053A1 · Dangoor · 2023 [cited by examiner]
US 20230237277A1 · Reza · 2023 [cited by examiner]
US 20230244938A1 · Wei · 2023 [cited by examiner]
US 20230252140A1 · Coulter · 2023 [cited by applicant]
US 20230259705A1 · Tunstall-Pedoe · 2023 [cited by examiner]
US 20230274086A1 · Tunstall-Pedoe · 2023 [cited by examiner]
US 20230274094A1 · Tunstall-Pedoe · 2023 [cited by examiner]
US 20230274733A1 · Nowak-Przygodzki · 2023 [cited by examiner]
US 20230316001A1 · Araki · 2023 [cited by examiner]
US 20230319074A1 · Murphy et al. · 2023 [cited by applicant]
US 20230319097A1 · Murphy et al. · 2023 [cited by applicant]
US 20230325154A1 · Arcadinho · 2023 [cited by examiner]
US 20230325725A1 · Lester · 2023 [cited by examiner]
US 20240020538A1 · Socher · 2024 [cited by examiner]
US 20240062016A1 · Tong · 2024 [cited by examiner]
US 20240403273A1 · Zangri · 2024 [cited by examiner]
US 20240403428A1 · Lal et al. · 2024 [cited by applicant]
US 20240419918A1 · Vangala · 2024 [cited by examiner]
US 20240427810A1 · Tishbi · 2024 [cited by examiner]
US 20250200027A1 · Fu et al. · 2025 [cited by applicant]
International Search Report for PCT/IB2024/058430, dated Dec. 19, 2024. Searching Authority, Israel Patent Office, Jerusalem, Israel. [cited by applicant]
Written Opinion of the Searching Authority for PCT/IB2024/058430, dated Dec. 19, 2024. Searching Authority, Israel Patent Office, Jerusalem, Israel. [cited by applicant]