Skip to content

Conversation

@ic0ns
Copy link
Contributor

@ic0ns ic0ns commented Jun 27, 2025

Summary

  • Added recommended fields alongside existing notRecommended fields in all guideline check results
  • Ensures JSON output includes both what is recommended and what is not recommended by BSI and NIST guidelines
  • Maintains backward compatibility by using overloaded constructors

Test plan

  • Added unit tests for new constructors in CipherSuiteGuidelineCheckResultTest and HashAlgorithmsGuidelineCheckResultTest
  • Added comprehensive JSON serialization tests in GuidelineResultSerializationTest
  • All tests pass (mvn test)
  • Code formatted with spotless (mvn spotless:apply)

Closes

Fixes #115

Fixes #115: Guidelines now include both recommended and notRecommended fields
in the JSON output for better transparency about what configurations are
actually recommended by BSI and NIST guidelines.

Updated guideline check results for:
- CipherSuiteGuidelineCheckResult
- HashAlgorithmsGuidelineCheckResult
- NamedGroupsGuidelineCheckResult
- SignatureAlgorithmsGuidelineCheckResult
- SignatureAndHashAlgorithmsCertificateGuidelineCheckResult
- X509SignatureAlgorithmGuidelineCheckResult

Added comprehensive tests to verify JSON serialization includes the new fields.
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.

Guidelines: Add Recommended to JSON output

2 participants