Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 960 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 960 Bytes

fedramp-automation Java usage example

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.

Prerequisites

A compiled Schematron XSLT artifact is required to run this example. The following command will build the artifact:

cd ../../..
make build-validations

Usage

This example uses Maven. You may run directly, or via the provided docker-compose configuration.

mvn --help
docker-compose run example mvn --help

Developer notes

To run tests:

docker-compose run example mvn test

To auto-format code:

docker-compose run example mvn com.coveo:fmt-maven-plugin:format