Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Update RELEASING.md to include how to generate the mongocli SBOM #2811

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions RELEASING.md
Expand Up @@ -67,6 +67,11 @@ We use `go version` to generate the SBOM for Atlas CLI binaries. You can generat
go version -m <path_to_atlasCLI_binary>
```

## MongoCLI Binary
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is already documented in the mongocli branch https://github.com/mongodb/mongodb-atlas-cli/blob/mongocli-master/RELEASING.md

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah thanks!

We use `go version` to generate the SBOM for MongoCLI binaries. You can generate the SBOM via the following command:
```bash
go version -m <path_to_MongoCLI_binary>
Copy link
Collaborator

@gssbzn gssbzn Mar 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
go version -m <path_to_MongoCLI_binary>
# assuming mongocli is available in the PATH
go version -m $(which mongocli)


## Atlas CLI Docker image
We use `docker sbom` to generate the SBOM for the AtlasCLI docker image. You can generate the SBOM via the following command:
```bash
Expand Down