Top
aserto/authorizer/v2/api/identity_context.proto
Identity types, describes the payload type of the identity field inside the IdentityContext message.
Name
Number
Description
IDENTITY_TYPE_UNKNOWN
0
Unknown, value not set, requests will fail with identity type not set error.
IDENTITY_TYPE_NONE
1
None, no explicit identity context set, equals anonymous.
IDENTITY_TYPE_SUB
2
Sub(ject), identity field contains an oAUTH subject.
IDENTITY_TYPE_JWT
3
JWT, identity field contains a JWT access token.
IDENTITY_TYPE_MANUAL
4
Manual, propagates thw identity field as-is, without validation, into the input object.
Top
aserto/authorizer/v2/api/policy_context.proto
Field
Type
Label
Description
path
string
policy path aka package name
decisions
string
repeated
list (1..N) of policy decisions (aka rules)
Top
aserto/authorizer/v2/api/decision_logs.proto
represents a decision that an authorizer performed in the past
Decision.AnnotationsEntry
Field
Type
Label
Description
key
string
value
bool
information about a policy used in a decision
Field
Type
Label
Description
context
PolicyContext
policy context used in the decision
registry_service
string
registry service where policy was retrieved from (e.g. opcr.io)
registry_image
string
image of the policy in the registry, including org (e.g. acmecorp/peoplefinder-abac)
registry_tag
string
tag of the policy image (e.g. 0.8.2 or latest)
registry_digest
string
digest of the policy image
information about a user on behalf of whom a decision was made
Field
Type
Label
Description
context
IdentityContext
identity context used in the decision
id
string
id of the user the identity resolved to
email
string
convenience human-readable identifier
Top
aserto/authorizer/v2/api/module.proto
Top
aserto/authorizer/v2/authorizer.proto
Field
Type
Label
Description
decision
string
is
bool
Field
Type
Label
Description
decisions
Decision
repeated
Field
Type
Label
Description
result
api.Module
repeated
Field
Type
Label
Description
metrics
bool
default false
instrument
bool
default false
trace
TraceLevel
default ExplainOffV1
trace_summary
bool
default false
Name
Number
Description
PATH_SEPARATOR_UNKNOWN
0
Value not set.
PATH_SEPARATOR_DOT
1
Dot "." path separator
PATH_SEPARATOR_SLASH
2
Slash "/" path separtor
Name
Number
Description
TRACE_LEVEL_UNKNOWN
0
Value not set.
TRACE_LEVEL_OFF
1
ExplainOffV1 ExplainModeV1 = "off"
TRACE_LEVEL_FULL
2
ExplainFullV1 ExplainModeV1 = "full"
TRACE_LEVEL_NOTES
3
ExplainNotesV1 ExplainModeV1 = "notes"
TRACE_LEVEL_FAILS
4
ExplainFailsV1 ExplainModeV1 = "fails"
.proto Type
Notes
C++
Java
Python
Go
C#
PHP
Ruby
double
double
double
float
float64
double
float
Float
float
float
float
float
float32
float
float
Float
int32
Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.
int32
int
int
int32
int
integer
Bignum or Fixnum (as required)
int64
Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.
int64
long
int/long
int64
long
integer/string
Bignum
uint32
Uses variable-length encoding.
uint32
int
int/long
uint32
uint
integer
Bignum or Fixnum (as required)
uint64
Uses variable-length encoding.
uint64
long
int/long
uint64
ulong
integer/string
Bignum or Fixnum (as required)
sint32
Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.
int32
int
int
int32
int
integer
Bignum or Fixnum (as required)
sint64
Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.
int64
long
int/long
int64
long
integer/string
Bignum
fixed32
Always four bytes. More efficient than uint32 if values are often greater than 2^28.
uint32
int
int
uint32
uint
integer
Bignum or Fixnum (as required)
fixed64
Always eight bytes. More efficient than uint64 if values are often greater than 2^56.
uint64
long
int/long
uint64
ulong
integer/string
Bignum
sfixed32
Always four bytes.
int32
int
int
int32
int
integer
Bignum or Fixnum (as required)
sfixed64
Always eight bytes.
int64
long
int/long
int64
long
integer/string
Bignum
bool
bool
boolean
boolean
bool
bool
boolean
TrueClass/FalseClass
string
A string must always contain UTF-8 encoded or 7-bit ASCII text.
string
String
str/unicode
string
string
string
String (UTF-8)
bytes
May contain any arbitrary sequence of bytes.
string
ByteString
str
[]byte
ByteString
string
String (ASCII-8BIT)