Skip to content

Commit

Permalink
remove content references from post defend endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
KDKHD committed Feb 25, 2025
1 parent 5be647b commit 579c184
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
"use strict";
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const cypress_config_1 = require("@kbn/cypress-config");
// eslint-disable-next-line import/no-default-export
exports.default = (0, cypress_config_1.defineCypressConfig)({
defaultCommandTimeout: 60000,
requestTimeout: 60000,
responseTimeout: 60000,
execTimeout: 120000,
pageLoadTimeout: 120000,
retries: {
runMode: 2,
},
env: {
grepFilterSpecs: false,
},
screenshotsFolder: '../../../../../target/kibana-fleet/cypress/screenshots',
trashAssetsBeforeRuns: false,
video: false,
videosFolder: '../../../../../target/kibana-fleet/cypress/videos',
viewportHeight: 900,
viewportWidth: 1440,
screenshotOnRunFailure: true,
e2e: {
baseUrl: 'http://localhost:5601',
experimentalRunAllSpecs: true,
experimentalMemoryManagement: true,
numTestsKeptInMemory: 3,
specPattern: './cypress/e2e/space_awareness/**/*.cy.ts',
supportFile: './cypress/support/e2e.ts',
setupNodeEvents(on, config) {
// eslint-disable-next-line @typescript-eslint/no-var-requires, @kbn/imports/no_boundary_crossing
return require('./cypress/plugins')(on, config);
},
},
});
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
DefendInsightsPostResponse,
API_VERSIONS,
Replacements,
newContentReferencesStore,
} from '@kbn/elastic-assistant-common';
import { transformError } from '@kbn/securitysolution-es-utils';
import { IRouter, Logger } from '@kbn/core/server';
Expand Down

0 comments on commit 579c184

Please sign in to comment.