Installing Node.js as a source dependency

You can install Node.js as a web application framework to replace the Flask framework that is included with the QRadar® GUI Application Framework SDK.

Procedure

  1. Download the Node.js archive (.tar) that you want to use, and copy it to app/src_deps/init directory.
  2. Create an installation script that is similar to the following example in the same folder that references the archive node-v6.3.0-linux-x64.tar.gz that you want to use (in this case):
    #!/bin/bash
    ##
    ## install node and npm from source tarball, and make available on the path
    ##
    cd /usr/local
    tar --strip-components 1 -xzf /src_deps/init/node-v6.3.0-linux-x64.tar.gz
  3. Create a file ordering.txt in the same folder as the following content:
    /src_deps/init/install_nodejs_npm.sh
    The ordering.txt notifies QRadar to run the Node.js installation script.