Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a Python class in the SDK to represent Trestle OSCAL extension. #1775

Open
1 task
Tracked by #1713
jpower432 opened this issue Dec 6, 2024 · 0 comments
Open
1 task
Tracked by #1713

Comments

@jpower432
Copy link
Member

jpower432 commented Dec 6, 2024

Issue description / feature objectives

They are a few implementations throughout the trestle SDK that interact with rules in different ways. Some examples below. This feature objective would be to create a new class to centralized interaction with Rules throughout the codebase.

https://github.com/oscal-compass/compliance-trestle/blob/develop/trestle/tasks/csv_to_oscal_cd.py

rules_dict: Optional[Dict[str, Dict[str, Any]]] = None

def get_rules_dict_from_item(item: TypeWithProps) -> Tuple[Dict[str, Dict[str, str]], List[common.Property]]:

Caveats / Assumptions

  • N/A

Completion Criteria

  • Define a RuleSet class that can be used to interact with Rules and associated extensions through OSCAL properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

No branches or pull requests

1 participant