Skip to content

Commit b483955

Browse files
authored
Update security-ai-prompts saved objects with new Bedrock system prompt (#15648)
* update security-ai-prompts saved objects * add PR link to changelog
1 parent 596fe16 commit b483955

File tree

74 files changed

+79
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+79
-74
lines changed

packages/security_ai_prompts/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.0.6"
3+
changes:
4+
- description: "Update Security AI prompts with latest changes from Kibana"
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/15648
27
- version: "1.0.5"
38
changes:
49
- description: "Add prompts for integrations knowledge tool"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"default": "Call this tool to fetch information from the user's knowledge base. The knowledge base contains useful details the user has saved between conversation contexts.\n\nUse this tool **only in the following cases**:\n\n1. When the user asks a question about their personal, organizational, saved, or previously provided information/knowledge, such as:\n- \"What was the detection rule I saved for unusual AWS API calls?\"\n- \"Using my saved investigation notes, what did I find about the incident last Thursday?\"\n- \"What are my preferred index patterns?\"\n- \"What did I say about isolating hosts?\"\n- \"What is my favorite coffee spot near the office?\" *(non-security example)*\n\n2. Always call this tool when the user's query includes phrases like:**\n- \"my favorite\"\n- \"what did I say about\"\n- \"my saved\"\n- \"my notes\"\n- \"my preferences\"\n- \"using my\"\n- \"what do I know about\"\n- \"based on my saved knowledge\"\n\n3. When you need to retrieve saved information the user has stored in their knowledge base, whether it's security-related or not.\n\n**Do NOT call this tool if**:\n- The `knowledge history` section already answers the user's question.\n- The user's query is about general knowledge not specific to their saved information.\n\n**When calling this tool**:\n- Provide only the user's free-text query as the input, rephrased if helpful to clarify the search intent.\n- Format the input as a single, clean line of text.\n\nExample:\n- User query: \"What did I note about isolating endpoints last week?\"\n- Tool input: \"User notes about isolating endpoints.\"\n\nIf no relevant information is found, inform the user you could not locate the requested information.\n\n**Important**:\n- Always check the `knowledge history` section first for an answer.\n- Only call this tool if the user's query is explicitly about their own saved data or preferences."
77
}
88
},
9-
"id": "security_ai_prompts-8db24b83-34e2-4f42-8aca-103a89bae66e",
9+
"id": "security_ai_prompts-02b92108-604e-4dcf-aedb-74b8a217ee4a",
1010
"type": "security-ai-prompt"
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"default": "Call this for knowledge about the latest entity risk score and the inputs that contributed to the calculation (sorted by 'kibana.alert.risk_score') in the environment, or when answering questions about how critical or risky an entity is. When informing the risk score value for a entity you must use the normalized field 'calculated_score_norm'."
77
}
88
},
9-
"id": "security_ai_prompts-1e78f8af-47bd-48a1-b5ce-475acd57026f",
9+
"id": "security_ai_prompts-071c641d-cbb7-4c97-869b-83a61271d484",
1010
"type": "security-ai-prompt"
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"default": "The endpoint ID"
77
}
88
},
9-
"id": "security_ai_prompts-54b71cd7-638b-4d04-a0fb-061549c510fc",
9+
"id": "security_ai_prompts-0937edc4-7930-441a-8b14-1abbb6e9cb3d",
1010
"type": "security-ai-prompt"
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"default": "Call this for knowledge about the latest n open and acknowledged alerts (sorted by `kibana.alert.risk_score`) in the environment, or when answering questions about open alerts. Do not call this tool for alert count or quantity. The output is an array of the latest n open and acknowledged alerts."
77
}
88
},
9-
"id": "security_ai_prompts-aa022199-3f33-48e8-9c2e-1708343eaf8e",
9+
"id": "security_ai_prompts-0dd9a3bc-0e5c-43da-a4a0-c623aea38132",
1010
"type": "security-ai-prompt"
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"default": "The policy response ID"
77
}
88
},
9-
"id": "security_ai_prompts-d5afc2fd-d02b-4701-9bc1-124208d1a41f",
9+
"id": "security_ai_prompts-0fb64afa-bef8-4448-80bd-e99f61d89889",
1010
"type": "security-ai-prompt"
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"default": "Insights with markdown that always uses special {{ field.name fieldValue1 fieldValue2 fieldValueN }} syntax for field names and values from the source data. Examples of CORRECT syntax (includes field names and values): {{ host.name hostNameValue }} {{ user.name userNameValue }} {{ source.ip sourceIpValue }} Examples of INCORRECT syntax (bad, because the field names are not included): {{ hostNameValue }} {{ userNameValue }} {{ sourceIpValue }}"
77
}
88
},
9-
"id": "security_ai_prompts-53875026-ab46-4bad-81ca-bb7f6afd4589",
9+
"id": "security_ai_prompts-10b53e54-1ad4-4245-8608-b85a47130bb7",
1010
"type": "security-ai-prompt"
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"default": "You are a title generator for a helpful assistant for Elastic Security. Assume the following human message is the start of a conversation between you and a human. Generate a relevant conversation title for the human's message in plain text. Make sure the title is formatted for the user, without using quotes or markdown. The title should clearly reflect the content of the message and be appropriate for a list of conversations. Respond only with the title. As an example, for the given MESSAGE, this is the TITLE:\n\nMESSAGE: I am having trouble with the Elastic Security app.\nTITLE: Troubleshooting Elastic Security app issues\n"
88
}
99
},
10-
"id": "security_ai_prompts-aacaf8d6-eb8b-4f21-8f73-780c77044c84",
10+
"id": "security_ai_prompts-10da1820-213f-48ec-8dce-b206622096d4",
1111
"type": "security-ai-prompt"
1212
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"default": "You are an assistant that is an expert at using tools and Elastic Security, doing your best to use these tools to answer questions or follow instructions. It is very important to use tools to answer the question or follow the instructions rather than coming up with your own answer. Tool calls are good. Sometimes you may need to make several tool calls to accomplish the task or get an answer to the question that was asked. Use as many tool calls as necessary. {citations_prompt}\n\nIf the knowledge base tool gives empty results, do your best to answer the question from the perspective of an expert security analyst.\n\n{formattedTime}"
88
}
99
},
10-
"id": "security_ai_prompts-36163bb7-6f1d-4149-bfe7-7eca7a54f0db",
10+
"id": "security_ai_prompts-13281123-1abe-4d93-a156-f2069d3f6e31",
1111
"type": "security-ai-prompt"
1212
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"default": "Most important alerts from the last 24 hrs"
77
}
88
},
9-
"id": "security_ai_prompts-bf870722-ba59-4df9-befd-cdb912884ea9",
9+
"id": "security_ai_prompts-158cc9f6-1162-4645-868c-a49235279e2a",
1010
"type": "security-ai-prompt"
1111
}

0 commit comments

Comments
 (0)