Skip to content

Commit

Permalink
fix: Fix links (#20)
Browse files Browse the repository at this point in the history
* fix links.

* Make code-lint happy

Signed-off-by: Ekaterina Nikonova <[email protected]>

Co-authored-by: Ekaterina Nikonova <[email protected]>
  • Loading branch information
degenaro and enikonovad authored Jun 15, 2022
1 parent 43f18fa commit 4d6a53c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ISM_catalog_profile/scripts/ISM/ISM.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ def create_ism_catalog(self, version: str) -> None:
- below this will be parts
"""
# Get list of top level controls
tl_group_titles = set(map(lambda x: x['Guideline'], ism_controls))
tl_group_titles = {x['Guideline'] for x in ism_controls}
groups = []
for tl_group_name in tl_group_titles:
group = catalog.Group(id=self._name_clean(tl_group_name), title=tl_group_name)
# now add l2 groups
control_subset = list(filter(lambda x: x['Guideline'] == tl_group_name, ism_controls))
# get set l2 group names.
l2_group_titles = set(map(lambda x: x[l2_group_key], control_subset))
l2_group_titles = {x[l2_group_key] for x in control_subset}
l2_groups = []
for l2_group_name in l2_group_titles:
clean_id = self._name_clean(l2_group_name)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ The Centre for Internet Security (CIS) produce a number of cross industry standa

*Convert a spreadsheet into a `component-definition`*

This [demonstration](./trestle_task_spread_sheet_to_component_definition) shows how to use the `trestle task xlsx-to-oscal-component-definition` functionality.
This [demonstration](./trestle_task_spread_sheet_to_component_definition) shows how to use the `trestle task xlsx-to-oscal-cd` functionality.

*Convert an OpenShift Compliance Operator (OSCO) results into a partial `assessment-results`*

This [demonstration](./trestle_task_osco_to_oscal) shows how to use the `trestle task osco-to-oscal` functionality.
This [demonstration](./trestle_task_osco_result_to_oscal_ar) shows how to use the `trestle task osco_result_to_oscal_ar` functionality.

## Trestle as Foundation Examples

Expand Down

0 comments on commit 4d6a53c

Please sign in to comment.