spacemonkd commented on PR #913:
URL: https://github.com/apache/ranger/pull/913#issuecomment-4225935067
Tests have passed:
```
17:36:01.568 [main] DEBUG
org.apache.ranger.plugin.policyengine.RangerPolicyEngineImpl - <==
RangerPolicyEngineImpl.evaluateResourceAuditPolicies(request=RangerAccessRequestImpl={resource={RangerResourceImpl={ownerUser={null}
elements={role=role1; } }} accessType={assume_role} user={user2} userGroups={}
userRoles={} accessTime={null} clientIPAddress={null} forwardedAddresses={}
remoteIPAddress={null} clientType={null} action={null} requestData={null}
sessionId={null} resourceMatchingScope={SELF}
resourceElementMatchingScopes={{}} clusterName={} clusterType={}
inlinePolicy={null} context={ISANYACCESS={null} token:USER={user2}
_GDS_RESULT={null} ISREQUESTPREPROCESSED={true} RESOURCE_ZONE_NAMES={null} } },
result=RangerAccessResult={isAccessDetermined={true} isAllowed={false}
isAuditedDetermined={false} isAudited={false} auditLogId={null} policyType={0}
policyId={-1} zoneName={null} auditPolicyId={100} policyVersion={null}
evaluatedPoliciesCount={1} reason={null} additionalInfo={}}):
ret=false
17:36:01.568 [main] DEBUG
org.apache.ranger.plugin.policyengine.RangerPolicyEngineImpl - <==
RangerPolicyEngineImpl.evaluateAuditPolicies(result=RangerAccessResult={isAccessDetermined={true}
isAllowed={false} isAuditedDetermined={true} isAudited={true}
auditLogId={null} policyType={0} policyId={-1} zoneName={null}
auditPolicyId={100} policyVersion={null} evaluatedPoliciesCount={1}
reason={null} additionalInfo={}})
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
13.481 s - in
org.apache.ranger.authorization.ozone.authorizer.TestRangerOzoneAuthorizer
```
@pradeepagrawal8184 @mneethiraj could you help with reviewing this PR as
well?
@adoroszlai could you take another look now?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]