Skip to content

Commit

Permalink
META-4203 Authpolicy & AuthService bootstrapper
Browse files Browse the repository at this point in the history
(cherry picked from commit e9b5e04)
  • Loading branch information
nikhilbonte21 committed May 10, 2023
1 parent a8cedd4 commit a965868
Show file tree
Hide file tree
Showing 16 changed files with 3,660 additions and 22 deletions.
44 changes: 44 additions & 0 deletions addons/policies/atlas_service.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"entities": [
{
"typeName": "AuthService",
"guid": -1,
"attributes":
{
"qualifiedName": "auth_service_atlas_tag",
"name": "atlas_tag",
"authServiceType": "tag",
"authServiceConfig": {
"ranger.plugin.audit.filters": "[{'accessResult':'DENIED','isAudited':true}]"
}
}
},
{
"typeName": "AuthService",
"guid": -2,
"attributes":
{
"qualifiedName": "auth_service_atlas",
"name": "atlas",
"authServiceType": "atlas",
"tagService": "atlas_tag",
"authServiceConfig": {
"ranger.plugin.audit.filters": "[ {'accessResult': 'DENIED', 'isAudited': true}, {'users':['atlas'] ,'isAudited':false} ]"
}
}
},
{
"typeName": "AuthService",
"guid": -3,
"attributes":
{
"qualifiedName": "auth_service_heka",
"name": "heka",
"authServiceType": "heka",
"tagService": "atlas_tag",
"authServiceConfig": {}
}
}
]
}

Loading

0 comments on commit a965868

Please sign in to comment.