Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-256 Integrate Security with Apache Ranger
  3. HAWQ-1246

Add generation of RequestID, ClientIP, queryContext(SQL Statement) in HAWQ , and encapsulate these contents to JSON request to RPS

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0.0-incubating
    • Component/s: Security
    • Labels:
      None

      Description

      These informations should be generated and encapsulate them to the full json request.
      Currently they are hardcoded.

      json_object *jreqid = json_object_new_string("1");
      json_object_object_add(jrequest, "requestId", jreqid);
      json_object *jclientip = json_object_new_string("123.0.0.21");
      json_object_object_add(jrequest, "clientIp", jclientip);
      json_object *jcontext = json_object_new_string("SELECT * FROM DDDDDDD");
      json_object_object_add(jrequest, "context", jcontext);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xsheng Xiang Sheng
                Reporter:
                xsheng Xiang Sheng
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: