[Security Solution] Updates value list exceptions doc link (#142909)

This commit is contained in:
Davis Plumlee 2022-10-12 16:49:41 -04:00 committed by GitHub
parent bc3eadd22e
commit 987af1c79f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 1 deletions

View file

@ -375,6 +375,9 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
},
responseActions: `${SECURITY_SOLUTION_DOCS}response-actions.html`,
configureEndpointIntegrationPolicy: `${SECURITY_SOLUTION_DOCS}configure-endpoint-integration-policy.html`,
exceptions: {
value_lists: `${SECURITY_SOLUTION_DOCS}detections-ui-exceptions.html#manage-value-lists`,
},
},
query: {
eql: `${ELASTICSEARCH_DOCS}eql.html`,

View file

@ -277,6 +277,9 @@ export interface DocLinks {
readonly threatIntelInt: string;
readonly responseActions: string;
readonly configureEndpointIntegrationPolicy: string;
readonly exceptions: {
value_lists: string;
};
};
readonly query: {
readonly eql: string;

View file

@ -44,6 +44,7 @@ RUNTIME_DEPS = [
"//packages/kbn-securitysolution-io-ts-list-types",
"//packages/kbn-securitysolution-list-hooks",
"//packages/kbn-securitysolution-list-utils",
"//packages/kbn-doc-links",
"@npm//@elastic/eui",
"@npm//@testing-library/react",
"@npm//@testing-library/react-hooks",
@ -60,6 +61,7 @@ TYPES_DEPS = [
"//packages/kbn-securitysolution-io-ts-list-types:npm_module_types",
"//packages/kbn-securitysolution-list-hooks:npm_module_types",
"//packages/kbn-securitysolution-list-utils:npm_module_types",
"//packages/kbn-doc-links:npm_module_types",
"@npm//@elastic/eui",
"@npm//@testing-library/react",
"@npm//@testing-library/react-hooks",

View file

@ -11,6 +11,7 @@ import { EuiComboBox, EuiComboBoxOptionOption, EuiFormRow, EuiLink, EuiText } fr
import type { ListSchema } from '@kbn/securitysolution-io-ts-list-types';
import { useFindListsBySize } from '@kbn/securitysolution-list-hooks';
import { DataViewFieldBase } from '@kbn/es-query';
import { getDocLinks } from '@kbn/doc-links';
import { filterFieldToList } from '../filter_field_to_list';
import { getGenericComboBoxProps } from '../get_generic_combo_box_props';
@ -121,7 +122,11 @@ export const AutocompleteFieldListsComponent: React.FC<AutocompleteFieldListsPro
!allowLargeValueLists && (
<EuiText size="xs">
{i18n.LISTS_TOOLTIP_INFO}{' '}
<EuiLink external target="_blank" href="https://www.elastic.co/">
<EuiLink
external
target="_blank"
href={getDocLinks({ kibanaBranch: 'main' }).securitySolution.exceptions.value_lists}
>
{i18n.SEE_DOCUMENTATION}
</EuiLink>
</EuiText>