https://github.com/netflix-skunkworks/stethoscope-examples
Example Express application for collecting data from the Stethoscope app
https://github.com/netflix-skunkworks/stethoscope-examples
security
Last synced: 9 months ago
JSON representation
Example Express application for collecting data from the Stethoscope app
- Host: GitHub
- URL: https://github.com/netflix-skunkworks/stethoscope-examples
- Owner: Netflix-Skunkworks
- License: apache-2.0
- Created: 2018-05-29T23:56:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-30T17:48:49.000Z (about 8 years ago)
- Last Synced: 2025-03-11T12:09:18.124Z (over 1 year ago)
- Topics: security
- Language: HTML
- Size: 155 KB
- Stars: 14
- Watchers: 130
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stethoscope examples
This is a small [Express](https://expressjs.com/) server with examples of:
* querying the Stethoscope app for device information and policy compliance
* reporting device and policy information along with a username
* blocking access to pages if the device hasn't recently passed the check
## First, run the Stethoscope app
Check out the [Stethoscope app](https://github.com/Netflix-Skunkworks/stethoscope-app) repo and run:
npm install
npm run build:react
NODE_ENV=development npm run electron
In development mode, the Stethoscope app will accept CORS requests from localhost, which is necessary for this example server to work.
## Install dependencies and run the example server
npm install
npm start
...then open http://localhost:3000