IBM QRadar

IBM QRadar

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Check QRadar Version Using Python Code

    Posted Wed July 10, 2019 09:05 AM
    Hi All,
    Is there a way to find the QRadar Version using Python code?

    ------------------------------
    Jabez Daniel
    ------------------------------


  • 2.  RE: Check QRadar Version Using Python Code

    Posted Thu July 11, 2019 10:36 PM
    Hi Jabez,
    there's already a script that does this job for you. If you really want to run your own python script, I guess that you could call this bash script within your own script, and grab the outputs.

    Run:
    [root@console ~]# /opt/qradar/bin/myver
    7.3.1.20190228154648

    For the short version, you can run:
    [root@console ~]# /opt/qradar/bin/myver -siv
    7.3.1.9

    In this exemple, 7.3.1.9 = 7.3.1 patch 8.
    For more information on the version terminology, you can check out this page:
    https://www-01.ibm.com/support/docview.wss?uid=swg27008656

    Here's the options available with the 'myver' command.

    [root@hostname ~]# /opt/qradar/bin/myver -h

    There's also an option to export the info in a python dictionnary. You should have a look.
    [root@console ~]# /opt/qradar/bin/myver -dict

    Regards,

    ------------------------------
    Anthony Gayadeen
    Analyst
    Videotron
    Montreal QC
    ------------------------------