You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ To contribute code or documentation, please submit a [pull request](https://gith
7
7
8
8
A good way to familiarize yourself with the codebase and contribution process is
9
9
to look for and tackle low-hanging fruit in the [issue tracker](https://github.com/oscal-compass/compliance-trestle/issues).
10
-
Before embarking on a more ambitious contribution, please quickly [get in touch](https://oscal-compass.github.io/compliance-trestle/maintainers/) with us.
10
+
Before embarking on a more ambitious contribution, please quickly [get in touch](https://oscal-compass.github.io/compliance-trestle/latest/contributing/maintainers/) with us.
11
11
12
12
**Note: We appreciate your effort, and want to avoid a situation where a contribution
13
13
requires extensive rework (by you or by us), sits in backlog for a long time, or
@@ -32,7 +32,7 @@ review to indicate acceptance.
32
32
33
33
A change requires LGTMs from at least two reviewers. One of the reviewers must be a [`CODEOWNER`](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).
34
34
35
-
For a list of the maintainers (also codeowners), see the [maintainers](https://oscal-compass.github.io/compliance-trestle/maintainers/) page.
35
+
For a list of the maintainers (also codeowners), see the [maintainers](https://oscal-compass.github.io/compliance-trestle/latest/contributing/maintainers/)
36
36
37
37
### Trestle updating, testing and release logistics
38
38
@@ -88,7 +88,7 @@ The devops process does not _strictly_ enforce typing, however, the expectation
88
88
commits with a focus on quality over quantity (e.g. don't add `Any` everywhere just to meet coverage requirements).
89
89
Python typing of functions is an active work in progress.
90
90
91
-
`mkbuild` is used to generate the [trestle documenation site](https://oscal-compass.github.io/compliance-trestle). The `mkbuild`
91
+
`mkbuild` is used to generate the [trestle documenation site](https://oscal-compass.github.io/compliance-trestle/latest). The `mkbuild`
92
92
website includes an API reference section generated from the code. Docstrings within the code are expected to follow
We have tried to make it as easy as possible to make contributions. This
118
118
applies to how we handle the legal aspects of contribution. We use the
119
-
same approach - the [Developer's Certificate of Origin 1.1 (DCO)](https://oscal-compass.github.io/compliance-trestle/contributing/DCO/) - that the Linux® Kernel [community](https://developercertificate.org/)
119
+
same approach - the [Developer's Certificate of Origin 1.1 (DCO)](https://oscal-compass.github.io/compliance-trestle/latest/contributing/DCO/) - that the Linux® Kernel [community](https://developercertificate.org/)
120
120
uses to manage code contributions.
121
121
122
122
We simply ask that when submitting a patch for review, the developer
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,11 +64,11 @@ Users needing to import XML OSCAL artifacts are recommended to look at NIST's XM
64
64
65
65
Trestle runs on almost all Python platforms (e.g. Linux, Mac, Windows), is available on PyPi and can be easily installed via pip. It is under active development and new releases are made available regularly.\
66
66
To install run: `pip install compliance-trestle`\
67
-
See [Install trestle in a python virtual environment](https://oscal-compass.github.io/compliance-trestle/python_trestle_setup/) for the full installation guide.
67
+
See [Install trestle in a python virtual environment](https://oscal-compass.github.io/compliance-trestle/latest/installation/) for the full installation guide.
68
68
69
69
## Complete documentation and tutorials
70
70
71
-
Complete documentation, tutorials, and background on compliance can be found [here](https://oscal-compass.github.io/compliance-trestle).
71
+
Complete documentation, tutorials, and background on compliance can be found [here](https://oscal-compass.github.io/compliance-trestle/latest).
72
72
73
73
## Agile Authoring
74
74
@@ -101,7 +101,7 @@ Please refer to the community [README](https://github.com/oscal-compass/communit
101
101
102
102
## Contributing to Trestle
103
103
104
-
Our project welcomes external contributions. Please consult [contributing](https://oscal-compass.github.io/compliance-trestle/contributing/mkdocs_contributing/) to get started.
104
+
Our project welcomes external contributions. Please consult [contributing](https://oscal-compass.github.io/compliance-trestle/latest/contributing/mkdocs_contributing/) to get started.
Copy file name to clipboardExpand all lines: docs/index.md
+55-5Lines changed: 55 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,61 @@ Trestle provides tooling to help orchestrate the compliance process across a num
37
37
38
38
## Important Note:
39
39
40
-
The current version of trestle supports NIST OSCAL 1.0.0-4. There was a breaking change in OSCAL moving from
41
-
version 1.0.0 to 1.0.2 mainly due to `prop` becoming `props` in AssessmentResults. As a result, the current development path of trestle requires OSCAL 1.0.4, but for those who require OSCAL 1.0.0 please use trestle version 0.37.x. That version is stable but will not have any features added, and we encourage users to move to OSCAL 1.0.4.
40
+
The current version of trestle 3.x supports NIST OSCAL 1.1.2.
41
+
Below shows trestle versions correspondence with OSCAL versions:
42
42
43
-
OSCAL version 1.0.0 files are still handled on import but any AssessmentResults must conform to the OSCAL 1.0.4 schema, with
44
-
props instead of prop. And all files created by trestle will be output as OSCAL version 1.0.4.
43
+
```
44
+
trestle 3.x => OSCAL 1.1.2
45
+
trestle 2.x => OSCAL 1.0.4
46
+
trestle 1.x => OSCAL 1.0.2
47
+
trestle 0.37.x => OSCAL 1.0.0
48
+
```
49
+
50
+
Visit [pypi](https://pypi.org/project/compliance-trestle/#history) for trestle release history and downloads.
51
+
52
+
## Notes for install of current and older versions of trestle
53
+
54
+
#### Install of trestle 3.x
55
+
56
+
Use python 3.11.
57
+
58
+
```
59
+
python3.11 -m venv venv.trestle
60
+
source venv.trestle/bin/activate
61
+
pip install compliance-trestle==3.6.0
62
+
trestle version
63
+
Trestle version v3.6.0 based on OSCAL version 1.1.2
64
+
```
65
+
66
+
#### Install of trestle 2.x
67
+
68
+
Use python 3.9.
69
+
70
+
```
71
+
python3.9 -m venv venv.trestle
72
+
source venv.trestle/bin/activate
73
+
pip install compliance-trestle==2.6.0
74
+
trestle version
75
+
Trestle version v2.6.0 based on OSCAL version 1.0.4
76
+
```
77
+
78
+
#### Install of trestle 1.x
79
+
80
+
Use python 3.9.
81
+
82
+
Due to dependency updates since the release of trestle 1.2.0, perform the following in your venv:
83
+
84
+
```
85
+
python3.9 -m venv venv.trestle
86
+
source venv.trestle/bin/activate
87
+
pip install compliance-trestle==1.2.0
88
+
pip uninstall pydantic
89
+
pip uninstall pydantic_core
90
+
pip install pydantic==1.10.2
91
+
pip install requests
92
+
trestle version
93
+
Trestle version v1.2.0 based on OSCAL version 1.0.2
94
+
```
45
95
46
96
## Why Trestle
47
97
@@ -79,7 +129,7 @@ Trestle runs on most all python platforms (e.g. Linux, Mac, Windows) and is avai
79
129
80
130
## Development status
81
131
82
-
Compliance trestle is currently stable and is based on NIST OSCAL version 1.0.4, with active development continuing.
132
+
Compliance trestle is currently stable and is based on NIST OSCAL version 1.1.2, with active development continuing.
Copy file name to clipboardExpand all lines: docs/tutorials/Trestle_authoring/trestle_author.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -690,7 +690,7 @@ CLI evocation:
690
690
691
691
> trestle author catalog-assemble
692
692
693
-
The `catalog` author commands allow you to convert a control catalog to markdown and edit its control statement, then assemble markdown back into an OSCAL catalog with the modifications to the statement. Items in the statement may be edited or added. For more details on its usage please see [the catalog authoring tutorial](https://oscal-compass.github.io/compliance-trestle/tutorials/ssp_profile_catalog_authoring/ssp_profile_catalog_authoring).
693
+
The `catalog` author commands allow you to convert a control catalog to markdown and edit its control statement, then assemble markdown back into an OSCAL catalog with the modifications to the statement. Items in the statement may be edited or added. For more details on its usage please see [the catalog authoring tutorial](https://oscal-compass.github.io/compliance-trestle/latest/tutorials/Trestle_authoring/ssp_profile_catalog_authoring/).
694
694
695
695
### Profile authoring
696
696
@@ -704,7 +704,7 @@ CLI evocation:
704
704
705
705
> trestle author profile-assemble
706
706
707
-
The `profile` author commands allow you to edit additions made by a profile to its imported controls that end up in the final resolved profile catalog. Only the additions may be edited or added to the generated markdown control files - and those additions can then be assembled into a new version of the original profile, with those additions. For more details on its usage please see [the profile authoring tutorial](https://oscal-compass.github.io/compliance-trestle/tutorials/ssp_profile_catalog_authoring/ssp_profile_catalog_authoring).
707
+
The `profile` author commands allow you to edit additions made by a profile to its imported controls that end up in the final resolved profile catalog. Only the additions may be edited or added to the generated markdown control files - and those additions can then be assembled into a new version of the original profile, with those additions. For more details on its usage please see [the profile authoring tutorial](https://oscal-compass.github.io/compliance-trestle/latest/tutorials/Trestle_authoring/ssp_profile_catalog_authoring/).
708
708
709
709
### Profile generation with inheritance
710
710
@@ -719,7 +719,7 @@ All components must have exported provided statements, no exported responsibilit
719
719
720
720
As with the other related author commands, if an existing destination file already exists, it is not updated if no changes would be made.
721
721
722
-
For more details on its usage please see [the ssp-filter tutorial](https://oscal-compass.github.io/compliance-trestle/tutorials/ssp_profile_catalog_authoring/ssp_profile_catalog_authoring).
722
+
For more details on its usage please see [the ssp-filter tutorial](https://oscal-compass.github.io/compliance-trestle/latest/tutorials/Trestle_authoring/ssp_profile_catalog_authoring/).
723
723
724
724
### SSP authoring
725
725
@@ -735,7 +735,7 @@ CLI evocation:
735
735
736
736
The `ssp-generate` sub-command creates a partial SSP (System Security Plan) from a profile and optional yaml header file. `ssp-assemble` can then assemble the markdown files into a single json SSP file.
737
737
738
-
For more details on its usage please see [the ssp authoring tutorial](https://oscal-compass.github.io/compliance-trestle/tutorials/ssp_profile_catalog_authoring/ssp_profile_catalog_authoring).
738
+
For more details on its usage please see [the ssp authoring tutorial](https://oscal-compass.github.io/compliance-trestle/latest/tutorials/Trestle_authoring/ssp_profile_catalog_authoring/).
739
739
740
740
### SSP Content Filtering
741
741
@@ -757,6 +757,6 @@ You may filter by a combination of a profile, list of component names, implement
757
757
758
758
As with the other related author commands, if an existing destination file already exists, it is not updated if no changes would be made.
759
759
760
-
For more details on its usage please see [the ssp-filter tutorial](https://oscal-compass.github.io/compliance-trestle/tutorials/ssp_profile_catalog_authoring/ssp_profile_catalog_authoring).
760
+
For more details on its usage please see [the ssp-filter tutorial](https://oscal-compass.github.io/compliance-trestle/latest/tutorials/Trestle_authoring/ssp_profile_catalog_authoring/).
0 commit comments