-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Ingest Manager] Missing parts in OpenAPI specs #79574
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
Added |
## Summary Add OpenAPI specs for all the missing routes mentioned in #79574 - [x] `/settings` [commit](da25a60) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-settings) - [x] `/outputs` ef14345 & 0c1be7e [PR docs start here](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-output) - [x] `/epm/packages/{pkgName}/stats` [commit](7d98448) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-package-stats) ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
…lastic#106594) ## Summary Add OpenAPI specs for all the missing routes mentioned in elastic#79574 - [x] `/settings` [commit](elastic@da25a60) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-settings) - [x] `/outputs` elastic@ef14345 & elastic@0c1be7e [PR docs start here](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-output) - [x] `/epm/packages/{pkgName}/stats` [commit](elastic@7d98448) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-package-stats) ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
…lastic#106594) ## Summary Add OpenAPI specs for all the missing routes mentioned in elastic#79574 - [x] `/settings` [commit](elastic@da25a60) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-settings) - [x] `/outputs` elastic@ef14345 & elastic@0c1be7e [PR docs start here](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-output) - [x] `/epm/packages/{pkgName}/stats` [commit](elastic@7d98448) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-package-stats) ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
I didn't get to verify this goal/implementation but if both are correct, the change is very small. Changing kibana/x-pack/plugins/fleet/common/openapi/entrypoint.yaml Lines 88 to 89 in 02e8e7f
to security:
- basicAuth: []
- Access_API_Key: [] should do the trick. That says use either of these security schemes for all endpoints. |
#106610) ## Summary Add OpenAPI specs for all the missing routes mentioned in #79574 - [x] `/settings` [commit](da25a60) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-settings) - [x] `/outputs` ef14345 & 0c1be7e [PR docs start here](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-output) - [x] `/epm/packages/{pkgName}/stats` [commit](7d98448) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-package-stats) ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials Co-authored-by: John Schulz <[email protected]>
#106611) ## Summary Add OpenAPI specs for all the missing routes mentioned in #79574 - [x] `/settings` [commit](da25a60) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-settings) - [x] `/outputs` ef14345 & 0c1be7e [PR docs start here](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-output) - [x] `/epm/packages/{pkgName}/stats` [commit](7d98448) & [PR docs](http://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/jfsiii/kibana/79574-missing-from-openapi/x-pack/plugins/fleet/common/openapi/bundled.json#operation/get-package-stats) ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials Co-authored-by: John Schulz <[email protected]>
Api key for auth is a Kibana-wide API option, so closing as rest of items are fixed. |
@jen-huang Regardless of where it originates, it should still be documented, IMO. The change is pretty straightforward #79574 (comment)
What about the endpoints at the top of the description? Those are routes I saw in https://github.com/elastic/kibana/blob/master/x-pack/plugins/fleet/common/constants/routes.ts but not the spec. If they're no longer active, they should be removed from
|
Some items are missing from
common/openapi/endpoint.yaml
apikeyId:apiKey
for header valueMissing endpoints
/data_streams
/agent_policies/{agentPolicyId}/full
/agent_policies/{agentPolicyId}/download
/check-permissions
/service-tokens
/setup/preconfiguration
/agents/{agentId}/checkin
/agents/{agentId}/actions
/settings
[Fleet] OpenAPI add specs for all missing routes from #79574 #106594/outputs
[Fleet] OpenAPI add specs for all missing routes from #79574 #106594/agents/bulk_unenroll
PR/agents/{agentId}/reassign
PR/agents/bulk_reassign
PR/epm/packages/{pkgName}/stats
[Fleet] OpenAPI add specs for all missing routes from #79574 #106594Missing responses
paths/agent_status.yaml
paths/agents@{agent_id}@events.yaml
paths/agents@{agent_id}@unenroll.yaml
paths/enrollment_api_keys.yaml
paths/enrollment_api_keys@{key_id}.yaml
paths/agents@{agent_id}.yaml
paths/install@{os_type}.yaml
The text was updated successfully, but these errors were encountered: