ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Galave (Jira)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-3260) Update default hdfs audit filters to filter out unwanted audits
Date Tue, 11 May 2021 08:56:00 GMT

    [ https://issues.apache.org/jira/browse/RANGER-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342424#comment-17342424
] 

Nitin Galave commented on RANGER-3260:
--------------------------------------

Committed to [apache-master|https://github.com/apache/ranger/commit/fb00ef4a2d794c0d837702a3817cc14aa69b1920]
branch.
Committed to [ranger-2.2|https://github.com/apache/ranger/commit/62c9aeca807bd056c69a4b902db32a962c13590a]
branch.

> Update default hdfs audit filters to filter out unwanted audits
> ---------------------------------------------------------------
>
>                 Key: RANGER-3260
>                 URL: https://issues.apache.org/jira/browse/RANGER-3260
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.2.0
>            Reporter: Abhishek Shukla
>            Assignee: Mateen Mansoori
>            Priority: Major
>
> Can we update the default hdfs audit filters as follows: 
> This will filter out hdfs audits related to hdfs, hue, oozie, spark, mapred, hbase service
users access audits.
> {code:java}
> [
>   {
>     "accessResult":"DENIED",
>     "isAudited":true
>   },
>   {
>     "actions":[
>       "delete",
>       "rename"
>     ],
>     "isAudited":true
>   },
>   {
>     "users":[
>       "hdfs"
>     ],
>     "actions":[
>       "listStatus",
>       "getfileinfo",
>       "listCachePools",
>       "listCacheDirectives",
>       "listCorruptFileBlocks",
>       "monitorHealth",
>       "rollEditLog",
>       "open"
>     ],
>     "isAudited":false
>   },
>   {
>     "users":[
>       "oozie"
>     ],
>     "resources":{
>       "path":{
>         "values":[
>           "/user/oozie/share/lib"
>         ],
>         "isRecursive":true
>       }
>     },
>     "isAudited":false
>   },
>   {
>     "users":[
>       "spark"
>     ],
>     "resources":{
>       "path":{
>         "values":[
>           "/user/spark/applicationHistory"
>         ],
>         "isRecursive":true
>       }
>     },
>     "isAudited":false
>   },
>   {
>     "users":[
>       "hue"
>     ],
>     "resources":{
>       "path":{
>         "values":[
>           "/user/hue"
>         ],
>         "isRecursive":true
>       }
>     },
>     "isAudited":false
>   },
>   {
>     "users":[
>       "hbase"
>     ],
>     "resources":{
>       "path":{
>         "values":[
>           "/hbase"
>         ],
>         "isRecursive":true
>       }
>     },
>     "isAudited":false
>   },
>   {
>     "users":[
>       "mapred"
>     ],
>     "resources":{
>       "path":{
>         "values":[
>           "/user/history"
>         ],
>         "isRecursive":true
>       }
>     },
>     "isAudited":false
>   },
>   {
>     "actions":[
>       "getfileinfo"
>     ],
>     "isAudited":false
>   }
> ]
> {code}
> cc [~dineshkumar-yadav]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message