Skip to content

Commit

Permalink
fix: Issue #24 (#25)
Browse files Browse the repository at this point in the history
* Issue #24

- Remove Kubernetes transformer demo
- Add link to Kubernetes WG transformer demo

* Issue #22

* Update precommit

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

Signed-off-by: Ekaterina Nikonova <[email protected]>
Co-authored-by: Ekaterina Nikonova <[email protected]>
  • Loading branch information
degenaro and Ekaterina Nikonova authored Nov 8, 2022
1 parent 8cba3d1 commit 155f468
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 1,029 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
exclude: "(oscal|third_party)"
stages: [commit]
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.14 # Do not change version. 0.6.0 introduces breaking changes.
rev: 0.7.16
hooks:
- id: mdformat
exclude: "CHANGELOG.md|docs/mkdocs_code_of_conduct.md|docs/api_reference|tests/data/md"
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ install:
pre-commit:
pre-commit install

code-format:
pre-commit-update:
pre-commit autoupdate

code-format: pre-commit-update
pre-commit run yapf --all-files

code-lint:
code-lint: pre-commit-update
pre-commit run flake8 --all-files
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ This [demonstration](./trestle_task_osco_result_to_oscal_ar) shows how to use th

*Convert Kubernetes results into partial OSCAL `assessment-results`*

This [demonstration](./trestle_k8s) shows how to use `trestle` functionality to create a Kubernetes results (YAML) to OSCAL (JSON) transformer.
Visit external site [Kubernetes WG Policy: OSCAL transformer](https://github.com/kubernetes-sigs/wg-policy-prototypes/tree/master/policy-report/oscal-transformer) for a demo of using `trestle` functionality to create a Kubernetes results (YAML) to OSCAL (JSON) transformer.

## License & Authors

Expand Down
Binary file removed trestle_k8s/Kubernetes-Yaml-to-OSCAL-Mapping.xlsx
Binary file not shown.
32 changes: 0 additions & 32 deletions trestle_k8s/Makefile

This file was deleted.

65 changes: 0 additions & 65 deletions trestle_k8s/README.md

This file was deleted.

1 change: 0 additions & 1 deletion trestle_k8s/images/k8s-to-oscal.drawio

This file was deleted.

Binary file removed trestle_k8s/images/k8s-to-oscal.drawio.png
Binary file not shown.
Loading

0 comments on commit 155f468

Please sign in to comment.