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

[Security Solution] ensure fleetfilenotfound is reported as a 404 #164738

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

pzl
Copy link
Member

@pzl pzl commented Aug 24, 2023

Summary

This fixes a bug during upgrade, wherein files uploaded prior to version 8.10 are deleted, but the error messaging displayed a 500 error. This has been fixed to show a proper message

2023-08-24-093905_scrot

For maintainers

@pzl pzl added release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.10.0 labels Aug 24, 2023
@pzl pzl requested a review from a team as a code owner August 24, 2023 15:29
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@pzl pzl requested a review from kevinlog August 24, 2023 15:29
@pzl pzl requested a review from ashokaditya August 24, 2023 15:42
Copy link
Member

@ashokaditya ashokaditya left a comment

Choose a reason for hiding this comment

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

🚀 Needs a test for this too. We can add it in a new PR as well

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pzl pzl merged commit 9e89a96 into elastic:main Aug 24, 2023
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.10 An unhandled error occurred. Please see the logs for details

Manual backport

To create the backport manually run:

node scripts/backport --pr 164738

Questions ?

Please refer to the Backport tool documentation

@ashokaditya
Copy link
Member

💚 All backports created successfully

Status Branch Result
8.10

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

Questions ?

Please refer to the Backport tool documentation

ashokaditya pushed a commit to ashokaditya/kibana that referenced this pull request Aug 25, 2023
ashokaditya added a commit that referenced this pull request Aug 25, 2023
…404 (#164738) (#164836)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] ensure fleetfilenotfound is reported as a 404
(#164738)](#164738)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Dan
Panzarella","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-08-24T19:48:10Z","message":"[Security
Solution] ensure fleetfilenotfound is reported as a 404
(#164738)","sha":"9e89a9694b9bacc275f8d2125200b53447a13f1f","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.10.0","v8.11.0"],"number":164738,"url":"https://github.com/elastic/kibana/pull/164738","mergeCommit":{"message":"[Security
Solution] ensure fleetfilenotfound is reported as a 404
(#164738)","sha":"9e89a9694b9bacc275f8d2125200b53447a13f1f"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164738","number":164738,"mergeCommit":{"message":"[Security
Solution] ensure fleetfilenotfound is reported as a 404
(#164738)","sha":"9e89a9694b9bacc275f8d2125200b53447a13f1f"}}]}]
BACKPORT-->

Co-authored-by: Dan Panzarella <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.10.0 v8.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants