Skip to content

BE-6875 Additional changes to ingest KD folder data#135

Merged
hleekeeper merged 2 commits into
feature-kd-v1from
be-6875
May 6, 2026
Merged

BE-6875 Additional changes to ingest KD folder data#135
hleekeeper merged 2 commits into
feature-kd-v1from
be-6875

Conversation

@hleekeeper

Copy link
Copy Markdown
Contributor

No description provided.

@hleekeeper hleekeeper changed the base branch from main to feature-kd-v1 May 4, 2026 14:42
@hleekeeper hleekeeper changed the title BE-6875 [WIP] BE-6875 May 4, 2026
Comment thread keeperapi/src/vault.ts
parentKind: 'keeper_drive_folder',
childKind: 'record',
childUid: recordUid,
})

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Why do we need this?

When a KD folder is removed, all its child resources should be wiped altogether. However, since the delete operation takes place before the dependency removal, when the record is removed from the folder, the folder data is already cleaned up and the consumer app fails to identify the kind based off of the uid. This will remove the burden of consumer apps figuring out the resource type out of the uid.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is such a good idea that it's maybe worth making this a breaking change (rather than string | RemovedDependency, make children just a set of RemovedDependency). The guessing we have to do on the BE side is no fun and probably caused some bugs. Something to consider (of course all the other dependency additions would have to be updated)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah just wanted to avoid big changes. I'll create a Jira ticket for this tho https://keeper.atlassian.net/browse/BE-7544.

@hleekeeper hleekeeper changed the title [WIP] BE-6875 BE-6875 Additional changes to ingest KD folder data May 6, 2026
Comment thread keeperapi/src/vault.ts
parentKind: 'keeper_drive_folder',
childKind: 'record',
childUid: recordUid,
})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is such a good idea that it's maybe worth making this a breaking change (rather than string | RemovedDependency, make children just a set of RemovedDependency). The guessing we have to do on the BE side is no fun and probably caused some bugs. Something to consider (of course all the other dependency additions would have to be updated)

@hleekeeper hleekeeper merged commit e46c20f into feature-kd-v1 May 6, 2026
3 checks passed
hleekeeper added a commit that referenced this pull request May 29, 2026
* minor change uid -> folderUid in the DKdFolderAccesst type

* A removed dependency can now explicitly specify parentKind and childKind
hleekeeper added a commit that referenced this pull request Jun 8, 2026
* minor change uid -> folderUid in the DKdFolderAccesst type

* A removed dependency can now explicitly specify parentKind and childKind
hleekeeper added a commit that referenced this pull request Jun 8, 2026
* BE-6955 Added new REST API callers keeperDriveRecordsAdd and keeperDriveRecordsUpdate (#123)

* Updated the protobuf generation commands

* Updated protobuf files

* Added keeperDriveRecordsAdd and keeperDriveRecordsUpdate

* Updated the protobufs

* Ran format:check

* fixed the wrong namespace used for the keeperDriveRecordsAdd caller

* BE-6875 Support ingesting Keeper Drive records (#126)

* Added isNil and toOptional

* Added syncDown module

* Support ingesting Keeper Drive records

* fixed the broken unit tests

* added a safety check

* update

* BE-6875 Support ingesting Keeper Drive folders (#128)

* Added types DKdFolder, DKdFolderAccess, and DKdFolderSharingState

* Added a method mapTeamKeyType

* Ingest the Keeper Drive folder data

* addressed a comment

* Ingest keeper drive record links data (#129)

* BE-6875 Added another optional param to the storage.delete function (#130)

* Added another optional param to the storage.delete function

* updated the code format

* Handle removing the kd record links (#133)

* Added the accessUid to the DKdFolderAccess type (#134)

* BE-6875 Additional changes to ingest KD folder data (#135)

* minor change uid -> folderUid in the DKdFolderAccesst type

* A removed dependency can now explicitly specify parentKind and childKind

* ingest non-shared-data for keeper drive items (#147)

* Ingest the securityScoreData, securitData, and breachWatchRecords from the keeperDriveData (#150)

Updated the getCounts to count the data in the keeperDriveData

* Re-ran the protobug generation command
sgaddala-ks pushed a commit that referenced this pull request Jun 12, 2026
* BE-6955 Added new REST API callers keeperDriveRecordsAdd and keeperDriveRecordsUpdate (#123)

* Updated the protobuf generation commands

* Updated protobuf files

* Added keeperDriveRecordsAdd and keeperDriveRecordsUpdate

* Updated the protobufs

* Ran format:check

* fixed the wrong namespace used for the keeperDriveRecordsAdd caller

* BE-6875 Support ingesting Keeper Drive records (#126)

* Added isNil and toOptional

* Added syncDown module

* Support ingesting Keeper Drive records

* fixed the broken unit tests

* added a safety check

* update

* BE-6875 Support ingesting Keeper Drive folders (#128)

* Added types DKdFolder, DKdFolderAccess, and DKdFolderSharingState

* Added a method mapTeamKeyType

* Ingest the Keeper Drive folder data

* addressed a comment

* Ingest keeper drive record links data (#129)

* BE-6875 Added another optional param to the storage.delete function (#130)

* Added another optional param to the storage.delete function

* updated the code format

* Handle removing the kd record links (#133)

* Added the accessUid to the DKdFolderAccess type (#134)

* BE-6875 Additional changes to ingest KD folder data (#135)

* minor change uid -> folderUid in the DKdFolderAccesst type

* A removed dependency can now explicitly specify parentKind and childKind

* ingest non-shared-data for keeper drive items (#147)

* Ingest the securityScoreData, securitData, and breachWatchRecords from the keeperDriveData (#150)

Updated the getCounts to count the data in the keeperDriveData

* Re-ran the protobug generation command
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