Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { ROLE } from '../../../../config/services/security_solution_edr_workflow
export default function endpointAPIIntegrationTests(providerContext: FtrProviderContext) {
const { loadTestFile, getService } = providerContext;

// FLAKY: https://github.com/elastic/kibana/issues/250973
describe.skip('Endpoint Policy', function () {
describe('Endpoint Policy', function () {
const ingestManager = getService('ingestManager');
const rolesUsersProvider = getService('rolesUsersProvider');
const kbnClient = getService('kibanaServer');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { ROLE } from '../../../../config/services/security_solution_edr_workflow
export default function endpointAPIIntegrationTests(providerContext: FtrProviderContext) {
const { loadTestFile, getService } = providerContext;

// FLAKY: https://github.com/elastic/kibana/issues/250458
describe.skip('Endpoint plugin', function () {
describe('Endpoint plugin', function () {
const ingestManager = getService('ingestManager');
const rolesUsersProvider = getService('rolesUsersProvider');
const kbnClient = getService('kibanaServer');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ import { ROLE } from '../../../../config/services/security_solution_edr_workflow
export default function endpointAPIIntegrationTests(providerContext: FtrProviderContext) {
const { loadTestFile, getService } = providerContext;

// FLAKY: https://github.com/elastic/kibana/issues/250782
// FLAKY: https://github.com/elastic/kibana/issues/250805
describe.skip('Endpoint plugin', function () {
describe('Endpoint plugin', function () {
const ingestManager = getService('ingestManager');
const rolesUsersProvider = getService('rolesUsersProvider');
const kbnClient = getService('kibanaServer');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
import type { FtrProviderContext } from '../../../../ftr_provider_context_edr_workflows';

export default function endpointAPIIntegrationTests({ loadTestFile }: FtrProviderContext) {
// FLAKY: https://github.com/elastic/kibana/issues/250957
describe.skip('Endpoint related user role migrations, feature deprecations', function () {
describe('Endpoint related user role migrations, feature deprecations', function () {
loadTestFile(require.resolve('./siem_artifact_api_actions'));
loadTestFile(require.resolve('./siem_artifact_sub_privileges'));
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { ROLE } from '../../../../config/services/security_solution_edr_workflow
export default function endpointAPIIntegrationTests(providerContext: FtrProviderContext) {
const { loadTestFile, getService } = providerContext;

// FLAKY: https://github.com/elastic/kibana/issues/250698
describe.skip('Endpoint plugin', function () {
describe('Endpoint plugin', function () {
const ingestManager = getService('ingestManager');
const rolesUsersProvider = getService('rolesUsersProvider');
const kbnClient = getService('kibanaServer');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export default function ({ getService }: FtrProviderContext) {
.on('error', createSupertestErrorLogger(log))
.on('response', addScriptToAfterEachCleanup)
.field('name', 'test script')
.field('fileType', 'script')
.field('platform', JSON.stringify(['linux']))
.attach('file', buildFileBuffer(), 'script_file.sh')
.expect(200);
Expand Down Expand Up @@ -121,6 +122,7 @@ export default function ({ getService }: FtrProviderContext) {
.on('error', createSupertestErrorLogger(log).ignoreCodes([403]))
.on('response', addScriptToAfterEachCleanup)
.field('name', 'test script')
.field('fileType', 'script')
.field('platform', JSON.stringify(['linux']))
.attach('file', buildFileBuffer(), 'script_file.sh')
.expect(403);
Expand All @@ -133,6 +135,7 @@ export default function ({ getService }: FtrProviderContext) {
.on('error', createSupertestErrorLogger(log).ignoreCodes([403]))
.on('response', addScriptToAfterEachCleanup)
.field('name', 'test script')
.field('fileType', 'script')
.field('platform', JSON.stringify(['linux']))
.attach('file', buildFileBuffer(), 'script_file.sh')
.expect(403);
Expand All @@ -145,6 +148,7 @@ export default function ({ getService }: FtrProviderContext) {
.on('error', createSupertestErrorLogger(log))
.on('response', addScriptToAfterEachCleanup)
.field('name', 'test script')
.field('fileType', 'script')
.field('platform', JSON.stringify(['linux']))
.attach('file', buildFileBuffer(), 'script_file.sh')
.expect(200);
Expand Down Expand Up @@ -218,7 +222,8 @@ export default function ({ getService }: FtrProviderContext) {
.expect(403);
});

it('should delete script when user has WRITE privileges', async () => {
// https://github.com/elastic/security-team/issues/16593
it.skip('should delete script when user has WRITE privileges', async () => {
await writeScriptsSuperTest
.delete(SCRIPTS_LIBRARY_ROUTE_ITEM.replace('{script_id}', scriptId))
.set('kbn-xsrf', 'true')
Expand Down
Loading