AbGuthrie / goquery

Provide a shell like interface by utilizing osquery's distributed API
MIT License
80 stars 10 forks source link

SSO support #52

Closed obelisk closed 5 years ago

obelisk commented 5 years ago

This modifies the HTTPS API to make it work with an SSO system.

I want to move this to its own file so it doesn't stomp the simple HTTPS with unneeded SAML complexity but this adds authentication primitives to goquery allowing the backend to restrict access to certain users.

Users are hardcoded into the new IdP server. You can use the default login: alice, hunter2 to authenticate with the infrastructure.

This also closes #32, now that @AbGuthrie has written an awesome .hosts command, it needs to have data to be useful.

This also adds more help for managing the docker containers used to standup test infrastructure.

make docker will build all the containers needed (a ubuntu node, a SAML IdP, and goserver) make deploy will deploy the containers using the docker-compose.yml file make teardown will destroy the stack and take down the test infra.