Support restricting kinds on insertion#2814
Merged
Merged
Conversation
Hayden-IO
commented
May 3, 2026
|
|
||
| rootCmd.PersistentFlags().StringSlice("enabled_api_endpoints", operationIDs, "list of API endpoints to enable using operationId from openapi.yaml") | ||
|
|
||
| rootCmd.PersistentFlags().StringSlice("pluggable_types", []string{}, |
Contributor
Author
There was a problem hiding this comment.
Note I chose to not deal with version, because only the intoto kind has two versions.
2ce3178 to
ac067e1
Compare
bobcallaway
reviewed
May 4, 2026
15605d5 to
7fcf4f4
Compare
bobcallaway
reviewed
May 4, 2026
bobcallaway
previously approved these changes
May 4, 2026
7fcf4f4 to
1839183
Compare
This adds a server flag to restrict the set of kinds that the server will support for insertion. Note that this does not affect the read path, meaning previously inserted entries are still readable. This will be used in the public instance to limit the set of kinds to the ones that are actively used to minimize the API attack surface. Signed-off-by: Hayden <[email protected]>
1839183 to
eb44d1f
Compare
bobcallaway
approved these changes
May 21, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds a server flag to restrict the set of kinds that the server will support for insertion. Note that this does not affect the read path, meaning previously inserted entries are still readable.
This will be used in the public instance to limit the set of kinds to the ones that are actively used to minimize the API attack surface.
Summary
Release Note
Documentation