Top
sym/enums/service.proto
Service represents a system Sym integrates with
Name
Number
Description
UNKNOWN
0
Unidentified service
SLACK
1
Slack
OKTA
2
Okta
AWS
3
AWS
CUSTOM
4
Customer service
Top
sym/models/resource.proto
Resource represents some entity from a given service
Field
Type
Label
Description
service
sym.enums.Service
The service this is a resource in
id
string
How the resource is identified
Top
Field
Type
Label
Description
version
int32
Top
User holds multiple Identities for various integrated services.
Field
Type
Label
Description
uuid
UUID
The uuid for a user remains constant across all services
current_identity
User.Identity
current_identity is the system the user is currently interacting with sym from
identities
User.Identity
repeated
identities this user has
Identity of the user in a given service
Top
Field
Type
Label
Description
value
string
Top
sym/messages/approval.proto
Approval messages represent approval for a target user to use a resource
Metadata about an approval
Top
Authz messages test if a user is authorized for a role
AuthzResponse gets sent back by authz requests
Field
Type
Label
Description
ok
bool
errorMessage
string
error message when not ok
Top
sym/messages/dispatch.proto
Dispatch messages wrap another message type
Top
sym/messages/expiration.proto
Expiration messages represent an approval that is now expired
Target combines the expiring user and resource
Top
sym/messages/options.proto
Options messages represent a user asking for options with a given filter
Options filter
Field
Type
Label
Description
service
sym.enums.Service
The service this is a resource in
pattern
string
Filter string for resources
OptionsResponse gets sent back by dispatch requests
Field
Type
Label
Description
ok
bool
error
string
error message when not ok
options
string
repeated
Top
sym/messages/request.proto
Request represents some user request for access
Metadata about the request
Field
Type
Label
Description
reason
string
user-defined arbitrary reason
Target combines the requesting user and resource
Top
sym/messages/response.proto
ApprovalResponse gets sent back upon successful approvals
Field
Type
Label
Description
ok
bool
error
string
error message when not ok
DispatchResponse gets sent back by dispatch requests
Field
Type
Label
Description
ok
bool
error
string
error message when not ok
ExpirationResponse gets sent back upon successful expirations
Field
Type
Label
Description
ok
bool
error
string
error message when not ok
.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)