Retrieves the data within your organization that has been placed under governance.
Syntax:
Get-QDataUnderGovernance [[-ResourcePath] [<String>]] [[-ManagedHostId] [<String>]] [[-MaxResults] [<Int32>]] [<CommonParameters>]
| Parameter | Description |
|---|---|
| ResourcePath |
Specify the path to a particular resource under governance. If this parameter is not specified, all resources under governance on the specified managed host are returned. Either the ResourcePath or ManagedHostId parameter must be specified. |
| ManagedHostId |
Specify the ID (GUID format) of the managed host you are interested in. Run the Get-QManagedHosts cmdlet without any parameters to retrieve a list of available managed hosts and their IDs. Either the ResourcePath or ManagedHostId parameter must be specified. |
| MaxResults |
(Optional) Specify the maximum number of results to be returned. If this parameter is not specified, all results are returned. |
Examples:
| Example | Description |
|---|---|
| Get-QDataUnderGovernance -ResourcePath \\QAMAUTOMEM1\C$\AutoRoot\DuG\Folder1 | Returns the data under governance object for the resource specified. |
Details retrieved:
| Detail | Description (Associated key or property in QAMDuG table) |
|---|---|
| ManagedHostId | Value (GUID) assigned to the managed host computer. |
| IsForITShop | Indicates if the resource is available for requests through the IT Shop. |
| DatePublishedToITShop | The date (UTC) when the resource was published to the IT Shop. |
| IsPublishable | Indicates that the resource is able to be published to the IT Shop. |
| IsPointOfInterest | Indicates that a point of interest was intentionally placed under governance. |
| RequiresOwnership | Indicates that the resource requires that an owner be assigned. |
| DisplayName | Name of the governed resource. |
| DisplayPath | Path and name of the governed resource. |
| Description | Descriptive information entered for the governed resource. |
| FullPath | Full path of the governed resource. |
| FullPathHashSHA1 | Hash value over the full path for unique identification. |
| Justification | The reason for assigning this owner to the resource. |
| OwnershipSetBy | Name of the account that set the owner. |
| PlacedUnderGovernanceBy | Name of the account that placed the resource under governance. |
| RiskIndex | Calculated risk index of all assignments to this data. |
| ActivityResourceId | The value that relates the roots in this database to data in the Data Governance activity resource database. |
| DateOwnershipSet | The date (UTC) when the ownership of the resource was set. |
| UID_QAMDuG | The identifier assigned to the governed resource by Data Governance Edition. |
| IsStale | Indicates whether the resource was renamed or deleted. |
| LastEncounteredTime | The time detailed security information was successfully collected. |
| PersonOwnerKey | If you have assigned an identity as the business owner of this resource, this is the primary key of that identity. |
| PersonOwnerDisplay | If an identity is assigned as the business owner, the name of that identity. |
| RoleOwnerKey | If you have assigned a role as the business owner of this resource, this is the primary key of that role. |
| RoleOwnerDisplay | If an application role is assigned as the business owner, the name of that application role. |
| ResourceType | The governed data type. |
| ManagedHostName | The name of the managed host computer. |
| UseBackingFolderSecurity | Indicates to use the backing folder of a share. |
| LastPoiCollection | The date (UTC) when the POI was last collected. |
| LastPoiSubmission | The date (UTC) when the POI was last submitted. |
| Security | The security used for governance. (SecurityForGovernance) |
| ClassificationLevelId | If a classification level is assigned, the identifier assigned to the classification level. (UID_QAMClassificationLevelMan Value) |
| ClassificationLevelName | If a classification level is assigned, the name assigned to the classification level. (UID_QAMClassificaitonLevelMan) |