Chore
* chore: Correct CI triggering issues. ([`6d529dc`](https://github.com/oscal-compass/compliance-trestle/commit/6d529dc2d85845dedc78b5af809bc18f2f23cb51))
* chore: Adding docstrings automatically to all oscal models. (827)
Signed-off-by: Chris Butler <christhebutlers.me> ([`0ff4dce`](https://github.com/oscal-compass/compliance-trestle/commit/0ff4dce660c0753c562b8d52eddcaa8ffd6bed98))
* chore: Remove baseexceptions (826)
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com> ([`69492ff`](https://github.com/oscal-compass/compliance-trestle/commit/69492ff292f1aa39fe6730552fa69821dbf70b41))
* chore: reduce lists in given input file and save into given output file (807)
* feat: recursively reduce lists in given input json file and save into given output file in json
Signed-off-by: Jeff Tan <jefferson.tangmail.com>
* feat: just one non-zero return code value of 1 for any exception
Signed-off-by: Jeff Tan <jefferson.tangmail.com>
* feat: last minute change in error, neglected to lint.
Signed-off-by: Jeff Tan <jefferson.tangmail.com>
* feat: lint again
Signed-off-by: Jeff Tan <jefferson.tangmail.com> ([`998cdee`](https://github.com/oscal-compass/compliance-trestle/commit/998cdee4bd3c816ee7a1d816948bc615f209d026))
* chore: Merge back version tags and changelog into develop. ([`8dc9934`](https://github.com/oscal-compass/compliance-trestle/commit/8dc99341f8512c8de1039b329067e6ee8448af17))
Feature
* feat: Add ability to use different versions of templates (837)
* feat: Add Template_Version to templates and instances
Partially Closes: https://github.com/IBM/compliance-trestle/issues/761
Signed-off-by: Ryan Moats <rmoatsus.ibm.com>
* Restructure to remove duplicate code
Signed-off-by: Ryan Moats <rmoatsus.ibm.com>
* Address Lint failures
Signed-off-by: Ryan Moats <rmoatsus.ibm.com>
* feat: Add template versioning
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Fix python version
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Refactor code
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Update docs
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Switch logic to allow custom versions
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Allow validation of all versions
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Attempt to fix Windows issue
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Attempt to fix Windows issue
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Attempt to fix Windows hidden file
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* fix: improved handling of hidden files in tests for windows (846)
* feat: facilitate improved performance within Tanium transformer. (835)
* Facilitate parallel processing to boost transform performance.
* Add comments.
* Multi-CPU testing fix.
* monkey uuid.getnode()
* lint.
* Fix test uuid generation.
* Another testing fix for UUID generation.
* Monkey business.
* Bypass multiprocessing for single batch.
* add: temporary hack to test execute cpus, for windows.
* Fix code smells.
* Hack cpus test for now, since windows fails intermittently.
* Unhack cpus test.
* Lint.
* Tidy up.
* Update for 100% code coverage.
* &34;huge&34; test case, config, and backup of &34;hack&34; solution.
* fix: Tune property construction to reduce overhead
Signed-off-by: Chris Butler <christhebutlers.me>
* Remove extraneous.
* Fix transform time and batch size calculations.
* Support checking and/or multiprocessing.
* Typing fixes.
* Delete re-named file.
* Updates to address comments:
- for loop
- type int
- large cpu values in test
- signature of __init__
* Fix comment re: OscalFactory.
* Code smells fixes.
* More code smells fixes.
* Continue code smells fixing.
* Test coverage 100%
* fix: Minor signature changes
Signed-off-by: Chris Butler <christhebutlers.me>
Co-authored-by: Chris Butler <christhebutlers.me>
* fixed handling of hidden files on windows
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* improved docstring
Signed-off-by: Frank Suits <frankstau1.ibm.com>
Co-authored-by: degenaro <lou.degenarogmail.com>
Co-authored-by: Chris Butler <christhebutlers.me>
Co-authored-by: Ryan Moats <rmoatsus.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me>
Co-authored-by: Frank Suits <47203786+fsuitsusers.noreply.github.com>
Co-authored-by: degenaro <lou.degenarogmail.com> ([`c6d3618`](https://github.com/oscal-compass/compliance-trestle/commit/c6d3618f13e6dc945413867a8d102cd3a7c3c211))
* feat: facilitate improved performance within Tanium transformer. (835)
* Facilitate parallel processing to boost transform performance.
* Add comments.
* Multi-CPU testing fix.
* monkey uuid.getnode()
* lint.
* Fix test uuid generation.
* Another testing fix for UUID generation.
* Monkey business.
* Bypass multiprocessing for single batch.
* add: temporary hack to test execute cpus, for windows.
* Fix code smells.
* Hack cpus test for now, since windows fails intermittently.
* Unhack cpus test.
* Lint.
* Tidy up.
* Update for 100% code coverage.
* &34;huge&34; test case, config, and backup of &34;hack&34; solution.
* fix: Tune property construction to reduce overhead
Signed-off-by: Chris Butler <christhebutlers.me>
* Remove extraneous.
* Fix transform time and batch size calculations.
* Support checking and/or multiprocessing.
* Typing fixes.
* Delete re-named file.
* Updates to address comments:
- for loop
- type int
- large cpu values in test
- signature of __init__
* Fix comment re: OscalFactory.
* Code smells fixes.
* More code smells fixes.
* Continue code smells fixing.
* Test coverage 100%
* fix: Minor signature changes
Signed-off-by: Chris Butler <christhebutlers.me>
Co-authored-by: Chris Butler <christhebutlers.me> ([`4d2ded4`](https://github.com/oscal-compass/compliance-trestle/commit/4d2ded49d314f6e632f531b08a58bc66d53d8997))
* feat: Significant json (de)serialisation performance improvements. (841)
* feat: Significant json performance improvements
Signed-off-by: Chris Butler <christhebutlers.me>
* feat: Improved json IO performance
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Adding benchmarking scripts
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Add orjson for loading as well
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Remove now unused internal function
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Optimising opportunistic copy
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Correct issues with conventional PR
Signed-off-by: Chris Butler <christhebutlers.me> ([`d6f3cb1`](https://github.com/oscal-compass/compliance-trestle/commit/d6f3cb1ab8113c997d463d832aa8c8b721faffd2))
* feat: add yaml header output for profile and catalog generate (833)
* added yaml header support
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* boosted coverage
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* convert strings to const and boost coverage
Signed-off-by: Frank Suits <frankstau1.ibm.com> ([`50093f0`](https://github.com/oscal-compass/compliance-trestle/commit/50093f075615fe25bb6e25b16ff5d98fb0a308f9))
* feat: Add ability to write modified drawio files (813)
* feat: Write modified drawio
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Use constants
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Keep old attributes and encoding
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Add docs
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com> ([`ea814bf`](https://github.com/oscal-compass/compliance-trestle/commit/ea814bfdcfb8e75e2812e182ec09b009e693312a))
* feat: build-component-definition (788)
* feat: build-component-definition
* format + lint fix-up.
* sonar fixes.
* rename task as cis-to-component-definition, misc changes + 100% test cov
* sunc
* remove assert
* fix code smell.
* use https.
* Remove t_<type> statements.
* use monkeypatch.
* Remove locally defined get_trestle_version().
* Remove properties.
* Simplify ingestion of filtering rules json.
* Use Path.open()
* Revise fetch parameters map.
* function parameter types.
* coverage 100%
Co-authored-by: Chris Butler <christhebutlers.me> ([`9f7b1fe`](https://github.com/oscal-compass/compliance-trestle/commit/9f7b1fec0efc017698ceef4c6bf77c132626ec93))
* feat: ssp filter allows filter of ssp based on profile (805)
* initial version of ssp filter
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* refactor and boost coverage
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* cleaned up smells
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* removed model enum and converted strings to const
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* reworked the fs top_level_model access and cleaned up further
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* final cleanup of const
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* optional on filecontent
Signed-off-by: Frank Suits <frankstau1.ibm.com> ([`494ba1b`](https://github.com/oscal-compass/compliance-trestle/commit/494ba1b9a749c44657365f45fc88a8c4aa94ed73))
* feat: Add centralised markdown API (797)
* feat: Add markdown api
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Fix test
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Small changes
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* feat: Handle html tags
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* Add documentation
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`8582516`](https://github.com/oscal-compass/compliance-trestle/commit/8582516f59a8258b513312185b8efdd4cb7a001e))
Fix
* fix: Preliminary fix for parameters where &39;set parameter&39; is called an a value does not exist. (823)
* chore: Adding tests to verify behaviour parameter resolution
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Allow for cases where a&34;set parameter&34; is used without setting values
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Adding more complexity to tests to ensure coverage of the tests.
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Initial implementation of imporoved props adding. Testing TBC.
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Staging for Frank
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: remove dependency on bad logging behaviour.
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: profile merge support (828)
* added support for merge methods in profile resolver
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* added doc string
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* fix: Small typo fixes
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Correct small errors
Signed-off-by: Chris Butler <christhebutlers.me>
* chore: Segregate functions to reduce cognitive complexity.
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Reduce cognitive complexity.
Signed-off-by: Chris Butler <christhebutlers.me>
* extended support for profile_resolver
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* fix: Completing UT&39;s and reducing code redudancy
Signed-off-by: Chris Butler <christhebutlers.me>
* fix: Added missing test files.
Signed-off-by: Chris Butler <christhebutlers.me>
* better coverage
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* increased coverage
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* addressed pr feedback
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* fix: Small formatting changes.
Signed-off-by: Chris Butler <christhebutlers.me>
* profile param order sub works
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* trying to make constraints work
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* minor change to convert a warning to a debug msg
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* now using attrs for part components
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* changed default behavior in tests
Signed-off-by: Frank Suits <frankstau1.ibm.com>
Co-authored-by: Frank Suits <47203786+fsuitsusers.noreply.github.com>
Co-authored-by: Frank Suits <frankstau1.ibm.com> ([`d20f2b9`](https://github.com/oscal-compass/compliance-trestle/commit/d20f2b9e6ca10c4fa829bb723d68ea3d06902cd0))
* fix: merge yaml header content when writing control (825)
* now write catalog as markdown will check for yaml header contents
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* added comments
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* added coverage and docs
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* fixed small bug in merge dicts
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* one more coverage line
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* another coverage line
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* small bug
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* error in tutorial text
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* final fix
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* clarified doc strings
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* test utils return bool instead of int
Signed-off-by: Frank Suits <frankstau1.ibm.com> ([`8d0b3b0`](https://github.com/oscal-compass/compliance-trestle/commit/8d0b3b0f3a6c5e3a47a42b46b77081a700947d6b))
* fix: all Alter/Add of prop by_id (821)
* allow add by_id
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* added by_id prop to test file
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* removed unneeded catalog interface
Signed-off-by: Frank Suits <frankstau1.ibm.com> ([`a9047a8`](https://github.com/oscal-compass/compliance-trestle/commit/a9047a83e0b0c64c34448f776a7e13fff77e6b2a))
* fix: ssp generate with alter props issue (819)
* fix for ssp generate
Signed-off-by: Frank Suits <frankstau1.ibm.com>
* increase coverage
Signed-off-by: Frank Suits <frankstau1.ibm.com> ([`a1e4219`](https://github.com/oscal-compass/compliance-trestle/commit/a1e421944ce11432b2b2832b8f669b65428f1b38))
* fix: Allow markdown substitutions (812)
* fix: Allow markdown substitutions
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* fix: Refactor code
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com>
* fix: Fix typos
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com> ([`8d52d3e`](https://github.com/oscal-compass/compliance-trestle/commit/8d52d3eb4aaa0a73685983114ffa38c494b9fec4))
* fix: Handle hard line breaks (804)
Signed-off-by: Ekaterina Nikonova <enikonovadgmail.com> ([`b1e39c1`](https://github.com/oscal-compass/compliance-trestle/commit/b1e39c1173b235a87981a2856081cd54aeac86e3))
Unknown
* Merge pull request 845 from IBM/develop
Trestle release ([`7e8292d`](https://github.com/oscal-compass/compliance-trestle/commit/7e8292db889b8f1e3babf1e6327641b7e179b967))