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

✨ add GetBundleV2 to PolicyHub #987

Closed
wants to merge 4 commits into from
Closed

Conversation

imilchev
Copy link
Member

@imilchev imilchev commented Dec 7, 2023

The idea is that this function will let us return a minimal version of the bundle for a given MRN. This should reduce the amount of network traffic we incur for each scan and should make scans faster.

The actual usage of this new endpoint will be done in another PR. For now I want to merge this, so I can add the implementation to the backend

policy/hub.go Outdated Show resolved Hide resolved
policy/hub.go Outdated Show resolved Hide resolved
policy/cnspec_policy.proto Outdated Show resolved Hide resolved
policy/cnspec_policy.proto Outdated Show resolved Hide resolved
@imilchev imilchev force-pushed the ivan/get-bundle-minimal branch from a1b3963 to aee4423 Compare December 15, 2023 10:59
@imilchev imilchev changed the title ✨ add GetMinimalBundle to PolicyHub ✨ add GetBundleV2 to PolicyHub Dec 15, 2023
Signed-off-by: Ivan Milchev <[email protected]>
@imilchev imilchev force-pushed the ivan/get-bundle-minimal branch from 57f32f7 to 92dc7c5 Compare December 15, 2023 11:41
@imilchev
Copy link
Member Author

not needed anymore

@imilchev imilchev closed this Jan 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants