psPAS.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
@{

    # Script module or binary module file associated with this manifest.
    RootModule        = 'psPAS.psm1'

    # Version number of this module.
    ModuleVersion     = '3.3.88'

    # ID used to uniquely identify this module
    GUID              = '11c880d2-1430-4bd2-b6e8-f324741b460b'

    # Author of this module
    Author            = 'Pete Maan'

    # Company or vendor of this module
    # CompanyName = ''

    # Copyright statement for this module
    Copyright         = '(c) 2019 Pete Maan. All rights reserved.'

    # Description of the functionality provided by this module
    Description       = 'Module for CyberArk Privileged Access Security Web Service REST API'

    # Minimum version of the Windows PowerShell engine required by this module
    PowerShellVersion = '5.0'

    # Name of the Windows PowerShell host required by this module
    # PowerShellHostName = ''

    # Minimum version of the Windows PowerShell host required by this module
    # PowerShellHostVersion = ''

    # Minimum version of Microsoft .NET Framework required by this module
    # DotNetFrameworkVersion = ''

    # Minimum version of the common language runtime (CLR) required by this module
    # CLRVersion = ''

    # Processor architecture (None, X86, Amd64) required by this module
    # ProcessorArchitecture = ''

    # Modules that must be imported into the global environment prior to importing this module
    # RequiredModules = @()

    # Assemblies that must be loaded prior to importing this module
    # RequiredAssemblies = @()

    # Script files (.ps1) that are run in the caller's environment prior to importing this module.
    # ScriptsToProcess = @()

    # Type files (.ps1xml) to be loaded when importing this module
    TypesToProcess    = @(
        'xml\psPAS.CyberArk.Vault.Account.Type.ps1xml',
        'xml\psPAS.CyberArk.Vault.ACL.Type.ps1xml',
        'xml\psPAS.CyberArk.Vault.Credential.Type.ps1xml',
        'xml\psPAS.CyberArk.Vault.Safe.Type.ps1xml',
        'xml\psPAS.CyberArk.Vault.User.Type.ps1xml'
    )

    # Format files (.ps1xml) to be loaded when importing this module
    FormatsToProcess  = @(
        'xml\psPAS.CyberArk.Vault.Account.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.ACL.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.Application.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.Credential.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.OnboardingRule.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.Platform.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.PSM.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.PublicSSHKey.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.Request.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.Safe.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.User.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.Directory.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.PTA.Formats.ps1xml',
        'xml\psPAS.CyberArk.Vault.Group.Formats.ps1xml'
    )

    # Functions to export from this module
    FunctionsToExport = @(
        'New-PASSession',
        'Close-PASSession',
        'Add-PASPublicSSHKey',
        'Get-PASPublicSSHKey',
        'Remove-PASPublicSSHKey',
        'Add-PASAccount',
        'Get-PASAccount',
        'Remove-PASAccount',
        'Set-PASAccount',
        'Add-PASSafe',
        'Set-PASSafe',
        'Remove-PASSafe',
        'Add-PASSafeMember',
        'Set-PASSafeMember',
        'Remove-PASSafeMember',
        'Get-PASPolicyACL',
        'Add-PASPolicyACL',
        'Remove-PASPolicyACL',
        'Get-PASAccountACL',
        'Add-PASAccountACL',
        'Remove-PASAccountACL',
        'Get-PASApplication',
        'Add-PASApplication',
        'Add-PASApplicationAuthenticationMethod',
        'Remove-PASApplication',
        'Remove-PASApplicationAuthenticationMethod',
        'Unblock-PASUser',
        'Set-PASUser',
        'Remove-PASUser',
        'New-PASUser',
        'Get-PASUser',
        'Get-PASLoggedOnUser',
        'Add-PASGroupMember',
        'Get-PASAccountActivity',
        'Add-PASPendingAccount',
        'Get-PASSafe',
        'Add-PASAccountGroupMember',
        'New-PASAccountGroup',
        'New-PASOnboardingRule',
        'Get-PASOnboardingRule',
        'Remove-PASOnboardingRule',
        'Get-PASServer',
        'Get-PASSafeShareLogo',
        'Get-PASServerWebService',
        'Get-PASAccountPassword',
        'Get-PASSafeMember',
        'Get-PASApplicationAuthenticationMethod',
        'Get-PASPlatform',
        'Unlock-PASAccount',
        'Get-PASAccountGroup',
        'Get-PASAccountGroupMember',
        'Remove-PASAccountGroupMember',
        'New-PASRequest',
        'Remove-PASRequest',
        'Approve-PASRequest',
        'Deny-PASRequest',
        'Get-PASRequest',
        'Get-PASRequestDetail',
        'Get-PASPSMConnectionParameter',
        'Get-PASPSMRecording',
        'Get-PASPSMSession',
        'Stop-PASPSMSession',
        'Get-PASComponentSummary',
        'Get-PASComponentDetail',
        'Suspend-PASPSMSession',
        'Resume-PASPSMSession',
        'Import-PASPlatform',
        'Import-PASConnectionComponent',
        'Export-PASPlatform',
        'Get-PASUserLoginInfo',
        'Get-PASDirectory',
        'Add-PASDirectory',
        'New-PASDirectoryMapping',
        'Get-PASPTAEvent',
        'Get-PASPTARemediation',
        'Set-PASPTARemediation',
        'Get-PASPTARule',
        'Set-PASPTARule',
        'Add-PASPTARule',
        'Get-PASGroup',
        'Remove-PASGroupMember',
        'Set-PASOnboardingRule',
        'Add-PASDiscoveredAccount',
        'Connect-PASPSMSession',
        'Get-PASPSMSessionActivity',
        'Get-PASPSMRecordingActivity',
        'Get-PASPSMRecordingProperty',
        'Get-PASPSMSessionProperty',
        'Export-PASPSMRecording',
        'Request-PASAdHocAccess',
        'Get-PASDirectoryMapping',
        'Remove-PASDirectory',
        'Set-PASDirectoryMapping',
        'Find-PASSafe',
        'Get-PASSession',
        'Use-PASSession',
        'Invoke-PASCPMOperation',
        'Set-PASUserPassword',
        'Set-PASDirectoryMappingOrder',
        'Enable-PASCPMAutoManagement',
        'New-PASGroup',
        'Get-PASPlatformSafe',
        'Remove-PASDirectoryMapping',
        'Disable-PASCPMAutoManagement'
    )

    # AliasesToExport = @( )

    # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
    PrivateData       = @{

        PSData = @{

            # Tags applied to this module. These help with module discovery in online galleries.
            Tags       = @('CyberArk', 'REST', 'API', 'Security')

            # A URL to the license for this module.
            LicenseUri = 'https://github.com/pspete/psPAS/blob/master/LICENSE.md'

            # A URL to the main website for this project.
            ProjectUri = 'https://pspas.pspete.dev/'

            # A URL to an icon representing this module.
            IconUri    = 'https://pspas.pspete.dev/assets/images/symbol.png'

            # ReleaseNotes of this module
            # ReleaseNotes = ''

        } # End of PSData hashtable

    } # End of PrivateData hashtable

}