Skip to content

Comments

[Security Assistant] Prompt updates for context prompts and starter prompts#227907

Merged
stephmilovic merged 2 commits intoelastic:mainfrom
stephmilovic:prompt_updates
Jul 15, 2025
Merged

[Security Assistant] Prompt updates for context prompts and starter prompts#227907
stephmilovic merged 2 commits intoelastic:mainfrom
stephmilovic:prompt_updates

Conversation

@stephmilovic
Copy link
Contributor

@stephmilovic stephmilovic commented Jul 14, 2025

Summary

Updates context prompts and starter prompts for Security AI Assistant.

Corresponding integrations PR: elastic/integrations#14536

@stephmilovic stephmilovic added release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Security Generative AI Security Generative AI backport:version Backport to applied version labels v9.1.0 labels Jul 14, 2025
@stephmilovic stephmilovic requested a review from a team as a code owner July 14, 2025 21:38
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged


export const RULE_ANALYSIS =
'Please provide a comprehensive analysis of each selected Elastic Security detection rule. For each rule, include:\n' +
'Please provide a comprehensive analysis of each selected Elastic Security detection rule, and consider using applicable tools for each part of the below request. Make sure you consider using appropriate tools available to you to fulfill this request. For each rule, include:\n' +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe LLMs are more receptive/familiar with the term "functions" instead of "tools" when referring to tools.

e.g.:

and consider using applicable functions for each part of the below request

No need to change it in this PR but just something I noticed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bring that feedback to @dhru42, he is the one who tested these.

@stephmilovic stephmilovic merged commit c2d97a5 into elastic:main Jul 15, 2025
27 of 28 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

https://github.com/elastic/kibana/actions/runs/16296063506

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.19
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 15, 2025
…arter prompts (#227907) (#228034)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Security Assistant] Prompt updates for context prompts and starter
prompts (#227907)](#227907)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-07-15T14:26:33Z","message":"[Security
Assistant] Prompt updates for context prompts and starter prompts
(#227907)","sha":"c2d97a521b29a585d2273967d1e1b3fce16c6388","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security
Assistant] Prompt updates for context prompts and starter
prompts","number":227907,"url":"https://github.com/elastic/kibana/pull/227907","mergeCommit":{"message":"[Security
Assistant] Prompt updates for context prompts and starter prompts
(#227907)","sha":"c2d97a521b29a585d2273967d1e1b3fce16c6388"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227907","number":227907,"mergeCommit":{"message":"[Security
Assistant] Prompt updates for context prompts and starter prompts
(#227907)","sha":"c2d97a521b29a585d2273967d1e1b3fce16c6388"}}]}]
BACKPORT-->

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
kibanamachine added a commit that referenced this pull request Jul 15, 2025
…rter prompts (#227907) (#228035)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Security Assistant] Prompt updates for context prompts and starter
prompts (#227907)](#227907)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-07-15T14:26:33Z","message":"[Security
Assistant] Prompt updates for context prompts and starter prompts
(#227907)","sha":"c2d97a521b29a585d2273967d1e1b3fce16c6388","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security
Assistant] Prompt updates for context prompts and starter
prompts","number":227907,"url":"https://github.com/elastic/kibana/pull/227907","mergeCommit":{"message":"[Security
Assistant] Prompt updates for context prompts and starter prompts
(#227907)","sha":"c2d97a521b29a585d2273967d1e1b3fce16c6388"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227907","number":227907,"mergeCommit":{"message":"[Security
Assistant] Prompt updates for context prompts and starter prompts
(#227907)","sha":"c2d97a521b29a585d2273967d1e1b3fce16c6388"}}]}]
BACKPORT-->

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
Bluefinger pushed a commit to Bluefinger/kibana that referenced this pull request Jul 22, 2025
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.19.0 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants