-
Notifications
You must be signed in to change notification settings - Fork 451
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
all: harmonise http status error return behaviour #10346
Conversation
d731526
to
c6d42ca
Compare
🚀 Benchmarks reportPackage
|
Data stream | Previous EPS | New EPS | Diff (%) | Result |
---|---|---|---|---|
watchlist_hit |
3759.4 | 2732.24 | -1027.16 (-27.32%) | 💔 |
Package crowdstrike
👍(3) 💚(0) 💔(1)
Expand to view
Data stream | Previous EPS | New EPS | Diff (%) | Result |
---|---|---|---|---|
falcon |
14084.51 | 10101.01 | -3983.5 (-28.28%) | 💔 |
Package qualys_vmdr
👍(2) 💚(0) 💔(1)
Expand to view
Data stream | Previous EPS | New EPS | Diff (%) | Result |
---|---|---|---|---|
user_activity |
7194.24 | 5882.35 | -1311.89 (-18.24%) | 💔 |
Package ti_abusech
👍(1) 💚(1) 💔(2)
Expand to view
Data stream | Previous EPS | New EPS | Diff (%) | Result |
---|---|---|---|---|
malwarebazaar |
3389.83 | 2469.14 | -920.69 (-27.16%) | 💔 |
url |
5208.33 | 3322.26 | -1886.07 (-36.21%) | 💔 |
Package ti_crowdstrike
👍(1) 💚(0) 💔(1)
Expand to view
Data stream | Previous EPS | New EPS | Diff (%) | Result |
---|---|---|---|---|
ioc |
5617.98 | 3278.69 | -2339.29 (-41.64%) | 💔 |
Package wiz
👍(2) 💚(0) 💔(1)
Expand to view
Data stream | Previous EPS | New EPS | Diff (%) | Result |
---|---|---|---|---|
issue |
2564.1 | 1584.79 | -979.31 (-38.19%) | 💔 |
To see the full report comment with /test benchmark fullreport
c6d42ca
to
edf5db7
Compare
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
edf5db7
to
c8fb49a
Compare
/test |
Return a single object with a guaranteed non-empty message when a non-successful status is returned by an API request. Prefix the error message with the HTTP method used to get the response. A single object is used since it will result in a degraded status being raised by elastic agent. * carbon_black_cloud * crowdstrike * qualys_vmdr * snyk * symantec_edr_cloud * tenable_io * ti_abusech * ti_crowdstrike * ti_threatconnect * wiz Also fix an incorrect test in ti_crowdstrike that was exposed by the presence of an non-empty error message.
c8fb49a
to
eb1bd6a
Compare
💚 Build Succeeded
History
cc @efd6 |
Quality Gate failedFailed conditions |
Package carbon_black_cloud - 2.3.0 containing this change is available at https://epr.elastic.co/search?package=carbon_black_cloud |
Package crowdstrike - 1.38.0 containing this change is available at https://epr.elastic.co/search?package=crowdstrike |
Package qualys_vmdr - 3.4.0 containing this change is available at https://epr.elastic.co/search?package=qualys_vmdr |
Package snyk - 1.24.0 containing this change is available at https://epr.elastic.co/search?package=snyk |
Package symantec_edr_cloud - 1.4.0 containing this change is available at https://epr.elastic.co/search?package=symantec_edr_cloud |
Package tenable_io - 3.2.0 containing this change is available at https://epr.elastic.co/search?package=tenable_io |
Package ti_abusech - 2.3.0 containing this change is available at https://epr.elastic.co/search?package=ti_abusech |
Package ti_threatconnect - 1.2.0 containing this change is available at https://epr.elastic.co/search?package=ti_threatconnect |
Package wiz - 1.4.0 containing this change is available at https://epr.elastic.co/search?package=wiz |
Proposed commit message
Return a single object with a guaranteed non-empty message when a non-successful status is returned by an API request. Prefix the error message with the HTTP method used to get the response.
A single object is used since it will result in a degraded status being raised by elastic agent.
Also fix an incorrect test in ti_crowdstrike that was exposed by the presence of a present but empty error message.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots