This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 137
Fixes and improvements to MykiCsvImporter #707
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comment on lines
+106
to
+117
// case "Driver's License": | ||
// case "ID Card": | ||
// case "Outdoor License": | ||
// case "Software License": | ||
// case "Tax Number": | ||
// case "Bank Account": | ||
// case "Insurance Card": | ||
// case "Health Card": | ||
// case "Membership": | ||
// case "Database": | ||
// case "Reward Program": | ||
// case "Tour Visa": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing MyKi doesn't have these id types?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does have those idType but as there were no other good identity fields to map to, it uses the switch's default to map them to cipher.identity.licenseNumber
differsthecat
approved these changes
Mar 7, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one question, but it looks good and I'm really digging all of the tests you've been adding!
8 tasks
This was referenced Mar 14, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of change
Objective
With the announcement of Myki discontinuing their existing products on April 10th, 2022, after being aquired by JumpCloud, it was time to revisit our Myki importer.
This PR fixes some minor issues and adds support for previously not imported exports types (
UserIdCard.csv
andUserTwoFA.csv
).Asana task: https://app.asana.com/0/1200578627114106/1201930330138516/f
Rough overview of imported ciphers/fields:
Empty fields are skipped
All unmapped columns are imported as custom fields (for example: status and tags)
Login items -
UserAccount.csv
TwoFA -
UserTwoFa.csv
CreditCard items -
UserCreditCard.csv
Secure Notes-
UserNote.csv
Identity items -
UserIdentity.csv
IdCard items -
UserIdCard.csv
Code changes
Testing requirements
Ensure that items are imported as described
Before you submit
npm run lint
) (required)