Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Auto Import] Make sure the committed schema is generated (#195302
) (#195315) # Backport This will backport the following commits from `main` to `8.x`: - [[Auto Import] Make sure the committed schema is generated (#195302)](#195302) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ilya Nikokoshev","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-07T19:47:43Z","message":"[Auto Import] Make sure the committed schema is generated (#195302)\n\n## Summary\r\n\r\nPreviously our schema and `.gen` files were not in sync, in the sense that\r\n\r\n```\r\ngit checkout main && yarn kbn bootstrap && node scripts/generate_openapi --rootDir ./x-pack/plugins/integration_assistant && git diff\r\n```\r\n\r\nreturned a non-trivial diff, despite the implementation in https://github.com/elastic/kibana/issues/193243.\r\n\r\nIn this PR we\r\n\r\n- add missing additionalProperties to the schema;\r\n- generate and commit exactly the generated files.\r\n\r\nThere don't seem to be any effects from the change from `passthrough` to\r\n`catchall`.\r\n\r\nTested with Teleport (see GitHub).","sha":"1599e4f61b3e5caf60730be5a2def73f6d603148","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","Team:Security-Scalability","Feature:AutomaticImport"],"title":"[Auto Import] Make sure the committed schema is generated","number":195302,"url":"https://github.com/elastic/kibana/pull/195302","mergeCommit":{"message":"[Auto Import] Make sure the committed schema is generated (#195302)\n\n## Summary\r\n\r\nPreviously our schema and `.gen` files were not in sync, in the sense that\r\n\r\n```\r\ngit checkout main && yarn kbn bootstrap && node scripts/generate_openapi --rootDir ./x-pack/plugins/integration_assistant && git diff\r\n```\r\n\r\nreturned a non-trivial diff, despite the implementation in https://github.com/elastic/kibana/issues/193243.\r\n\r\nIn this PR we\r\n\r\n- add missing additionalProperties to the schema;\r\n- generate and commit exactly the generated files.\r\n\r\nThere don't seem to be any effects from the change from `passthrough` to\r\n`catchall`.\r\n\r\nTested with Teleport (see GitHub).","sha":"1599e4f61b3e5caf60730be5a2def73f6d603148"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195302","number":195302,"mergeCommit":{"message":"[Auto Import] Make sure the committed schema is generated (#195302)\n\n## Summary\r\n\r\nPreviously our schema and `.gen` files were not in sync, in the sense that\r\n\r\n```\r\ngit checkout main && yarn kbn bootstrap && node scripts/generate_openapi --rootDir ./x-pack/plugins/integration_assistant && git diff\r\n```\r\n\r\nreturned a non-trivial diff, despite the implementation in https://github.com/elastic/kibana/issues/193243.\r\n\r\nIn this PR we\r\n\r\n- add missing additionalProperties to the schema;\r\n- generate and commit exactly the generated files.\r\n\r\nThere don't seem to be any effects from the change from `passthrough` to\r\n`catchall`.\r\n\r\nTested with Teleport (see GitHub).","sha":"1599e4f61b3e5caf60730be5a2def73f6d603148"}}]}] BACKPORT--> Co-authored-by: Ilya Nikokoshev <[email protected]>
- Loading branch information