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

Log SDK version on REST calls #62

Open
2 tasks
clintfred opened this issue Oct 31, 2019 · 0 comments
Open
2 tasks

Log SDK version on REST calls #62

clintfred opened this issue Oct 31, 2019 · 0 comments

Comments

@clintfred
Copy link
Contributor

clintfred commented Oct 31, 2019

As an IronCore audit log user
I want to know what SDK and version make a request to the IronCore service

  • so that SDKs with specific behaviors/defects can be recognized and isolated
  • so that I can tell if there are out of date clients making requests for encrypted data

AC:

  • Every REST request to the IronCore service should include a header X-IronCore-Sdk-Version. Values of the header should be of the form ironoxide <MAJOR>.<MINOR>.<PATCH> and should match the current version of the SDK sending the request.
  • This header should be visible at the ironcore service and should be logged to the requests audit trail

This looks like a promising path: https://doc.rust-lang.org/cargo/reference/environment-variables.html

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

No branches or pull requests

1 participant