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

[Alerting] event log for action execution writes space_id instead of namespace #63134

Closed
pmuellr opened this issue Apr 9, 2020 · 1 comment · Fixed by #62974
Closed

[Alerting] event log for action execution writes space_id instead of namespace #63134

pmuellr opened this issue Apr 9, 2020 · 1 comment · Fixed by #62974
Labels
Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.8.0

Comments

@pmuellr
Copy link
Member

pmuellr commented Apr 9, 2020

In the event log for action execution, we're currently writing the space_id of a namespace into the document instead of the namespace (namespace == undefined yields space_id default). Specifically, we're writing namespace: "default" for the default space, but instead shouldn't be writing any value, or sending namespace: undefined (should be able to do either).

The code writing generating that document is here:

const event: IEvent = {
event: { action: EVENT_LOG_ACTIONS.execute },
kibana: { namespace, saved_objects: [{ type: 'action', id: actionId }] },
};

@pmuellr pmuellr added Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.8.0 labels Apr 9, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.8.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants