You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/10/05 11:35:26 UTC
[camel] branch main updated: Camel-JBang SBOM subcommand: Docs (#11652)
This is an automated email from the ASF dual-hosted git repository.
acosentino 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 53386b3287d Camel-JBang SBOM subcommand: Docs (#11652)
53386b3287d is described below
commit 53386b3287d5b294bfc37fcd9a955964dc0082b6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 5 13:35:18 2023 +0200
Camel-JBang SBOM subcommand: Docs (#11652)
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../modules/ROOT/pages/camel-jbang.adoc | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 2b8ed14ae2b..10331acfab3 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -2189,6 +2189,38 @@ org.apache.camel.kamelets:camel-kamelets-utils:0.9.3
org.apache.camel.kamelets:camel-kamelets:0.9.3
----
+== Generating SBOM report
+
+[source,bash]
+
+You can generate a SBOM report of your integration by running the following command
+
+----
+camel sbom
+----
+
+By default it will generate a file named `sbom.json` in `cyclonedx` format.
+
+You can also choose to use an `spdx` format with the following command
+
+----
+camel sbom --sbom-format=spdx
+----
+
+You can also choose the target runtime as either _quarkus_ or _spring-boot_ as shown:
+
+----
+camel sbom --runtime=quarkus
+----
+
+or
+
+----
+camel sbom --runtime=spring-boot
+----
+
+by default `camel-main` will be used
+
=== Copying dependency JARs to a specific directory
You can use the `camel dependency copy` command to copy the required JARs to a specific folder.