Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  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

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0.0-incubating
    • Security
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment