Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10604

Whitelist based compliance check for crypto related configuration options

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None

    Description

      In our configuration objects, create a method/ensure the existing methods check configuration options that are tagged with CRYPTO_COMPLIANCE against their respective whitelist options.

      The basic idea is that we have the ozone.security.crypto.compliance.mode option, that contains a String value and defaults to "unrestricted".
      This check should allow any option for a given CRYPTO_COMPLIANCE tagged configuration option in case the ozone.security.crypto.compliance.mode is the default value ("unrestricted").
      This check should check if a configured whitelist exists for the property for the given compliance mode, and if the whitelist exists, it should ensure that the value for a property is whitelisted. The whitelist property for a given cryptography parameter should be expected to be defined based on the cryptography parameter name. As an example, if ozone.security.crypto.compliance.mode is set to "foo", and we are getting the hdds.key.algo property, then this check should expect a hdds.key.algo.foo.whitelist property, and if it exists, it should check that the value configured for hdds.key.algo is present in the whitelist.

      Attachments

        Issue Links

          Activity

            People

              zitadombi Zita Dombi
              pifta István Fajth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: