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

Automatic validation of parameter value using rule-based constraints #206

Open
david-waltermire opened this issue Jun 19, 2018 · 4 comments
Labels
Aged A label for issues older than 2023-01-01 help wanted Scope: Modeling Issues targeted at development of OSCAL formats User Story

Comments

@david-waltermire
Copy link
Contributor

User Story:

As an OSCAL author, I need the ability to specify a rules language and a corresponding rule in a control parameter constraint.

Goals:

Provide a structure that allows for the defintion of:

  • A rules language by URI, and
  • Rule content expressed in the specified rules language.

Dependencies:

None.

Acceptance Criteria

  • The new constraint structure must allow for automatic verification that a parameter value meets the constraint.
  • A proof of concept tool demonstrates use of this validation feature.
@trevor-vaughan
Copy link

@david-waltermire-nist This sounds similar to something we've been working on. Do you have a concrete example that you could share?

@anweiss
Copy link
Contributor

anweiss commented Jun 19, 2018

@david-waltermire-nist can you also clarify whether or not this is analogous to co-occurrence constraints?

@david-waltermire
Copy link
Contributor Author

@trevor-vaughan Some simple examples might be checking if the provided value is in a specific numeric range, matches a pattern, etc.

@anweiss This is not a co-occurrence constraint, since it is a constraint on a single data value, not a relationship between data values.

@david-waltermire david-waltermire added the Scope: Modeling Issues targeted at development of OSCAL formats label May 9, 2019
@aj-stein-nist aj-stein-nist removed this from the Future milestone Jul 27, 2023
@aj-stein-nist
Copy link
Contributor

This was discussed during backlog review today and we reoriented and confirm this is about parameter param/constraint/test more than anything else. One way we could move forward with this is group this with other relevant issues (such as #474 and discussion of typing of parameters, very relevant to this), and posit this as a discussion topic to the community. Far more research and feedback is needed.

@aj-stein-nist aj-stein-nist moved this from Todo to Needs Refinement in NIST OSCAL Work Board Sep 21, 2023
@Compton-US Compton-US added the Aged A label for issues older than 2023-01-01 label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aged A label for issues older than 2023-01-01 help wanted Scope: Modeling Issues targeted at development of OSCAL formats User Story
Projects
Status: Needs Refinement
Development

No branches or pull requests

5 participants