Products
List
To see exactly which products are covered by which CSAF advisory, run:
Input
bomnipotent_client product list
Output
[INFO]
╭────────────────────────────┬────────────────────────────┬────────────────┬────────────────────────────┬───────────╮
│ Product │ Vulnerability │ Status │ CSAF ID │ TLP │
├────────────────────────────┼────────────────────────────┼────────────────┼────────────────────────────┼───────────┤
│ Best Vendor's Your Product │ Rustls network-reachable p │ known_affected │ ghsa-qg5g-gv98-5ffh_adviso │ TLP:AMBER │
│ v1.0.0 │ anic │ │ ry │ │
│ Best Vendor's Your Product │ Rustls network-reachable p │ fixed │ ghsa-qg5g-gv98-5ffh_adviso │ TLP:AMBER │
│ v1.0.0 │ anic │ │ ry │ │
│ Best Vendor's Your Product │ Rustls network-reachable p │ recommended │ ghsa-qg5g-gv98-5ffh_adviso │ TLP:AMBER │
│ v1.0.0 │ anic │ │ ry │ │
╰────────────────────────────┴────────────────────────────┴────────────────┴────────────────────────────┴───────────╯
The command accepts the optional filters “name”, “vulnerability”, “status” and “csaf”:
Input (long variant)
bomnipotent_client product list --status=known_affected --csaf="ghsa-qg5g-gv98-5ffh_advisory"
Input (short variant)
bomnipotent_client product list -s known_affected -c "ghsa-qg5g-gv98-5ffh_advisory"
Output
[INFO]
╭────────────────────────────┬────────────────────────────┬────────────────┬────────────────────────────┬───────────╮
│ Product │ Vulnerability │ Status │ CSAF ID │ TLP │
├────────────────────────────┼────────────────────────────┼────────────────┼────────────────────────────┼───────────┤
│ Best Vendor's Your Product │ Rustls network-reachable p │ known_affected │ ghsa-qg5g-gv98-5ffh_adviso │ TLP:AMBER │
│ v1.0.0 │ anic │ │ ry │ │
╰────────────────────────────┴────────────────────────────┴────────────────┴────────────────────────────┴───────────╯
Existence
The "exists" subcommand checks whether or not at least one object on the server matches some filters. It is available for all commands that accept the "list" subcommand, and accepts the same filters.
Depending on the output mode, the client prints:
- normal mode: a sentence including the number of found objects.
- code: The string "200" if at least one item was found, or "404" if none were found.
- raw: The string "true" if at least one item was found, or "false" if none were found.
Input (long variant)
bomnipotent_client product exists --status=known_affected
Input (short variant)
bomnipotent_client product exists -s known_affected
Output
[INFO] Yes, the server contains 1 products matching the filters.