From 80b41e7abe2babd28504bcbd627d55712dc80dee Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Wed, 13 Sep 2023 16:49:09 -0400 Subject: [PATCH] fix: update logging to debug in ExportReader Signed-off-by: Jennifer Power --- trestle/core/crm/export_reader.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/trestle/core/crm/export_reader.py b/trestle/core/crm/export_reader.py index 2e28be484..f89de13b9 100644 --- a/trestle/core/crm/export_reader.py +++ b/trestle/core/crm/export_reader.py @@ -40,7 +40,8 @@ class ExportReader: By-Component Assembly Exports Markdown reader. Export reader handles all operations related to reading authored inherited and satisfied statements from exports - in Markdown. + in Markdown. The reader will read all the markdown files in the exports directory and update the SSP with the + inheritance. """ def __init__(self, root_path: pathlib.Path, ssp: ossp.SystemSecurityPlan): @@ -49,7 +50,7 @@ def __init__(self, root_path: pathlib.Path, ssp: ossp.SystemSecurityPlan): Arguments: root_path: A root path object where an SSP's inheritance markdown is located. - ssp: A system security plan with exports + ssp: A system security plan object that will be updated with the inheritance information. """ self._ssp: ossp.SystemSecurityPlan = ssp @@ -75,7 +76,7 @@ def read_exports_from_markdown(self) -> ossp.SystemSecurityPlan: # Process remaining markdown information that was not in the implemented requirements for control_id, by_comp_dict in markdown_dict.items(): - logging.info(f'Adding control mapping {control_id} to implemented requirements') + logging.debug(f'Adding control mapping {control_id} to implemented requirements') self._add_control_mappings_to_implemented_requirements(control_id, by_comp_dict) impl_requirements: List[ossp.ImplementedRequirement] = []