Skip to content

[Agentless] Fix agentless global_data_tags#199247

Merged
seanrathier merged 3 commits intoelastic:mainfrom
opauloh:agentless-api/fix-global-data-tags
Nov 7, 2024
Merged

[Agentless] Fix agentless global_data_tags#199247
seanrathier merged 3 commits intoelastic:mainfrom
opauloh:agentless-api/fix-global-data-tags

Conversation

@opauloh
Copy link
Contributor

@opauloh opauloh commented Nov 7, 2024

Summary

It closes #199091

It fixes the Serverless Quality Gates that started to fail once a fix to enable sending the global_data_tags was merged here.

In order to fix the issue, it updates the Agentless Tags to match the format expected in the Agentless Schema

Note: An investigation ticket will be added as part of the Reliability epic on how can we ensure the Agentless Schema and Kibana are in sync

@opauloh opauloh added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Cloud Security Cloud Security team related backport:version Backport to applied version labels v8.17.0 labels Nov 7, 2024
@opauloh opauloh requested a review from seanrathier November 7, 2024 01:27
@opauloh opauloh requested review from a team as code owners November 7, 2024 01:27
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Nov 7, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

Copy link
Contributor

@juliaElastic juliaElastic left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@maxcold maxcold left a comment

Choose a reason for hiding this comment

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

awesome work on finding the root cause @opauloh !

Copy link
Contributor

@seanrathier seanrathier left a comment

Choose a reason for hiding this comment

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

Thanks for digging into this! Appreciated!

@seanrathier seanrathier merged commit ef205b8 into elastic:main Nov 7, 2024
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11725099149

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 7, 2024
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 7, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Agentless] Fix agentless global_data_tags
(#199247)](#199247)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Paulo
Silva","email":"paulo.henrique@elastic.co"},"sourceCommit":{"committedDate":"2024-11-07T14:32:47Z","message":"[Agentless]
Fix agentless global_data_tags
(#199247)","sha":"ef205b88888aa2240951de1a750b33dcec77c6b4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","Team:Cloud
Security","backport:version","v8.17.0"],"title":"[Agentless] Fix
agentless
global_data_tags","number":199247,"url":"https://github.com/elastic/kibana/pull/199247","mergeCommit":{"message":"[Agentless]
Fix agentless global_data_tags
(#199247)","sha":"ef205b88888aa2240951de1a750b33dcec77c6b4"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199247","number":199247,"mergeCommit":{"message":"[Agentless]
Fix agentless global_data_tags
(#199247)","sha":"ef205b88888aa2240951de1a750b33dcec77c6b4"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Paulo Silva <paulo.henrique@elastic.co>
mbondyra pushed a commit to mbondyra/kibana that referenced this pull request Nov 8, 2024
@opauloh opauloh added v8.16.0 and removed v8.16.0 labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related Team:Fleet Team label for Observability Data Collection Fleet team v8.17.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FLAKY ON MKI] x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture/agentless_api/create_agent.ts`

6 participants