intseisoc / QRadar

Using QRadar API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QRadar API

Examples of QRadar API using Python and PowerShell (PowerShell Core as I needed to use the SkipCertificateCheck switch for our test environment).

All examples are utilized with IBM QRadar Community Edition running on CentOS Minimal

AQL Usage

ReferenceSets

function: REFERENCESETCONTAINS

SELECT DATEFORMAT(starttime,'YYYY-MM-dd HH:mm:ss') as 'Date',
       sourceIP, destinationIP, username
FROM events
WHERE REFERENCESETCONTAINS('DEMO_UserName',username)

ReferenceMaps

function: REFERENCEMAP

SELECT username, count(*),
       REFERENCEMAP('DEMO_MAP',LOWER(username)) as Full_Name_Of_User
FROM events
GROUP BY username

About

Using QRadar API


Languages

Language:Python 67.5%Language:PowerShell 32.5%