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

Sync/Validate upstream OSCAL content with filter by model type #156

Open
jpower432 opened this issue Jan 25, 2024 · 0 comments
Open

Sync/Validate upstream OSCAL content with filter by model type #156

jpower432 opened this issue Jan 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jpower432
Copy link
Member

Is your feature request related to a problem? Please describe.

When syncing OSCAL content from another repository users can only filter by model names. Filtering by model type would be helpful when you want to sync only a single top-level model type like (e.g. profile, component-definitions) without specifying the model names.

Describe the solution you'd like
Use glob patterns to handle model types by just specifying a path. Examples below

component-definitions/*
profiles/*
profiles/*rev5*

Solution Caveats

  • Breaking change (e.g. change in flag name)
  • It's not as easy to do input validation of the model type directory is incorrect or changes

Describe alternatives you've considered

  • Using another flag to specify model types, but seems like a less flexible option if you want different pattern per type

Additional context
Pertains to the trestlebot-sync-upstreams

@jpower432 jpower432 added the enhancement New feature or request label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant