This directory contains an example application in both Node and Python that will query the SentinelOne APIs and return the results in an HTML web application. The goal is to provide a jump start to using the SentinelOne APIs to create your own lightweight console or data access tool. Both examples use the same static HTML, CSS and javascript files for the front end, the only difference is the language of the server implementation.
These examples assume you have either Node or Python installed on your local machine.
- Download all files in this directory
- Install the required libraries
pip3 install Flask Flask-Session requests jsonify
- Start the server
python3 server.py
- Open a browser to http://localhost:3000
- Login and click the buttons to call the APIs
- Download all files in this directory
- Initialize the directory
npm init -y
- Install the required modules
npm install express express-session axios body-parser
- Start the server
node server.js
- Open a browser to http://localhost:3000
- Login and click the buttons to call the APIs