-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for SARIF-based validation results #373
base: develop
Are you sure you want to change the base?
Support for SARIF-based validation results #373
Commits on May 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a3cfe96 - Browse repository at this point
Copy the full SHA a3cfe96View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef34bc3 - Browse repository at this point
Copy the full SHA ef34bc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2896f01 - Browse repository at this point
Copy the full SHA 2896f01View commit details -
Reworked definition and instance model classes to reduce extra interf…
…aces and to simplify and align implementations.
Configuration menu - View commit details
-
Copy full SHA for 1cf8e52 - Browse repository at this point
Copy the full SHA 1cf8e52View commit details -
Add support for Metapath arrays
* Completed code to support Metapath array construction. * Implemented array postfix and unary lookups. * Cleaned up ISequence implementations, moving getFirstItem to be a method member. Added a utility function to convert a sequence into an array member. * Added support for the following Metapath functions: - array:get - array:put - array:append - array:subarray - array:remove - array:insert-before - array:join - array:head - array:tail - array:reverse - array:flatten * Fixed spotbugs null check warnings * Cleaned up some Javadocs. * Incorporated changes based on CodeRabbit review. * normalized line endings
Configuration menu - View commit details
-
Copy full SHA for 0a9e901 - Browse repository at this point
Copy the full SHA 0a9e901View commit details -
Added a CLI command to list Metapath functions
* Added initial implementation of the 'metaschema-cli metapath list-functions' command. * Added a better means to collect the metaschema-related CLI commands for reuse.
Configuration menu - View commit details
-
Copy full SHA for 215388a - Browse repository at this point
Copy the full SHA 215388aView commit details -
This fixes usnistgov/oscal-cli#216 by ensuring that the document node…
… returns the root node when getValue is called.
Configuration menu - View commit details
-
Copy full SHA for 879e58d - Browse repository at this point
Copy the full SHA 879e58dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f29d5d7 - Browse repository at this point
Copy the full SHA f29d5d7View commit details
Commits on Jun 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 74698b1 - Browse repository at this point
Copy the full SHA 74698b1View commit details -
This PR adds the following new Metapath map features.
- Support for map construction. - Added support for maps in function call, postfix and unary lookups. - Added support and unit tests for the following Metapath functions: - map:get - map:merge - map:entry - map:size - map:keys - map:contains - map:find - map:put - map:remove - Added missing characteristics on a number of existing Metapath functions. - Cleaned up a bunch of PMD warnings.
Configuration menu - View commit details
-
Copy full SHA for 95a1e4e - Browse repository at this point
Copy the full SHA 95a1e4eView commit details
Commits on Jun 7, 2024
-
Added support for QName for Metaschema data types, which are used in …
…function signatures now instead of the Java class name.
Configuration menu - View commit details
-
Copy full SHA for fb1dc25 - Browse repository at this point
Copy the full SHA fb1dc25View commit details
Commits on Jun 9, 2024
-
Refactored Metaschema validation API to allow for more flexibility in…
… use. Improved abstract CLI validation commands to provide more options for model detection.
Configuration menu - View commit details
-
Copy full SHA for 43f6f18 - Browse repository at this point
Copy the full SHA 43f6f18View commit details
Commits on Jul 28, 2024
-
- Refactored package names to better organize binding related code an…
…d to distinguish provided model bindings. - Added support for capturing parsed location information in bound objects. This will be useful for producing context for validation results. - Fixed bugs causing the ordering of generated classes to be chaotic. Also fixed bugs causing binding configurations to match based on minor URI differences caused by inconsistent behavior between file and path URI productions. - Updated Metaschema module binding to incorporate latest module changes. - Added support for exposing parse locations in validation results. - Added support for producing Static Analysis Results Interchange Format (SARIF) results based on schema and constraint validation results. - Added SARIF CLI output option to validate command. - Added support for including rules and artifact information in SARIF results. SARIF files now work on commonly available viewers. - Added constraint formal-name and description to SARIF output, allowing human readers to better understand why the result was produced. - Added a GUID to SARIF output for each rule. - Adjusted constraint result production to allow for pass results to be produced, which supports producing SARIF result that include both pass and fail statuses using an API-level configuration. - Added methods to handle making URIs relative to another URI. - Ensured proper handling of Metapath errors during validation. Resolves usnistgov/oscal-cli#292 - Fixed compile and PMD warnings. - Added some Javadocs.
Configuration menu - View commit details
-
Copy full SHA for 006858c - Browse repository at this point
Copy the full SHA 006858cView commit details