Install Threat Stack AppSec

 

Once you log into Threat Stack Application Security (AppSec) Monitoring, you download the microagent, run the installer, and add some line of code to your application.

Download Threat Stack AppSec

You download the Threat Stack AppSec installer from the Application Security Monitoring page in the Threat Stack Cloud Security PlatformⓇ (CSP).

Note

If your software engineers do not have access to the Threat Stack CSP, then give them one of the following links to download the Threat Stack AppSec installer:

  1. In the left navigation bar, select the Applications tab. In the right view pane, the AppSec Monitoring page displays.
  2. Select a project and click the Agents button


    Select_project.png

    Note

    To create a project, please see Threat Stack AppSec Projects > Create New Project.

  3. The Agents screen displays. Click the Download Agent button.


    Download_agent.png       

    The Download Agent screen displays.

    DownloadAgentScreen.png

  4. In the type of microagent you want to download, click the Download button. The Threat Stack AppSec installer downloads.
Install the Threat Stack AppSec Microagent

After downloading the installer, you will be required to run a series of commands to complete the installation. For more information, please see Install the Threat Stack AppSec Microagent.

Run Your Application with Threat Stack AppSec

Once you configure your Threat Stack AppSec project(s) and microagent(s), add a microagent ID to your application’s environment. For more information, please see Set Microagent ID and Run Application.

Troubleshooting Threat Stack AppSec

As soon as your application is running, view the Agent Timeline page. The Agent Timeline page displays some information in the Environment pane, and the Events in last 24h pane begins to increment. If you do not see this information, the microagent may not be properly reporting to the AppSec Monitoring service.

To troubleshoot the issue, you can run in a debug mode and view details.

  1. Stop the application.
  2. Open the Command Line window.
  3. Restart the application with one of the following commands:
    • Node.js
      DEBUG='bluefyre:*' npm start
    • Python Django
      # django
      DEBUG=true BLUEFYRE_AGENT_ID="23423432424234" LOGLEVEL=DEBUG bluefyrectl execProgram python manage.py runserver --noreload 0.0.0.0:5001
    • Python gunicorn
      # gunicorn
      DEBUG=true BLUEFYRE_AGENT_ID="23423432424234" LOGLEVEL=DEBUG bluefyrectl execProgram gunicorn web_project.wsgi -b :5001
    • Ruby
      THREASTACK_LOG_LEVEL=DEBUG
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request