The inspect command allows you to inspect a JSON/DSL workspace via the workspace inspection feature. The return code indicates the number of violations that were shown.


  • -workspace: The path or URL to the workspace JSON/DSL file (required)
  • -inspector: Provides a way to use a custom inspector; this needs to extend Inspector, with the compiled class(es) being available on the CLI classpath or packaged as a JAR file in a directory named plugins next to your workspace file (optional)
  • -severity: A comma separated list of violation severities to show (optional; defaults to error,warning,info,ignore)


To inspect a JSON workspace definition:

./ inspect -workspace workspace.json

To inspect a JSON workspace definition, showing only errors and warnings:

./ inspect -workspace workspace.json -severity error,warning