Chore
* chore: Auto-update pre-commit hooks (362)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]users.noreply.github.com> ([`b6c1da5`](https://github.com/oscal-compass/compliance-trestle/commit/b6c1da5af3bdca8971de0796422caaf3f3c7b4f0))
* chore: Unit test runs to ensure website boots and is usable. (338)
* unit test: website boots and is usable.
Signed-off-by: Lou Degenaro <degenarous.ibm.com>
* whoopsi - forgot to format & lint.
Signed-off-by: Lou Degenaro <degenarous.ibm.com>
Co-authored-by: degenaro <degenarous.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`7b1b48d`](https://github.com/oscal-compass/compliance-trestle/commit/7b1b48d8438c0f2f800741945811fb832ad76df0))
* chore: Merge back version tags and changelog into develop. ([`4686dd4`](https://github.com/oscal-compass/compliance-trestle/commit/4686dd46d14e9d9c57431c238a8bed2e4a816acc))
Documentation
* docs: website documentation for trestle task osco-to-oscal (336)
Signed-off-by: Lou Degenaro <degenarous.ibm.com>
Co-authored-by: degenaro <degenarous.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`95c5c09`](https://github.com/oscal-compass/compliance-trestle/commit/95c5c09b9f6f56aa4697609459f1369e06b7f3c2))
Feature
* feat: Added bulk operations for assemble (367)
Allows assemble to be executed across all files of a given type.
Co-authored-by: Chris Butler <christhebutlers.me> ([`771d54e`](https://github.com/oscal-compass/compliance-trestle/commit/771d54e29ee839d38330929001c908b6ad669f8f))
* feat: Utility to transform OSCO yaml data into OSCAL observations json data. (348)
Signed-off-by: Lou Degenaro <degenarous.ibm.com>
Co-authored-by: degenaro <degenarous.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`488a75a`](https://github.com/oscal-compass/compliance-trestle/commit/488a75a7fa5f259b2655b624ba7e3643c4ab7b28))
* feat: validate duplicates now loads distributed models (346)
Co-authored-by: Chris Butler <christhebutlers.me> ([`1d54353`](https://github.com/oscal-compass/compliance-trestle/commit/1d54353e595a502a3f1d0f4410f9da38f501daaa))
Fix
* fix: Allow assemble to succeed when no model is found. (368)
Signed-off-by: Chris Butler <christhebutlers.me> ([`fe7a288`](https://github.com/oscal-compass/compliance-trestle/commit/fe7a2882f447a628a30a08d1c089fac752d16579))
* fix: To website automation test on windows (366) ([`8e3ecbf`](https://github.com/oscal-compass/compliance-trestle/commit/8e3ecbf5f9acb8db4e200f7769cefcb20941a410))
Unknown
* Merge pull request 364 from IBM/develop
Release to main: Refactored behaviour for validate and assemble. ([`194c005`](https://github.com/oscal-compass/compliance-trestle/commit/194c0058d2d2e806ea19cefddde8a05ea9c5bfe2))
* feat (remote): SSH_KEY must now contain the private key (RSA), not its file name, e.g., SSH_KEY=$(cat ~/.ssh/id_rsa). It is expected to have newlines. Unit test updated accordingly.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`74223a1`](https://github.com/oscal-compass/compliance-trestle/commit/74223a18a7e4d81a55167d0237d0fb1f14d9385d))
* feat (remote): Linted.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`23dc762`](https://github.com/oscal-compass/compliance-trestle/commit/23dc76213d376ee9295d9e0d0bed94c64887a283))
* feat (remote): Removed HTTPS and Github Fetcher code for now, to be dealt with sometime after this version merges in.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`b9c4778`](https://github.com/oscal-compass/compliance-trestle/commit/b9c47781b7b8c8fcd49d64cbb3a6a2a678be9119))
* feat (remote): Updated test_https_fetcher() so a try block isn&39;t included.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`54019af`](https://github.com/oscal-compass/compliance-trestle/commit/54019af446c3942897c142913176a6775248dbe1))
* feat (remote): Local fetcher will now refuse to cache an object that is inside a trestle project. Unit tests adjusted accordingly.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`663af76`](https://github.com/oscal-compass/compliance-trestle/commit/663af764627d36bc3c33f14186d25aafa980ea54))
* Merge branch &39;feature/remote&39; of github.com:IBM/compliance-trestle into feature/remote
Chris merged develop into this more recently.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`90437e4`](https://github.com/oscal-compass/compliance-trestle/commit/90437e4b18ed59c8374cc331bd41a08f8f24d07a))
* Merge branch &39;develop&39; into feature/remote ([`2db970f`](https://github.com/oscal-compass/compliance-trestle/commit/2db970fc4afdfdffb8fcbeb1f38ad68b7044dc30))
* Wrap validate in try block to catch exceptions. Increase test coverage. (363) ([`14686a8`](https://github.com/oscal-compass/compliance-trestle/commit/14686a873b71aff2ba6a4494efed49d8f95ec29d))
* Feature/validate distributed now validates models by type and all (360)
* validate duplicates now loads distributed models
* Extensive changes to support loading models by name
* validate by type now works. Increased test coverage.
* validate now works on -all. all tests pass
Co-authored-by: Chris Butler <christhebutlers.me> ([`b347222`](https://github.com/oscal-compass/compliance-trestle/commit/b347222314282d520bdcb60f1de325429fd5d5e7))
* Feat: Trestle init now adds keep files. (357)
* trestle init now adds .keep files to preserve directory structure for git
Signed-off-by: Juliet Rubinstein <juliet.rubinsteinibm.com>
* trestle init now adds .keep files to preserve directory structure for git
Signed-off-by: Juliet Rubinstein <juliet.rubinsteinibm.com>
* trestle init now adds .keep files to preserve directory structure for git
Signed-off-by: Juliet Rubinstein <juliet.rubinsteinibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`f6ca64a`](https://github.com/oscal-compass/compliance-trestle/commit/f6ca64adf99eca5a89d678266b377d07eb3d3ce3))
* Merge pull request 354 from IBM/feature/import-validate
feat (import): Validation is now part of trestle import, with a rollback if duplicates are found. ([`4080dc2`](https://github.com/oscal-compass/compliance-trestle/commit/4080dc23e13eba0398face98d55f705a60b7216e))
* feat (import): Updated test for import with validation calls, coverage up to 100%.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`c168922`](https://github.com/oscal-compass/compliance-trestle/commit/c1689223330d28c9487cde5337ea1a3a18e9883e))
* Merge branch &39;develop&39; into feature/import-validate
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`c41df46`](https://github.com/oscal-compass/compliance-trestle/commit/c41df46508ccc5d7d8ee8d19630c6279e1beba35))
* feat (import): Updated tests for import with validation calls.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`2a3b71f`](https://github.com/oscal-compass/compliance-trestle/commit/2a3b71f290077bef6e1247c8d29ec5d5eb78a7eb))
* feat (import): Linted.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`2ea9df6`](https://github.com/oscal-compass/compliance-trestle/commit/2ea9df6a70daca840fa9bbfae262acb277175b59))
* feat (import): Validating imported model using trestle validate, rolling back if unhappy with results.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`d9c810a`](https://github.com/oscal-compass/compliance-trestle/commit/d9c810ad09e7c33baf3f424b5ea9fb38e2483d21))
* feat (remote): Fixed confused use of SSH_KEY, so now it refers to a private key, if supplied. Host keys are now loaded from usual/default paths.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`7cd95ca`](https://github.com/oscal-compass/compliance-trestle/commit/7cd95ca59b2a193d1651f777cfa2eb3d0dadd71c))
* feat (remote): Setting relative paths for the local fetcher aside, for now.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`d5c6285`](https://github.com/oscal-compass/compliance-trestle/commit/d5c628509e871cf7b962b6ca36c497233fa1ec32))
* feat (remote): Can&39;t handle relative paths properly on Windows just yet.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`d1632a7`](https://github.com/oscal-compass/compliance-trestle/commit/d1632a7636a8ab24d0303dfb2f5aa84077875c9e))
* feat (remote): code-format prefers one line.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`cb806bb`](https://github.com/oscal-compass/compliance-trestle/commit/cb806bb0fbacb174adc1399d89c6771c744c70ab))
* feat (remote): Allowing for sftp uri with a password but no username, which is pulled in from environment instead.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`b7f3630`](https://github.com/oscal-compass/compliance-trestle/commit/b7f3630800a6164f9d5e151cd6ff4a992544d493))
* feat (remote): Fixed unwanted attribute assignments (may remove them completely). Added local fetcher test for relative paths.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`0dbf1a5`](https://github.com/oscal-compass/compliance-trestle/commit/0dbf1a55ceb278ea497b9978276137fe1060f78e))
* feat (remote): Fixed naming for _cached_dir variable to disambiguate across fetchers.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`2292f7b`](https://github.com/oscal-compass/compliance-trestle/commit/2292f7b8cd79295dd6f8976af6982c7c47c6f2ad))
* feat (remote): Improved docstrings, with attributes and arguments listed where applicable.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`c779099`](https://github.com/oscal-compass/compliance-trestle/commit/c7790990cb9fe661456808d1c4789d4a4522b0d6))
* feat (remote): Improved docstrings, cleaned up code a bit.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`a96a0c6`](https://github.com/oscal-compass/compliance-trestle/commit/a96a0c6af225b152ec28c54b6c451b70de8d0988))
* feat (remote): Accepting any Windows filesystem drive letter in uri.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`12b4d11`](https://github.com/oscal-compass/compliance-trestle/commit/12b4d11021c3ff43e7d66c7637e976331b32320e))
* feat (remote): Added or improved docstrings, and removed unnecessary fail_hard attribute.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`68d384f`](https://github.com/oscal-compass/compliance-trestle/commit/68d384f881ab0133220f67f5dcad0bd5283f7e61))
* feat (remote): Moving settings work out of this branch.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`178cc4b`](https://github.com/oscal-compass/compliance-trestle/commit/178cc4b7e8dabea1941561f68c1208158385faac))
* feat (settings): Moving settings-related work out of this branch and into its own branch.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`b3de78c`](https://github.com/oscal-compass/compliance-trestle/commit/b3de78c896316bb04ff06ab64281a8a4cc05e196))
* feat (settings): Using random non-functional token string.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`e72ea65`](https://github.com/oscal-compass/compliance-trestle/commit/e72ea6576b431a0351984514eae159714dd81154))
* feat (remote): Again, username and password for HTTPSFetcher tests instead of expecting a particular env var.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`c7390c1`](https://github.com/oscal-compass/compliance-trestle/commit/c7390c1b5138b6707627346c18b32ba3c3ed3a66))
* feat (remote): Setting username and password for HTTPSFetcher tests instead of expecting a particular env var.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`38d4a87`](https://github.com/oscal-compass/compliance-trestle/commit/38d4a8746a63eaeba3014282edbf542695fb3611))
* feat (remote): linted HTTPSFetcher tests.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`664da29`](https://github.com/oscal-compass/compliance-trestle/commit/664da29e91f38a7e9ae9a41888f4f4c1399d4758))
* feat (remote): improved get test for HTTPSFetcher.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`e4aec2c`](https://github.com/oscal-compass/compliance-trestle/commit/e4aec2cd848e5db39b7509ac70727cfac9c1fb34))
* feat (remote): get failure test for HTTPSFetcher.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`620fe44`](https://github.com/oscal-compass/compliance-trestle/commit/620fe442685a8dee0bac53bccb5d578130e90ea9))
* feat (remote): HTTPSFetcher now fills _inst_cache_path, and now has a basic unit test. Minor fix to test_fetcher_factory.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`d3d96e6`](https://github.com/oscal-compass/compliance-trestle/commit/d3d96e6c6d43bde4de1b7d1d4b5b69d9445b317d))
* Added tests for unsupported scheme in url and a local file in a Windows filesystem.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`c8f8de7`](https://github.com/oscal-compass/compliance-trestle/commit/c8f8de79ceeb729511ca830fc60b7911de3128b4))
* feat (import): Updated nist submodules.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`05db1a0`](https://github.com/oscal-compass/compliance-trestle/commit/05db1a08bbc6143a2f66145978d5da13270cfa37))
* feat (import): Linted/formatted/modified to allow make test to succeed.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`f51023f`](https://github.com/oscal-compass/compliance-trestle/commit/f51023f078b993331c59ad561533e8211d8115ac))
* Merge branch &39;develop&39; into feature/remote
Just to align this branch with recent updates in develop.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`f5e5723`](https://github.com/oscal-compass/compliance-trestle/commit/f5e57238fe48c7c63e57ce9116c02b98012f5cf1))
* New command replicate and functionality to deduce content type based on discovered file extension (331)
* Initial mock up of replicate and test
* More complete implementation - passes test
* more fixes due to changing --name to --output
* Added path_to_content_type and tests
Allows determining content type from extension of file in directory.
* Usable version of replicate with more comprehensive tests.
* Improved docstring and pluralize function
* increase coverage for replicate
* added tests to bring coverage to 100%
Co-authored-by: Chris Butler <christhebutlers.me> ([`2694101`](https://github.com/oscal-compass/compliance-trestle/commit/2694101f4414446d5b1fae8b4218083379d7d2ea))