Skip to content

Commit 15bbfee

Browse files
Merge branch 'master' into upgrade-lodash-4-final
2 parents 80a5f21 + 0e008e3 commit 15bbfee

3 files changed

Lines changed: 23 additions & 4 deletions

File tree

docs/settings/reporting-settings.asciidoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,25 @@ When `xpack.reporting.capture.browser.type` is set to `chromium` (default) you c
210210
large exports from causing performance and storage issues.
211211
Defaults to `10485760` (10mB).
212212

213+
| `xpack.reporting.csv.scroll.size`
214+
| Number of documents retrieved from {es} for each scroll iteration during a CSV
215+
export.
216+
Defaults to `500`.
217+
218+
| `xpack.reporting.csv.scroll.duration`
219+
| Amount of time allowed before {kib} cleans the scroll context during a CSV export.
220+
Defaults to `30s`.
221+
222+
| `xpack.reporting.csv.checkForFormulas`
223+
| Enables a check that warns you when there's a potential formula involved in the output (=, -, +, and @ chars).
224+
See OWASP: https://www.owasp.org/index.php/CSV_Injection
225+
Defaults to `true`.
226+
227+
| `xpack.reporting.csv.enablePanelActionDownload`
228+
| Enables CSV export from a saved search on a dashboard. This action is available in the dashboard
229+
panel menu for the saved search.
230+
Defaults to `true`.
231+
213232
|===
214233

215234
[float]

x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export interface Eval {
128128

129129
export interface RegressionEvaluateResponse {
130130
regression: {
131-
mean_squared_error: {
131+
mse: {
132132
value: number;
133133
};
134134
r_squared: {
@@ -311,7 +311,7 @@ export const isRegressionEvaluateResponse = (arg: any): arg is RegressionEvaluat
311311
return (
312312
keys.length === 1 &&
313313
keys[0] === ANALYSIS_CONFIG_TYPE.REGRESSION &&
314-
arg?.regression?.mean_squared_error !== undefined &&
314+
arg?.regression?.mse !== undefined &&
315315
arg?.regression?.r_squared !== undefined
316316
);
317317
};
@@ -410,7 +410,7 @@ export const useRefreshAnalyticsList = (
410410
const DEFAULT_SIG_FIGS = 3;
411411

412412
export function getValuesFromResponse(response: RegressionEvaluateResponse) {
413-
let meanSquaredError = response?.regression?.mean_squared_error?.value;
413+
let meanSquaredError = response?.regression?.mse?.value;
414414

415415
if (meanSquaredError) {
416416
meanSquaredError = Number(meanSquaredError.toPrecision(DEFAULT_SIG_FIGS));

x-pack/test/api_integration/apis/fleet/agent_flow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function (providerContext: FtrProviderContext) {
1818
const supertestWithoutAuth = getSupertestWithoutAuth(providerContext);
1919
const esClient = getService('es');
2020

21-
describe('fleet_agent_flow', () => {
21+
describe.skip('fleet_agent_flow', () => {
2222
before(async () => {
2323
await esArchiver.load('empty_kibana');
2424
});

0 commit comments

Comments
 (0)