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

Fix: parsed results will now truncate values to conform to stig-manager API spec #22

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

Matte22
Copy link
Collaborator

@Matte22 Matte22 commented Jun 11, 2024

Resolves #23
This PR alters the review parser so it will now:

  1. Throw an error and stop processing a file if an assets name is > 255 char.
  2. Truncate values if they will not conform to the restrictions enforced by stig-manager's api spec validation.
  3. Also adds tests.

@csmig csmig merged commit e54970e into main Jun 13, 2024
1 check passed
@csmig csmig deleted the truncate-parser-vars branch June 13, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure Asset objects created by parser conform to OAS
2 participants