Some checks failed
SonarQube / SonarQube (push) Failing after 5m28s
E2e test on main branch push / server and client test (map[name:admin port:8080]) (push) Failing after 3m33s
Server and lib tests / Library test (js) (push) Failing after 1m36s
Server and lib tests / Library test (vue) (push) Successful in 2m24s
Server and lib tests / Web client test (admin) (push) Successful in 2m52s
Server and lib tests / Web client test (compose) (push) Successful in 3m23s
Server and lib tests / Web client test (discovery) (push) Successful in 2m49s
Server and lib tests / Web client test (one) (push) Successful in 2m52s
Server and lib tests / Web client test (privacy) (push) Successful in 2m44s
Server and lib tests / Web client test (reporter) (push) Successful in 2m56s
Server and lib tests / Web client test (workflow) (push) Successful in 3m0s
Server and lib tests / Server tests (push) Failing after 4m55s
E2e test on main branch push / notify-failure (push) Failing after 9s
Server and lib tests / Send matrix testing notification (push) Successful in 2s
Mark stale issues and pull requests / stale (push) Successful in 40s
112 lines
3.0 KiB
YAML
112 lines
3.0 KiB
YAML
# List of loggable service actions
|
|
|
|
resource: system:auth-client
|
|
service: authClient
|
|
|
|
# Default sensitivity for actions
|
|
defaultActionSeverity: notice
|
|
|
|
# default severity for errors
|
|
defaultErrorSeverity: error
|
|
|
|
import:
|
|
- github.com/cortezaproject/corteza/server/system/types
|
|
|
|
props:
|
|
- name: authClient
|
|
type: "*types.AuthClient"
|
|
fields: [ handle, ID ]
|
|
- name: new
|
|
type: "*types.AuthClient"
|
|
fields: [ handle, ID ]
|
|
- name: update
|
|
type: "*types.AuthClient"
|
|
fields: [ handle, ID ]
|
|
- name: filter
|
|
type: "*types.AuthClientFilter"
|
|
fields: [ handle, deleted, sort ]
|
|
|
|
actions:
|
|
- action: search
|
|
log: "searched for auth clients"
|
|
severity: info
|
|
|
|
- action: lookup
|
|
log: "looked-up for a {{authClient}}"
|
|
severity: info
|
|
|
|
- action: create
|
|
log: "created {{authClient}}"
|
|
|
|
- action: update
|
|
log: "updated {{authClient}}"
|
|
|
|
- action: delete
|
|
log: "deleted {{authClient}}"
|
|
|
|
- action: undelete
|
|
log: "undeleted {{authClient}}"
|
|
|
|
- action: exposeSecret
|
|
log: "secret exposed"
|
|
|
|
- action: regenerateSecret
|
|
log: "secret regenerated"
|
|
errors:
|
|
- error: notFound
|
|
message: "auth client not found"
|
|
severity: warning
|
|
|
|
- error: invalidID
|
|
message: "invalid ID"
|
|
severity: warning
|
|
|
|
- error: staleData
|
|
message: "auth client was modified by someone else or by a workflow after you've opened it. Please refresh to see the latest updated version"
|
|
severity: warning
|
|
|
|
- error: missingName
|
|
message: "missing name"
|
|
|
|
- error: unknownGrantType
|
|
message: "unknown grant type"
|
|
|
|
- error: unknownScope
|
|
message: "unknown scope"
|
|
|
|
- error: unableToChangeDefaultClientHandle
|
|
message: "unable to change the handle of the default auth client"
|
|
log: "failed to update {{authClient}}; unable to change the default auth client handle"
|
|
|
|
- error: unableToDisableDefaultClient
|
|
message: "unable to disable the default auth client"
|
|
log: "failed to update {{authClient}}; unable to disable the default auth client"
|
|
|
|
- error: unableToDeleteDefaultClient
|
|
message: "unable to delete the default auth client"
|
|
log: "failed to update {{authClient}}; unable to delete the default auth client"
|
|
|
|
- error: notAllowedToRead
|
|
message: "not allowed to read this auth client"
|
|
log: "failed to read {{authClient}}; insufficient permissions"
|
|
|
|
- error: notAllowedToSearch
|
|
message: "not allowed to search or list auth clients"
|
|
log: "failed to search or list authClient; insufficient permissions"
|
|
|
|
- error: notAllowedToCreate
|
|
message: "not allowed to create auth clients"
|
|
log: "failed to create authClient; insufficient permissions"
|
|
|
|
- error: notAllowedToUpdate
|
|
message: "not allowed to update this auth client"
|
|
log: "failed to update {{authClient}}; insufficient permissions"
|
|
|
|
- error: notAllowedToDelete
|
|
message: "not allowed to delete this auth client"
|
|
log: "failed to delete {{authClient}}; insufficient permissions"
|
|
|
|
- error: notAllowedToUndelete
|
|
message: "not allowed to undelete this auth client"
|
|
log: "failed to undelete {{authClient}}; insufficient permissions"
|