-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution][Exceptions][API testing] Move and restructures exception groups in the new api integration test folder #168700
Merged
WafaaNasr
merged 20 commits into
elastic:main
from
WafaaNasr:move-restructure-exception-api-tests
Oct 18, 2023
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
30a3252
move exception groups to new api tests folder and fix ess tests
WafaaNasr 27f4bf5
remove unused index
WafaaNasr 8c39e99
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine a0a9130
filter out brokenInServerless test, related to user roles
WafaaNasr 87383ae
:wqMerge branch 'move-restructure-exception-api-tests' of https://git…
WafaaNasr a582021
Merge branch 'main' of https://github.com/elastic/kibana into move-re…
WafaaNasr 791289c
fix invalid imports
WafaaNasr 356c58a
remove old groups from ftr_config
WafaaNasr 736f8fb
Merge branch 'main' of https://github.com/elastic/kibana into move-re…
WafaaNasr 029a304
Merge branch 'main' into move-restructure-exception-api-tests
WafaaNasr ec56eb3
Merge branch 'main' into move-restructure-exception-api-tests
kibanamachine 5c86ff3
Merge branch 'main' into move-restructure-exception-api-tests
WafaaNasr d5be422
Merge branch 'main' of https://github.com/elastic/kibana into move-re…
WafaaNasr a58a56a
Merge branch 'main' of https://github.com/elastic/kibana into move-re…
WafaaNasr 232d57c
Merge branch 'main' into move-restructure-exception-api-tests
WafaaNasr c459a48
Merge branch 'move-restructure-exception-api-tests' of https://github…
WafaaNasr eea6379
Merge branch 'main' of https://github.com/elastic/kibana into move-re…
WafaaNasr 7b92552
rename tial license to default because serverless doesnot have trial …
WafaaNasr bf87050
updat ftr_config
WafaaNasr 18d2342
Merge branch 'main' of https://github.com/elastic/kibana into move-re…
WafaaNasr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
x-pack/test/detection_engine_api_integration/security_and_spaces/group2/config.ts
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
x-pack/test/detection_engine_api_integration/security_and_spaces/group2/index.ts
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
x-pack/test/detection_engine_api_integration/security_and_spaces/group3/index.ts
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
x-pack/test/detection_engine_api_integration/security_and_spaces/group7/index.ts
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
x-pack/test/detection_engine_api_integration/security_and_spaces/group8/index.ts
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
x-pack/test/detection_engine_api_integration/security_and_spaces/group9/config.ts
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
x-pack/test/detection_engine_api_integration/security_and_spaces/group9/index.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
.../default_license/exceptions/operators_data_types/date_numeric_types/configs/ess.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
import { FtrConfigProviderContext } from '@kbn/test'; | ||
|
||
export default async function ({ readConfigFile }: FtrConfigProviderContext) { | ||
const functionalConfig = await readConfigFile( | ||
require.resolve('../../../../../../../config/ess/config.base.trial') | ||
); | ||
|
||
return { | ||
...functionalConfig.getAll(), | ||
testFiles: [require.resolve('..')], | ||
junit: { | ||
reportName: | ||
'Detection Engine ESS/ Exception Operators Data Types API date_numeric_types Integration Tests', | ||
}, | ||
}; | ||
} |
16 changes: 16 additions & 0 deletions
16
...t_license/exceptions/operators_data_types/date_numeric_types/configs/serverless.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
import { createTestConfig } from '../../../../../../../config/serverless/config.base'; | ||
|
||
export default createTestConfig({ | ||
testFiles: [require.resolve('..')], | ||
junit: { | ||
reportName: | ||
'Detection Engine Serverless/ Exception Operators Data Types date_numeric_types API Integration Tests', | ||
}, | ||
}); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great point no!
Will remove it, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will remove it sorry in the next PR since I branched out from this PR and have many local changes 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here we go https://github.com/elastic/kibana/pull/169234/files#diff-afe1f42d5ac2006de8dc09069448b9e8734a6a950586376cd6e8eeb9110ab5f1R7