public static enum RBAC.Action extends Enum<RBAC.Action> implements com.google.protobuf.ProtocolMessageEnum
Should we do safe-list or block-list style access control?Protobuf enum
envoy.config.rbac.v4alpha.RBAC.Action| Enum Constant and Description |
|---|
ALLOW
The policies grant access to principals.
|
DENY
The policies deny access to principals.
|
LOG
The policies set the `access_log_hint` dynamic metadata key based on if requests match.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_VALUE
The policies grant access to principals.
|
static int |
DENY_VALUE
The policies deny access to principals.
|
static int |
LOG_VALUE
The policies set the `access_log_hint` dynamic metadata key based on if requests match.
|
| Modifier and Type | Method and Description |
|---|---|
static RBAC.Action |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RBAC.Action> |
internalGetValueMap() |
static RBAC.Action |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RBAC.Action |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RBAC.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RBAC.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RBAC.Action ALLOW
The policies grant access to principals. The rest are denied. This is safe-list style access control. This is the default type.
ALLOW = 0;public static final RBAC.Action DENY
The policies deny access to principals. The rest are allowed. This is block-list style access control.
DENY = 1;public static final RBAC.Action LOG
The policies set the `access_log_hint` dynamic metadata key based on if requests match. All requests are allowed.
LOG = 2;public static final RBAC.Action UNRECOGNIZED
public static final int ALLOW_VALUE
The policies grant access to principals. The rest are denied. This is safe-list style access control. This is the default type.
ALLOW = 0;public static final int DENY_VALUE
The policies deny access to principals. The rest are allowed. This is block-list style access control.
DENY = 1;public static final int LOG_VALUE
The policies set the `access_log_hint` dynamic metadata key based on if requests match. All requests are allowed.
LOG = 2;public static RBAC.Action[] values()
for (RBAC.Action c : RBAC.Action.values()) System.out.println(c);
public static RBAC.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RBAC.Action valueOf(int value)
forNumber(int) instead.public static RBAC.Action forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RBAC.Action> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RBAC.Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.