$Database = $env:VDB_DATABASE_NAME
$ServerInstance = $env:VDB_INSTANCE_HOST + "\" + $env:VDB_INSTANCE_NAME
$Environment = "Q800BCORP"
$RulesetName = "RS_" + $Database + "_con"
$ProfileJobName = "PR_JOB_" + $Database + "_con"
$MaskJobName = "MSK_JOB_" + $Database + "_con"
$ConnectorName = $Database + "_con"
$Log_File = "E:\delphix\scripts\log\" + $Environment + "\mssql_mask_hook_" + $Database + ".log"
cd E:\delphix\scripts
.\mssql_mask_hook.ps1 `
-SQLServer $ServerInstance `
-Database $Database `
-Engine maskengine01 `
-RulesetName $RulesetName `
-EnvName $Environment `
-OutputDir E:\delphix\scripts\outdir `
-DxmcPath E:\delphix\dxmc `
-ProfileJobName $ProfileJobName `
-ConnectorName $ConnectorName `
-MaskJobName $MaskJobName *>&1 | tee $Log_File
if ($lastExitCode -ne "0") {
Write-Error "Error: mssql_mask_hook script failed!"
exit 1
}
-
Notifications
You must be signed in to change notification settings - Fork 0
DCSTOLF/mssql-mask-hook
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published