mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Security Solution][Endpoint][Response Actions] response action history execute
action filter behind FF (#150016)
> **Note**
> **This PR ensures `execute` action filter doesn't show in `8.7`**
## Summary

This PR hides the `execute` action in the response action history filter
dropdown.
Small leftover from elastic/kibana/pull/149589
The [unit tests still use the updated list of
commands](a373ac7336/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx (L688)
)
and do not need to change.
This commit is contained in:
parent
5389639943
commit
b47cbf7b83
1 changed files with 9 additions and 0 deletions
|
@ -242,6 +242,15 @@ export const useActionsLogFilter = ({
|
|||
return false;
|
||||
}
|
||||
|
||||
// TODO: remove this when `execute` is no longer behind FF
|
||||
// planned for 8.8
|
||||
if (
|
||||
commandName === 'execute' &&
|
||||
!ExperimentalFeaturesService.get().responseActionExecuteEnabled
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}).map((commandName) => ({
|
||||
key: commandName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue