Senlin Sample Policy Configuration File¶
The following is an overview of all available access policies in Senlin. For a sample configuration file, refer to policy.yaml.
senlin¶
context_is_admin
Default: role:admin
(no description provided)
deny_everybody
Default: !
(no description provided)
build_info:build_info
Default: <empty string>
Operations: - GET
/v1/build-info
Show build information
- GET
profile_types:index
Default: <empty string>
Operations: - GET
/v1/profile-types
List profile types
- GET
profile_types:get
Default: <empty string>
Operations: - GET
/v1/profile-types/{profile_type}
Show profile type details
- GET
profile_types:ops
Default: <empty string>
Operations: - GET
/v1/profile-types/{profile_type}/ops
List profile type operations
- GET
policy_types:index
Default: <empty string>
Operations: - GET
/v1/policy-types
List policy types
- GET
policy_types:get
Default: <empty string>
Operations: - GET
/v1/policy-types/{policy_type}
Show policy type details
- GET
clusters:index
Default: <empty string>
Operations: - GET
/v1/clusters
List clusters
- GET
clusters:create
Default: <empty string>
Operations: - POST
/v1/clusters
Create cluster
- POST
clusters:delete
Default: <empty string>
Operations: - DELETE
/v1/clusters/{cluster_id}
Delete cluster
- DELETE
clusters:get
Default: <empty string>
Operations: - GET
/v1/clusters/{cluster_id}
Show cluster details
- GET
clusters:action
Default: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/actions
Perform specified action on a cluster.
- POST
clusters:update
Default: <empty string>
Operations: - PATCH
/v1/clusters/{cluster_id}
Update cluster
- PATCH
clusters:collect
Default: <empty string>
Operations: - GET
v1/clusters/{cluster_id}/attrs/{path}
Collect Attributes Across a Cluster
- GET
clusters:operation
Default: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/ops
Perform an Operation on a Cluster
- POST
profiles:index
Default: <empty string>
Operations: - GET
/v1/profiles
List profiles
- GET
profiles:create
Default: <empty string>
Operations: - POST
/v1/profiles
Create profile
- POST
profiles:get
Default: <empty string>
Operations: - GET
/v1/profiles/{profile_id}
Show profile details
- GET
profiles:delete
Default: <empty string>
Operations: - DELETE
/v1/profiles/{profile_id}
Delete profile
- DELETE
profiles:update
Default: <empty string>
Operations: - PATCH
/v1/profiles/{profile_id}
Update profile
- PATCH
profiles:validate
Default: <empty string>
Operations: - POST
/v1/profiles/validate
Validate profile
- POST
nodes:index
Default: <empty string>
Operations: - GET
/v1/nodes
List nodes
- GET
nodes:create
Default: <empty string>
Operations: - GET
/v1/nodes
Create node
- GET
nodes:adopt
Default: <empty string>
Operations: - POST
/v1/nodes/adopt
Adopt node
- POST
nodes:adopt_preview
Default: <empty string>
Operations: - POST
/v1/nodes/adopt-preview
Adopt node (preview)
- POST
nodes:get
Default: <empty string>
Operations: - GET
/v1/nodes/{node_id}
Show node details
- GET
nodes:action
Default: <empty string>
Operations: - POST
/v1/nodes/{node_id}/actions
Perform specified action on a Node.
- POST
nodes:update
Default: <empty string>
Operations: - PATCH
/v1/nodes/{node_id}
Update node
- PATCH
nodes:delete
Default: <empty string>
Operations: - DELETE
/v1/nodes/{node_id}
Delete node
- DELETE
nodes:operation
Default: <empty string>
Operations: - POST
/v1/nodes/{node_id}/ops
Perform an Operation on a Node
- POST
policies:index
Default: <empty string>
Operations: - GET
/v1/policies
List policies
- GET
policies:create
Default: <empty string>
Operations: - POST
/v1/policies
Create policy
- POST
policies:get
Default: <empty string>
Operations: - GET
/v1/policies/{policy_id}
Show policy details
- GET
policies:update
Default: <empty string>
Operations: - PATCH
/v1/policies/{policy_id}
Update policy
- PATCH
policies:delete
Default: <empty string>
Operations: - DELETE
/v1/policies/{policy_id}
Delete policy
- DELETE
policies:validate
Default: <empty string>
Operations: - POST
/v1/policies/validate
Validate policy.
- POST
cluster_policies:index
Default: <empty string>
Operations: - GET
/v1/clusters/{cluster_id}/policies
List cluster policies
- GET
cluster_policies:attach
Default: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/actions
Attach a Policy to a Cluster
- POST
cluster_policies:detach
Default: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/actions
Detach a Policy from a Cluster
- POST
cluster_policies:update
Default: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/actions
Update a Policy on a Cluster
- POST
cluster_policies:get
Default: <empty string>
Operations: - GET
/v1/clusters/{cluster_id}/policies/{policy_id}
Show cluster_policy details
- GET
receivers:index
Default: <empty string>
Operations: - GET
/v1/receivers
List receivers
- GET
receivers:create
Default: <empty string>
Operations: - POST
/v1/receivers
Create receiver
- POST
receivers:get
Default: <empty string>
Operations: - GET
/v1/receivers/{receiver_id}
Show receiver details
- GET
receivers:update
Default: <empty string>
Operations: - PATCH
/v1/receivers/{receiver_id}
Update receiver
- PATCH
receivers:delete
Default: <empty string>
Operations: - DELETE
/v1/receivers/{receiver_id}
Delete receiver
- DELETE
receivers:notify
Default: <empty string>
Operations: - POST
/v1/receivers/{receiver_id}/notify
Notify receiver
- POST
actions:index
Default: <empty string>
Operations: - GET
/v1/actions
List actions
- GET
actions:get
Default: <empty string>
Operations: - GET
/v1/actions/{action_id}
Show action details
- GET
actions:update
Default: <empty string>
Operations: - PATCH
/v1/actions/{action_id}
Update action
- PATCH
events:index
Default: <empty string>
Operations: - GET
/v1/events
List events
- GET
events:get
Default: <empty string>
Operations: - GET
/v1/events/{event_id}
Show event details
- GET
webhooks:trigger
Default: <empty string>
Operations: - POST
/v1/webhooks/{webhook_id}/trigger
Trigger webhook action
- POST
services:index
Default: role:admin
Operations: - GET
/v1/services
List services
- GET