ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Shukla (Jira)" <j...@apache.org>
Subject [jira] [Closed] (RANGER-3260) Update default hdfs audit filters to filter out unwanted audits
Date Wed, 12 May 2021 04:02:00 GMT

     [ https://issues.apache.org/jira/browse/RANGER-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abhishek Shukla closed RANGER-3260.
-----------------------------------

> 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
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: 0001-RANGER-3260-3258-3257-Update-default-audit-filters-f.patch
>
>
> 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