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
101 lines
2.3 KiB
YAML
101 lines
2.3 KiB
YAML
# List of loggable service actions
|
|
|
|
resource: federation:node
|
|
service: node
|
|
|
|
# Default sensitivity for actions
|
|
defaultActionSeverity: notice
|
|
|
|
# default severity for errors
|
|
defaultErrorSeverity: error
|
|
|
|
import:
|
|
- github.com/cortezaproject/corteza/server/federation/types
|
|
|
|
props:
|
|
- name: node
|
|
type: "*types.Node"
|
|
fields: [ Name, BaseURL, ID, Status ]
|
|
- name: pairingURI
|
|
- name: filter
|
|
type: "*types.NodeFilter"
|
|
fields: [ query, status ]
|
|
|
|
actions:
|
|
- action: search
|
|
log: "searched for nodes"
|
|
|
|
- action: lookup
|
|
log: "looked-up for a {{node}}"
|
|
severity: info
|
|
|
|
- action: create
|
|
log: "created {{node}}"
|
|
|
|
- action: createFromPairingURI
|
|
log: "created {{node}} from pairing URI"
|
|
|
|
- action: recreateFromPairingURI
|
|
log: "recreate {{node}} from pairing URI"
|
|
|
|
- action: update
|
|
log: "updated {{node}}"
|
|
|
|
- action: delete
|
|
log: "deleted {{node}}"
|
|
|
|
- action: undelete
|
|
log: "undeleted {{node}}"
|
|
|
|
- action: ottRegenerated
|
|
log: "regenerated one-time-token for {{node}}"
|
|
|
|
- action: pair
|
|
log: "{{node}} pairing started"
|
|
|
|
- action: handshakeInit
|
|
log: "{{node}} handshake initialized"
|
|
|
|
- action: handshakeConfirm
|
|
log: "{{node}} handshake confirmed"
|
|
|
|
- action: handshakeComplete
|
|
log: "{{node}} handshake completed"
|
|
|
|
errors:
|
|
- error: notFound
|
|
message: "node does not exist"
|
|
severity: warning
|
|
|
|
- error: invalidID
|
|
message: "invalid ID"
|
|
severity: warning
|
|
|
|
- error: pairingURIInvalid
|
|
message: "pairing URI invalid: {{err}}"
|
|
#
|
|
- error: pairingURITokenInvalid
|
|
message: "pairing URI with invalid pairing token"
|
|
|
|
- error: pairingURISourceIDInvalid
|
|
message: "pairing URI without source node ID"
|
|
|
|
- error: pairingTokenInvalid
|
|
message: "pairing token invalid"
|
|
|
|
- error: notAllowedToCreate
|
|
message: "not allowed to create nodes"
|
|
log: "could not create nodes; insufficient permissions"
|
|
|
|
- error: notAllowedToSearch
|
|
message: "not allowed to search or list nodes"
|
|
log: "could not search or list nodes; insufficient permissions"
|
|
|
|
- error: notAllowedToManage
|
|
message: "not allowed to manage this node"
|
|
log: "could not manage {{node}}; insufficient permissions"
|
|
|
|
- error: notAllowedToPair
|
|
message: "not allowed to pair this node"
|
|
log: "could not pair {{node}}; insufficient permissions"
|