This is a simple example of how to use the fedramp-automation validation rules with the Java Saxon-HE library.
The implementation applies the project's compiled XSLT, ssp.xsl
, to the demo FedRAMP-SSP-OSCAL-Template.xml document, and then extracts failed assertions from the resulting SVRL.
A compiled Schematron XSLT artifact is required to run this example. The following command will build the artifact:
cd ../../..
make build-validations
This example uses Maven. You may run directly, or via the provided docker-compose
configuration.
mvn --help
docker-compose run example mvn --help
To run tests:
docker-compose run example mvn test
To auto-format code:
docker-compose run example mvn com.coveo:fmt-maven-plugin:format