This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 962b338e7962 Update example
962b338e7962 is described below
commit 962b338e796296a59264ed61d695d69e637aba76
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Jun 6 15:41:08 2026 +0200
Update example
---
components/camel-ocsf/src/main/docs/ocsf-dataformat.adoc | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/components/camel-ocsf/src/main/docs/ocsf-dataformat.adoc
b/components/camel-ocsf/src/main/docs/ocsf-dataformat.adoc
index f8b611dedad6..51f19fd15d6f 100644
--- a/components/camel-ocsf/src/main/docs/ocsf-dataformat.adoc
+++ b/components/camel-ocsf/src/main/docs/ocsf-dataformat.adoc
@@ -219,15 +219,23 @@ from("kafka:security-events")
unmarshalType:
"org.apache.camel.dataformat.ocsf.model.DetectionFinding"
- setHeader:
name: "findingTitle"
- simple: "${body.findingInfo?.title}"
+ expression:
+ simple:
+ expression: "${body.findingInfo?.title}"
- setHeader:
name: "findingSeverity"
- simple: "${body.severityId}"
+ expression:
+ simple:
+ expression: "${body.severityId}"
- setHeader:
name: "findingMessage"
- simple: "${body.message}"
+ expression:
+ simple:
+ expression: "${body.message}"
- setBody:
- simple: |
+ expression:
+ simple:
+ expression: |
Analyze this security detection finding and provide a brief
summary:
Title: ${header.findingTitle}