Package: compliance-trestle
Compliance-trestle (also known astrestle)We've moved. Please note our new organizational location.Trestle is an ensemble of tools that enable the creation, validation, and governance of documentation artifacts for compliance needs. It leverages NIST'sOSCALas a standard data format for interchange between tools and people, and provides an opinionated approach to OSCAL adoption.Trestle is designed to operate as a CICD pipeline running on top of compliance artifacts ingit, to provide transparency for the state of compliance across multiple stakeholders in an environment friendly to developers. Trestle passes the generated artifacts on to tools that orchestrate the enforcement, measurement, and reporting of compliance.It also provides tooling to manage OSCAL documents in a more human-friendly manner. By splitting large OSCAL data structures into smaller and easier to edit sub-structures, creation and maintenance of these artifacts can follow normalgitworkflows including peer review via pull request, versioning, releases/tagging.Trestle provides three separate but related functions in the compliance space:Manage OSCAL documents to allow editing and manipulation while making sure the schemas are enforcedTransform documents from other formats to OSCALProvide support and governance to author compliance content as markdown and drawio.Trestle provides tooling to help orchestrate the compliance process across a number of dimensions:Help manage OSCAL documents in a more human-friendly manner by expanding the large OSCAL data structures into smaller and easier to edit sub-structures while making sure the schemas are enforced.Transform documents from other formats to OSCALProvide governance for markdown documents and enforce consistency of format and content based on specified templatesTooling manage authoring and governance of markdown and drawio files withn a repository.Support within trestle to streamline management within a managed git environment.An underlying object model that supports developers interacting with OSCAL artefacts.Important Note:The current version of trestle supports NIST OSCAL 1.0.0-4.  There was a breaking change in OSCAL moving from
version 1.0.0 to 1.0.2 mainly due topropbecomingpropsin 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.OSCAL version 1.0.0 files are still handled on import but any AssessmentResults must conform to the OSCAL 1.0.4 schema, with
props instead of prop.  And all files created by trestle will be output as OSCAL version 1.0.4.Why TrestleCompliance suffers from being a complex topic that is hard to articulate simply. It involves complete and accurate execution of multiple procedures across many disciplines (e.g. IT, HR, management) with periodic verification and audit of those procedures against controls.While it is possible to manage the description of controls and how an organisation implements them in ad hoc ways with general tools (spreadsheets, documents), this is hard to maintain for multiple accreditations and, in the IT domain at least, creates a barrier between the compliance efforts and the people doing daily work (DevOps staff).Trestle aims to reduce or remove this barrier by bringing the maintenance of control descriptions into the DevOps domain. The goal is to have changes to the system (for example, updates to configuration management) easily related to the controls impacted, and to enable modification of those controls as required in concert with the system changes.Trestle implicitly provides a core opinionated workflow driven by its pipeline to allow standardized interlocks with other compliance tooling platforms.Machine readable compliance formatCompliance activities at scale, whether size of estate or number of accreditations, require automation to be successful and repeatable. OSCAL as a standard allows teams to bridge between the "Governance" layer and operational tools.By building human managed artifacts into OSCAL, Trestle is not only able to validate the integrity of the artifacts that people generate - it also enables reuse and sharing of artifacts, and furthermore can provide suitable input into tools that automate operational compliance.Supported OSCAL elements and extensionstrestleimplicitly supports all OSCAL schemas for use within the object model. The development roadmap fortrestleincludes adding workflow around specific elements / objects that is opinionated.Supported file formats for OSCAL objects.OSCAL supportsxml,jsonandyamlwith theirmetaschematooling. Trestle
natively supports onlyjsonandyamlformats at this time.Future roadmap anticipates that support for xmlimportandupstream referenceswill be enabled. However, it is expected
that full support will remain only forjsonandyaml.Users needing to import XML OSCAL artifacts are recommended to look at NIST's XML to json conversion pagehere.Python codebase, easy installation via pipTrestle 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.To install run:pip install compliance-trestleSeeInstall trestle in a python virtual environmentfor the full installation guide.Complete documentation and tutorialsComplete documentation, tutorials, and background on compliance can be foundhere.Agile AuthoringA trestle-based agile authoring repository setup tool, documentation and tutorial can be foundhere.Agile authoring comprises the following beneficial features:based on OSCAL documents behind-the-scenesemploys GIT for document control and accessexposes text (markdown) and spread sheets (csv) to ease management of compliance artifactsimplements compliance digitization for improved audit readiness and cost effectivenessDemosA collection of demos utilizing trestle can be found in the related projectcompliance-trestle-demos.Development statusCompliance trestle is currently stable and is based on NIST OSCAL version 1.0.4, with active development continuing.Community meetings and communicationsScheduled meetingsPlease attend! All are invited.When: Every other Tuesday at 10:00 ETconvert to your local timeTo discover the actual meeting dates:Go toGoogle CalendarLook at entries inTueday of week forCompliance Trestle Community CallTo add to your calendar,clickonCompliance Trestle Community Calland choosecopy to my calendarWhere:https://zoom.us/j/92729235315Meeting Id: 927 2923 5315Passcode: 233140Note: Use the passcode above to login to Zoom (or you can login to Zoom using another account like Google, Facebook)What: Meeting agenda and notesGoogle DocsChat anytimeSlack:# compliance-grcNote: You can login to Slack using another account like Google, AppleContributing to TrestleOur project welcomes external contributions. Please consultcontributingto get started.License & AuthorsIf you would like to see the detailed LICENSE clickhere.
Consultcontributorsfor a list of authors andmaintainersfor the core team.# Copyright (c) 2020 IBM Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.