You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/components/domain/accessrules.md
+175Lines changed: 175 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,181 @@ Then update the identity as need to use [Name Mapping / Name Resolution](../../a
81
81
82
82
You can also use `Convert-DMSchemaGuid` to translate the GUIDs into humanly readable names.
83
83
84
+
> Transfer from Test Result
85
+
86
+
If you already have some settings deployed and are testing access rules using `Test-AdmfDomain`, you can convert test results into configuration entries.
87
+
88
+
This command will convert test results into suitable datasets:
89
+
90
+
```powershell
91
+
function ConvertTo-AccessRuleConfiguration {
92
+
<#
93
+
.SYNOPSIS
94
+
Tool to convert Access Rule test results into configuration sets.
95
+
96
+
.DESCRIPTION
97
+
Tool to convert Access Rule test results into configuration sets.
98
+
99
+
.PARAMETER Path
100
+
Replace the path the results should apply to.
101
+
By default, paths should be auto-detected.
102
+
103
+
.PARAMETER ObjectCategory
104
+
Name of the object category that the result should be applied to.
105
+
By default, rules are applied to paths of the origin.
106
+
107
+
.PARAMETER InputObject
108
+
The test result to convert.
109
+
110
+
.PARAMETER Clip
111
+
Converts results to json and pastes them to clipboard.
112
+
113
+
.EXAMPLE
114
+
PS C:\> $res | ConvertTo-AccessRuleConfiguration
115
+
116
+
Converts the input test result to configuration rules
0 commit comments