Skip to content

Commit

Permalink
Update Capabilities with new available Capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
toppercodes authored and lukasmalkmus committed Sep 20, 2024
1 parent f923894 commit 5cf0e93
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions axiom/tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ type DatasetCapabilities struct {
// VirtualFields is the VirtualFields capability and the actions that can be
// performed on them.
VirtualFields []Action `json:"virtualFields"`
// Trim is the trim capability and the actions that can be performed on
// them.
Trim []Action `json:"trim"`
// Vacuum is the vacuum capability and the actions that can be performed on
// them.
Vacuum []Action `json:"vacuum"`
// Data is the data capability and the actions that can be performed on
// them.
Data []Action `json:"data"`
}

// OrganisationCapabilities represents the capabilities available to a token for
Expand All @@ -109,6 +118,9 @@ type OrganisationCapabilities struct {
// APITokens is the APITokens capability and the actions that can be
// performed on them.
APITokens []Action `json:"apiTokens,omitempty"`
// AuditLog is the AuditLog capability and the actions that can be
// performed on it.
AuditLog []Action `json:"auditLog,omitempty"`
// Billing is the Billing capability and the actions that can be performed
// on them.
Billing []Action `json:"billing,omitempty"`
Expand Down

0 comments on commit 5cf0e93

Please sign in to comment.