mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Security Solution][Endpoint][Response Actions] Enable feature flag for execute
by default (#155686)
From 8.8 `responseActionExecuteEnabled` is set to `true` by default ## Summary Enables the `responseActionExecuteEnabled` feature flag by default for `execute` response action. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
This commit is contained in:
parent
bfe5aeed48
commit
8c8bb8f798
5 changed files with 7 additions and 4 deletions
|
@ -96,7 +96,7 @@ export const allowedExperimentalValues = Object.freeze({
|
|||
/**
|
||||
* Enables the `execute` endpoint response action
|
||||
*/
|
||||
responseActionExecuteEnabled: false,
|
||||
responseActionExecuteEnabled: true,
|
||||
|
||||
/**
|
||||
* Enables top charts on Alerts Page
|
||||
|
|
|
@ -14,7 +14,9 @@ const ExperimentalFeaturesServiceMock = {
|
|||
get: jest.fn(() => {
|
||||
const ff: ExperimentalFeatures = {
|
||||
...allowedExperimentalValues,
|
||||
responseActionExecuteEnabled: true,
|
||||
// add new experimental features set to `true` here
|
||||
// e.g.
|
||||
// responseActionDownloadFileEnabled: true,
|
||||
};
|
||||
|
||||
return ff;
|
||||
|
|
|
@ -46,8 +46,7 @@ describe('When defining a kibana role for Endpoint security access', () => {
|
|||
'Host Isolation Perform the "isolate" and "release" response actions.Host Isolation sub-feature privilegeAllNone',
|
||||
'Process Operations Perform process-related response actions in the response console.Process Operations sub-feature privilegeAllNone',
|
||||
'File Operations Perform file-related response actions in the response console.File Operations sub-feature privilegeAllNone',
|
||||
// TODO: uncomment item below once Execute response action FF is enabled
|
||||
// 'Execute Operations Perform script execution on the endpoint.Execute Operations sub-feature privilegeAllNone',
|
||||
'Execute Operations Perform script execution on the endpoint.Execute Operations sub-feature privilegeAllNone',
|
||||
]);
|
||||
});
|
||||
|
||||
|
|
|
@ -52,6 +52,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
'host_isolation_all',
|
||||
'process_operations_all',
|
||||
'file_operations_all',
|
||||
'execute_operations_all',
|
||||
],
|
||||
uptime: ['all', 'read', 'minimal_all', 'minimal_read'],
|
||||
securitySolutionCases: ['all', 'read', 'minimal_all', 'minimal_read', 'cases_delete'],
|
||||
|
|
|
@ -124,6 +124,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
'trusted_applications_all',
|
||||
'trusted_applications_read',
|
||||
'file_operations_all',
|
||||
'execute_operations_all',
|
||||
],
|
||||
uptime: ['all', 'read', 'minimal_all', 'minimal_read'],
|
||||
securitySolutionCases: ['all', 'read', 'minimal_all', 'minimal_read', 'cases_delete'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue