[8.12] Add Defend advanced policy option for callstack timeouts (#173431) (#173438)

# Backport

This will backport the following commits from `main` to `8.12`:
- [Add Defend advanced policy option for callstack timeouts
(#173431)](https://github.com/elastic/kibana/pull/173431)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gabriel
Landau","email":"42078554+gabriellandau@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-14T22:39:58Z","message":"Add
Defend advanced policy option for callstack timeouts (#173431)\n\n##
Summary\r\n\r\nNew Defend Advanced Policy option for 8.12.0 to allow
users to configure\r\ncallstack timeouts. This can be used to
troubleshoot performance issues.\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"e94a14ca1a1b318215514e169c584accb2412715","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.12.0","v8.13.0"],"number":173431,"url":"https://github.com/elastic/kibana/pull/173431","mergeCommit":{"message":"Add
Defend advanced policy option for callstack timeouts (#173431)\n\n##
Summary\r\n\r\nNew Defend Advanced Policy option for 8.12.0 to allow
users to configure\r\ncallstack timeouts. This can be used to
troubleshoot performance issues.\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"e94a14ca1a1b318215514e169c584accb2412715"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173431","number":173431,"mergeCommit":{"message":"Add
Defend advanced policy option for callstack timeouts (#173431)\n\n##
Summary\r\n\r\nNew Defend Advanced Policy option for 8.12.0 to allow
users to configure\r\ncallstack timeouts. This can be used to
troubleshoot performance issues.\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"e94a14ca1a1b318215514e169c584accb2412715"}}]}]
BACKPORT-->

Co-authored-by: Gabriel Landau <42078554+gabriellandau@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-12-14 18:51:36 -05:00 committed by GitHub
parent e62bc7d285
commit 1b761f16b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1162,6 +1162,17 @@ export const AdvancedPolicySchema: AdvancedPolicySchemaType[] = [
}
),
},
{
key: 'windows.advanced.events.callstacks.timeout_microseconds',
first_supported_version: '8.12',
documentation: i18n.translate(
'xpack.securitySolution.endpoint.policy.advanced.windows.advanced.events.callstacks.timeout_microseconds',
{
defaultMessage:
'Maximum runtime of inline callstack collection/enrichment. Default: 100000',
}
),
},
{
key: 'windows.advanced.artifacts.global.proxy_url',
first_supported_version: '8.8',