lula tools compose
Lula CLI command reference for
lula tools compose
.2 minute read
lula tools compose
compose an OSCAL component definition
Synopsis
Lula Composition of an OSCAL component definition. Used to compose remote validations within a component definition in order to resolve any references for portability.
Supports templating of the composed component definition with the following configuration options:
- To compose with templating applied, specify ‘–render, -r’ with values of ‘all’, ’non-sensitive’, ‘constants’, or ‘masked’ (choice will depend on the use case for the composed content)
- To render Lula Validations include ‘–render-validations’
- To perform any manual overrides to the template data, specify ‘–set, -s’ with the format ‘.const.key=value’ or ‘.var.key=value’
lula tools compose [flags]
Examples
To compose an OSCAL Model:
lula tools compose -f ./oscal-component.yaml
To indicate a specific output file:
lula tools compose -f ./oscal-component.yaml -o composed-oscal-component.yaml
Options
-h, --help help for compose
-f, --input-file string the path to the target OSCAL component definition
-o, --output-file -composed the path to the output file. If not specified, the output file will be the original filename with -composed appended
-r, --render string values to render the template with, options are: masked, constants, non-sensitive, all
--render-validations extend render to remote Lula Validations
-s, --set strings set value overrides for templated data
Options inherited from parent commands
-l, --log-level string Log level when running Lula. Valid options are: warn, info, debug, trace (default "info")
SEE ALSO
- lula tools - Collection of additional commands to make OSCAL easier
Feedback
Was this page helpful?