Skip to content

Conversation

biscout42
Copy link
Contributor

Fixes #726

 private location is agnostic to kibana spaces. The field space_id was previously incorrectly used, because its value was a `namespace` of agent policy (data stream).

This PR removes the field. As there is no way to update a private location via API (only replace), there is no benefit to introduce `namespace` field for private locations.
@biscout42 biscout42 enabled auto-merge (squash) August 28, 2024 14:53
Copy link
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC, the space id parameter in the API is more or less ignored, and instead the namespace/space_id is inherited from the agent policy? Assuming that's correct, LGTM

Can we get a changelog entry for this one calling out the breaking change.

@biscout42
Copy link
Contributor Author

Thanks, @tobio ,

IIUC, the space id parameter in the API is more or less ignored, and instead the namespace/space_id is inherited from the agent policy?

Yes, that is correct.

@biscout42 biscout42 changed the title remove space_id paramter from private locations remove space_id parameter from private locations Sep 9, 2024
@biscout42 biscout42 merged commit 7b9f454 into elastic:main Sep 9, 2024
20 checks passed
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.

[Bug] Inconsistent state for elasticstack_kibana_synthetics_private_location space_id

2 participants