Return-Path: X-Original-To: apmail-ranger-commits-archive@www.apache.org Delivered-To: apmail-ranger-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 26EB4185CA for ; Fri, 10 Jul 2015 00:39:49 +0000 (UTC) Received: (qmail 80256 invoked by uid 500); 10 Jul 2015 00:39:49 -0000 Delivered-To: apmail-ranger-commits-archive@ranger.apache.org Received: (qmail 80232 invoked by uid 500); 10 Jul 2015 00:39:49 -0000 Mailing-List: contact commits-help@ranger.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ranger.incubator.apache.org Delivered-To: mailing list commits@ranger.incubator.apache.org Received: (qmail 80223 invoked by uid 99); 10 Jul 2015 00:39:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2015 00:39:49 +0000 X-ASF-Spam-Status: No, hits=-2000.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Jul 2015 00:37:39 +0000 Received: (qmail 77719 invoked by uid 99); 10 Jul 2015 00:38:10 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2015 00:38:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B9549E6838; Fri, 10 Jul 2015 00:38:10 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rmani@apache.org To: commits@ranger.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-ranger git commit: RANGER-576:Storm audit not showing access type in the Ranger Admin Audit UI Date: Fri, 10 Jul 2015 00:38:10 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-ranger Updated Branches: refs/heads/master 365186294 -> f34eb3d07 RANGER-576:Storm audit not showing access type in the Ranger Admin Audit UI Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/f34eb3d0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/f34eb3d0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/f34eb3d0 Branch: refs/heads/master Commit: f34eb3d0704e57129dd5f12a58cae8db9cc2c385 Parents: 3651862 Author: rmani Authored: Thu Jul 9 17:37:06 2015 -0700 Committer: rmani Committed: Thu Jul 9 17:37:06 2015 -0700 ---------------------------------------------------------------------- .../org/apache/ranger/authorization/storm/StormRangerPlugin.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/f34eb3d0/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java ---------------------------------------------------------------------- diff --git a/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java b/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java index 323ab58..f8663af 100644 --- a/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java +++ b/storm-agent/src/main/java/org/apache/ranger/authorization/storm/StormRangerPlugin.java @@ -68,6 +68,7 @@ public class StormRangerPlugin extends RangerBasePlugin { } request.setAccessType(_operation); request.setClientIPAddress(_clientIp); + request.setAction(_operation); // build resource and connect stuff into request RangerAccessResourceImpl resource = new RangerAccessResourceImpl(); resource.setValue(ResourceName.Topology, _topology);