Skip to content

feat: index support for beacons #73

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

Merged
merged 2 commits into from
Mar 27, 2023
Merged

feat: index support for beacons #73

merged 2 commits into from
Mar 27, 2023

Conversation

ajewellamz
Copy link
Contributor

@ajewellamz ajewellamz commented Mar 27, 2023

Issue #, if available:

Description of changes:

With searchable encryption, indexes need certain transformations -- index on the beacon (aws_dbe_b_foo) rather than the actual encrypted field (foo), and add fields to any Projection so we can search on the beacon, and then properly filter on the unencrypted attributes.

This implies modifying the input to CreateTabe and UpdateTable, as well as the output of DescribeTable.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:11 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:12 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:12 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:12 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:12 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:12 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 12:12 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:40 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:51 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:51 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:51 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:51 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:51 — with GitHub Actions Inactive
@ajewellamz ajewellamz temporarily deployed to ESDK CI March 27, 2023 13:51 — with GitHub Actions Inactive
if DDB.IsValid_NonKeyAttributeNameList(newAttributes) then
Success(projection.(NonKeyAttributes := Some(newAttributes)))
else
Failure("Project had invalid attribute name list")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Failure("Project had invalid attribute name list")
Failure("Projection had invalid attribute name list")

@ajewellamz ajewellamz merged commit 7a570d6 into main Mar 27, 2023
@ajewellamz ajewellamz deleted the beacons-with-indexes branch March 27, 2023 16:32
seebees added a commit that referenced this pull request Mar 27, 2023
* feat: index support for beacons
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