"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WORKFLOW_ANALYSIS_TITLE = exports.WORKFLOW_ANALYSIS_PROMPT = exports.THREAT_INVESTIGATION_GUIDES_TITLE = exports.THREAT_INVESTIGATION_GUIDES_PROMPT = exports.SPL_QUERY_CONVERSION_TITLE = exports.SPL_QUERY_CONVERSION_PROMPT = exports.RULE_CREATION_TITLE = exports.RULE_CREATION_PROMPT = exports.AUTOMATION_TITLE = exports.AUTOMATION_PROMPT = exports.ALERT_SUMMARIZATION_TITLE = exports.ALERT_SUMMARIZATION_PROMPT = void 0; var _i18n = require("@kbn/i18n"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const ALERT_SUMMARIZATION_TITLE = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.alertSummarizationTitle', { defaultMessage: 'Alert summarization' }); exports.ALERT_SUMMARIZATION_TITLE = ALERT_SUMMARIZATION_TITLE; const ALERT_SUMMARIZATION_PROMPT = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.alertSummarizationPrompt', { defaultMessage: 'As an expert in security operations and incident response, provide a breakdown of the attached alert and summarize what it might mean for my organization.' }); exports.ALERT_SUMMARIZATION_PROMPT = ALERT_SUMMARIZATION_PROMPT; const RULE_CREATION_TITLE = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.ruleCreationTitle', { defaultMessage: 'Query generation' }); exports.RULE_CREATION_TITLE = RULE_CREATION_TITLE; const RULE_CREATION_PROMPT = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.ruleCreationPrompt', { defaultMessage: 'As an expert user of Elastic Security, please generate an accurate and valid EQL query to detect the use case below. Your response should be formatted to be able to use immediately in an Elastic Security timeline or detection rule. If Elastic Security already has a prebuilt rule for the use case, or a similar one, please provide a link to it and describe it.' }); exports.RULE_CREATION_PROMPT = RULE_CREATION_PROMPT; const WORKFLOW_ANALYSIS_TITLE = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.workflowAnalysisTitle', { defaultMessage: 'Workflow suggestions' }); exports.WORKFLOW_ANALYSIS_TITLE = WORKFLOW_ANALYSIS_TITLE; const WORKFLOW_ANALYSIS_PROMPT = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.workflowAnalysisPrompt', { defaultMessage: 'As an expert user of Elastic Security, please suggest a workflow, with step by step instructions on how to:' }); exports.WORKFLOW_ANALYSIS_PROMPT = WORKFLOW_ANALYSIS_PROMPT; const THREAT_INVESTIGATION_GUIDES_TITLE = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.threatInvestigationGuidesTitle', { defaultMessage: 'Custom data ingestion helper' }); exports.THREAT_INVESTIGATION_GUIDES_TITLE = THREAT_INVESTIGATION_GUIDES_TITLE; const THREAT_INVESTIGATION_GUIDES_PROMPT = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.threatInvestigationGuidesPrompt', { defaultMessage: 'As an expert user of Elastic Security, Elastic Agent, and Ingest pipelines, please list accurate and formatted, step by step instructions on how to ingest the following data using Elastic Agent and Fleet in Kibana and convert it to the Elastic Common Schema:' }); exports.THREAT_INVESTIGATION_GUIDES_PROMPT = THREAT_INVESTIGATION_GUIDES_PROMPT; const SPL_QUERY_CONVERSION_TITLE = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.splQueryConversionTitle', { defaultMessage: 'Query conversion' }); exports.SPL_QUERY_CONVERSION_TITLE = SPL_QUERY_CONVERSION_TITLE; const SPL_QUERY_CONVERSION_PROMPT = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.splQueryConversionPrompt', { defaultMessage: 'I have the following query from a previous SIEM platform. As an expert user of Elastic Security, please suggest an Elastic EQL equivalent. I should be able to copy it immediately into an Elastic security timeline.' }); exports.SPL_QUERY_CONVERSION_PROMPT = SPL_QUERY_CONVERSION_PROMPT; const AUTOMATION_TITLE = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.AutomationTitle', { defaultMessage: 'Agent integration advice' }); exports.AUTOMATION_TITLE = AUTOMATION_TITLE; const AUTOMATION_PROMPT = _i18n.i18n.translate('xpack.securitySolution.assistant.quickPrompts.AutomationPrompt', { defaultMessage: 'Which Fleet enabled Elastic Agent integration should I use to collect logs and events from:' }); exports.AUTOMATION_PROMPT = AUTOMATION_PROMPT;