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_adminDefault: role:admin(no description provided)
deny_everybodyDefault: !(no description provided)
build_info:build_infoDefault: <empty string>
Operations: - GET
/v1/build-info
Show build information
- GET
profile_types:indexDefault: <empty string>
Operations: - GET
/v1/profile-types
List profile types
- GET
profile_types:getDefault: <empty string>
Operations: - GET
/v1/profile-types/{profile_type}
Show profile type details
- GET
profile_types:opsDefault: <empty string>
Operations: - GET
/v1/profile-types/{profile_type}/ops
List profile type operations
- GET
policy_types:indexDefault: <empty string>
Operations: - GET
/v1/policy-types
List policy types
- GET
policy_types:getDefault: <empty string>
Operations: - GET
/v1/policy-types/{policy_type}
Show policy type details
- GET
clusters:indexDefault: <empty string>
Operations: - GET
/v1/clusters
List clusters
- GET
clusters:createDefault: <empty string>
Operations: - POST
/v1/clusters
Create cluster
- POST
clusters:deleteDefault: <empty string>
Operations: - DELETE
/v1/clusters/{cluster_id}
Delete cluster
- DELETE
clusters:getDefault: <empty string>
Operations: - GET
/v1/clusters/{cluster_id}
Show cluster details
- GET
clusters:actionDefault: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/actions
Perform specified action on a cluster.
- POST
clusters:updateDefault: <empty string>
Operations: - PATCH
/v1/clusters/{cluster_id}
Update cluster
- PATCH
clusters:collectDefault: <empty string>
Operations: - GET
v1/clusters/{cluster_id}/attrs/{path}
Collect Attributes Across a Cluster
- GET
clusters:operationDefault: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/ops
Perform an Operation on a Cluster
- POST
profiles:indexDefault: <empty string>
Operations: - GET
/v1/profiles
List profiles
- GET
profiles:createDefault: <empty string>
Operations: - POST
/v1/profiles
Create profile
- POST
profiles:getDefault: <empty string>
Operations: - GET
/v1/profiles/{profile_id}
Show profile details
- GET
profiles:deleteDefault: <empty string>
Operations: - DELETE
/v1/profiles/{profile_id}
Delete profile
- DELETE
profiles:updateDefault: <empty string>
Operations: - PATCH
/v1/profiles/{profile_id}
Update profile
- PATCH
profiles:validateDefault: <empty string>
Operations: - POST
/v1/profiles/validate
Validate profile
- POST
nodes:indexDefault: <empty string>
Operations: - GET
/v1/nodes
List nodes
- GET
nodes:createDefault: <empty string>
Operations: - GET
/v1/nodes
Create node
- GET
nodes:adoptDefault: <empty string>
Operations: - POST
/v1/nodes/adopt
Adopt node
- POST
nodes:adopt_previewDefault: <empty string>
Operations: - POST
/v1/nodes/adopt-preview
Adopt node (preview)
- POST
nodes:getDefault: <empty string>
Operations: - GET
/v1/nodes/{node_id}
Show node details
- GET
nodes:actionDefault: <empty string>
Operations: - POST
/v1/nodes/{node_id}/actions
Perform specified action on a Node.
- POST
nodes:updateDefault: <empty string>
Operations: - PATCH
/v1/nodes/{node_id}
Update node
- PATCH
nodes:deleteDefault: <empty string>
Operations: - DELETE
/v1/nodes/{node_id}
Delete node
- DELETE
nodes:operationDefault: <empty string>
Operations: - POST
/v1/nodes/{node_id}/ops
Perform an Operation on a Node
- POST
policies:indexDefault: <empty string>
Operations: - GET
/v1/policies
List policies
- GET
policies:createDefault: <empty string>
Operations: - POST
/v1/policies
Create policy
- POST
policies:getDefault: <empty string>
Operations: - GET
/v1/policies/{policy_id}
Show policy details
- GET
policies:updateDefault: <empty string>
Operations: - PATCH
/v1/policies/{policy_id}
Update policy
- PATCH
policies:deleteDefault: <empty string>
Operations: - DELETE
/v1/policies/{policy_id}
Delete policy
- DELETE
policies:validateDefault: <empty string>
Operations: - POST
/v1/policies/validate
Validate policy.
- POST
cluster_policies:indexDefault: <empty string>
Operations: - GET
/v1/clusters/{cluster_id}/policies
List cluster policies
- GET
cluster_policies:attachDefault: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/actions
Attach a Policy to a Cluster
- POST
cluster_policies:detachDefault: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/actions
Detach a Policy from a Cluster
- POST
cluster_policies:updateDefault: <empty string>
Operations: - POST
/v1/clusters/{cluster_id}/actions
Update a Policy on a Cluster
- POST
cluster_policies:getDefault: <empty string>
Operations: - GET
/v1/clusters/{cluster_id}/policies/{policy_id}
Show cluster_policy details
- GET
receivers:indexDefault: <empty string>
Operations: - GET
/v1/receivers
List receivers
- GET
receivers:createDefault: <empty string>
Operations: - POST
/v1/receivers
Create receiver
- POST
receivers:getDefault: <empty string>
Operations: - GET
/v1/receivers/{receiver_id}
Show receiver details
- GET
receivers:updateDefault: <empty string>
Operations: - PATCH
/v1/receivers/{receiver_id}
Update receiver
- PATCH
receivers:deleteDefault: <empty string>
Operations: - DELETE
/v1/receivers/{receiver_id}
Delete receiver
- DELETE
receivers:notifyDefault: <empty string>
Operations: - POST
/v1/receivers/{receiver_id}/notify
Notify receiver
- POST
actions:indexDefault: <empty string>
Operations: - GET
/v1/actions
List actions
- GET
actions:getDefault: <empty string>
Operations: - GET
/v1/actions/{action_id}
Show action details
- GET
actions:updateDefault: <empty string>
Operations: - PATCH
/v1/actions/{action_id}
Update action
- PATCH
events:indexDefault: <empty string>
Operations: - GET
/v1/events
List events
- GET
events:getDefault: <empty string>
Operations: - GET
/v1/events/{event_id}
Show event details
- GET
webhooks:triggerDefault: <empty string>
Operations: - POST
/v1/webhooks/{webhook_id}/trigger
Trigger webhook action
- POST
services:indexDefault: role:adminOperations: - GET
/v1/services
List services
- GET