Skip to content

Commit 648b913

Browse files
Merge branch '7.9' into backport/7.9/pr-71452
2 parents 03c2356 + 8ea0417 commit 648b913

21 files changed

Lines changed: 160 additions & 53 deletions

File tree

test/functional/apps/dashboard/embeddable_rendering.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ export default function ({ getService, getPageObjects }) {
9898
await dashboardExpect.vegaTextsDoNotExist(['5,000']);
9999
};
100100

101-
// FLAKY: https://github.com/elastic/kibana/issues/46305
102-
describe.skip('dashboard embeddable rendering', function describeIndexTests() {
101+
describe('dashboard embeddable rendering', function describeIndexTests() {
103102
before(async () => {
104103
await esArchiver.load('dashboard/current/kibana');
105104
await kibanaServer.uiSettings.replace({

x-pack/plugins/canvas/public/state/selectors/workpad.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ export function getRenderedWorkpad(state: State) {
497497
const workpad = getWorkpad(state);
498498

499499
// eslint-disable-next-line no-unused-vars
500-
const { pages, ...rest } = workpad;
500+
const { pages, variables, ...rest } = workpad;
501501

502502
return {
503503
pages: renderedPages,

x-pack/plugins/canvas/shareable_runtime/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ There are a number of options for the build script:
207207

208208
### Prerequisite
209209

210-
Before testing or running this PR locally, you **must** run `node scripts/runtime` from `/canvas` _after_ `yarn kbn bootstrap` and _before_ starting Kibana. It is only built automatically when Kibana is built to avoid slowing down other development activities.
210+
Before testing or running this PR locally, you **must** run `node scripts/shareable_runtime` from `/canvas` _after_ `yarn kbn bootstrap` and _before_ starting Kibana. It is only built automatically when Kibana is built to avoid slowing down other development activities.
211211

212212
### Webpack Dev Server
213213

x-pack/plugins/canvas/shareable_runtime/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ module.exports = {
5555
options: {
5656
presets: [require.resolve('@kbn/babel-preset/webpack_preset')],
5757
},
58-
sideEffects: false,
5958
},
6059
{
6160
test: /\.tsx?$/,
@@ -92,6 +91,7 @@ module.exports = {
9291
},
9392
},
9493
],
94+
sideEffects: true,
9595
},
9696
{
9797
test: /\.module\.s(a|c)ss$/,

x-pack/plugins/ingest_manager/common/openapi/spec_oas3.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4203,6 +4203,7 @@
42034203
"FAILED",
42044204
"STOPPING",
42054205
"STOPPED",
4206+
"DEGRADED",
42064207
"DATA_DUMP",
42074208
"ACKNOWLEDGED",
42084209
"UNKNOWN"

x-pack/plugins/ingest_manager/common/types/models/agent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface NewAgentEvent {
5353
| 'FAILED'
5454
| 'STOPPING'
5555
| 'STOPPED'
56+
| 'DEGRADED'
5657
// Action results
5758
| 'DATA_DUMP'
5859
// Actions

x-pack/plugins/ingest_manager/public/applications/ingest_manager/sections/agent_config/create_package_config_page/step_define_package_config.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,17 @@ export const StepDefinePackageConfig: React.FunctionComponent<{
4747
.sort();
4848

4949
updatePackageConfig({
50-
name: `${packageInfo.name}-${
51-
dsWithMatchingNames.length ? dsWithMatchingNames[dsWithMatchingNames.length - 1] + 1 : 1
52-
}`,
50+
name:
51+
// For Endpoint packages, the user must fill in the name, thus we don't attempt to generate
52+
// a default one here.
53+
// FIXME: Improve package configs name uniqueness - https://github.com/elastic/kibana/issues/72948
54+
packageInfo.name !== 'endpoint'
55+
? `${packageInfo.name}-${
56+
dsWithMatchingNames.length
57+
? dsWithMatchingNames[dsWithMatchingNames.length - 1] + 1
58+
: 1
59+
}`
60+
: '',
5361
package: {
5462
name: packageInfo.name,
5563
title: packageInfo.title,

x-pack/plugins/ingest_manager/public/applications/ingest_manager/sections/fleet/agent_details_page/components/type_labels.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ export const SUBTYPE_LABEL: { [key in AgentEvent['subtype']]: JSX.Element } = {
9595
/>
9696
</EuiBadge>
9797
),
98+
DEGRADED: (
99+
<EuiBadge color="hollow">
100+
<FormattedMessage
101+
id="xpack.ingestManager.agentEventSubtype.degradedLabel"
102+
defaultMessage="Degraded"
103+
/>
104+
</EuiBadge>
105+
),
98106
DATA_DUMP: (
99107
<EuiBadge color="hollow">
100108
<FormattedMessage

x-pack/plugins/ingest_manager/server/types/models/agent.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ const AgentEventBase = {
2222
]),
2323
subtype: schema.oneOf([
2424
// State
25-
schema.literal('RUNNING'),
26-
schema.literal('STARTING'),
27-
schema.literal('IN_PROGRESS'),
28-
schema.literal('CONFIG'),
29-
schema.literal('FAILED'),
30-
schema.literal('STOPPING'),
31-
schema.literal('STOPPED'),
25+
schema.oneOf([
26+
schema.literal('RUNNING'),
27+
schema.literal('STARTING'),
28+
schema.literal('IN_PROGRESS'),
29+
schema.literal('CONFIG'),
30+
schema.literal('FAILED'),
31+
schema.literal('STOPPING'),
32+
schema.literal('STOPPED'),
33+
schema.literal('DEGRADED'),
34+
]),
3235
// Action results
3336
schema.literal('DATA_DUMP'),
3437
// Actions

x-pack/plugins/security_solution/public/common/components/autocomplete/operators.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,17 @@ export const EXCEPTION_OPERATORS: OperatorOption[] = [
9090
isInListOperator,
9191
isNotInListOperator,
9292
];
93+
94+
export const EXCEPTION_OPERATORS_SANS_LISTS: OperatorOption[] = [
95+
isOperator,
96+
isNotOperator,
97+
isOneOfOperator,
98+
isNotOneOfOperator,
99+
existsOperator,
100+
doesNotExistOperator,
101+
];
102+
103+
export const EXCEPTION_OPERATORS_ONLY_LISTS: OperatorOption[] = [
104+
isInListOperator,
105+
isNotInListOperator,
106+
];

0 commit comments

Comments
 (0)