Skip to content

Commit ae45ccd

Browse files
committed
Update documentation to reflect 'native-image-inspect' deprecation
1 parent e724742 commit ae45ccd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/reference-manual/native-image/InspectTool.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ redirect_from: /reference-manual/native-image/inspect/
88

99
# Native Image Inspect Tool
1010

11+
> The Native Image Inspect Tool is deprecated and will be removed in a future release. To extract embedded SBOMs, use:
12+
> ```bash
13+
> $JAVA_HOME/bin/native-image-configure extract-sbom --image-path=<path>
14+
> ```
15+
1116
The Native Image Inspect Tool extracts embedded Software Bill of Materials (SBOM) from native executables. The functionality for extracting class-level metadata is no longer supported.
1217
13-
## Extracting Embedded SBOM
18+
## Extracting Embedded SBOM (Deprecated)
1419
1520
Native Image embeds an SBOM at build time to detect any libraries that may be susceptible to known security vulnerabilities.
1621
(Not available in GraalVM Community Edition.)

docs/security/SBOM.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ After embedding the compressed SBOM into the image, there are two possible ways
3030
- using the [Native Image Inspect Tool](../reference-manual/native-image/InspectTool.md)
3131
- using [Syft](https://github.com/anchore/syft){:target="_blank"}
3232

33-
### Native Image Inspect Tool
33+
### Native Image Configure Tool
3434

35-
The [Native Image Inspect Tool](../reference-manual/native-image/InspectTool.md) is able to extract the compressed SBOM using the `--sbom` parameter, accessible from both executables and shared libraries:
35+
The Native Image Inspect Tool is able to extract the compressed SBOM using the `extract-sbom` command from executables and shared libraries.
3636
```bash
3737
native-image-inspect --sbom <path_to_binary>
3838
```

0 commit comments

Comments
 (0)