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

[Fleet] Fix parsing policy_templates_behavior from archive #205770

Conversation

nchaulet
Copy link
Member

@nchaulet nchaulet commented Jan 7, 2025

Summary

Fix parsing policy_templates_behavior from archive to not show installed packages with policy_templates_behavior: individual_policies in the integrations list page.

Test

Install elastic_connector:0.0.5 and verify it's not displayed in the integration list

Screenshot 2025-01-07 at 10 24 00 AM

Todo

  • add tests

@nchaulet nchaulet added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Jan 7, 2025
@nchaulet nchaulet self-assigned this Jan 7, 2025
@nchaulet nchaulet requested a review from a team as a code owner January 7, 2025 15:30
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@nchaulet nchaulet enabled auto-merge (squash) January 7, 2025 15:43
@nchaulet nchaulet merged commit ba6d977 into elastic:main Jan 7, 2025
16 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @nchaulet

@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 Jan 7, 2025
…5770) (#205787)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Fleet] Fix parsing policy_templates_behavior from archive
(#205770)](#205770)

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

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

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-07T17:01:56Z","message":"[Fleet]
Fix parsing policy_templates_behavior from archive
(#205770)","sha":"ba6d977a3ceb2e31e4517ed69f2cd9c05ad6ccd7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor"],"title":"[Fleet]
Fix parsing policy_templates_behavior from
archive","number":205770,"url":"https://github.com/elastic/kibana/pull/205770","mergeCommit":{"message":"[Fleet]
Fix parsing policy_templates_behavior from archive
(#205770)","sha":"ba6d977a3ceb2e31e4517ed69f2cd9c05ad6ccd7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205770","number":205770,"mergeCommit":{"message":"[Fleet]
Fix parsing policy_templates_behavior from archive
(#205770)","sha":"ba6d977a3ceb2e31e4517ed69f2cd9c05ad6ccd7"}}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <[email protected]>
kowalczyk-krzysztof pushed a commit to kowalczyk-krzysztof/kibana that referenced this pull request Jan 7, 2025
crespocarlos pushed a commit to crespocarlos/kibana that referenced this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants