Native PostgreSQL Schema Script: postgres.sql - Role analysis
This page documents schema objects parsed from config/sql/native/postgres.sql.
Region: Role analysis
Role analysis sessions, clusters, outliers, detected patterns, and related containers.
Tables
m_role_analysis_cluster
Stores role analysis cluster objects and their parent cluster references.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#RoleAnalysisClusterType
Inherits from: m_assignment_holder
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
Role analysis cluster object identifier. |
|
|
||
|
|
OID of the parent cluster reference target. |
|
|
|
Object type of the parent cluster reference target. |
|
|
|
Relation URI identifier of the parent cluster reference. |
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up lookup of role analysis clusters by parent reference target OID. Used for: role analysis cluster parent searches |
|
|
Speeds up filtering role analysis clusters by parent reference target type. Used for: role analysis cluster parent searches |
|
|
Speeds up filtering role analysis clusters by parent reference relation. Used for: role analysis cluster parent searches |
Foreign keys
| Column | References |
|---|---|
|
|
|
m_role_analysis_cluster_detected_pattern
Stores detected role analysis patterns inside a role analysis cluster.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#DetectedPatternType
Inherits from: m_container
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
OID of the role analysis cluster that owns the detected pattern. |
|
|
||
|
|
Reduction count calculated for the detected pattern. |
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up filtering detected patterns by reduction count. Used for: role analysis detected pattern ranking and filters |
Foreign keys
| Column | References | Notes |
|---|---|---|
|
ON DELETE CASCADE |
m_role_analysis_outlier
Stores role analysis outlier objects and references to analyzed target objects.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#RoleAnalysisOutlierType
Inherits from: m_assignment_holder
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
Role analysis outlier object identifier. |
|
|
||
|
|
OID of the object identified as an outlier target. |
|
|
|
Object type of the outlier target object. |
|
|
|
Relation URI identifier of the outlier target reference. |
|
|
|
Overall confidence score calculated for the outlier. |
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up lookup of role analysis outliers by target object OID. Used for: role analysis outlier target searches |
|
|
Speeds up filtering role analysis outliers by target object type. Used for: role analysis outlier target searches |
|
|
Speeds up filtering role analysis outliers by target reference relation. Used for: role analysis outlier target searches |
|
|
Speeds up filtering or ordering role analysis outliers by confidence score. Used for: role analysis outlier confidence filters and ordering |
Foreign keys
| Column | References |
|---|---|
|
|
|
m_role_analysis_outlier_partition
Stores partition data for role analysis outliers.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#RoleAnalysisOutlierPartitionType
Inherits from: m_container
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
OID of the role analysis outlier that owns this partition row. |
|
|
||
|
|
OID of the related role analysis cluster. |
|
|
|
Object type of the related role analysis cluster. |
|
|
|
Relation URI identifier of the cluster reference. |
|
|
|
Confidence score calculated for this outlier partition. |
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up lookup of outlier partitions by cluster OID. Used for: role analysis outlier partition cluster searches |
|
|
Speeds up filtering or ordering outlier partitions by confidence score. Used for: role analysis outlier confidence filters and ordering |
Foreign keys
| Column | References | Notes |
|---|---|---|
|
ON DELETE CASCADE |
|
|
- |
m_role_analysis_session
Stores role analysis session objects.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#RoleAnalysisSessionType
Inherits from: m_assignment_holder
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
Role analysis session object identifier. |
|
|
Foreign keys
| Column | References |
|---|---|
|
Triggers
Triggers run routines automatically when table rows are inserted, updated, or deleted.