vw_role_management_policies
Creates, updates, deletes, gets or lists a vw_role_management_policies
resource.
Overview
Name | vw_role_management_policies |
Type | View |
Id | azure.authorization.vw_role_management_policies |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.scope') as "scope",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.isOrganizationDefault') as "is_organization_default",
JSON_EXTRACT(properties, '$.lastModifiedBy') as "last_modified_by",
JSON_EXTRACT(properties, '$.lastModifiedDateTime') as "last_modified_date_time",
JSON_EXTRACT(properties, '$.rules') as "rules",
JSON_EXTRACT(properties, '$.effectiveRules') as "effective_rules",
JSON_EXTRACT(properties, '$.policyProperties') as "policy_properties",
scope,
roleManagementPolicyName
FROM azure.authorization.role_management_policies
WHERE scope = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.scope') as "scope",
json_extract_path_text(properties, '$.displayName') as "display_name",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.isOrganizationDefault') as "is_organization_default",
json_extract_path_text(properties, '$.lastModifiedBy') as "last_modified_by",
json_extract_path_text(properties, '$.lastModifiedDateTime') as "last_modified_date_time",
json_extract_path_text(properties, '$.rules') as "rules",
json_extract_path_text(properties, '$.effectiveRules') as "effective_rules",
json_extract_path_text(properties, '$.policyProperties') as "policy_properties",
scope,
roleManagementPolicyName
FROM azure.authorization.role_management_policies
WHERE scope = 'replace-me';