Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect PUT and POST endpoints of the BugController #380

Merged
merged 4 commits into from
May 20, 2020

Conversation

henrikplate
Copy link
Contributor

@henrikplate henrikplate commented May 13, 2020

POST and PUT calls of the BugController shall be protected through a dedicated, configurable token.

This token has to be added as HTTP header by all Java clients (kb-importer, patch-analyzer, patch-lib-analyzer) and by the bug frontend (frontend-bugs). The Java clients just require a corresponding configuration parameter (vulas.shared.backend.header.<key>) in order to include the HTTP header.

The HAProxy configuration has to be adjusted to check the configurable token for all HTTP PUT and POST requests to .../backend/bugs/....

TODOs

  • Tests
  • Documentation

@sumeetpatil
Copy link
Contributor

HAProxy configurations have been added in this PR - #388

@henrikplate henrikplate merged commit f512b10 into master May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants