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

Erroneous warnings raised for not providing a start or end for components>protocols>port-ranges #2045

Closed
Telos-sa opened this issue Sep 16, 2024 · 1 comment
Labels

Comments

@Telos-sa
Copy link

Describe the bug

When validating an SSP with the oscal-cli, a warning is raised saying that a start port exists but an end doesn't and vice versa, when both start and end are present in the OSCAL being validated.

Warning:
Screenshot 2024-09-16 at 10 28 12 AM

OSCAL SSP section being flagged:
Screenshot 2024-09-16 at 10 28 53 AM

Who is the bug affecting

Any user looking to validate their OSCAL SSP with port-ranges provided.

What is affected by this bug

OSCAL Content

How do we replicate this issue

  1. Create an OSCAL SSP with a component>protocol>port-ranges element (with start and end provided).
  2. Validate the OSCAL SSP with the oscal-cli

Expected behavior (i.e. solution)

No warning should be raised (clutters the error log) when there is no actual issue with the port-ranges structure.

Other comments

No response

Revisions

No response

@Telos-sa Telos-sa added the bug label Sep 16, 2024
@iMichaela
Copy link
Contributor

This is fixed by the commit 751e2d7 in develop branch and will be released with all other fixies in develop as soon as we address the camelCase data type issue which was removed but it is being requested back by GSA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants