ernw/openstack
steampipe plugin install ernw/openstack

Table: openstack_role_assignment

A 3-tuple combining keystone entities in the form of role-user/group-domain or role-user/group-project. Role assignments are domain specific.

Examples

Basic role assignment info

select
user_id,
group_id,
scope_project_id,
scope_domain_id,
scope_role_id
from
openstack_role_assignment;

All role-group assignemnts

select
group_id,
scope_project_id,
scope_domain_id,
scope_role_id
from
openstack_role_assignment
where
group_id is not null;

All user-group assignemnts

select
user_id,
scope_project_id,
scope_domain_id,
scope_role_id
from
openstack_role_assignment
where
user_id is not null;

All user-domain assignments

select
user_id,
scope_project_id,
scope_domain_id,
scope_role_id
from
openstack_role_assignment
where
scope_domain_id is not null;

Schema for openstack_role_assignment

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
group_idtextGroup ID the role is assigned to.
scope_domain_idtextDomain ID the group/user with role is assigned to.
scope_project_idtextProject ID the group/user with role is assigned to.
scope_role_idtextID of the assigned role.
user_idtextUser ID the role is assigned to.