public interface AuthorizationInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AclAuthorizationInfo |
getAclAuthorization()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AclAuthorizationInfoOrBuilder |
getAclAuthorizationOrBuilder()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
AuthorizationInfo.AuthorizationCase |
getAuthorizationCase() |
boolean |
getDryRun()
If `true`, the authorization check was performed as part of a dry-run
request, without modifying state.
|
String |
getOperation()
The operation being checked for authorization.
|
com.google.protobuf.ByteString |
getOperationBytes()
The operation being checked for authorization.
|
RbacAuthorizationInfo |
getRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
|
RbacAuthorizationInfoOrBuilder |
getRbacAuthorizationOrBuilder()
A RBAC rule that resulted in the authorization check being allowed.
|
AuthorizationInfo.Result |
getResult()
The result of this authorization check.
|
int |
getResultValue()
The result of this authorization check.
|
boolean |
getSuperUserAuthorization()
If true, the authorization check was allowed because the principal
is a super-user.
|
boolean |
hasAclAuthorization()
An ACL rule that resulted in the authorization check being denied
or allowed.
|
boolean |
hasRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
|
boolean |
hasSuperUserAuthorization()
If true, the authorization check was allowed because the principal
is a super-user.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getResultValue()
The result of this authorization check. Note that multiple checks may occur for a single request, and result in multiple audit log entries. If AuthorizationInfo is present, a non-default value must be set.
.auditlog.v2.AuthorizationInfo.Result result = 1;
AuthorizationInfo.Result getResult()
The result of this authorization check. Note that multiple checks may occur for a single request, and result in multiple audit log entries. If AuthorizationInfo is present, a non-default value must be set.
.auditlog.v2.AuthorizationInfo.Result result = 1;
boolean getDryRun()
If `true`, the authorization check was performed as part of a dry-run request, without modifying state. Note that a `false` value may indicate that the request was effective, but it also allows for the possibility that the efficacy of the request was unspecified or untracked, and may not have actually been performed beyond the authorization check.
bool dry_run = 2 [(.confluent.protobuf.field_meta) = { ... }
String getOperation()
The operation being checked for authorization. This should correspond to the name of an operation that can be gated by access control. Examples: "Create", "Describe", "Alter", "Delete", "DescribeConfigs", "AlterConfigs", "DescribeAccess", "AlterAccess".
string operation = 3;
com.google.protobuf.ByteString getOperationBytes()
The operation being checked for authorization. This should correspond to the name of an operation that can be gated by access control. Examples: "Create", "Describe", "Alter", "Delete", "DescribeConfigs", "AlterConfigs", "DescribeAccess", "AlterAccess".
string operation = 3;
boolean hasSuperUserAuthorization()
If true, the authorization check was allowed because the principal is a super-user.
bool super_user_authorization = 7;
boolean getSuperUserAuthorization()
If true, the authorization check was allowed because the principal is a super-user.
bool super_user_authorization = 7;
boolean hasAclAuthorization()
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
AclAuthorizationInfo getAclAuthorization()
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
AclAuthorizationInfoOrBuilder getAclAuthorizationOrBuilder()
An ACL rule that resulted in the authorization check being denied or allowed.
.auditlog.v2.AclAuthorizationInfo acl_authorization = 8;
boolean hasRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
RbacAuthorizationInfo getRbacAuthorization()
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
RbacAuthorizationInfoOrBuilder getRbacAuthorizationOrBuilder()
A RBAC rule that resulted in the authorization check being allowed.
.auditlog.v2.RbacAuthorizationInfo rbac_authorization = 9;
AuthorizationInfo.AuthorizationCase getAuthorizationCase()