Skip to content

[Security AI Prompts update] Include ESQL generation with self healing tool descriptions#14552

Closed
KDKHD wants to merge 2 commits intoelastic:mainfrom
KDKHD:bug/missing_esql_generation_prompts
Closed

[Security AI Prompts update] Include ESQL generation with self healing tool descriptions#14552
KDKHD wants to merge 2 commits intoelastic:mainfrom
KDKHD:bug/missing_esql_generation_prompts

Conversation

@KDKHD
Copy link
Member

@KDKHD KDKHD commented Jul 15, 2025

Proposed commit message

This PR updates the Security AI prompts integration to include the descriptions of the ESQL generation with the self-healing tool.

Tested by following the developer flow here and was able to see the new prompts in the saved objects.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

  1. Follow this guide starting from the section "Validate & Build the Integration Locally".
  2. Check the new prompts exist. Expect a result to be returned.
GET .kibana/_search
{
  "query": {
    "bool": {
      "must": [
        { "term": { "type": "security-ai-prompt" }},
        { "term": { "security-ai-prompt.promptId": "AskAboutEsqlTool" }}
      ]
    }
  }
}

Related issues

Screenshots

image

@KDKHD KDKHD requested a review from a team as a code owner July 15, 2025 15:53
@KDKHD KDKHD changed the title include ESQL generation with self healing tool descriptions [Security AI Prompts update] Include ESQL generation with self healing tool descriptions Jul 15, 2025
@andrewkroh andrewkroh added the Integration:security_ai_prompts Security AI Prompts label Jul 15, 2025
@elasticmachine
Copy link

💚 Build Succeeded

@elastic-sonarqube
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

@stephmilovic
Copy link
Contributor

Closing in favor of #14555

Thanks Kenneth!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants