Skip to content

App development would be easier if group id's were required rather than optional in Catalog and Profile #1299

@fsuits

Description

@fsuits

User Story:

As an OSCAL application developer, coding logic would be simpler and clearer if group id's in Catalog and Profile groups were required rather than optional.

Goals:

Groups are present in Catalogs and in Profiles, and in each case the schema specifies a required title and an optional group_id. Since groups may be nested, and since the id is intended to allow direct reference to the specific group in a document, it makes sense for the id to be required rather than optional. This adds a small burden to the document creator - but would simplify application developers since they would not need to do special handling when the group id is not present - e.g. create an internal id on the fly during processing.

Dependencies:

No dependencies other than a change in the schema. There are presumably few use cases where the group id's are not already specified in a catalog or profile.

Acceptance Criteria

  • The schemas for Catalog and Profile are updated to require group id's in addition to group title.
  • All OSCAL website and readme documentation affected by the changes in this issue have been updated. Changes to the OSCAL website can be made in the docs/content directory of your branch.
  • A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
  • The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Model EngineeringAn issue to be discussed during the bi-weekly Model Engineering MeetingUser Storyenhancementv2.0future version of OSCAL

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions