Compliance-trestle

Latest version: v3.8.1

Safety actively analyzes 723717 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 16

0.7.1

Not secure
Fix

* fix: Assembly behaviour correction and devops fixes.

* Implemented trestle assemble with some UT

* Modified docs

* Code format

* Code lint

* Extending UT

* Full UT

* assemble bug fix

* fix &39;make docs-serve&39; on linux (Red Hat 7.9)

Signed-off-by: Lou Degenaro <degenarous.ibm.com>

* Updated to deal with inherently plural model names.

Signed-off-by: Chris Butler <christhebutlers.me>

Co-authored-by: Nebula Alam <anebulaau1.ibm.com>
Co-authored-by: degenaro <degenarous.ibm.com> ([`ac3828d`](https://github.com/oscal-compass/compliance-trestle/commit/ac3828de66874807b70ee372be51976a724322d1))

* fix: Fix merge main to back to develop automatically.(332)

* Corrected errors in the build process.

Signed-off-by: Chris Butler <christhebutlers.me>

* Corrected errors in the build process.

Signed-off-by: Chris Butler <christhebutlers.me> ([`b64dd9f`](https://github.com/oscal-compass/compliance-trestle/commit/b64dd9f5d1183109fe18bd3a75f5953af269d985))

Unknown

* Merge branch &39;main&39; into develop ([`31e0ac5`](https://github.com/oscal-compass/compliance-trestle/commit/31e0ac5c1ae956140b38d2a7f1b1961a93dd707c))

0.7.0

Not secure
Fix

* fix: Corrected assemble to push files into the correct location. ([`f3bc0e5`](https://github.com/oscal-compass/compliance-trestle/commit/f3bc0e5df22430d396ca0d82bc70624db34a6986))

Unknown

* Release of trestle of assembly and osco-to-oscal.

feat: Release of assembly, osco-to-oscal and other tasks ([`a56c546`](https://github.com/oscal-compass/compliance-trestle/commit/a56c54683ca8ac938f1fc2af787db34f852a9a44))

* Merge branch &39;develop&39; into feat/assemble ([`44d884e`](https://github.com/oscal-compass/compliance-trestle/commit/44d884e0fd9ddd4e207f54dde3ae684c80d4eb96))

* fix:Correct casing in mkdocs serve to work on case sensitive file sytems.

fix &39;make docs-serve&39; on linux (Red Hat 7.9) ([`a2949e1`](https://github.com/oscal-compass/compliance-trestle/commit/a2949e15b79bfc8ee13dd9822aa49e708548c62d))

* fix &39;make docs-serve&39; on linux (Red Hat 7.9)

Signed-off-by: Lou Degenaro <degenarous.ibm.com> ([`28e5fc0`](https://github.com/oscal-compass/compliance-trestle/commit/28e5fc048bafdec4d42d6e2d838df41f83179189))

* Updated to deal with inherently plural model names.

Signed-off-by: Chris Butler <christhebutlers.me> ([`3404043`](https://github.com/oscal-compass/compliance-trestle/commit/34040437cd9b26361934ad24e89926264bb137c6))

* Merge develop ([`d0b2d26`](https://github.com/oscal-compass/compliance-trestle/commit/d0b2d26c0fd81d13e904b95e162e1279747ad517))

* Merge branch &39;main&39; into develop ([`0a4e9c7`](https://github.com/oscal-compass/compliance-trestle/commit/0a4e9c7577576597fa70e1e21abe5d579f155387))

0.6.2

Not secure
Chore

* chore: Updated bad documentation. (317)

* Corrected bad link for website homepage.

Signed-off-by: Chris Butler <christhebutlers.me>

* Typo corrections in documentation website

Signed-off-by: Chris Butler <christhebutlers.me> ([`b5a58f7`](https://github.com/oscal-compass/compliance-trestle/commit/b5a58f71ba1bd7f6a89bb5626999ab8ee6a0049a))

* chore: Auto-update pre-commit hooks (312)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]users.noreply.github.com> ([`0c6c748`](https://github.com/oscal-compass/compliance-trestle/commit/0c6c7487aa26e6666511ec159e35e41e7052db95))

Documentation

* docs: Fix typos and grammar in cli and misspelling in split_merge docs (306) ([`272c2cc`](https://github.com/oscal-compass/compliance-trestle/commit/272c2ccf6fbfca5fe6cdac7f0623b85fa8d5ddd7))

Feature

* feat: trestle assemble implemented and documented.

* Implemented trestle assemble with some UT

* Modified docs

* Code format

* Code lint

* Extending UT

* Full UT

Co-authored-by: Nebula Alam <anebulaau1.ibm.com> ([`e752bc2`](https://github.com/oscal-compass/compliance-trestle/commit/e752bc2a6923c05c6251622499137d0c40633467))

* feat: Enhancement to handle arboretum fetcher-built OSCO evidence as input (311)

Signed-off-by: Lou Degenaro <degenarous.ibm.com>

Co-authored-by: degenaro <degenarous.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`e9c4196`](https://github.com/oscal-compass/compliance-trestle/commit/e9c41969597c6bf587b5732e0851da3e7b24429e))

* feat: task osco-to-oscal to allow transformation from OpenSHift Compliance Operator to OSCAL (296)

* task osco-to-oscal

Signed-off-by: Lou Degenaro <degenarous.ibm.com>

* Fixes to address review by Chris Butler.

- move AssessmentResultsPartial class into osco.py
- fix wacky typing
- fix function/class variable annotations
- fix OSCAL object initialization
- fix awkward while true construct
- use tmp_path
- remove extraneous import

Signed-off-by: Lou Degenaro <degenarous.ibm.com>

* Fixes to address PR comments from CB.

Signed-off-by: Lou Degenaro <degenarous.ibm.com>

* Remedy the metadata cluster-X info concern.

Signed-off-by: Lou Degenaro <degenarous.ibm.com>

* output file reduced to observations list only & improved test cases.

Signed-off-by: Lou Degenaro <degenarous.ibm.com>

* oops, missed a return type.

Signed-off-by: Lou Degenaro <degenarous.ibm.com>

Co-authored-by: degenaro <degenarous.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`ad995a2`](https://github.com/oscal-compass/compliance-trestle/commit/ad995a22029aa67972bc9e6fdd3ebd0e987f50ba))

* feat: Merge allows use of both yaml and json files.

Co-authored-by: Nebula Alam <anebulaau1.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`4d87e6a`](https://github.com/oscal-compass/compliance-trestle/commit/4d87e6aac5a49d1624da06d4f7bab4accb13b033))

Fix

* fix: Corrected branch for mkdocs deploy. (304) (305)

Note: Alternative techniques may be required, however, with devops integration it must be tested live.

Signed-off-by: Chris Butler <christhebutlers.me> ([`be3f13a`](https://github.com/oscal-compass/compliance-trestle/commit/be3f13a89d44c3f773ad7e372e4116eb609c8f5d))

* fix: Corrected bad link to website homepage. (314)

Signed-off-by: Chris Butler <christhebutlers.me> ([`81124fb`](https://github.com/oscal-compass/compliance-trestle/commit/81124fba5f25772cbcabf3fd0923ac6284794ff1))

Unknown

* assemble bug fix ([`fcbbfd2`](https://github.com/oscal-compass/compliance-trestle/commit/fcbbfd2127c9bab2ac07fafd4b8ff4a9fe85e804))

* Full UT ([`f90c351`](https://github.com/oscal-compass/compliance-trestle/commit/f90c3512f466c9ea3cd5cca6290c1b6f288046c0))

* Merge branch &39;develop&39; into feat/assemble ([`963e9b9`](https://github.com/oscal-compass/compliance-trestle/commit/963e9b967d87404cedca959f5f05eeae260fc567))

* Extending UT ([`3662b83`](https://github.com/oscal-compass/compliance-trestle/commit/3662b83a660eed4c1f14eb864afd20b04633be19))

* Code lint ([`d0c8e84`](https://github.com/oscal-compass/compliance-trestle/commit/d0c8e847dd4a13cc7993e86fe567d43a021db6a6))

* Code format ([`9a9235f`](https://github.com/oscal-compass/compliance-trestle/commit/9a9235ff62735bd300ad41b9c24945517d276cd0))

* Modified docs ([`ff49c03`](https://github.com/oscal-compass/compliance-trestle/commit/ff49c03a762abd1ea2fc54d69e2a93e576e07318))

* Merge branch &39;develop&39; into feat/assemble ([`71b0497`](https://github.com/oscal-compass/compliance-trestle/commit/71b04976a7b35403a61e750ff4ea5c30995d9934))

* Implemented trestle assemble with some UT ([`cc02d70`](https://github.com/oscal-compass/compliance-trestle/commit/cc02d70febe86e6b1579f40c323a92637b3b1a8d))

* feat (remote): testing local fetcher get_oscal() and get_raw(), and code format/lint fixes.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`05a1e04`](https://github.com/oscal-compass/compliance-trestle/commit/05a1e04c8afabda3e266d1fa97e02060b94b5db8))

* feat (remote): updated get_oscal() and get_raw() to adjust to proper treatment of _inst_cache_path as full paths to the cache object
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`df886e0`](https://github.com/oscal-compass/compliance-trestle/commit/df886e04a3c2dfbf8f530bfe075ecab155db1148))

* feat (remote): local and sftp fetchers now treat _inst_cache_path as full paths to the cache object, rather than the containing directory.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`c43292e`](https://github.com/oscal-compass/compliance-trestle/commit/c43292ee879cfe4f29fe45cd2d7f9cd23fa7559d))

* feat (remote): merge resolution: sftp tests.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`e2a387d`](https://github.com/oscal-compass/compliance-trestle/commit/e2a387df314a729058562e96bc5dca181ce3adb7))

* feat (remote): Fixed some unit tests, and linted.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`83de1bc`](https://github.com/oscal-compass/compliance-trestle/commit/83de1bcd57e279e540452802f84eb28da5d1da0d))

* feat (remote): More sftp fetcher unit tests.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`0b3ede0`](https://github.com/oscal-compass/compliance-trestle/commit/0b3ede0bd0e7e0d8cc233433aa9d70dc7e691155))

* feat (remote): Removed unnecessary mkdir success check for subdirectory inside _trestle_cache_path, which would have been created successfully previously via __init__.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`8f5f66b`](https://github.com/oscal-compass/compliance-trestle/commit/8f5f66b4e35c58f2d69a8de5c524b110278816be))

* feat (remote): linting and improving test code.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`bef5013`](https://github.com/oscal-compass/compliance-trestle/commit/bef50133da6c306934ef8c1b8cfb5158ae2e1448))

* feat (remote): merging get_oscal and tests in.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`de5bf83`](https://github.com/oscal-compass/compliance-trestle/commit/de5bf83c02f415ad06777993399121119d22ed83))

* feat (remote): cleaned up: get_oscal() doesn&39;t need JSONDecodeError.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`b84a5d1`](https://github.com/oscal-compass/compliance-trestle/commit/b84a5d17275ed8654c043a4a303a3017712cd063))

* feat (remote): get_oscal() implemented and tested, with limited linting. However, yapf did include other parts beyond get_oscal() code for both cache.py and cache_test.py
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`d71607c`](https://github.com/oscal-compass/compliance-trestle/commit/d71607c447d181a74600b84cea1ac1fff1d125eb))

* feat (remote): cleaned up commented region.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`a73bed1`](https://github.com/oscal-compass/compliance-trestle/commit/a73bed1806db0d85487ce10b5df946077a243396))

* feat (remote): Removed unused import.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`6f3a2c7`](https://github.com/oscal-compass/compliance-trestle/commit/6f3a2c72a9e0cf868a9fd4175252c957d8d2054f))

* feat (remote): Implemented base class get_raw() method with on unit tests using local fetcher.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`7abf6a7`](https://github.com/oscal-compass/compliance-trestle/commit/7abf6a7c2a947d8b4043002655bdfdef5e6b87db))

* feature (remote): Fixed settings.py being inside main_test.py... ([`3dfe3b9`](https://github.com/oscal-compass/compliance-trestle/commit/3dfe3b91c049c9c69daede44b4a7fec1c398a458))

* Merge branch &39;main&39; into develop ([`0411969`](https://github.com/oscal-compass/compliance-trestle/commit/04119696cf646b15b3aed0933eaae95923f3af0e))

0.6.1

Not secure
Chore

* chore: Updated UTs more 100% coverage (302)

Signed-off-by: Chris Butler <christhebutlers.me> ([`e77fda3`](https://github.com/oscal-compass/compliance-trestle/commit/e77fda329924230f70a18b34b63011d882ed6297))

* chore: Make fix_any deterministic in output generation (300)

also added full coverage for snake and camel tests ([`c66292e`](https://github.com/oscal-compass/compliance-trestle/commit/c66292ece62dde1aa3df5857b890d543ee99add1))

* chore: Auto-update pre-commit hooks (299)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]users.noreply.github.com> ([`cf83024`](https://github.com/oscal-compass/compliance-trestle/commit/cf83024629b3588891273c5bdcee57d47b2e9a7c))

Fix

* fix: Corrected branch for mkdocs deploy. (304)

Note: Alternative techniques may be required, however, with devops integration it must be tested live.

Signed-off-by: Chris Butler <christhebutlers.me> ([`2dd5d93`](https://github.com/oscal-compass/compliance-trestle/commit/2dd5d93df759f9bde345ca1f8d59014d8eb15787))

* fix: Extra unit tests and cleanup to close more significant gaps (298)

Signed-off-by: Chris Butler <christhebutlers.me> ([`2abcaad`](https://github.com/oscal-compass/compliance-trestle/commit/2abcaadc1bc14419111e1778bbb1fab61d633d5e))

Unknown

* Documentation website up and running. (297)

Minor release: Documentation website up and running. ([`1f8b364`](https://github.com/oscal-compass/compliance-trestle/commit/1f8b364f534131678e74c05538d7db79efe5aabe))

* Merge branch &39;main&39; into develop ([`b984828`](https://github.com/oscal-compass/compliance-trestle/commit/b98482828d085c0ba796522b27a75c9162f86871))

0.6.0

Not secure
Chore

* chore: Ensure develop is correctly updated after a release. (294)

* chore: Ensure develop is updated after release is completed.

Signed-off-by: Chris Butler <christhebutlers.me>

* Corrected typos in PR template.

Signed-off-by: Chris Butler <christhebutlers.me> ([`72539c9`](https://github.com/oscal-compass/compliance-trestle/commit/72539c956be59422056bdb82143772587a9f5f05))

* chore: Add mdformat-gfm to setup.cfg (292)

Signed-off-by: Taneli Hukkinen <hukkinj1users.noreply.github.com> ([`4750882`](https://github.com/oscal-compass/compliance-trestle/commit/4750882396ea44dbfdebe8860cc527a7768a7ac6))

* chore: Auto-update pre-commit hooks (277)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]users.noreply.github.com> ([`2a2d394`](https://github.com/oscal-compass/compliance-trestle/commit/2a2d39432cd6c32c0373465eee0f84893a7f0718))

* chore: Autoformat GFM tables with mdformat-gfm (268)

Signed-off-by: Taneli Hukkinen <hukkinj1users.noreply.github.com> ([`fe4d907`](https://github.com/oscal-compass/compliance-trestle/commit/fe4d9077318fd46aab8088ad1405b6d22bb573b6))

Documentation

* docs: Initial setup of documentation website. (234)

* Documentation website builds. Needs significantly more content.

Signed-off-by: Chris Butler <christhebutlers.me>

* Fixes missing deploy script

Signed-off-by: Chris Butler <christhebutlers.me>

* More updates to the documentation website.

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated contributing documentation

Signed-off-by: Chris Butler <christhebutlers.me>

* Pre-merge commit

Signed-off-by: Chris Butler <christhebutlers.me>

* Precommit update test.

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated documentation for basemodel

Signed-off-by: Chris Butler <christhebutlers.me>

* Added missing docs files

Signed-off-by: Chris Butler <christhebutlers.me>

* Fixing mdformatting issues with include

Signed-off-by: Chris Butler <christhebutlers.me>

* Added more api docs pages

Signed-off-by: Chris Butler <christhebutlers.me>

* chore: Fix gitignore to cover html coverage website.

Signed-off-by: Chris Butler <christhebutlers.me>

* chore: Fix gitignore to cover html coverage website.

Signed-off-by: Chris Butler <christhebutlers.me>

* Updates

Signed-off-by: Chris Butler <christhebutlers.me>

* Corrected poorly formatted links.

Signed-off-by: Chris Butler <christhebutlers.me>

* Improvements in documentation build process.

Signed-off-by: Chris Butler <christhebutlers.me>

* Basic documentation website setup complete.

Signed-off-by: Chris Butler <christhebutlers.me>

* docs/cli.md

Co-authored-by: Nebula Alam <anebulaau1.ibm.com> ([`a51081b`](https://github.com/oscal-compass/compliance-trestle/commit/a51081bd93cb43b02135b72f00e16cf805eacba9))

Feature

* feat: Force update of version

Version failed due to migration to &39;main&39; branch. ([`fc0357b`](https://github.com/oscal-compass/compliance-trestle/commit/fc0357b297bb59d64ad28af23fe2404c31364010))

* feat: Update to OSCAL 1.0.0rc1 and simplified models. (286)

* Start using latest version of datamodel-generator

* Provide Camel and Snake conversion without datamodel-generator

* Flatten refs in schema and use latest datamodel-generator

This is not passing tests yet but may be due to other issues.
Also there may still be classes missing that should be defined.

* Better handling of corner cases. Need forward refs.

* Now can import and fixed_any works. Need cleanup.

* fixed fix_any to handle componentdefinition

* update dateauthorized in generators.py

* Partial resolution of issues with new version of OSCAL.

Signed-off-by: Chris Butler <christhebutlers.me>

* Initial fixes to fix_any.py

* Fixes issues with the generators for constrained ints. (279)

* Updated get_origin and other calls to ensure constrained lists are handled.

Signed-off-by: Chris Butler <christhebutlers.me>

* Various updates including support for conint.

Signed-off-by: Chris Butler <christhebutlers.me>

* Various updates including support for conint.

Signed-off-by: Chris Butler <christhebutlers.me>

* more fixes

* Allow generators to handle cases of List[NonOscalObject] as a field. (280)

* Updated get_origin and other calls to ensure constrained lists are handled.

Signed-off-by: Chris Butler <christhebutlers.me>

* Various updates including support for conint.

Signed-off-by: Chris Butler <christhebutlers.me>

* Various updates including support for conint.

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated generators to deal with new corner case where field is List[NonOscaObject]

Signed-off-by: Chris Butler <christhebutlers.me>

* Cleanup fix_any. now 17 fail and 148 pass

* Updates with 12 open UT&39;s (282)

* Updated get_origin and other calls to ensure constrained lists are handled.

Signed-off-by: Chris Butler <christhebutlers.me>

* Various updates including support for conint.

Signed-off-by: Chris Butler <christhebutlers.me>

* Various updates including support for conint.

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated generators to deal with new corner case where field is List[NonOscaObject]

Signed-off-by: Chris Butler <christhebutlers.me>

* Update to ensure validator passes. Refactored some yaml examples to do so.

Signed-off-by: Chris Butler <christhebutlers.me>

* More test fixes

Signed-off-by: Chris Butler <christhebutlers.me>

* fixes for split_test

* More UT coverage (283)

* Updated get_origin and other calls to ensure constrained lists are handled.

Signed-off-by: Chris Butler <christhebutlers.me>

* Various updates including support for conint.

Signed-off-by: Chris Butler <christhebutlers.me>

* Various updates including support for conint.

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated generators to deal with new corner case where field is List[NonOscaObject]

Signed-off-by: Chris Butler <christhebutlers.me>

* Update to ensure validator passes. Refactored some yaml examples to do so.

Signed-off-by: Chris Butler <christhebutlers.me>

* More test fixes

Signed-off-by: Chris Butler <christhebutlers.me>

* Corrected more UT&39;s to new OSCAL models.

Signed-off-by: Chris Butler <christhebutlers.me>

* Corrected more UT&39;s to new OSCAL models.

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated unit tests for oscal 1.0.0rc

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated unit tests for oscal 1.0.0rc with corrected behaviour.

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated documentation.

Signed-off-by: Chris Butler <christhebutlers.me>

* Added pytest-random-order to dependencies.

Signed-off-by: Chris Butler <christhebutlers.me>

* Stripped out unused functions to boost test coverage.

Signed-off-by: Chris Butler <christhebutlers.me>

Co-authored-by: FrankSuits <frankstau1.ibm.com> ([`992b317`](https://github.com/oscal-compass/compliance-trestle/commit/992b31743f4d1c4ce11d5b8c1ee69995856d0056))

* feat: Distributed load and trestle merge.(272)

* fix: reference to inexistent function

* Allow certain aliases not to be stripped on get_stripped_contextual_model

* Update merge commands on examples

* Initial unit tests for merge

* add unit test for complex merge case

* latest change

* Non-recursive merge and recursive load of distributed model implemented.

* Load distributed implemented

* Testing distributed load. adding back test data, which were mistakenly deleted

* Load distributed working fully now. Need to clean up code and write unit tests.

* Merge implementation complete.

* Code lint and formating

* Fixed Unit Tests

* More merge UTs

* Format and lint

* Restoring phantom changes from develop

* Restoring phantom changes from develop

* Revert &34;Format and lint&34;

This reverts commit 73ef3c83d9f5a4d071f7a422556a420d781b1306.

* Revert &34;Restoring phantom changes from develop&34;

This reverts commit a2b695e8dcce2b4a802438a726aabc0e0e1b8d80.

* Revert &34;Restoring phantom changes from develop&34;

This reverts commit eec5c1bfe0c875af3e07bb77a85e8f4342f971c4.

* Fixed fs_test

* Merge clenup

* More merge UT

* UT for load_distributed

* More MergeCmd UT

* MyPy typing

* MyPy typing

* Format and lint

* Taking out test_merge_simple_list. Test failes becaues [role1, role2] == [role2, role1] is False

* Taking out test_merge_simple_list. Test failes becaues [role1, role2] == [role2, role1] is False

* Fixing UT

* Using sorted(Path.iterdir()) to ensure order of file iteration. Should fix UTs

* QA, code clean up, typing clean up and refractor

Co-authored-by: Bruno <brunomarau1.ibm.com>
Co-authored-by: Nebula Alam <anebulaau1.ibm.com> ([`dceae85`](https://github.com/oscal-compass/compliance-trestle/commit/dceae854c9e96ef2e66931efa9a0263b0470003e))

* feat: Misc cleanups of code for typing, unsafe functions, and other issues. (274)

* Adding more coverage for type checking and removing conflicts.

Signed-off-by: Chris Butler <christhebutlers.me>

* feat: Updating to btest compatibility with python 3.9

Signed-off-by: Chris Butler <christhebutlers.me>

* Removed depricated &34;warn&34; function from use

Signed-off-by: Chris Butler <christhebutlers.me>

* Update to clean up unit tests.

Signed-off-by: Chris Butler <christhebutlers.me>

* More typing coverage.

Signed-off-by: Chris Butler <christhebutlers.me> ([`0652392`](https://github.com/oscal-compass/compliance-trestle/commit/06523929944351ce90ba83a85d57f0b04b323660))

Fix

* fix: correct semantic release behaviour ([`c25d5be`](https://github.com/oscal-compass/compliance-trestle/commit/c25d5be7448ee956cd848a1476b5c9c70d72ab33))

* fix: Changed split to not write empty files after split. Implemented circular split-merge test (295)

Co-authored-by: Nebula Alam <anebulaau1.ibm.com> ([`1ebbeb2`](https://github.com/oscal-compass/compliance-trestle/commit/1ebbeb20db1e25852dd58f7fa7a4ed909e995ef0))

* fix: Correct semantic release behaviour.

Corrected semantic release behaviour. ([`caba993`](https://github.com/oscal-compass/compliance-trestle/commit/caba993013fed5b70ced84fc58d34345e042cb6c))

* fix: Refactor to use python and pytest internals for temporary paths and creating directories.

* Refactored to use tmp_path everywhere

Signed-off-by: Chris Butler <christhebutlers.me>

* Altered unit test to only use pytest inbuilt temporary directories.

Signed-off-by: Chris Butler <christhebutlers.me>

* Adding more typing and clearing up redundant functionality.

Signed-off-by: Chris Butler <christhebutlers.me> ([`1d99ca2`](https://github.com/oscal-compass/compliance-trestle/commit/1d99ca2ac96d76dfa777a0c514be582b382504de))

* fix: Small typo fix.

Trivial spelling fix. ([`2168bb2`](https://github.com/oscal-compass/compliance-trestle/commit/2168bb2b4d8fa79fbf93687a41265379cba608b8))

Unknown

* Merge branch &39;main&39; into develop ([`df99bf8`](https://github.com/oscal-compass/compliance-trestle/commit/df99bf83c4b3326969ab31b070f71b95d38ecee4))

* Merge pull request 289 from IBM/develop

feat: Force update of version for release ([`e716524`](https://github.com/oscal-compass/compliance-trestle/commit/e716524db01f65ad0f9167143126743ea5de4be9))

* Corrected semantic release behaviour.

Signed-off-by: Chris Butler <christhebutlers.me> ([`c147e94`](https://github.com/oscal-compass/compliance-trestle/commit/c147e9443993c37bb484a925e4a10c195c1eb1cd))

* Merge branch &39;main&39; into develop ([`2c97d6c`](https://github.com/oscal-compass/compliance-trestle/commit/2c97d6c2ad0bf029a417ecfef1866d258ace201b))

* Merge pull request 288 from IBM/develop

feat: Release to support OSCAL 1.0.0rc1 ([`cbb39c4`](https://github.com/oscal-compass/compliance-trestle/commit/cbb39c4455274e9e27f335e0699eac92be25de02))

* Merge branch &39;main&39; into develop ([`aad7018`](https://github.com/oscal-compass/compliance-trestle/commit/aad70181dfe4b8868345010fb5fd10000bcd329a))

* Merge pull request 261 from IBM/develop

Trestle release: task and import. ([`24de68c`](https://github.com/oscal-compass/compliance-trestle/commit/24de68ccd4a23ec306137cbdf931f1de03471eb5))

* Merge pull request 264 from IBM/docs/caching-spec

docs (caching): typos and format fixes, explicit prohibition on unencrypted HTTP ([`b3fda9a`](https://github.com/oscal-compass/compliance-trestle/commit/b3fda9a4598541aaac48b65b7ae2881df3b48ea8))

* Merge branch &39;develop&39; into docs/caching-spec ([`c927861`](https://github.com/oscal-compass/compliance-trestle/commit/c9278611acdb2aeb809b62763e4f1fe15b66f661))

* Specs now require HTTPS for fetching, while unencrypted HTTP is not allowed.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`98aabdb`](https://github.com/oscal-compass/compliance-trestle/commit/98aabdbe643d958dcaac00f9c2ff4804e2cb7c93))

* Fixed a few typos.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`474f693`](https://github.com/oscal-compass/compliance-trestle/commit/474f693e56878fb1d5716a42aad09b3bdf4f0fcc))

* Fixed table.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`4e78f45`](https://github.com/oscal-compass/compliance-trestle/commit/4e78f4506bb03fb0768aaaa9ea908b0a652ca630))

* feature (remote): merged remote-sftp branch and resolved... ([`c193dce`](https://github.com/oscal-compass/compliance-trestle/commit/c193dce90ecbfe2bdfbd608ff931a6728b691142))

* Merge pull request 308 from IBM/feature/remote-sftp

Feature/remote-sftp looks good to reviewer. ([`be497fc`](https://github.com/oscal-compass/compliance-trestle/commit/be497fcda82dc8a14c1dea39e6157eb215d4af3b))

* feat (remote): for sftp fetcher, linting and format fixed.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`37b3543`](https://github.com/oscal-compass/compliance-trestle/commit/37b3543c7f462229566825442128c3d4b21a8ae2))

* feat (remote): for sftp fetcher, added loading of ssh key file via env var SSH_KEY, and updated testing.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`b1907c0`](https://github.com/oscal-compass/compliance-trestle/commit/b1907c078137e2106d87bde330f7b473a229b49b))

* feat (remote): added more unit testing for sftp fetcher
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`e0351e4`](https://github.com/oscal-compass/compliance-trestle/commit/e0351e4bb79aa929312e29644f08c7c70864513e))

* feat (remote): added unit tests for sftp fetcher
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`19ef19b`](https://github.com/oscal-compass/compliance-trestle/commit/19ef19bcb8338650344729a350744e5ad508370c))

* feat (remote): working sftp fetcher, live tested with active ssh-agent and password-less auth
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`cd0725d`](https://github.com/oscal-compass/compliance-trestle/commit/cd0725d0363e0ba9a8f3832cf03268c6d3c06c7c))

* feat (remote): added more validations for sftp fetcher, and one for https, with adjustments to unit testing
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`d0e8304`](https://github.com/oscal-compass/compliance-trestle/commit/d0e830422446e49b6379cabf31d595cc5cc595fd))

* feat (remote): started sftp fetcher with simple validation and test, initializing cache location, but no actual fetching yet.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`0a75bcb`](https://github.com/oscal-compass/compliance-trestle/commit/0a75bcb8f39da55d137acc5fc616651a5718418c))

* feature (remote): misc tweaks resulting from merge... ([`98856b9`](https://github.com/oscal-compass/compliance-trestle/commit/98856b93e9b6f819dda23a8b7976fb06eecf491d))

* feature/remote: various updates to fetchers... ([`ff1596c`](https://github.com/oscal-compass/compliance-trestle/commit/ff1596cbdd3a2ed2c15a6c2c3723f2256331d7ac))

* Merged cache_test... ([`f94f0bd`](https://github.com/oscal-compass/compliance-trestle/commit/f94f0bda54065200f022994bda86b8da0d4c68d8))

* Merge pull request 281 from IBM/feature/remote-local

LocalFetcher can now refresh cache from file:/// or absolute path source. ([`c049fa5`](https://github.com/oscal-compass/compliance-trestle/commit/c049fa5e3b41a74b333ac652232a3562fd68faa9))

* feat (remote): generic handling of paths that should also work on Windows environments, linted.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`a1d8e8f`](https://github.com/oscal-compass/compliance-trestle/commit/a1d8e8f9e626677606a335c1c68974615f6cc74f))

* feat (remote): generic handling of paths that should also work on Windows environments.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`80f2b8d`](https://github.com/oscal-compass/compliance-trestle/commit/80f2b8d50f72e3ed6e1fee3d2b45719a5448c269))

* feat (remote): Adjustments for Windows environment.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`3cdc31f`](https://github.com/oscal-compass/compliance-trestle/commit/3cdc31f3054cc5b232d79976c47f460bb0a67923))

* feat (remote): LocalFetcher can now refresh cache from file:/// or absolute path source.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`dc3f809`](https://github.com/oscal-compass/compliance-trestle/commit/dc3f80909d15e5f61617233af5c3a1b7bc6d754a))

* Progress with GithubFetcher and HTTPSFetcher... ([`f03284e`](https://github.com/oscal-compass/compliance-trestle/commit/f03284e6b1e44a7634a249e9637f1b0ecb85c21b))

* feature (remote): Merged Jeff&39;s changes pushed to feature/remote... ([`a0bfd41`](https://github.com/oscal-compass/compliance-trestle/commit/a0bfd41ac5fe0cfa3a95d59c47e2fd29ce76fe6e))

* Merge pull request 266 from IBM/feature/remote-jeff

feat (remote): New caching code and unit tests, and bringing remote work up to sync with develop today. ([`dfdf9b4`](https://github.com/oscal-compass/compliance-trestle/commit/dfdf9b4fd661a2afb6d51054c587fd38671640f3))

* feat (remote): Synchronizing with correct develop versions of test_utils, conftest, fs and trash.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`360835a`](https://github.com/oscal-compass/compliance-trestle/commit/360835a7209712a67c3dd90e47e327a8478f2bcc))

* feat (remote): Adopting trestle.utils.fs
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`df792bc`](https://github.com/oscal-compass/compliance-trestle/commit/df792bcddf5f30af815319c43f120ba647f838a3))

* feat (remote): Extended feature/remote cache.py and its unit test.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`4712eff`](https://github.com/oscal-compass/compliance-trestle/commit/4712effe78e36eb04d9568eb0634744d6949eabb))

* Merge branch &39;develop&39; into feature/remote
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`b2d3dc4`](https://github.com/oscal-compass/compliance-trestle/commit/b2d3dc4f9664c22d60d14a96975d2fc6d4fdd1c8))

* Merge branch &39;main&39; into develop ([`0b0b6c4`](https://github.com/oscal-compass/compliance-trestle/commit/0b0b6c4a3dad51bdce921099906347abc0a4d7df))

0.4.0

Not secure
Chore

* chore: Remove references to master branch and run releases off of &34;main&34; (259)

* Remove references to master branch and run releases off of &34;main&34;

Signed-off-by: Chris Butler <christhebutlers.me>

* Corrected broken github header.

Signed-off-by: Chris Butler <christhebutlers.me> ([`c81b4ba`](https://github.com/oscal-compass/compliance-trestle/commit/c81b4ba116726189d0ced5b2a52f470afe94d29e))

* chore: Cleanup of trestle init to ensure correct return codes(232)

* fix: Improvements in typing and return codes.

Signed-off-by: Chris Butler <christhebutlers.me>

* Initial trestle create

Signed-off-by: Chris Butler <christhebutlers.me>

* Added UT file

Signed-off-by: Chris Butler <christhebutlers.me>

* Added main file to allow running as &34;python -m trestle&34;

Signed-off-by: Chris Butler <christhebutlers.me>

* Commit to allow merging

Signed-off-by: Chris Butler <christhebutlers.me>

* Cleaned and as expected UT failures after merge

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated such that all models can generate

Signed-off-by: Chris Butler <christhebutlers.me>

* Added unit tests for generators.

Signed-off-by: Chris Butler <christhebutlers.me>

* Ready for review

Signed-off-by: Chris Butler <christhebutlers.me>

* Fixed merge error

Signed-off-by: Chris Butler <christhebutlers.me>

* chore: Refactored init to use pathlib where possible

Signed-off-by: Chris Butler <christhebutlers.me>

* chore: Refactored init to use pathlib where possible

Signed-off-by: Chris Butler <christhebutlers.me> ([`3c25a21`](https://github.com/oscal-compass/compliance-trestle/commit/3c25a215a1cc1d27fb0ca99a606356221e2969dd))

* chore: Auto-update pre-commit hooks (231)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]users.noreply.github.com> ([`157c9bf`](https://github.com/oscal-compass/compliance-trestle/commit/157c9bf99c279855f1027d996132777c614b750c))

* chore: Auto-update pre-commit hooks (222)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]users.noreply.github.com> ([`026541d`](https://github.com/oscal-compass/compliance-trestle/commit/026541df894be37664da9823f8ce25f8f0d1276c))

Feature

* feat: Trestle import and unit testing

* Bringing in clean import and test.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Updated logging, removed unwanted trestle init in the test that was messing up the working directory from which I run pytest.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Added argument and return types.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Anticipating TrestleError or some specific error in try blocks now.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Linted.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Fixed error logs for clarity.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Simplified unnecessary try blocks with assertion on return code.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Added a test for attempting to import a non-top level element.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Linting.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Tightened testing around just _run() for most tests, and cleaned up testing code comments.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Added exception handler for file PermissionError.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Removed buffer I/O used tmp_trestle_dir.dirname to put import input outside of trestle project context, and used generators for sample data.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Unnecessary str().
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Linting.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Removing tempfile from test_import_cmd.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Linted.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Removed use of tempfile if generated NamedTemporaryFile will be opened outside test scope, as it breaks in Windows.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Testing load file failures through mocks. Added JSONDecodeError handler in import code.
Signed-off-by: Jeff Tan <jeffetanau1.ibm.com> ([`81b0a3c`](https://github.com/oscal-compass/compliance-trestle/commit/81b0a3c6d3815430d1203168084907dfc239cdc7))

* feat: Trestle remove commands including unit test coverage.

* trestle remove and tests

Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* sample minimal catalog used in trestle remove testing

Signed-off-by: Jeff Tan <jeffetanau1.ibm.com>

* Handling errors without messy exit. Using logger instead of warnings.
Signed-off-by: Jeff Tan <jefferson.tangmail.com>

* Type hints for the return valies added.
Signed-off-by: Jeff Tan <jefferson.tangmail.com>

* Handling errors arising from file arg.
Signed-off-by: Jeff Tan <jefferson.tangmail.com>

* Corrected log text.
Signed-off-by: Jeff Tan <jefferson.tangmail.com>

* - Testing remove() failure correctly.
- Broke up _run() failures into smaller units.
- Covered all _run() failures except plan execute().

Signed-off-by: Jeff Tan <jefferson.tangmail.com>

* Now covering 100%, tests response to failure of add_plan.execute().
Signed-off-by: Jeff Tan <jefferson.tangmail.com> ([`a09e192`](https://github.com/oscal-compass/compliance-trestle/commit/a09e192b8a9ed2e8ccf362b38b4f9b2aecef54cd))

* feat: Validation of duplicates now uses object factory (216)

* Validation of duplicates now using object factory

* flake8 fix

* refactored and simplified validation factory

* Fixed new flake8 B015 errors

* boost duplicates_validator coverage to 100 pct ([`cf00f8b`](https://github.com/oscal-compass/compliance-trestle/commit/cf00f8bb0ea4f0a7c039e1399525ede8d8d0ace8))

* feat: Completed trestle create implementation.

* Initial trestle create

Signed-off-by: Chris Butler <christhebutlers.me>

* Added UT file

Signed-off-by: Chris Butler <christhebutlers.me>

* Added main file to allow running as &34;python -m trestle&34;

Signed-off-by: Chris Butler <christhebutlers.me>

* Commit to allow merging

Signed-off-by: Chris Butler <christhebutlers.me>

* Cleaned and as expected UT failures after merge

Signed-off-by: Chris Butler <christhebutlers.me>

* Updated such that all models can generate

Signed-off-by: Chris Butler <christhebutlers.me>

* Added unit tests for generators.

Signed-off-by: Chris Butler <christhebutlers.me>

* Ready for review

Signed-off-by: Chris Butler <christhebutlers.me> ([`a73538f`](https://github.com/oscal-compass/compliance-trestle/commit/a73538f57f5bf4142c27f65a0b05834650f00cd7))

Fix

* fix: Generalized error expected after parent_model.oscal_read(file_path.absolute()) to handle any and return clean complaint. (245)

Signed-off-by: Jeff Tan <jefferson.tangmail.com> ([`b92ec8b`](https://github.com/oscal-compass/compliance-trestle/commit/b92ec8b40f15f121994eeb57b36e81a3a1b4c239))

* fix: Additional test for trestle add (227)

* fix:add. Add now creates one action plan for all given element paths, instead of individual plans for each element paths provided with -e flag.

* Formatting and liniting

* Add now works with partial models. This prevents addition to models which has already been split from the parent model

* Implemented test for for already split models.

* Changing directory back after test

* Return code in trestle add. Fixed test.

Co-authored-by: Nebula Alam <anebulaau1.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`479413f`](https://github.com/oscal-compass/compliance-trestle/commit/479413f1e0d4f90ae3c89833f71ce3fbd7a3db69))

* fix: for issue 229, another Any] still present in file (230)

* Fix for issue 229, another Any] still present in file

* remove print() and fix typo ([`428b270`](https://github.com/oscal-compass/compliance-trestle/commit/428b270861873d5983551cd5a3d980e6dc728700))

* fix: Improvements in typing and return codes. (224)

Signed-off-by: Chris Butler <christhebutlers.me> ([`c382cb5`](https://github.com/oscal-compass/compliance-trestle/commit/c382cb593bf8b2f2b69810650320fdea544ed803))

* fix: Refactor to adopt FileContentType consistently (223)

Signed-off-by: Chris Butler <christhebutlers.me> ([`793ea7c`](https://github.com/oscal-compass/compliance-trestle/commit/793ea7c353e4445b9a8911f3455656403cca0ca0))

* fix: handle anomalous GroupItems that were generating empty classes (220) ([`8fae9dc`](https://github.com/oscal-compass/compliance-trestle/commit/8fae9dcc74f6067fe01fae0caee167e09a8b5d0f))

Unknown

* Trestle release

Merging from develop for a trestle release. ([`bc877fe`](https://github.com/oscal-compass/compliance-trestle/commit/bc877febbbcf4a9e8cd179d83f68ac3e1a390034))

* feature (remote): added furl to setup requirements and began Github fetch... ([`1555f42`](https://github.com/oscal-compass/compliance-trestle/commit/1555f4286d73d0e17382328183531d7c1f897813))

* Merge branch &39;develop&39; into feature/remote ([`582bae2`](https://github.com/oscal-compass/compliance-trestle/commit/582bae2abe077ee9a9c353f44131951c25df8beb))

* Initial implementation of trestle task interface and sample task for testing.

* Initial set of trestle task docs.

Signed-off-by: Chris Butler <christhebutlers.me>

* Additional details for tasks.

Signed-off-by: Chris Butler <christhebutlers.me>

* Initial implementation of trestle tasks. To be thoroughly tested.

Signed-off-by: Chris Butler <christhebutlers.me>

* Initial implementation of trestle tasks. To be thoroughly tested.

Signed-off-by: Chris Butler <christhebutlers.me>

* Stuff.

Signed-off-by: Chris Butler <christhebutlers.me>

* Altered logging behaviour to use improved logger.

Signed-off-by: Chris Butler <christhebutlers.me>

* Corrected unit tests

Signed-off-by: Chris Butler <christhebutlers.me>

* Ready for merge - first trestle tasks.

Signed-off-by: Chris Butler <christhebutlers.me>

* Merged in removed and updated with appropriate logging changes

Signed-off-by: Chris Butler <christhebutlers.me>

* Corrected behaviour.

Signed-off-by: Chris Butler <christhebutlers.me> ([`d38d933`](https://github.com/oscal-compass/compliance-trestle/commit/d38d933b92e0f61f235532ade74d92e173d66349))

* Merge pull request 229 from IBM/fix/missing_main

Added missing main file for running as a module. ([`d8c0683`](https://github.com/oscal-compass/compliance-trestle/commit/d8c0683a36ea8835b9e50358fb161831df6840ad))

* Added missing main file for running as a module.

Signed-off-by: Chris Butler <christhebutlers.me> ([`93f8e0a`](https://github.com/oscal-compass/compliance-trestle/commit/93f8e0a90fcaaeac105fffb3c77360ee1d029333))

* fix:add. Add now creates one action plan for all given element paths, instead of individual plans for each element paths provided with -e flag.

* fix:add. Add now creates one action plan for all given element paths, instead of individual plans for each element paths provided with -e flag.

* Formatting and liniting

* Add now works with partial models. This prevents addition to models which has already been split from the parent model

Co-authored-by: Nebula Alam <anebulaau1.ibm.com>
Co-authored-by: Chris Butler <christhebutlers.me> ([`f33eeda`](https://github.com/oscal-compass/compliance-trestle/commit/f33eeda6bf83c43269175fa03bbab4dddce4a87a))

* Added test skeleton

Signed-off-by: Chris Butler <christhebutlers.me> ([`d839b9b`](https://github.com/oscal-compass/compliance-trestle/commit/d839b9bb1ad2243ed20d0f2dee3409ed0a4db88c))

* Initial implementation of trestle caching for local fs complete.

Signed-off-by: Chris Butler <christhebutlers.me> ([`d01dfb5`](https://github.com/oscal-compass/compliance-trestle/commit/d01dfb5f3991701cb06a1f7735d94aba8fa5e98e))

* Merge branch &39;master&39; into develop ([`a99b19c`](https://github.com/oscal-compass/compliance-trestle/commit/a99b19c096322e94d24977572691ca4a8c927251))

Page 14 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.