package
0.16.0
Repository: https://github.com/cyclonedx/sbom-utility.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
TODO: Add a --no-title flag to skip title output.
TODO: Add a --no-title flag to skip title output.
NOTE: This list is NOT de-duplicated TODO: Add a --no-title flag to skip title output.
NOTE: This list is NOT de-duplicated TODO: Make policy column optional TODO: Add a --no-title flag to skip title output TODO: Support a new --sort <column> flag.
NOTE: This list is NOT de-duplicated NOTE: if no licenses are found, the "json.Marshal" method(s) will return a value of "null" which is valid JSON (and not an empty array) TODO: Support de-duplication (flag) (which MUST be exact using deep comparison).
NOTE: This list is NOT de-duplicated.
NOTE: This list is NOT de-duplicated TODO: Make policy column optional TODO: Add a --no-title flag to skip title output TODO: Support a new --sort <column> flag.
TODO: Add a --no-title flag to skip title output.
TODO: Add a --no-title flag to skip title output.
Display all license policies including those with SPDX IDs and those only with "family" names which is reflected in the contents of the hashmap keyed on family names.
TODO: Add a --no-title flag to skip title output.
TODO: Add a --no-title flag to skip title output.
NOTE: This list is NOT de-duplicated TODO: Add a --no-title flag to skip title output.
No description provided by the author
No description provided by the author
No description provided by the author
TODO: Add a --no-title flag to skip title output.
TODO: Add a --no-title flag to skip title output.
TODO: Add a --no-title flag to skip title output.
NOTE: This list is NOT de-duplicated TODO: Add a --no-title flag to skip title output.
TODO: Add a --no-title flag to skip title output.
Output filtered list of vulnerabilities as JSON.
TODO: Add a --no-title flag to skip title output.
NOTE: This list is NOT de-duplicated TODO: Add a --no-title flag to skip title output.
NOTE: err = nil will also fail if error was expected.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NOTE: resourceType has already been validated.
No description provided by the author
No description provided by the author
NOTE: resourceType has already been validated.
No description provided by the author
NOTE: resourceType has already been validated.
NOTE: vulnerability type data has already been validated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WARNING: Cobra will not recognize a subcommand if its `command.Use` is not a single word string that matches one of the `command.ValidArgs` set on the parent command.
No description provided by the author
WARNING: Cobra will not recognize a subcommand if its `command.Use` is not a single word string that matches one of the `command.ValidArgs` set on the parent command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: create Error() (interface) method that displays CDXMetadata.
TODO: create Error() (interface) method that displays CDXProperty.
No description provided by the author
No description provided by the author
NOTE: resourceType has already been validated.
Query JSON map and return selected subset i.e., use QueryRequest (syntax) to implement the Query into the JSON document.
No description provided by the author
No description provided by the author
NOTE: resourceType has already been validated.
No description provided by the author

# Constants

