Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-549

Test service connections through Knox with Knox CLI

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 0.7.0
    • KnoxCLI
    • None

    Description

      This option would give the customer and support the ability to test access to all services for a given user. The test would exercise the LDAP bind, LDAP auth, service authorization, and connection to each service internally.

      /knoxcli.sh test-services -d <topology name>

      <topology name> is the topology file name in /etc/knox/conf/topologies to use for the test. This argument would be required and ensures the test is against a running configuration. Executing without this argument could return the list of available topology files.

      For example, ./knoxcli.sh] test-services -d <topology name>
      User is always prompted for a username and password to use in authentication.

      Executing “./knoxcli.sh test-services <topology name>” would ask for and then use the username and password supplied to test connection to each service configured in the specified topology file. Outputting the test ran for each and success/failure. The credentials used should have access to all services, like an admin user, if service level authorization is used.

      The -d option is for debug and should provide detailed output from the LDAP bind test to better troubleshoot any problems by the user or support

      Attachments

        1. KNOX-549-1.patch
          84 kB
          Zachary Blanco
        2. KNOX-549-2.patch
          70 kB
          Zachary Blanco
        3. KNOX-549-docs-1.patch
          12 kB
          Zachary Blanco
        4. KNOX-549-docs-2.patch
          11 kB
          Zachary Blanco

        Issue Links

          Activity

            People

              zacblanco Zachary Blanco
              zacblanco Zachary Blanco
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: