[Security Solution] Add advanced option for allowing/disallowing host isolation in Linux (#148921)

## Summary

Adds an advanced option for Linux in Endpoint policy to allow/disallow
host isolation

<img width="1724" alt="image"
src="https://user-images.githubusercontent.com/56395104/212413167-dd57e76d-2107-4a4f-8262-5b971a7db4e9.png">

<img width="1728" alt="image"
src="https://user-images.githubusercontent.com/56395104/213286964-77e4466b-23d5-40a0-b52b-5d2811971e0b.png">

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Kevin Logan 2023-01-18 21:05:23 -05:00 committed by GitHub
parent 96885d788a
commit 27855173a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1048,4 +1048,15 @@ export const AdvancedPolicySchema: AdvancedPolicySchemaType[] = [
}
),
},
{
key: 'linux.advanced.host_isolation.allowed',
first_supported_version: '8.6.1',
documentation: i18n.translate(
'xpack.securitySolution.endpoint.policy.advanced.linux.advanced.host_isolation.allowed',
{
defaultMessage:
'A value of false disallows host isolation activity on Linux endpoints, regardless of whether host isolation is supported. Note that if a host is currently not isolated, it will refuse to isolate, and likewise, a host will refuse to release if it is currently isolated. A value of true will allow Linux endpoints to isolate if supported. Default: true',
}
),
},
];