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

trestle rules extension #1724

Open
degenaro opened this issue Oct 14, 2024 · 1 comment
Open

trestle rules extension #1724

degenaro opened this issue Oct 14, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request transforms Relates to a format transformation or extrapolation

Comments

@degenaro
Copy link
Collaborator

degenaro commented Oct 14, 2024

Issue description / feature objectives

  1. trestle rules must support multiple checks per rule-id for a validation component, and rule_ids need not be unique across components (validation and non-validation)
    a) for non-validation component, the tuple that uniquely identifies rule is: component-id + rule-id
    b) for validation component
    i) add a new column called "target-component" that identifies component for which rule is being checked
    ii) the tuples that uniquely identifies the check: component-id + target-component-id + rule-id + check-id

    Note: "target-component is optional, but key must still be unique when target component is null.
    

  1. support multiple profiles for a component
    • similar to how multiple parameters are supported by adding parameter_N columns add multiple profiles by specifying
      a) Profile_Source_N
      b) Profile_Description_N
      c) Control_Id_List_N

For example: In the CIS benchmarks we have mappings from benchmark rules to both CIS controls v8 and v7. To fully capture this in Comp def. we need to support mappings to both v7 and v8.

For each triplet, there should be a corresponding control implementation stanza in the json. For example, prof-A triplet and prof-B triplet would result in two ctl-impl stanzas in the OSCAL json.

The config file will support control checking for: warn, fail, off. "on" will be backwards compatible.

Caveats / Assumptions

Completion Criteria

@degenaro degenaro self-assigned this Oct 14, 2024
@degenaro degenaro added enhancement New feature or request transforms Relates to a format transformation or extrapolation labels Oct 15, 2024
@degenaro
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request transforms Relates to a format transformation or extrapolation
Projects
Status: New
Development

No branches or pull requests

1 participant