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

[Synthetics] Shared api query schema - Remove fields from QuerySchema #153472

Closed
Tracked by #153396
dominiqueclarke opened this issue Mar 22, 2023 · 1 comment · Fixed by #158363 or #158449
Closed
Tracked by #153396

[Synthetics] Shared api query schema - Remove fields from QuerySchema #153472

dominiqueclarke opened this issue Mar 22, 2023 · 1 comment · Fixed by #158363 or #158449
Assignees
Labels
Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability

Comments

@dominiqueclarke
Copy link
Contributor

QuerySchema in https://github.com/elastic/kibana/blob/main/x-pack/plugins/synthetics/server/routes/common.ts#L29 is shared by a few Synthetics HTTP apis.

To prepare for serverless, we must isolate SO attributes from HTTP interfaces.

To account for this change, we should remove fields which directly references SO fields, from this QuerySchema.

Helper functions that rely on fields should have their fields passed server-side. We should not depend on fields being passed from the client, or allow the client to pass arbitrary fields.

@dominiqueclarke dominiqueclarke added the Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability label Mar 22, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability
Projects
None yet
3 participants