Skip to content

Commit

Permalink
New authorizer
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbonte21 committed Jan 23, 2024
1 parent bfcad2a commit 6359958
Show file tree
Hide file tree
Showing 55 changed files with 5,956 additions and 2,059 deletions.
23 changes: 22 additions & 1 deletion addons/models/0000-Area0/0010-base_model.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,17 @@
"skipScrubbing": true,
"includeInNotification": true
},
{
"name": "abacService",
"typeName": "string",
"indexType": "STRING",
"cardinality": "SINGLE",
"isIndexable": false,
"isOptional": true,
"isUnique": false,
"skipScrubbing": true,
"includeInNotification": true
},
{
"name": "authServiceIsEnabled",
"typeName": "boolean",
Expand Down Expand Up @@ -681,9 +692,19 @@
"Asset"
],
"serviceType": "atlan",
"typeVersion": "1.1",
"typeVersion": "1.2",
"attributeDefs":
[
{
"name": "policyFilterCriteria",
"typeName": "string",
"cardinality": "SINGLE",
"isIndexable": false,
"isOptional": true,
"isUnique": false,
"skipScrubbing": true,
"includeInNotification": true
},
{
"name": "policyType",
"typeName": "AuthPolicyType",
Expand Down
14 changes: 14 additions & 0 deletions addons/policies/atlas_service.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@
}
}
},
{
"typeName": "AuthService",
"attributes":
{
"qualifiedName": "auth_service_atlas_abac",
"name": "atlas_abac",
"authServiceType": "abac",
"authServiceConfig": {
"ranger.plugin.audit.filters": "[{'accessResult':'DENIED','isAudited':true}]"
}
}
},
{
"typeName": "AuthService",
"attributes":
Expand All @@ -20,6 +32,7 @@
"name": "atlas",
"authServiceType": "atlas",
"tagService": "atlas_tag",
"abacService": "atlas_abac",
"authServiceConfig": {
"ranger.plugin.audit.filters": "[ {'accessResult': 'DENIED', 'isAudited': true}, {'users':['atlas'] ,'isAudited':false} ]"
}
Expand All @@ -33,6 +46,7 @@
"name": "heka",
"authServiceType": "heka",
"tagService": "atlas_tag",
"abacService": "atlas_abac",
"authServiceConfig": {}
}
}
Expand Down
7 changes: 7 additions & 0 deletions auth-agents-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@
<version>${project.version}</version>
</dependency>


<dependency>
<groupId>org.apache.atlas</groupId>
<artifactId>auth-common</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.atlas</groupId>
<artifactId>auth-audits</artifactId>
Expand Down

This file was deleted.

Loading

0 comments on commit 6359958

Please sign in to comment.