Skip to content

Mixed success when workspace/tenant doesn't match --tenant flag #177

@funnelfiasco

Description

@funnelfiasco

Specifying a tenant with the command line flag that doesn't match your current workspace will upload an SBOM successfully, but fail to poll for status.

Specifically, I had last done kusari auth to point to the Demo workspace (and thus the demo tenant). But my script ran kusari platform upload --tenant showcase ... , which resulted in:

Using tenant endpoint: https://showcase.api.us.kusari.cloud/
Using workspace: Demo
Uploading file: /var/folders/sg/y4_v1cwx2hq15hjss645_5ym0000gn/T/tmp.rtWGIoN7DZ/mongodb-8.2.0.sbom.json

Checking ingestion status for 1 document(s)...
^C

Anyone who is a member of multiple workspaces could end up accidentally doing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions