Chore
* chore: Merge back version tags and changelog into develop. ([`5ac3067`](https://github.com/oscal-compass/compliance-trestle/commit/5ac3067ad2e81eb3b0d31f2d3f05a12b44ec1072))
Feature
* feat: add parameter value origin field to parameters (1470)
* feat: add parameter value origin field to parameters
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: remove wrong added field from oscal model
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: add param_value_origin to props and add validations
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: correct ci
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: correct param value origin cycle
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: correct profile-param-value-origin flow
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: adding final corrections and test for inherited param-value-origin
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: correct formating
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: add step to ignore param-value-origin if no replacement was done in profile-param-value-origin
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: correct code format
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: correct tests
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: use replace me placeholder instead of literal text
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: use replace me tag in default value for param-value-origin
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: correct code format
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
---------
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com> ([`b86aa2b`](https://github.com/oscal-compass/compliance-trestle/commit/b86aa2b5ef97a8fd988efb8ec995fb0624af6db0))
* feat: allow use of OpenSCAP result files in task xccdf_result_to_oscal_ar (1411)
* feat: Allow use of OpenSCAP result files in task xccdf_result_to_oscal_ar
Before this commit if you wanted to use result files from OpenSCAP
in the task xccdf_result_to_oscal_ar you had to extract the
`TestResult` element and place it as the root of the XML
document, otherwise the resulting OSCAL document would be
blank. Thus making it impossible to directly use output from
OpenSCAP with the task.
With this commit the task will detect that the root element
is not `TestResult` and then it will find the `TestResult`
element in the XML document. This allows the use of files
created by OpenSCAP using the `--results` and `--results-arf`
switches.
Signed-off-by: Matthew Burket <mburketredhat.com>
* Add tests for OpenSCAP results files for task xccdf_result_to_oscal_ar_test
Signed-off-by: Matthew Burket <mburketredhat.com>
---------
Signed-off-by: Matthew Burket <mburketredhat.com> ([`eeb715c`](https://github.com/oscal-compass/compliance-trestle/commit/eeb715c4cd86c3bd5183592c03beac1cc46859d9))
* feat: add inheritance view to ssp-generate and ssp-assemble (1441)
* feat: adds ability to process exports from SSP and write Markdown by component
Adds ExportInterface and ExportWriter classes
Adds Markdown generation to ssp-generate
Add MarkdownWriter for leveraged statements
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
Signed-off-by: Alex Flom <alexander.flomgmail.com>
* feat: adds InheritanceMarkdownReader for reading leveraged statement markdown
Adds InheritanceMarkdownReader for processing into a leveraging SSP context
Adds persistance for components and satisified statements during updates
Changes leveraging component from a single dictionary to a list
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* feat: Adds reader class for inheritance markdown
Adds ExportReader class
Removes ExportInterface class
Adds a single ByComponentInterface class to interact with the model
in terms of inheritance
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
Co-authored-by: Jennifer Power <barnabei.jennifergmail.com>
* docs: updates documentation with usage and API references updates for inheritance
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* chore: updates AgileAuthoring class for ssp-generate arg changes
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* docs: updates returns section in InheritanceMarkdownReader docstring
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* fix: updates line length on return statement in InheritanceMarkdownReader
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* refactor: updates markdown heading and comment strip function to remove regex
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* test: adds inheritance view testing for ssp-assemble
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* chore: adds more context to ExportReader class comments
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* feat: updates ssp-generate to filter control implementation for leveraged_ssp
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* refactor: updates ExportWriter to reduce code duplication
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* fix: updates ExportReader to add new statements if present in the inheritance view
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* fix: update logging to debug in ExportReader
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* refactor: simplify code in read_exports_from_markdown
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* tests: simplify tests for ExportReader test data generation
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* refactor: reduce code duplication in ExportReader methods
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* fix: allows inheritance info to be removed when component is unmapped
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* feat: adds leveraged authorization updates to system implementation
Adds SSPInheritanceAPI class for interacting with leveraged auth
information
Adds trestle global tags to markdown to store SSP location info
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
Co-authored-by: Alex Flom <alexander.flomgmail.com>
* docs: add docs updates for SSPInheritanceAPI class
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* chore: updates warning message for leveraged authorization with comps
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* fix: updates ssp-assemble to ensure existing leveraged comps persist
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* fix: adds fixes to address PR feedback
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
* refactor: polishes SSPInheritanceAPI class to reduce complexity
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
---------
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com>
Signed-off-by: Alex Flom <alexander.flomgmail.com>
Co-authored-by: Alex Flom <aflomredhat.com>
Co-authored-by: Alex Flom <alexander.flomgmail.com> ([`6cf498b`](https://github.com/oscal-compass/compliance-trestle/commit/6cf498b26aa2a2d583714470038291b0567fb80a))
Fix
* fix: correct empty values going in assembled profile (1491)
* fix: correct empty values going in assembled profile
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: add test case to check profile values replaced
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
---------
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com> ([`136b712`](https://github.com/oscal-compass/compliance-trestle/commit/136b712cfaf0392ae5673a6103700014d27b2866))
* fix: correct vulnerability (1486)
* fix: correct critical vulnerability
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
* fix: correcting vulnerability
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
---------
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com> ([`4610d24`](https://github.com/oscal-compass/compliance-trestle/commit/4610d247516c7ddc37a1b1774b31fbfb9f5012fa))
* fix: move to new org (1483)
* fix: move to new org
github.com/IBM -> github.com/oscal-compass
ibm.github.io -> oscal-compass.github.io
Signed-off-by: Lou DeGenaro <lou.degenarogmail.com>
* fix: run make mdformat
Signed-off-by: Lou DeGenaro <lou.degenarogmail.com>
* fix: correct missing org changes
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
---------
Signed-off-by: Lou DeGenaro <lou.degenarogmail.com>
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com>
Co-authored-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com> ([`c456779`](https://github.com/oscal-compass/compliance-trestle/commit/c4567792cc62b7e9e85c8dca0ce2d26fe82fcbc6))
* fix: sonar (1481)
Signed-off-by: Lou DeGenaro <lou.degenarogmail.com> ([`4e7e8fd`](https://github.com/oscal-compass/compliance-trestle/commit/4e7e8fd6618852dcceb4b464a7cabc91154e171a))
* fix: correct critical vulnerability (1479)
Signed-off-by: Alejandro Jose Leiva Palomo <alejandro.leiva.palomoibm.com> ([`72b0f6f`](https://github.com/oscal-compass/compliance-trestle/commit/72b0f6f132fe7f6ed20fd29e47e13656082c0d29))
* fix: link main readme to agile authoring setup repo (1477)
* fix: link main readme to agile authoring setup repo
Signed-off-by: Lou DeGenaro <lou.degenarogmail.com>
* fix: docs validate
Signed-off-by: Lou DeGenaro <lou.degenarogmail.com>
---------
Signed-off-by: Lou DeGenaro <lou.degenarogmail.com> ([`88c1606`](https://github.com/oscal-compass/compliance-trestle/commit/88c16064897644db03aab11799a6dfc31ec8a1d2))
* fix(tests): pins oscal-content references in tests the latest 1.0 commit (1474)
Signed-off-by: Jennifer Power <barnabei.jennifergmail.com> ([`0dc7551`](https://github.com/oscal-compass/compliance-trestle/commit/0dc755184fb8c061cacc90cc930ea7b0c43f2b7c))
Unknown
* Merge pull request 1492 from oscal-compass/develop
chore: Trestle release ([`e6c42fa`](https://github.com/oscal-compass/compliance-trestle/commit/e6c42fad64855796fe21ca082cfc1c9fa879a2e9))
* fix - trestle direct dependency on requests pkg (1488)
Signed-off-by: Lou DeGenaro <lou.degenarogmail.com> ([`c112f9c`](https://github.com/oscal-compass/compliance-trestle/commit/c112f9cf1ec9ff5228b58a4383beb5f9684b9591))