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
Support offline validation (no network) using only built-in, local schema (#114)
* Enable loading of remote JSON schemas on --force flag
Signed-off-by: Matt Rutkowski <[email protected]>
* Enable loading of remote JSON schemas on --force flag
Signed-off-by: Matt Rutkowski <[email protected]>
* Change use of accent char. to single quote char. in log msgs.
Signed-off-by: Matt Rutkowski <[email protected]>
* Support offline validation (no network) using only built-in, local schema
Signed-off-by: Matt Rutkowski <[email protected]>
* Load/compile dependency schemas for any supported schema
Signed-off-by: Matt Rutkowski <[email protected]>
* Assure v1.2 and v1.3 schemas include their dep. schemas
Signed-off-by: Matt Rutkowski <[email protected]>
* Fix README duplication
Signed-off-by: Matt Rutkowski <[email protected]>
* Fix README duplication
Signed-off-by: Matt Rutkowski <[email protected]>
* Add off-line validation desc. for supported schemas to README
Signed-off-by: Matt Rutkowski <[email protected]>
* Add off-line validation desc. for supported schemas to README
Signed-off-by: Matt Rutkowski <[email protected]>
* Rename local function to better describe what it does
Signed-off-by: Matt Rutkowski <[email protected]>
* Provide more INFO messages around dep. schema loading and compile
Signed-off-by: Matt Rutkowski <[email protected]>
* Remove temporary files generated during manual testing
Signed-off-by: Matt Rutkowski <[email protected]>
---------
Signed-off-by: Matt Rutkowski <[email protected]>
Copy file name to clipboardexpand all lines: README.md
+8-2
Original file line number
Diff line number
Diff line change
@@ -318,11 +318,17 @@ See each command's section for contextual examples of the `--where` flag filter
318
318
319
319
### Validate
320
320
321
-
This command will parse standardized SBOMs and validate it against its declared format and version (e.g., SPDX 2.3, CycloneDX 1.6). Custom variants of standard JSON schemas can be used for validation by supplying the `--variant` name as a flag. Explicit JSON schemas can be specified using the `--force` flag.
321
+
This command will parse standardized SBOMs and validate it against its declared format and version (e.g., SPDX 2.3, CycloneDX 1.6).
322
+
323
+
- Custom variants of standard JSON schemas can be used for validation by supplying the `--variant` name as a flag.
324
+
- Explicit JSON schemas can be specified using the `--force` flag.
322
325
323
326
#### Validating using supported schemas
324
327
325
-
Use the [schema](#schema) command to list supported schemas formats, versions and variants.
328
+
Use the [schema](#schema) command to list supported schemas formats, versions and variants.
329
+
330
+
- A "supported" schema is already **"built-in"** to the utility resources along with any dependent schemas it imports.
331
+
- This means that BOM files **can be validated when there is no network connection** to load the schemas from remote locations (a.k.a., *"off-line"* mode).
0 commit comments