ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
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 GMT
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 <rmani@hortonworks.com>
Authored: Thu Jul 9 17:37:06 2015 -0700
Committer: rmani <rmani@hortonworks.com>
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);


Mime
View raw message