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

Non-sensitive diff support for credential history #231

Merged
merged 3 commits into from
Dec 18, 2019

Conversation

ryan-lane
Copy link
Contributor

This change modifies the behavior and data in the history view for credentials, to remove sensitive information from that view. A new diff_credential endpoint has been added, which will take two revisions for a credential ID, and returns a non-sensitive diff of the two credentials.

The history view for the credential shows a -/+ view of the two credentials, side-by-side. For credential_pairs (the sensitive part), it shows what's been added and removed, by credential_pair key. In the case a credential pair has been modified, it'll show as being removed and added (similar to a git diff).

@ryan-lane
Copy link
Contributor Author

Screenshot 2019-12-17 15 52 44

@ryan-lane ryan-lane merged commit c8c7877 into master Dec 18, 2019
@ryan-lane ryan-lane deleted the history-view-changes branch December 18, 2019 01:43
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.

2 participants