You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
monitoringlist import fails as organization seems to be a required parameter but cannot be provided on CLI #99
When attempting to use the latest release of the vilocify SDK the "monitoringlist import" command fails with a HTTP 422 response and the message:
INFO: No monitoring list with given name and comment found. Creating new list.
ERROR: 422 - Encountered errors: 'Organization group must exist', 'Organization group can't be blank'
ERROR: Organization group must exist. Detail:
ERROR: Organization group can't be blank. Detail:
Interestingly this also happens when the --name provided is the name of an existing monitoring list that I have access to and the monitoring list already has an organization assigned. It seems that I either misunderstand how the command maps to existing monitoring lists or this is also showing some unexpected behavior.
As an aside: Wouldn't it make a lot more sense to refer to existing monitoring lists by their UUID as the API endpoints do?
To Reproduce
Using vilocify SDK 0.9.0, attempt:
VILOCIFY_API_BASE_URL="https://portal.vilocify.com/api/v2" \
vilocify monitoringlist import \
--name "My awesome monitoring list" \
--comment "Import of my CylconeDX SBOM" \
--from-cyclonedx "./sbom.cdx.json" \
--yes
Version string for the SDK version in use:
vilocify --version
Vilocify Python SDK, version 0.9.0
Copyright (C) 2026 Siemens AG
MIT License
Expected behavior
I would expect that the "monitoringlist import" allows me to specify all the required parameters, including the organization when importing an SBOM into a monitoring list.
As an aside, from a user perspective using UUIDs for mapping to existing monitoring lists would also be very helpful as this guards against possible naming issues since CI can refer to an immutable ID.
Logs
VILOCIFY_API_BASE_URL="https://portal.vilocify.com/api/v2" vilocify monitoringlist import \
--name "My awesome monitoring list" \
--comment "Imported CycloneDX SBOM" \
--from-cyclonedx "./sbom.cdx.json" \
--yes
INFO: No monitoring list with given name and comment found. Creating new list.
ERROR: 422 - Encountered errors: 'Organization group must exist', 'Organization group can't be blank'
ERROR: Organization group must exist. Detail:
ERROR: Organization group can't be blank. Detail:
Versions
vilocify-sdk version: 0.9.0
Python version: 3.13.7
Additional context
Add any other context about the problem here.
Activity
woefe commentedon Oct 2, 2026
Fixed in #102