GithubHelp home page GithubHelp logo

Comments (4)

mdazam1942 avatar mdazam1942 commented on June 12, 2024 1

@barvhaim test it out with our current changes and let us know if that fixes the issue.

from stix-shifter.

mdazam1942 avatar mdazam1942 commented on June 12, 2024

@barvhaim can you confirm 2nd part of the issue-

Moreover, you also cannot use any other field in the WHERE clause when using TEXT SEARCH, for example:
[ipv4-addr:value = '127.0.0.1' AND artifact:payload_bin LIKE 'x'] will cause an invalid AQL

I tried running this below aql query and its not complaining-

SELECT * FROM events WHERE TEXT SEARCH 'x' AND (sourceip = '127.0.0.1' OR destinationip = '127.0.0.1' OR identityip = '127.0.0.1') limit 10000 last 5 minutes

from stix-shifter.

mdazam1942 avatar mdazam1942 commented on June 12, 2024

ohk so I figured TEXT SEARCH operator needs to be the first otherwise aql throws error. this query fails-
SELECT * FROM events WHERE (sourceip = '127.0.0.1' OR destinationip = '127.0.0.1' OR identityip = '127.0.0.1') AND TEXT SEARCH 'x' limit 10000 last 5 minutes

so if you keep artifact:payload_bin the last object than it will translate into a valid aql query-

[ipv4-addr:value = '127.0.0.1' AND artifact:payload_bin LIKE 'x']

from stix-shifter.

mdazam1942 avatar mdazam1942 commented on June 12, 2024

I'm confused. I tried running the aql query which I thought is valid directly in QRadar console it works but api call fails.

from stix-shifter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.