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

Additional option "skipAnnotations" for the export of spec #5398

Merged
merged 5 commits into from
Nov 9, 2022

Conversation

mod42
Copy link
Contributor

@mod42 mod42 commented Nov 8, 2022

changelog(Inso CLI): Added a new --skipAnnotations option to inso export spec command. If the flag is set all x-kong-* annotations are removed.

@mod42 mod42 changed the title I added an additional option "skipAnnotations" for the export of spec. When we export the spec and the user wants to share the spec with others, Additional option "skipAnnotations" for the export of spec Nov 8, 2022
@mod42
Copy link
Contributor Author

mod42 commented Nov 8, 2022

I added an additional option "skipAnnotations" for the export of spec. When we export the spec and the user wants to share the spec with others, outside the organization, the annotations reveal sensitive information about the configuration of the kong gateway, like client_ids and clients_secrets. If the flag -s is set, all x-kong-* annotations are removed. I also adjusted the tests.

@filfreire filfreire requested a review from a team November 8, 2022 19:07
@filfreire
Copy link
Member

@mod42 did you push all your changes? Only see a new test added on files here.

mod42 and others added 3 commits November 9, 2022 15:25
…. When we export the spec and the user wants to share the spec with others,

outside the organization, the annotations reveal sensitive information about the configuration of
the kong gateway, like client_ids and
clients_secrets. If the flag -s is set, all x-kong-*
annotations are removed. I also adjusted the tests.
When we export the spec and the user wants to share the spec with
others, outside the organization, the annotations reveal sensitive
information about the configuration of the kong gateway, like client_ids
 and clients_secrets. If the flag -s is set, all x-kong-* annotations
 are removed. I also adjusted the tests.
@filfreire filfreire enabled auto-merge (squash) November 9, 2022 15:50
@filfreire filfreire merged commit 88b9403 into Kong:develop Nov 9, 2022
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