usnistgov/oscal-cli

Suppress Profile Resolution Messages or Add Log Level

Opened this issue · 0 comments

User Story:

As a user of the OSCAL-CLI, I want to see the the log message level (error vs warning vs info, etc.) in the standard log output so that I can better understand if the operation I conducted was successful or if in fact there were significant issues that I need to address.

Currently, when conducting profile resolution, a large number of messages are output, mostly because of:

  • Unsupported property (for control "implementation-level" props that are defined in the source NIST catalog)
  • Unsupported property (for control "contributes-to-assurance" props that are defined in the source NIST catalog)
  • Unsupported link rel ("assessment-for" link rel that are defined in the source NIST catalog)

image

Goals:

These messages give the user the impression that the profile resolution was not successful or that these props and links were omitted, but in fact, they are included in the resolved profile catalog. These messages should either be suppressed or log level (e.g., Error, Warning, Info, etc.) should be added.

Dependencies:

TBD

Acceptance Criteria

  • All website and readme documentation affected by the changes in this issue have been updated.
  • 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.