Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ import {
waitForPageToBeLoaded,
} from '../../../../tasks/rule_details';

// https://github.com/elastic/kibana/issues/179943

describe('Related integrations', { tags: ['@ess', '@serverless', '@skipInServerlessMKI'] }, () => {
const DATA_STREAM_NAME = 'logs-related-integrations-test';
const PREBUILT_RULE_NAME = 'Prebuilt rule with related integrations';
Expand All @@ -74,13 +72,15 @@ describe('Related integrations', { tags: ['@ess', '@serverless', '@skipInServerl
},
{ package: 'system', version: '1.17.0' },
];

const PREBUILT_RULE = createRuleAssetSavedObject({
name: PREBUILT_RULE_NAME,
index: [DATA_STREAM_NAME],
query: '*:*',
rule_id: 'rule_1',
related_integrations: RELATED_INTEGRATIONS,
});

const EXPECTED_RELATED_INTEGRATIONS: ExpectedRelatedIntegration[] = [
{
title: 'Auditd Logs',
Expand All @@ -102,6 +102,7 @@ describe('Related integrations', { tags: ['@ess', '@serverless', '@skipInServerl
status: 'Enabled',
},
];

const EXPECTED_KNOWN_RELATED_INTEGRATIONS = EXPECTED_RELATED_INTEGRATIONS.filter((x) =>
Boolean(x.status)
);
Expand Down