top-level commands.
top-level commands.
top-level commands.
top-level commands.
top-level commands.
top-level commands.
top-level commands.
top-level commands.
top-level commands.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
WARNING!!! The ".Use" field of a Cobra command MUST have the first word be the actual command otherwise, the command will NOT be found by the Cobra framework.
top-level commands.
top-level commands.
top-level commands.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
filter keys Note: these string values MUST match annotations for the ComponentInfo struct fields Scope string `json:"scope,omitempty"`.
No description provided by the author
No description provided by the author
limits.
limits.
TODO: make flag configurable: NOTE: 4-space indent is accepted convention: https://docs.openstack.org/doc-contrib-guide/json-conv.html.
No description provided by the author
formatting Error() interface.
No description provided by the author
General error messages.
General error messages.
General error messages.
General error messages.
General error messages.
General error messages.
General error messages.
General error messages.
General error messages.
General error messages.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Command help formatting.
Flags.
FLAG_COMPONENT_TYPE_HELP = "filter output by component type(s)".
Flags.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
validation flags.
validation flags.
Command help formatting.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
License list command flag help messages.
License list command flag help messages.
No description provided by the author
Subcommand flags TODO: Support a new --sort <column> flag.
No description provided by the author
Query command flags.
No description provided by the author
No description provided by the author
flags (do not translate).
Subcommand flags.
Subcommand flags TODO: Support a new --sort <column> flag.
Subcommand flags.
Query command flags.
Query command flag help messages.
Query command flags.
Query command flag help messages.
Query command flag help messages.
Query command flags.
Query command flag help messages.
Query command flags.
Query command flag help messages.
No description provided by the author
No description provided by the author
Common/reusable Flags used across multiple report commands.
Common/reusable Flags used across multiple report commands.
Command help formatting.
Flags.
Flags.
Subcommand flags.
No description provided by the author
No description provided by the author
flags (do not translate).
flags (do not translate).
flags (do not translate).
TODO: document when no longer experimental.
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
No description provided by the author
Command help formatting.
Command help formatting.
Used for test errors.
Supported output formats.
Supported output formats.
Supported output formats.
Supported output formats.
Supported output formats.
Patch operations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Command reserved values.
No description provided by the author
JSON formatting.
JSON formatting.
JSON formatting.
filter keys.
filter keys.
filter keys.
var LICENSE_LIST_TITLES_LICENSE_CHOICE = []string{"License.Id", "License.Name", "License.Url", "Expression", "License.Text.ContentType", "License.Text.Encoding", "License.Text.Content"}.
var LICENSE_LIST_TITLES_LICENSE_CHOICE = []string{"License.Id", "License.Name", "License.Url", "Expression", "License.Text.ContentType", "License.Text.Encoding", "License.Text.Content"}.
var LICENSE_LIST_TITLES_LICENSE_CHOICE = []string{"License.Id", "License.Name", "License.Url", "Expression", "License.Text.ContentType", "License.Text.Encoding", "License.Text.Content"}.
var LICENSE_LIST_TITLES_LICENSE_CHOICE = []string{"License.Id", "License.Name", "License.Url", "Expression", "License.Text.ContentType", "License.Text.Encoding", "License.Text.Content"}.
var LICENSE_LIST_TITLES_LICENSE_CHOICE = []string{"License.Id", "License.Name", "License.Url", "Expression", "License.Text.ContentType", "License.Text.Encoding", "License.Text.Content"}.
var LICENSE_LIST_TITLES_LICENSE_CHOICE = []string{"License.Id", "License.Name", "License.Url", "Expression", "License.Text.ContentType", "License.Text.Encoding", "License.Text.Content"}.
filter keys.
var LICENSE_LIST_TITLES_LICENSE_CHOICE = []string{"License.Id", "License.Name", "License.Url", "Expression", "License.Text.ContentType", "License.Text.Encoding", "License.Text.Content"}.
filter keys.
filter keys.
License list default values.
License list default values.
Markdown report helpers.
Markdown report helpers.
Markdown report helpers.
Markdown report helpers.
Markdown report helpers.
No description provided by the author
No description provided by the author
Recurring / translatable messages.
No description provided by the author
No description provided by the author
No description provided by the author
validation flags.
No description provided by the author
validation flags.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
flag help (translate).
flag help (translate).
Validation messages.
Validation messages.
Recurring / translatable messages.
Recurring / translatable messages.
Recurring / translatable messages.
Custom Validation messages TODO: Need to define a profile that supports these validation checks/messages.
Custom Validation messages TODO: Need to define a profile that supports these validation checks/messages.
Custom Validation messages TODO: Need to define a profile that supports these validation checks/messages.
License messages.
License messages.
License messages.
License messages.
License messages.
No description provided by the author
License list command informational messages.
License list command informational messages.
License list policy command informational messages TODO Use only for Warning messages.
No description provided by the author
No description provided by the author
Vuln.
flag help (translate).
Validation messages.
Custom Validation messages TODO: Need to define a profile that supports these validation checks/messages.
Validation messages.
Query error details.
Query error details.
Query error details.
Validation messages.
No description provided by the author
No description provided by the author
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
validation flags TODO: support a `--truncate <int>“ flag (or similar..
Recurring / translatable messages.
filter keys.
filter keys.
filter keys.
filter keys.
filter keys.
filter keys.
filter keys.
filter keys.
filter keys.
filter keys.
filter keys.
Protocol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Report column data values.
filter keys Note: these string values MUST match annotations for the ResourceInfo struct fields.
filter keys Note: these string values MUST match annotations for the ResourceInfo struct fields.
filter keys Note: these string values MUST match annotations for the ResourceInfo struct fields.
filter keys Note: these string values MUST match annotations for the ResourceInfo struct fields.
filter keys Note: these string values MUST match annotations for the ResourceInfo struct fields.
filter keys Note: these string values MUST match annotations for the ResourceInfo struct fields.
The "-" character is used to index the end of the array (see [RFC6901]).
summary.
summary.
summary.
summary.
summary.
summary.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
full.
full.
full (optional, internal reference).
full.
summary (CVSS Severity, V3.1 ot v2.0).
full (Common Weakness Enumeration (CWE)).
summary.
summary.
summary.
full.
summary.
full.
full.
TODO make configurable via flag.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Command help formatting.
Describe the column data and their attributes and constraints used for formatting.
Command help formatting.
No description provided by the author
No description provided by the author
Globals.
No description provided by the author
No description provided by the author
No description provided by the author
NOTE: columns will be output in order they are listed here:.
Command help formatting.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NOTE: columns will be output in order they are listed here: NOTE: data marked as "summary" data is informed by the output from the NVD database service itself this includes fields that have ISO 8601 date-time fields are truncated to show date only.
No description provided by the author

# Structs

No description provided by the author
TODO: Support additional flags to: - show number of chars shown vs.
No description provided by the author
Example of all opcodes: { "op": "test", "path": "/a/b/c", "value": "foo" }, { "op": "remove", "path": "/a/b/c" }, { "op": "add", "path": "/a/b/c", "value": [ "foo", "bar" ] }, { "op": "replace", "path": "/a/b/c", "value": 42 }, { "op": "move", "from": "/a/b/c", "path": "/a/b/d" }, { "op": "copy", "from": "/a/b/d", "path": "/a/b/e" }.
IETF RFC6902 "Test" error.
Extend the base error type.
Define more specific invalid SBOM errors.
NOTE: Current sub-type is "no license found"; other, more specific subtypes may be created.
Define more specific invalid SBOM errors.
No description provided by the author
NOTE: use for unsupported features/subfunctions etc.
JsonContext is a linked-list of JSON key strings.