Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
bd4230a
metadata + content references backend
KDKHD Jan 14, 2025
777f577
frontent + productdocs references
KDKHD Jan 14, 2025
8ac60a0
remove content references from conversation history
KDKHD Jan 15, 2025
6c17942
content references switch
KDKHD Jan 16, 2025
4fc3c00
Merge branch 'main' of github.com:elastic/kibana into feature/securit…
KDKHD Jan 16, 2025
aa31e87
fix scroll
KDKHD Jan 16, 2025
d4abe39
update propmt
KDKHD Jan 16, 2025
2e69885
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 16, 2025
c190b31
style
KDKHD Jan 16, 2025
f61044e
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 16, 2025
fca31b2
fix imports
KDKHD Jan 16, 2025
6a6a8e0
[CI] Auto-commit changed files from 'yarn openapi:generate'
kibanamachine Jan 16, 2025
f5707fb
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 16, 2025
3d7d3da
esql reference
KDKHD Jan 16, 2025
d90cea5
style
KDKHD Jan 16, 2025
8901118
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 16, 2025
8c70a29
[CI] Auto-commit changed files from 'yarn openapi:generate'
kibanamachine Jan 16, 2025
9e49360
types
KDKHD Jan 17, 2025
ba45109
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 17, 2025
dc5cfe1
[CI] Auto-commit changed files from 'yarn openapi:generate'
kibanamachine Jan 17, 2025
fd1f2a8
fix schema gen
KDKHD Jan 17, 2025
c0edb25
[CI] Auto-commit changed files from 'yarn openapi:bundle'
kibanamachine Jan 17, 2025
56a28a4
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 17, 2025
c7db935
types
KDKHD Jan 17, 2025
972485c
[CI] Auto-commit changed files from 'make api-docs'
kibanamachine Jan 17, 2025
44c3f1e
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 17, 2025
5cab7a7
add tests
KDKHD Jan 17, 2025
fbf8d7e
style
KDKHD Jan 17, 2025
05076ca
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine Jan 17, 2025
a2edddf
refactor
KDKHD Jan 17, 2025
99000ad
refactor
KDKHD Jan 17, 2025
266c7a5
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 17, 2025
a1fba93
refactor
KDKHD Jan 17, 2025
2eaa56c
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 17, 2025
69782e0
Merge branch 'main' into feature/security-assistant-content-references
KDKHD Jan 19, 2025
ba1b968
types
KDKHD Jan 19, 2025
33b5ff3
chat complete route persists content references
KDKHD Jan 20, 2025
febd324
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 19, 2025
406ec65
style
KDKHD Jan 20, 2025
a6caef4
Style
KDKHD Jan 20, 2025
4f54811
Style
KDKHD Jan 20, 2025
c86245d
[CI] Auto-commit changed files from 'yarn openapi:bundle'
kibanamachine Jan 20, 2025
fccf022
[CI] Auto-commit changed files from 'make api-docs'
kibanamachine Jan 20, 2025
7aa8f1e
Clean up
KDKHD Jan 20, 2025
47f134d
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 20, 2025
88e0dd9
[CI] Auto-commit changed files from 'yarn openapi:generate'
kibanamachine Jan 20, 2025
5cf15c0
Clean up
KDKHD Jan 20, 2025
cd39e7d
fix test
KDKHD Jan 20, 2025
21d5e10
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 20, 2025
3a96bc8
Add tests for tools returning citations
KDKHD Jan 21, 2025
fa3e89d
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 21, 2025
e3df5c2
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 21, 2025
bb565af
fix test
KDKHD Jan 21, 2025
6829d70
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 21, 2025
7ca89cf
fix types
KDKHD Jan 21, 2025
fdfb6c5
fix types
KDKHD Jan 21, 2025
e330a75
fix types
KDKHD Jan 21, 2025
ac071a9
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 21, 2025
f0fe086
Support content references in update conversation endpoint
KDKHD Jan 22, 2025
c20c80b
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 22, 2025
e86860a
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 22, 2025
4f329fc
Merge branch 'main' of github.com:elastic/kibana into feature/securit…
KDKHD Jan 22, 2025
c936260
Move anon. and citation toggle into settings menu
KDKHD Jan 22, 2025
fcd1d25
improve citation style
KDKHD Jan 22, 2025
ed9b471
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 22, 2025
74f74b8
tests
KDKHD Jan 22, 2025
f32eebe
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 22, 2025
917210b
tests
KDKHD Jan 23, 2025
642e1fa
Merge branch 'main' of github.com:elastic/kibana into feature/securit…
KDKHD Jan 23, 2025
bcab82b
merge conflict
KDKHD Jan 23, 2025
cfc3b5e
fix types
KDKHD Jan 23, 2025
da34592
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 23, 2025
6d1bdcd
small tweak to system prompt to address PR feedback from Pedro
KDKHD Jan 24, 2025
77709fb
Merge branch 'main' into feature/security-assistant-content-references
elasticmachine Jan 27, 2025
d414a77
feature flag
KDKHD Jan 27, 2025
e1db957
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 27, 2025
0a9f1e3
code review
KDKHD Jan 28, 2025
00dce02
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 28, 2025
a8ce54e
lint
KDKHD Jan 28, 2025
558831a
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 28, 2025
fad89a2
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 28, 2025
0fe2363
lint
KDKHD Jan 28, 2025
8174da2
Merge branch 'feature/security-assistant-content-references' of githu…
KDKHD Jan 28, 2025
e722565
feature flag + @e40pud code review
KDKHD Jan 28, 2025
c838733
Fix test
KDKHD Jan 28, 2025
9c54500
Update x-pack/solutions/security/plugins/security_solution/common/exp…
KDKHD Jan 28, 2025
82fe9e6
types
KDKHD Jan 28, 2025
551eaf8
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Jan 28, 2025
ad45689
Merge branch 'main' of github.com:elastic/kibana into feature/securit…
patrykkopycinski Jan 28, 2025
d681f85
[CI] Auto-commit changed files from 'yarn openapi:bundle'
kibanamachine Jan 28, 2025
5e8e64e
[CI] Auto-commit changed files from 'make api-docs'
kibanamachine Jan 28, 2025
9901c56
Merge branch 'main' of github.com:elastic/kibana into feature/securit…
patrykkopycinski Jan 28, 2025
d53905f
fix import
patrykkopycinski Jan 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 122 additions & 0 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43661,6 +43661,19 @@ components:
required:
- connectorId
- actionTypeId
Security_AI_Assistant_API_BaseContentReference:
description: The basis of a content reference
type: object
properties:
id:
description: Id of the content reference
type: string
type:
description: Type of the content reference
type: string
required:
- id
- type
Security_AI_Assistant_API_BulkCrudActionSummary:
type: object
properties:
Expand Down Expand Up @@ -43732,6 +43745,17 @@ components:
- user
- assistant
type: string
Security_AI_Assistant_API_ContentReferences:
additionalProperties:
oneOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_KnowledgeBaseEntryContentReference'
- $ref: '#/components/schemas/Security_AI_Assistant_API_SecurityAlertContentReference'
- $ref: '#/components/schemas/Security_AI_Assistant_API_SecurityAlertsPageContentReference'
- $ref: '#/components/schemas/Security_AI_Assistant_API_ProductDocumentationContentReference'
- $ref: '#/components/schemas/Security_AI_Assistant_API_EsqlContentReference'
additionalProperties: false
description: A union of all content reference types
type: object
Security_AI_Assistant_API_ConversationCategory:
description: The conversation category.
enum:
Expand Down Expand Up @@ -43970,6 +43994,26 @@ components:
required:
- id
- $ref: '#/components/schemas/Security_AI_Assistant_API_DocumentEntryCreateFields'
Security_AI_Assistant_API_EsqlContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
label:
description: Label of the query
type: string
query:
description: An ESQL query
type: string
type:
enum:
- EsqlQuery
type: string
required:
- type
- query
- label
description: References an ESQL query
Security_AI_Assistant_API_FindAnonymizationFieldsSortField:
enum:
- created_at
Expand Down Expand Up @@ -44201,6 +44245,26 @@ components:
- skipped
- succeeded
- total
Security_AI_Assistant_API_KnowledgeBaseEntryContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
knowledgeBaseEntryId:
description: Id of the Knowledge Base Entry
type: string
knowledgeBaseEntryName:
description: Name of the knowledge base entry
type: string
type:
enum:
- KnowledgeBaseEntry
type: string
required:
- type
- knowledgeBaseEntryId
- knowledgeBaseEntryName
description: References a knowledge base entry
Security_AI_Assistant_API_KnowledgeBaseEntryCreateProps:
anyOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_DocumentEntryCreateFields'
Expand Down Expand Up @@ -44259,6 +44323,9 @@ components:
isError:
description: Is error message.
type: boolean
metadata:
$ref: '#/components/schemas/Security_AI_Assistant_API_MessageMetadata'
description: metadata
reader:
$ref: '#/components/schemas/Security_AI_Assistant_API_Reader'
description: Message content.
Expand All @@ -44278,6 +44345,13 @@ components:
Security_AI_Assistant_API_MessageData:
additionalProperties: true
type: object
Security_AI_Assistant_API_MessageMetadata:
description: Message metadata
type: object
properties:
contentReferences:
$ref: '#/components/schemas/Security_AI_Assistant_API_ContentReferences'
description: Data refered to by the message content.
Security_AI_Assistant_API_MessageRole:
description: Message role.
enum:
Expand Down Expand Up @@ -44341,6 +44415,26 @@ components:
- message
- status_code
- prompts
Security_AI_Assistant_API_ProductDocumentationContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
title:
description: Title of the documentation
type: string
type:
enum:
- ProductDocumentation
type: string
url:
description: URL to the documentation
type: string
required:
- type
- title
- url
description: References the product documentation
Security_AI_Assistant_API_PromptCreateProps:
type: object
properties:
Expand Down Expand Up @@ -44552,6 +44646,34 @@ components:
- createdBy
- updatedAt
- updatedBy
Security_AI_Assistant_API_SecurityAlertContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
alertId:
description: ID of the Alert
type: string
type:
enum:
- SecurityAlert
type: string
required:
- type
- alertId
description: References a security alert
Security_AI_Assistant_API_SecurityAlertsPageContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
type:
enum:
- SecurityAlertsPage
type: string
required:
- type
description: References the security alerts page
Security_AI_Assistant_API_SortOrder:
enum:
- asc
Expand Down
122 changes: 122 additions & 0 deletions oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50165,6 +50165,19 @@ components:
required:
- connectorId
- actionTypeId
Security_AI_Assistant_API_BaseContentReference:
description: The basis of a content reference
type: object
properties:
id:
description: Id of the content reference
type: string
type:
description: Type of the content reference
type: string
required:
- id
- type
Security_AI_Assistant_API_BulkCrudActionSummary:
type: object
properties:
Expand Down Expand Up @@ -50236,6 +50249,17 @@ components:
- user
- assistant
type: string
Security_AI_Assistant_API_ContentReferences:
additionalProperties:
oneOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_KnowledgeBaseEntryContentReference'
- $ref: '#/components/schemas/Security_AI_Assistant_API_SecurityAlertContentReference'
- $ref: '#/components/schemas/Security_AI_Assistant_API_SecurityAlertsPageContentReference'
- $ref: '#/components/schemas/Security_AI_Assistant_API_ProductDocumentationContentReference'
- $ref: '#/components/schemas/Security_AI_Assistant_API_EsqlContentReference'
additionalProperties: false
description: A union of all content reference types
type: object
Security_AI_Assistant_API_ConversationCategory:
description: The conversation category.
enum:
Expand Down Expand Up @@ -50474,6 +50498,26 @@ components:
required:
- id
- $ref: '#/components/schemas/Security_AI_Assistant_API_DocumentEntryCreateFields'
Security_AI_Assistant_API_EsqlContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
label:
description: Label of the query
type: string
query:
description: An ESQL query
type: string
type:
enum:
- EsqlQuery
type: string
required:
- type
- query
- label
description: References an ESQL query
Security_AI_Assistant_API_FindAnonymizationFieldsSortField:
enum:
- created_at
Expand Down Expand Up @@ -50705,6 +50749,26 @@ components:
- skipped
- succeeded
- total
Security_AI_Assistant_API_KnowledgeBaseEntryContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
knowledgeBaseEntryId:
description: Id of the Knowledge Base Entry
type: string
knowledgeBaseEntryName:
description: Name of the knowledge base entry
type: string
type:
enum:
- KnowledgeBaseEntry
type: string
required:
- type
- knowledgeBaseEntryId
- knowledgeBaseEntryName
description: References a knowledge base entry
Security_AI_Assistant_API_KnowledgeBaseEntryCreateProps:
anyOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_DocumentEntryCreateFields'
Expand Down Expand Up @@ -50763,6 +50827,9 @@ components:
isError:
description: Is error message.
type: boolean
metadata:
$ref: '#/components/schemas/Security_AI_Assistant_API_MessageMetadata'
description: metadata
reader:
$ref: '#/components/schemas/Security_AI_Assistant_API_Reader'
description: Message content.
Expand All @@ -50782,6 +50849,13 @@ components:
Security_AI_Assistant_API_MessageData:
additionalProperties: true
type: object
Security_AI_Assistant_API_MessageMetadata:
description: Message metadata
type: object
properties:
contentReferences:
$ref: '#/components/schemas/Security_AI_Assistant_API_ContentReferences'
description: Data refered to by the message content.
Security_AI_Assistant_API_MessageRole:
description: Message role.
enum:
Expand Down Expand Up @@ -50845,6 +50919,26 @@ components:
- message
- status_code
- prompts
Security_AI_Assistant_API_ProductDocumentationContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
title:
description: Title of the documentation
type: string
type:
enum:
- ProductDocumentation
type: string
url:
description: URL to the documentation
type: string
required:
- type
- title
- url
description: References the product documentation
Security_AI_Assistant_API_PromptCreateProps:
type: object
properties:
Expand Down Expand Up @@ -51056,6 +51150,34 @@ components:
- createdBy
- updatedAt
- updatedBy
Security_AI_Assistant_API_SecurityAlertContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
alertId:
description: ID of the Alert
type: string
type:
enum:
- SecurityAlert
type: string
required:
- type
- alertId
description: References a security alert
Security_AI_Assistant_API_SecurityAlertsPageContentReference:
allOf:
- $ref: '#/components/schemas/Security_AI_Assistant_API_BaseContentReference'
- type: object
properties:
type:
enum:
- SecurityAlertsPage
type: string
required:
- type
description: References the security alerts page
Security_AI_Assistant_API_SortOrder:
enum:
- asc
Expand Down
Loading