diff --git a/internal/website/permstable/permstable.go b/internal/website/permstable/permstable.go index 869efcfbc..aaa7b40d6 100644 --- a/internal/website/permstable/permstable.go +++ b/internal/website/permstable/permstable.go @@ -394,21 +394,38 @@ var resources = map[resource.Type]info{ }, resource.Alias: { scopes: []string{"Global"}, + actionDescOverrides: map[action.Type]string{ + action.List: "List aliases", + }, }, resource.AuthMethod: { scopes: iamScopes, actionDescOverrides: map[action.Type]string{ action.Authenticate: "Authenticate to an auth method", + action.ChangeState: "Change the active and visibility state of an OIDC-type auth method", }, }, resource.AuthToken: { scopes: iamScopes, + actionDescOverrides: map[action.Type]string{ + action.DeleteSelf: "Deletes the auth token associated with the current user", + action.ReadSelf: "Reads the details of the auth token associated with the current user", + }, + }, + resource.Billing: { + scopes: []string{"Global"}, + actionDescOverrides: map[action.Type]string{ + action.MonthlyActiveUsers: "Display the number of monthly active Boundary users to help predict billing", + }, }, resource.Credential: { scopes: infraScope, }, resource.CredentialLibrary: { scopes: infraScope, + actionDescOverrides: map[action.Type]string{ + action.List: "List credential libraries", + }, }, resource.CredentialStore: { scopes: infraScope, @@ -428,11 +445,25 @@ var resources = map[resource.Type]info{ resource.ManagedGroup: { scopes: iamScopes, }, + resource.Policy: { + scopes: iamScopes, + actionDescOverrides: map[action.Type]string{ + action.List: "List policies", + }, + }, resource.Role: { scopes: append(iamScopes, infraScope...), }, resource.Scope: { scopes: iamScopes, + actionDescOverrides: map[action.Type]string{ + action.DestroyScopeKeyVersion: "Destroy a key version in the scope", + action.ListScopeKeyVersionDestructionJobs: "List all pending key version destruction jobs within a scope", + action.ListScopeKeys: "List the keys within a given scope", + action.RotateScopeKeys: "Replace a scope's current KEK and DEKs with a new set of keys", + action.AttachStoragePolicy: "Attach a storage policy to all session recordings in the scope", + action.DetachStoragePolicy: "Detach a storage policy from all session recordings in the scope", + }, }, resource.Session: { scopes: infraScope, @@ -460,12 +491,17 @@ var resources = map[resource.Type]info{ }, resource.User: { scopes: iamScopes, + actionDescOverrides: map[action.Type]string{ + action.ListResolvableAliases: "List all aliases that point to resources the user has permission to access", + }, }, resource.Worker: { scopes: []string{"Global"}, actionDescOverrides: map[action.Type]string{ - action.CreateControllerLed: "Create a worker using the controller-led workflow", - action.CreateWorkerLed: "Create a worker using the worker-led workflow", + action.CreateControllerLed: "Create a worker using the controller-led workflow", + action.CreateWorkerLed: "Create a worker using the worker-led workflow", + action.ReadCertificateAuthority: "Read the details of the certificate authority that is used to authorize Boundary workers", + action.ReinitializeCertificateAuthority: "Reinitialize the certificate authority that is used to authorize Boundary workers", }, }, } diff --git a/internal/website/permstable/resource-table.mdx b/internal/website/permstable/resource-table.mdx index 50937c149..9ea5d07af 100644 --- a/internal/website/permstable/resource-table.mdx +++ b/internal/website/permstable/resource-table.mdx @@ -65,7 +65,7 @@ The **Alias** resource type supports the following scopes: **Global** | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | -| /aliases | | | +| /aliases | | | | /aliases/<id> | | | ## Auth method @@ -75,7 +75,7 @@ The **Auth method** resource type supports the following scopes: **Global**, **O | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | | /auth-methods | | | -| /auth-methods/<id> | | | +| /auth-methods/<id> | | | ## Auth token @@ -84,13 +84,15 @@ The **Auth token** resource type supports the following scopes: **Global**, **Or | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | | /auth-tokens | | | -| /auth-tokens/<id> | | | +| /auth-tokens/<id> | | | ## Billing +The **Billing** resource type supports the following scopes: **Global** + | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | -| /billing | | | +| /billing | | | ## Credential @@ -107,7 +109,7 @@ The **Credential library** resource type supports the following scopes: **Projec | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | -| /credential-libraries | | | +| /credential-libraries | | | | /credential-libraries/<id> | | | ## Credential store @@ -166,9 +168,11 @@ The **Managed group** resource type supports the following scopes: **Global**, * ## Policy +The **Policy** resource type supports the following scopes: **Global**, **Org** + | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | -| /policies | | | +| /policies | | | | /policies/<id> | | | ## Role @@ -186,8 +190,8 @@ The **Scope** resource type supports the following scopes: **Global**, **Org** | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | -| /scopes | | | -| /scopes/<id> | | | +| /scopes | | | +| /scopes/<id> | | | ## Session @@ -232,7 +236,7 @@ The **User** resource type supports the following scopes: **Global**, **Org** | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | | /users | | | -| /users/<id> | | | +| /users/<id> | | | ## Worker @@ -240,7 +244,7 @@ The **Worker** resource type supports the following scopes: **Global** | API endpoint | Parameters into permissions engine | Available actions / examples | | ------------ | ---------------------------------- | ---------------------------- | -| /workers | | | +| /workers | | | | /workers/<id> | | |